Home
last modified time | relevance | path

Searched refs:bp (Results 1 – 9 of 9) sorted by relevance

/bionic/libc/tzcode/
Dstrptime.c114 const unsigned char *bp; in _strptime() local
118 bp = (unsigned char *)buf; in _strptime()
125 while (isspace(*bp)) in _strptime()
126 bp++; in _strptime()
139 if (c != *bp++) in _strptime()
163 if (!(bp = _strptime(bp, _ctloc(d_t_fmt), tm, cr))) in _strptime()
169 if (!(bp = _strptime(bp, "%m/%d/%y", tm, cr))) in _strptime()
175 if (!(bp = _strptime(bp, "%H:%M", tm, cr))) in _strptime()
181 if (!(bp = _strptime(bp, "%I:%M:%S %p", tm, cr))) in _strptime()
187 if (!(bp = _strptime(bp, "%H:%M:%S", tm, cr))) in _strptime()
[all …]
/bionic/libc/netbsd/
Dgethnamaddr.c179 char *bp, **ap, **hap, *ep; in getanswer() local
211 bp = rs->hostbuf; in getanswer()
219 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()
220 if ((n < 0) || !(*name_ok)(bp)) { in getanswer()
230 n = strlen(bp) + 1; /* for the \0 */ in getanswer()
235 rs->host.h_name = bp; in getanswer()
236 bp += n; in getanswer()
249 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()
250 if ((n < 0) || !(*name_ok)(bp)) { in getanswer()
283 *ap++ = bp; in getanswer()
[all …]
/bionic/libc/netbsd/nameser/
Dns_name.c208 u_char *label, *bp, *eom; in ns_name_pton() local
213 bp = dst; in ns_name_pton()
215 label = bp++; in ns_name_pton()
225 &label, &bp, eom)) in ns_name_pton()
231 label = bp++; in ns_name_pton()
265 c = (bp - label - 1); in ns_name_pton()
278 if (bp >= eom) { in ns_name_pton()
282 *bp++ = '\0'; in ns_name_pton()
284 if ((bp - dst) > MAXCDNAME) { in ns_name_pton()
294 label = bp++; in ns_name_pton()
[all …]
/bionic/libc/unistd/
Dexec.c140 char *bp, *cur, *path, buf[MAXPATHLEN]; in execvp() local
152 bp = (char *)name; in execvp()
156 bp = buf; in execvp()
203 retry: (void)execve(bp, argv, environ); in execvp()
219 memp[1] = bp; in execvp()
/bionic/libm/src/
De_powf.c24 bp[] = {1.0, 1.5,}, variable
162 u = ax-bp[k]; /* bp[0]=1.0, bp[1]=1.5 */ in __ieee754_powf()
163 v = one/(ax+bp[k]); in __ieee754_powf()
171 t_l = ax - (t_h-bp[k]); in __ieee754_powf()
De_pow.c65 bp[] = {1.0, 1.5,}, variable
220 u = ax-bp[k]; /* bp[0]=1.0, bp[1]=1.5 */ in __ieee754_pow()
221 v = one/(ax+bp[k]); in __ieee754_pow()
228 t_l = ax - (t_h-bp[k]); in __ieee754_pow()
/bionic/libc/netbsd/net/
Dgetaddrinfo.c1315 char *bp, *ep; in getanswer() local
1346 bp = hostbuf; in getanswer()
1353 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()
1354 if ((n < 0) || !(*name_ok)(bp)) { in getanswer()
1364 n = strlen(bp) + 1; /* for the \0 */ in getanswer()
1369 canonname = bp; in getanswer()
1370 bp += n; in getanswer()
1377 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()
1378 if ((n < 0) || !(*name_ok)(bp)) { in getanswer()
1404 if (n > ep - bp || n >= MAXHOSTNAMELEN) { in getanswer()
[all …]
/bionic/libc/netbsd/resolv/
Dres_cache.c668 _dnsPacket_bprintQName(DnsPacket* packet, char* bp, char* bend) in _dnsPacket_bprintQName() argument
684 return bp; in _dnsPacket_bprintQName()
694 bp = _bprint_c(bp, bend, '.'); in _dnsPacket_bprintQName()
696 bp = _bprint_b(bp, bend, (const char*)p, c); in _dnsPacket_bprintQName()
703 bp = _bprint_s(bp, bend, "<MALFORMED>"); in _dnsPacket_bprintQName()
704 return bp; in _dnsPacket_bprintQName()
/bionic/libc/stdio/
Dvfprintf.c1232 char *digits, *bp, *rve; in cvt() local
1254 bp = digits + ndigits; in cvt()
1258 bp += *decpt; in cvt()
1261 rve = bp; in cvt()
1262 while (rve < bp) in cvt()