Lines Matching refs:cp

694 parse_token(const char *cp, const char *filename,  in parse_token()  argument
700 if (strcasecmp(cp, keywords[i].name) == 0) { in parse_token()
706 filename, linenum, cp); in parse_token()
1017 char *arg, *attrib, *cp = *condition; in match_cfg_line() local
1020 debug3("checking syntax for 'Match %s'", cp); in match_cfg_line()
1023 "laddr %s lport %d", cp, ci->user ? ci->user : "(null)", in match_cfg_line()
1028 while ((attrib = strdelim(&cp)) && *attrib != '\0') { in match_cfg_line()
1032 ((arg = strdelim(&cp)) != NULL && *arg != '\0')) { in match_cfg_line()
1037 *condition = cp; in match_cfg_line()
1040 if ((arg = strdelim(&cp)) == NULL || *arg == '\0') { in match_cfg_line()
1163 *condition = cp; in match_cfg_line()
1219 char ch, *cp, ***chararrayptr, **charptr, *arg, *arg2, *p; in process_server_config_line() local
1239 cp = line; in process_server_config_line()
1240 if ((arg = strdelim(&cp)) == NULL) in process_server_config_line()
1244 arg = strdelim(&cp); in process_server_config_line()
1256 debug3("%s:%d setting %s %s", filename, linenum, arg, cp); in process_server_config_line()
1263 arg = strdelim(&cp); in process_server_config_line()
1284 arg = strdelim(&cp); in process_server_config_line()
1297 arg = strdelim(&cp); in process_server_config_line()
1309 arg = strdelim(&cp); in process_server_config_line()
1334 if ((arg = strdelim(&cp)) != NULL) { in process_server_config_line()
1336 (arg2 = strdelim(&cp)) == NULL) in process_server_config_line()
1352 arg = strdelim(&cp); in process_server_config_line()
1371 arg = strdelim(&cp); in process_server_config_line()
1383 arg = strdelim(&cp); in process_server_config_line()
1393 arg = strdelim(&cp); in process_server_config_line()
1404 arg = strdelim(&cp); in process_server_config_line()
1442 arg = strdelim(&cp); in process_server_config_line()
1526 arg = strdelim(&cp); in process_server_config_line()
1565 arg = strdelim(&cp); in process_server_config_line()
1594 arg = strdelim(&cp); in process_server_config_line()
1610 if (cp != NULL) { /* optional rekey interval present */ in process_server_config_line()
1611 if (strcmp(cp, "none") == 0) { in process_server_config_line()
1612 (void)strdelim(&cp); /* discard */ in process_server_config_line()
1631 arg = strdelim(&cp); in process_server_config_line()
1642 arg = strdelim(&cp); in process_server_config_line()
1670 while ((arg = strdelim(&cp)) && *arg != '\0') { in process_server_config_line()
1683 while ((arg = strdelim(&cp)) && *arg != '\0') { in process_server_config_line()
1696 while ((arg = strdelim(&cp)) && *arg != '\0') { in process_server_config_line()
1706 while ((arg = strdelim(&cp)) && *arg != '\0') { in process_server_config_line()
1716 arg = strdelim(&cp); in process_server_config_line()
1728 arg = strdelim(&cp); in process_server_config_line()
1740 arg = strdelim(&cp); in process_server_config_line()
1758 arg = strdelim(&cp); in process_server_config_line()
1763 arg = strdelim(&cp); in process_server_config_line()
1771 arg = strdelim(&cp); in process_server_config_line()
1780 while ((arg = strdelim(&cp)) != NULL && *arg != '\0') { in process_server_config_line()
1791 arg = strdelim(&cp); in process_server_config_line()
1832 while ((arg = strdelim(&cp)) && *arg != '\0') { in process_server_config_line()
1845 arg = strdelim(&cp); in process_server_config_line()
1866 while ((arg = strdelim(&cp)) && *arg != '\0') { in process_server_config_line()
1880 while ((arg = strdelimw(&cp)) && *arg != '\0') { in process_server_config_line()
1893 arg = strdelim(&cp); in process_server_config_line()
1914 value = match_cfg_line(&cp, linenum, connectinfo); in process_server_config_line()
1930 arg = strdelim(&cp); in process_server_config_line()
1944 for (; arg != NULL && *arg != '\0'; arg = strdelim(&cp)) { in process_server_config_line()
1979 if (cp == NULL || *cp == '\0') in process_server_config_line()
1982 len = strspn(cp, WHITESPACE); in process_server_config_line()
1984 options->adm_forced_command = xstrdup(cp + len); in process_server_config_line()
1990 arg = strdelim(&cp); in process_server_config_line()
2007 arg = strdelim(&cp); in process_server_config_line()
2011 arg = strdelim(&cp); in process_server_config_line()
2024 if (cp == NULL || *cp == '\0') in process_server_config_line()
2027 len = strspn(cp, WHITESPACE); in process_server_config_line()
2029 if (strcasecmp(cp + len, "none") == 0) in process_server_config_line()
2031 else if (strchr(cp + len, '\r') != NULL) in process_server_config_line()
2035 options->version_addendum = xstrdup(cp + len); in process_server_config_line()
2040 if (cp == NULL) in process_server_config_line()
2043 len = strspn(cp, WHITESPACE); in process_server_config_line()
2045 if (cp[len] != '/' && strcasecmp(cp + len, "none") != 0) in process_server_config_line()
2049 options->authorized_keys_command = xstrdup(cp + len); in process_server_config_line()
2056 arg = strdelim(&cp); in process_server_config_line()
2065 if (cp == NULL) in process_server_config_line()
2068 len = strspn(cp, WHITESPACE); in process_server_config_line()
2071 if (cp[len] != '/' && strcasecmp(cp + len, "none") != 0) in process_server_config_line()
2076 xstrdup(cp + len); in process_server_config_line()
2083 arg = strdelim(&cp); in process_server_config_line()
2096 while ((arg = strdelim(&cp)) && *arg != '\0') { in process_server_config_line()
2130 arg = strdelim(&cp); in process_server_config_line()
2147 arg = strdelim(&cp); in process_server_config_line()
2164 arg = strdelim(&cp); in process_server_config_line()
2184 arg = strdelim(&cp); in process_server_config_line()
2191 if ((arg = strdelim(&cp)) != NULL && *arg != '\0') in process_server_config_line()
2202 char *line = NULL, *cp; in load_server_config() local
2220 if ((cp = strchr(line, '#')) != NULL) in load_server_config()
2221 memcpy(cp, "\n", 2); in load_server_config()
2222 cp = line + strspn(line, " \t\r"); in load_server_config()
2223 if ((r = sshbuf_put(conf, cp, strlen(cp))) != 0) in load_server_config()
2388 char *cp, *obuf, *cbuf; in parse_server_config() local
2396 while ((cp = strsep(&cbuf, "\n")) != NULL) { in parse_server_config()
2397 if (process_server_config_line(options, cp, filename, in parse_server_config()