Home
last modified time | relevance | path

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

/openssh-portable/
H A Dmd5crypt.c54 static const char *sp, *ep; in md5_crypt() local
61 sp = salt; in md5_crypt()
64 if(strncmp(sp, magic, strlen(magic)) == 0) in md5_crypt()
65 sp += strlen(magic); in md5_crypt()
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()
77 memcpy(salt_copy, sp, sl); in md5_crypt()
89 MD5_Update(&ctx, sp, sl); in md5_crypt()
94 MD5_Update(&ctx1, sp, sl); in md5_crypt()
[all …]
H A Dutf8.c108 char *sp; /* Pointer into src. */ in vasnmprintf() local
133 sp = src; in vasnmprintf()
139 while (*sp != '\0') { in vasnmprintf()
140 if ((len = mbtowc(&wc, sp, MB_CUR_MAX)) == -1) { in vasnmprintf()
175 memcpy(dp, sp, len); in vasnmprintf()
178 sp += len; in vasnmprintf()
196 tp = vis(dp, *sp, VIS_OCTAL | VIS_ALL, 0); in vasnmprintf()
203 sp++; in vasnmprintf()
H A Dmatch.c274 char *c, *s, *p, *ret, *cp, *sp; in match_list() local
278 s = sp = xstrdup(server); in match_list()
280 for ((p = strsep(&sp, SEP)), i=0; p && *p != '\0'; in match_list()
281 (p = strsep(&sp, SEP)), i++) { in match_list()
H A Dsshconnect.c132 int sp[2], sock; in ssh_proxy_fdpass_connect() local
151 close(sp[1]); in ssh_proxy_fdpass_connect() local
153 if (sp[0] != 0) { in ssh_proxy_fdpass_connect()
154 if (dup2(sp[0], 0) == -1) in ssh_proxy_fdpass_connect() local
157 if (sp[0] != 1) { in ssh_proxy_fdpass_connect()
158 if (dup2(sp[0], 1) == -1) in ssh_proxy_fdpass_connect() local
161 if (sp[0] >= 2) in ssh_proxy_fdpass_connect()
162 close(sp[0]); in ssh_proxy_fdpass_connect() local
188 close(sp[0]); in ssh_proxy_fdpass_connect() local
191 if ((sock = mm_receive_fd(sp[1])) == -1) in ssh_proxy_fdpass_connect()
[all …]
H A Dmisc.c439 char *sp, *ep; in a2tun() local
444 sp = xstrdup(s); in a2tun()
446 free(sp); in a2tun()
452 free(sp); in a2tun()
1262 if (*sp == NULL || **sp == '\0') { in xextendf()
1263 free(*sp); in xextendf() local
1264 *sp = tmp1; in xextendf()
1269 free(*sp); in xextendf() local
1270 *sp = tmp2; in xextendf()
2211 const char *s = *sp; in opt_dequote()
[all …]
H A Dhostfile.c187 char marker[32], *sp, *cp = *cpp; in check_markers() local
195 if ((sp = strchr(cp, ' ')) == NULL && in check_markers()
196 (sp = strchr(cp, '\t')) == NULL) in check_markers()
199 if (sp <= cp + 1 || sp >= cp + sizeof(marker)) in check_markers()
201 memcpy(marker, cp, sp - cp); in check_markers()
202 marker[sp - cp] = '\0'; in check_markers()
211 cp = sp; in check_markers()
H A Dmisc.h173 char *opt_dequote(const char **sp, const char **errstrp);
H A Dauth-options.c757 deserialise_nullable_string(struct sshbuf *m, char **sp) in deserialise_nullable_string() argument
762 *sp = NULL; in deserialise_nullable_string()
764 (r = sshbuf_get_cstring(m, flag ? NULL : sp, NULL)) != 0) in deserialise_nullable_string()
H A Dreadconf.c476 struct servent *sp; in default_ssh_port() local
479 sp = getservbyname(SSH_SERVICE_NAME, "tcp"); in default_ssh_port()
480 port = sp ? ntohs(sp->s_port) : SSH_DEFAULT_PORT; in default_ssh_port()
H A Dconfigure.ac4816 struct spwd sp;
4817 ]], [[ sp.sp_expire = sp.sp_lstchg = sp.sp_inact = 0; ]])],
/openssh-portable/openbsd-compat/
H A Dfake-rfc2553.c159 struct servent *sp; in getaddrinfo() local
175 else if ((sp = getservbyname(servname, NULL)) != NULL) in getaddrinfo()
176 port = sp->s_port; in getaddrinfo()

Completed in 50 milliseconds