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/
Dgethnamaddr.c189 char *bp, **ap, **hap, *ep; in getanswer() local
221 bp = rs->hostbuf; in getanswer()
229 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()
230 if ((n < 0) || !(*name_ok)(bp)) { in getanswer()
240 n = strlen(bp) + 1; /* for the \0 */ in getanswer()
245 rs->host.h_name = bp; in getanswer()
246 bp += n; in getanswer()
259 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()
260 if ((n < 0) || !(*name_ok)(bp)) { in getanswer()
293 *ap++ = bp; in getanswer()
[all …]
/bionic/libc/dns/nameser/
Dns_name.c228 u_char *label, *bp, *eom; in ns_name_pton2() local
233 bp = dst; in ns_name_pton2()
235 label = bp++; in ns_name_pton2()
245 &label, &bp, eom)) in ns_name_pton2()
251 label = bp++; in ns_name_pton2()
285 c = (int)(bp - label - 1); in ns_name_pton2()
298 if (bp >= eom) { in ns_name_pton2()
302 *bp++ = '\0'; in ns_name_pton2()
304 if ((bp - dst) > MAXCDNAME) { in ns_name_pton2()
309 *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/net/
Dgetaddrinfo.c1314 char *bp, *ep; in getanswer() local
1345 bp = hostbuf; in getanswer()
1352 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()
1353 if ((n < 0) || !(*name_ok)(bp)) { in getanswer()
1363 n = strlen(bp) + 1; /* for the \0 */ in getanswer()
1368 canonname = bp; in getanswer()
1369 bp += n; in getanswer()
1376 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()
1377 if ((n < 0) || !(*name_ok)(bp)) { in getanswer()
1403 if (n > ep - bp || n >= MAXHOSTNAMELEN) { in getanswer()
[all …]
/bionic/libc/dns/resolv/
Dres_cache.c649 _dnsPacket_bprintQName(DnsPacket* packet, char* bp, char* bend) in _dnsPacket_bprintQName() argument
665 return bp; in _dnsPacket_bprintQName()
675 bp = _bprint_c(bp, bend, '.'); in _dnsPacket_bprintQName()
677 bp = _bprint_b(bp, bend, (const char*)p, c); in _dnsPacket_bprintQName()
684 bp = _bprint_s(bp, bend, "<MALFORMED>"); in _dnsPacket_bprintQName()
685 return bp; in _dnsPacket_bprintQName()