Home
last modified time | relevance | path

Searched refs:bp (Results 1 – 11 of 11) 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 …]
Dlocaltime.c635 register const struct ttinfo * bp = &sp->ttis[b]; in typesequiv() local
636 result = ap->tt_gmtoff == bp->tt_gmtoff && in typesequiv()
637 ap->tt_isdst == bp->tt_isdst && in typesequiv()
638 ap->tt_ttisstd == bp->tt_ttisstd && in typesequiv()
639 ap->tt_ttisgmt == bp->tt_ttisgmt && in typesequiv()
641 &sp->chars[bp->tt_abbrind]) == 0; in typesequiv()
/bionic/libc/dns/net/
Dgethnamaddr.c209 char *bp, **ap, **hap, *ep; in getanswer() local
246 bp = buf; in getanswer()
253 n = dn_expand(answer->buf, eom, cp, bp, (int)(ep - bp)); in getanswer()
254 if ((n < 0) || !maybe_ok(res, bp, name_ok)) in getanswer()
263 n = (int)strlen(bp) + 1; /* for the \0 */ in getanswer()
266 hent->h_name = bp; in getanswer()
267 bp += n; in getanswer()
278 n = dn_expand(answer->buf, eom, cp, bp, (int)(ep - bp)); in getanswer()
279 if ((n < 0) || !maybe_ok(res, bp, name_ok)) { in getanswer()
309 addalias(ap, bp, aliases, maxaliases); in getanswer()
[all …]
Dgetaddrinfo.c1305 char *bp, *ep; in getanswer() local
1336 bp = hostbuf; in getanswer()
1343 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()
1344 if ((n < 0) || !(*name_ok)(bp)) { in getanswer()
1354 n = strlen(bp) + 1; /* for the \0 */ in getanswer()
1359 canonname = bp; in getanswer()
1360 bp += n; in getanswer()
1367 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()
1368 if ((n < 0) || !(*name_ok)(bp)) { in getanswer()
1394 if (n > ep - bp || n >= MAXHOSTNAMELEN) { in getanswer()
[all …]
/bionic/libc/dns/nameser/
Dns_name.c222 u_char *label, *bp, *eom; in ns_name_pton2() local
227 bp = dst; in ns_name_pton2()
229 label = bp++; in ns_name_pton2()
239 &label, &bp, eom)) in ns_name_pton2()
245 label = bp++; in ns_name_pton2()
279 c = (int)(bp - label - 1); in ns_name_pton2()
292 if (bp >= eom) { in ns_name_pton2()
296 *bp++ = '\0'; in ns_name_pton2()
298 if ((bp - dst) > MAXCDNAME) { in ns_name_pton2()
303 *dstlen = (bp - dst); in ns_name_pton2()
[all …]
/bionic/libc/upstream-openbsd/lib/libc/gen/
Dexec.c139 char *bp, *cur, *path, buf[PATH_MAX]; in execvpe() local
151 bp = (char *)name; in execvpe()
155 bp = buf; in execvpe()
202 retry: (void)execve(bp, argv, envp); in execvpe()
218 memp[1] = bp; in execvpe()
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/
Dgethex.c40 gethex(sp, fpi, exp, bp, sign) in gethex() argument
41 CONST char **sp; FPI *fpi; Long *exp; Bigint **bp; int sign; in gethex()
43 gethex( CONST char **sp, FPI *fpi, Long *exp, Bigint **bp, int sign)
71 *bp = 0;
194 *bp = b = Balloc(k);
195 if (*bp == NULL)
291 *bp = b;
357 *bp = b;
/bionic/libc/kernel/uapi/asm-x86/asm/
Dsigcontext32.h75 unsigned int bp; member
/bionic/libm/upstream-freebsd/lib/msun/src/
De_powf.c23 bp[] = {1.0, 1.5,}, variable
164 u = ax-bp[k]; /* bp[0]=1.0, bp[1]=1.5 */ in __ieee754_powf()
165 v = one/(ax+bp[k]); in __ieee754_powf()
173 t_l = ax - (t_h-bp[k]); in __ieee754_powf()
De_pow.c64 bp[] = {1.0, 1.5,}, variable
222 u = ax-bp[k]; /* bp[0]=1.0, bp[1]=1.5 */ in __ieee754_pow()
223 v = one/(ax+bp[k]); in __ieee754_pow()
230 t_l = ax - (t_h-bp[k]); in __ieee754_pow()
/bionic/libc/dns/resolv/
Dres_cache.c654 _dnsPacket_bprintQName(DnsPacket* packet, char* bp, char* bend) in _dnsPacket_bprintQName() argument
670 return bp; in _dnsPacket_bprintQName()
680 bp = _bprint_c(bp, bend, '.'); in _dnsPacket_bprintQName()
682 bp = _bprint_b(bp, bend, (const char*)p, c); in _dnsPacket_bprintQName()
689 bp = _bprint_s(bp, bend, "<MALFORMED>"); in _dnsPacket_bprintQName()
690 return bp; in _dnsPacket_bprintQName()