Home
last modified time | relevance | path

Searched refs:cur (Results 1 – 4 of 4) sorted by relevance

/openssh-portable/openbsd-compat/
H A Dinet_ntop.c119 struct { int base, len; } best, cur; in inet_ntop6() local
133 cur.base = -1; in inet_ntop6()
136 if (cur.base == -1) in inet_ntop6()
137 cur.base = i, cur.len = 1; in inet_ntop6()
139 cur.len++; in inet_ntop6()
141 if (cur.base != -1) { in inet_ntop6()
143 best = cur; in inet_ntop6()
144 cur.base = -1; in inet_ntop6()
148 if (cur.base != -1) { in inet_ntop6()
149 if (best.base == -1 || cur.len > best.len) in inet_ntop6()
[all …]
H A Dfake-rfc2553.c211 struct addrinfo *cur, *prev; in getaddrinfo() local
213 cur = prev = *res = NULL; in getaddrinfo()
217 cur = malloc_ai(port, in->s_addr, hints); in getaddrinfo()
218 if (cur == NULL) { in getaddrinfo()
224 prev->ai_next = cur; in getaddrinfo()
226 *res = cur; in getaddrinfo()
228 prev = cur; in getaddrinfo()
/openssh-portable/
H A Dsftp-glob.c45 } cur; variable
54 if (do_readdir(cur.conn, (char *)path, &r->dir)) { in fudge_opendir()
115 if (!(a = do_lstat(cur.conn, (char *)path, 1))) in fudge_lstat()
128 if (!(a = do_stat(cur.conn, (char *)path, 1))) in fudge_stat()
146 memset(&cur, 0, sizeof(cur)); in remote_glob()
147 cur.conn = conn; in remote_glob()
H A Dumac.c797 static UINT64 poly64(UINT64 cur, UINT64 key, UINT64 data) in poly64() argument
801 cur_hi = (UINT32)(cur >> 32), in poly64()
802 cur_lo = (UINT32)cur, in poly64()