Home
last modified time | relevance | path

Searched refs:ep (Results 1 – 11 of 11) sorted by relevance

/openssh-portable/openbsd-compat/
H A Dinet_ntop.c118 char *tp, *ep; in inet_ntop6() local
159 ep = tmp + sizeof(tmp); in inet_ntop6()
160 for (i = 0; i < (IN6ADDRSZ / INT16SZ) && tp < ep; i++) { in inet_ntop6()
165 if (tp + 1 >= ep) in inet_ntop6()
173 if (tp + 1 >= ep) in inet_ntop6()
180 if (!inet_ntop4(src+12, tp, (size_t)(ep - tp))) in inet_ntop6()
185 advance = snprintf(tp, ep - tp, "%x", words[i]); in inet_ntop6()
186 if (advance <= 0 || advance >= ep - tp) in inet_ntop6()
192 if (tp + 1 >= ep) in inet_ntop6()
196 if (tp + 1 >= ep) in inet_ntop6()
H A Dstrtonum.c38 char *ep; in strtonum() local
55 ll = strtoll(numstr, &ep, 10); in strtonum()
56 if (numstr == ep || *ep != '\0') in strtonum()
H A Dmktemp.c49 char *start, *cp, *ep; in mktemp_internal() local
61 ep = path + len - slen; in mktemp_internal()
64 for (start = ep; start > path && start[-1] == 'X'; start--) { in mktemp_internal()
71 for (cp = start; cp != ep; cp++) { in mktemp_internal()
H A Dfnmatch.c104 classmatch(const char *pattern, char test, int foldcase, const char **ep) in classmatch() argument
113 *ep = mismatch; in classmatch()
119 *ep = mismatch; in classmatch()
122 *ep = colon + 2; in classmatch()
136 *ep = mismatch; in classmatch()
/openssh-portable/
H A Dmd5crypt.c54 static const char *sp, *ep; in md5_crypt() local
68 for (ep = sp; *ep != '$'; ep++) { in md5_crypt()
69 if (*ep == '\0' || ep >= (sp + 8)) in md5_crypt()
74 sl = ep - sp; in md5_crypt()
H A Dauth2-pubkey.c328 char *ep, *line_opts; in check_principals_line() local
336 ep = cp + strlen(cp) - 1; in check_principals_line()
337 while (ep > cp && (*ep == '\n' || *ep == ' ' || *ep == '\t')) in check_principals_line()
338 *ep-- = '\0'; in check_principals_line()
345 if ((ep = strrchr(cp, ' ')) != NULL || in check_principals_line()
346 (ep = strrchr(cp, '\t')) != NULL) { in check_principals_line()
347 for (; *ep == ' ' || *ep == '\t'; ep++) in check_principals_line()
350 cp = ep; in check_principals_line()
377 char loc[256], *line = NULL, *cp, *ep; in process_principals() local
395 if ((ep = strchr(cp, '#')) != NULL) in process_principals()
[all …]
H A Dssh-keygen.c995 i = strtol(cp, &ep, 10); in do_fingerprint()
996 if (i == 0 || ep == NULL || in do_fingerprint()
997 (*ep != ' ' && *ep != '\t')) { in do_fingerprint()
2228 char *path, *cp, *ep, *line = NULL; in update_krl_from_file() local
2274 serial = strtoull(cp, &ep, 0); in update_krl_from_file()
2275 if (*cp == '\0' || (*ep != '\0' && *ep != '-')) in update_krl_from_file()
2282 if (*ep == '-') { in update_krl_from_file()
2283 cp = ep + 1; in update_krl_from_file()
2285 serial2 = strtoull(cp, &ep, 0); in update_krl_from_file()
2286 if (*cp == '\0' || *ep != '\0') in update_krl_from_file()
[all …]
H A Dreadconf.c2639 char *ep, *cp = *p; in parse_fwd_field() local
2653 for (ep = cp + 1; *ep != ']' && *ep != '\0'; ep++) { in parse_fwd_field()
2654 if (*ep == '/') in parse_fwd_field()
2658 if (ep[0] != ']' || (ep[1] != ':' && ep[1] != '\0')) in parse_fwd_field()
2661 *ep++ = '\0'; in parse_fwd_field()
2662 if (*ep != '\0') in parse_fwd_field()
2663 *ep++ = '\0'; in parse_fwd_field()
2666 *p = ep; in parse_fwd_field()
H A Dmisc.c492 char *sp, *ep; in a2tun() local
498 if ((ep = strchr(sp, ':')) == NULL) { in a2tun()
502 ep[0] = '\0'; ep++; in a2tun()
503 *remote = a2tun(ep, NULL); in a2tun()
1767 char *ep; in parse_ipqos() local
1777 val = strtol(cp, &ep, 0); in parse_ipqos()
1778 if (*cp == '\0' || *ep != '\0' || val < 0 || val > 255) in parse_ipqos()
/openssh-portable/contrib/
H A Dgnome-ssh-askpass2.c112 char *ep; in parse_env_hex_color() local
128 ul = strtoul(s, &ep, 16); in parse_env_hex_color()
129 if (*ep != '\0' || ul > 0xffffff) { in parse_env_hex_color()
H A Dgnome-ssh-askpass3.c96 char *ep; in parse_env_hex_color() local
112 ul = strtoul(s, &ep, 16); in parse_env_hex_color()
113 if (*ep != '\0' || ul > 0xffffff) { in parse_env_hex_color()