Lines Matching refs:cp

731 parse_token(const char *cp, const char *filename,  in parse_token()  argument
737 if (strcasecmp(cp, keywords[i].name) == 0) { in parse_token()
743 filename, linenum, cp); in parse_token()
1054 char *arg, *attrib, *cp = *condition; in match_cfg_line() local
1057 debug3("checking syntax for 'Match %s'", cp); in match_cfg_line()
1060 "laddr %s lport %d", cp, ci->user ? ci->user : "(null)", in match_cfg_line()
1065 while ((attrib = strdelim(&cp)) && *attrib != '\0') { in match_cfg_line()
1069 ((arg = strdelim(&cp)) != NULL && *arg != '\0')) { in match_cfg_line()
1074 *condition = cp; in match_cfg_line()
1077 if ((arg = strdelim(&cp)) == NULL || *arg == '\0') { in match_cfg_line()
1200 *condition = cp; in match_cfg_line()
1259 char ch, *cp, ***chararrayptr, **charptr, *arg, *arg2, *p; in process_server_config_line_depth() local
1281 cp = line; in process_server_config_line_depth()
1282 if ((arg = strdelim(&cp)) == NULL) in process_server_config_line_depth()
1286 arg = strdelim(&cp); in process_server_config_line_depth()
1298 debug3("%s:%d setting %s %s", filename, linenum, arg, cp); in process_server_config_line_depth()
1305 arg = strdelim(&cp); in process_server_config_line_depth()
1326 arg = strdelim(&cp); in process_server_config_line_depth()
1339 arg = strdelim(&cp); in process_server_config_line_depth()
1351 arg = strdelim(&cp); in process_server_config_line_depth()
1376 if ((arg = strdelim(&cp)) != NULL) { in process_server_config_line_depth()
1378 (arg2 = strdelim(&cp)) == NULL) in process_server_config_line_depth()
1394 arg = strdelim(&cp); in process_server_config_line_depth()
1413 arg = strdelim(&cp); in process_server_config_line_depth()
1425 arg = strdelim(&cp); in process_server_config_line_depth()
1435 arg = strdelim(&cp); in process_server_config_line_depth()
1446 arg = strdelim(&cp); in process_server_config_line_depth()
1484 arg = strdelim(&cp); in process_server_config_line_depth()
1516 while ((arg = strdelim(&cp)) && *arg != '\0') { in process_server_config_line_depth()
1586 arg = strdelim(&cp); in process_server_config_line_depth()
1625 arg = strdelim(&cp); in process_server_config_line_depth()
1654 arg = strdelim(&cp); in process_server_config_line_depth()
1670 if (cp != NULL) { /* optional rekey interval present */ in process_server_config_line_depth()
1671 if (strcmp(cp, "none") == 0) { in process_server_config_line_depth()
1672 (void)strdelim(&cp); /* discard */ in process_server_config_line_depth()
1691 arg = strdelim(&cp); in process_server_config_line_depth()
1702 arg = strdelim(&cp); in process_server_config_line_depth()
1730 while ((arg = strdelim(&cp)) && *arg != '\0') { in process_server_config_line_depth()
1743 while ((arg = strdelim(&cp)) && *arg != '\0') { in process_server_config_line_depth()
1756 while ((arg = strdelim(&cp)) && *arg != '\0') { in process_server_config_line_depth()
1766 while ((arg = strdelim(&cp)) && *arg != '\0') { in process_server_config_line_depth()
1776 arg = strdelim(&cp); in process_server_config_line_depth()
1788 arg = strdelim(&cp); in process_server_config_line_depth()
1800 arg = strdelim(&cp); in process_server_config_line_depth()
1818 arg = strdelim(&cp); in process_server_config_line_depth()
1823 arg = strdelim(&cp); in process_server_config_line_depth()
1831 arg = strdelim(&cp); in process_server_config_line_depth()
1840 while ((arg = strdelim(&cp)) != NULL && *arg != '\0') { in process_server_config_line_depth()
1851 arg = strdelim(&cp); in process_server_config_line_depth()
1892 while ((arg = strdelim(&cp)) && *arg != '\0') { in process_server_config_line_depth()
1905 arg = strdelim(&cp); in process_server_config_line_depth()
1926 while ((arg = strdelim(&cp)) && *arg != '\0') { in process_server_config_line_depth()
1940 while ((arg = strdelimw(&cp)) && *arg != '\0') { in process_server_config_line_depth()
1953 arg = strdelim(&cp); in process_server_config_line_depth()
1976 while ((arg2 = strdelim(&cp)) != NULL && *arg2 != '\0') { in process_server_config_line_depth()
2064 value = match_cfg_line(&cp, linenum, connectinfo); in process_server_config_line_depth()
2080 arg = strdelim(&cp); in process_server_config_line_depth()
2094 for (; arg != NULL && *arg != '\0'; arg = strdelim(&cp)) { in process_server_config_line_depth()
2129 if (cp == NULL || *cp == '\0') in process_server_config_line_depth()
2132 len = strspn(cp, WHITESPACE); in process_server_config_line_depth()
2134 options->adm_forced_command = xstrdup(cp + len); in process_server_config_line_depth()
2140 arg = strdelim(&cp); in process_server_config_line_depth()
2158 arg = strdelim(&cp); in process_server_config_line_depth()
2172 arg = strdelim(&cp); in process_server_config_line_depth()
2176 arg = strdelim(&cp); in process_server_config_line_depth()
2189 if (cp == NULL || *cp == '\0') in process_server_config_line_depth()
2192 len = strspn(cp, WHITESPACE); in process_server_config_line_depth()
2194 if (strcasecmp(cp + len, "none") == 0) in process_server_config_line_depth()
2196 else if (strchr(cp + len, '\r') != NULL) in process_server_config_line_depth()
2200 options->version_addendum = xstrdup(cp + len); in process_server_config_line_depth()
2205 if (cp == NULL) in process_server_config_line_depth()
2208 len = strspn(cp, WHITESPACE); in process_server_config_line_depth()
2210 if (cp[len] != '/' && strcasecmp(cp + len, "none") != 0) in process_server_config_line_depth()
2214 options->authorized_keys_command = xstrdup(cp + len); in process_server_config_line_depth()
2221 arg = strdelim(&cp); in process_server_config_line_depth()
2230 if (cp == NULL) in process_server_config_line_depth()
2233 len = strspn(cp, WHITESPACE); in process_server_config_line_depth()
2236 if (cp[len] != '/' && strcasecmp(cp + len, "none") != 0) in process_server_config_line_depth()
2241 xstrdup(cp + len); in process_server_config_line_depth()
2248 arg = strdelim(&cp); in process_server_config_line_depth()
2261 while ((arg = strdelim(&cp)) && *arg != '\0') { in process_server_config_line_depth()
2295 arg = strdelim(&cp); in process_server_config_line_depth()
2312 arg = strdelim(&cp); in process_server_config_line_depth()
2329 arg = strdelim(&cp); in process_server_config_line_depth()
2349 arg = strdelim(&cp); in process_server_config_line_depth()
2356 if ((arg = strdelim(&cp)) != NULL && *arg != '\0') in process_server_config_line_depth()
2377 char *line = NULL, *cp; in load_server_config() local
2395 if ((cp = strchr(line, '#')) != NULL) in load_server_config()
2396 memcpy(cp, "\n", 2); in load_server_config()
2397 cp = line + strspn(line, " \t\r"); in load_server_config()
2398 if ((r = sshbuf_put(conf, cp, strlen(cp))) != 0) in load_server_config()
2567 char *cp, *obuf, *cbuf; in parse_server_config_depth() local
2577 while ((cp = strsep(&cbuf, "\n")) != NULL) { in parse_server_config_depth()
2578 if (process_server_config_line_depth(options, cp, in parse_server_config_depth()