Home
last modified time | relevance | path

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

/bionic/libc/tzcode/
Dstrptime.c129 const unsigned char *bp, *ep; in _strptime() local
134 bp = (unsigned char *)buf; in _strptime()
141 while (isspace(*bp)) in _strptime()
142 bp++; in _strptime()
155 if (c != *bp++) in _strptime()
179 if (!(bp = _strptime(bp, _ctloc(d_t_fmt), tm, cr))) in _strptime()
185 if (!(bp = _strptime(bp, "%m/%d/%y", tm, cr))) in _strptime()
191 if (!(bp = _strptime(bp, "%Y-%m-%d", tm, cr))) in _strptime()
197 if (!(bp = _strptime(bp, "%H:%M", tm, cr))) in _strptime()
203 if (!(bp = _strptime(bp, "%I:%M:%S %p", tm, cr))) in _strptime()
[all …]
Dlocaltime.c714 register const struct ttinfo * bp = &sp->ttis[b]; in typesequiv() local
715 result = ap->tt_gmtoff == bp->tt_gmtoff && in typesequiv()
716 ap->tt_isdst == bp->tt_isdst && in typesequiv()
717 ap->tt_ttisstd == bp->tt_ttisstd && in typesequiv()
718 ap->tt_ttisgmt == bp->tt_ttisgmt && in typesequiv()
720 &sp->chars[bp->tt_abbrind]) == 0; in typesequiv()
/bionic/benchmarks/linker_relocation/regen/
Dgen_bench.py328 bp = open(out / 'Android.bp', 'w')
329 bp.write(f'// AUTO-GENERATED BY {os.path.basename(__file__)} -- do not edit\n')
331 bp.write(f'package {{ default_applicable_licenses: ["bionic_benchmarks_license"], }}\n')
332 bp.write(f'cc_defaults {{\n')
333 bp.write(f' name: "{g_benchmark_name}_all_libs",\n')
334 bp.write(f' runtime_libs: [\n')
338 bp.write(f' "{lib_names.name(lib)}",\n')
339 bp.write(f' ],\n')
340 bp.write(f'}}\n')
354 bp.write(f'cc_binary {{\n')
[all …]
/bionic/libc/dns/net/
Dgethnamaddr.c224 char *bp, **ap, **hap, *ep; in getanswer() local
261 bp = buf; in getanswer()
268 n = dn_expand(answer->buf, eom, cp, bp, (int)(ep - bp)); in getanswer()
269 if ((n < 0) || !maybe_ok(res, bp, name_ok)) in getanswer()
278 n = (int)strlen(bp) + 1; /* for the \0 */ in getanswer()
281 hent->h_name = bp; in getanswer()
282 bp += n; in getanswer()
293 n = dn_expand(answer->buf, eom, cp, bp, (int)(ep - bp)); in getanswer()
294 if ((n < 0) || !maybe_ok(res, bp, name_ok)) { in getanswer()
324 addalias(ap, bp, aliases, maxaliases); in getanswer()
[all …]
Dgetaddrinfo.c1321 char *bp, *ep; in getanswer() local
1352 bp = hostbuf; in getanswer()
1360 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()
1361 if ((n < 0) || !(*name_ok)(bp)) { in getanswer()
1371 n = strlen(bp) + 1; /* for the \0 */ in getanswer()
1376 canonname = bp; in getanswer()
1377 bp += n; in getanswer()
1384 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); in getanswer()
1385 if ((n < 0) || !(*name_ok)(bp)) { in getanswer()
1413 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/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)
68 *bp = 0;
191 *bp = b = Balloc(k);
192 if (*bp == NULL)
288 *bp = b;
354 *bp = b;
/bionic/libm/upstream-freebsd/lib/msun/ld128/
De_powl.c70 static const long double bp[] = { variable
314 u = ax - bp[k]; /* bp[0]=1.0, bp[1]=1.5 */ in powl()
315 v = one / (ax + bp[k]); in powl()
324 t_h = ax + bp[k]; in powl()
329 t_l = ax - (t_h - bp[k]); in powl()
/bionic/libm/upstream-freebsd/lib/msun/src/
De_powf.c23 bp[] = {1.0, 1.5,}, variable
167 u = ax-bp[k]; /* bp[0]=1.0, bp[1]=1.5 */ in __ieee754_powf()
168 v = one/(ax+bp[k]); in __ieee754_powf()
176 t_l = ax - (t_h-bp[k]); in __ieee754_powf()
De_pow.c65 bp[] = {1.0, 1.5,}, variable
226 u = ax-bp[k]; /* bp[0]=1.0, bp[1]=1.5 */ in __ieee754_pow()
227 v = one/(ax+bp[k]); in __ieee754_pow()
234 t_l = ax - (t_h-bp[k]); in __ieee754_pow()
/bionic/libc/kernel/uapi/asm-x86/asm/
Dsigcontext.h113 __u32 bp; member
141 __u64 bp; member
/bionic/benchmarks/linker_relocation/
DREADME.md23 - (default) generate Android.bp and source files
/bionic/libc/dns/resolv/
Dres_cache.c647 _dnsPacket_bprintQName(DnsPacket* packet, char* bp, char* bend) in _dnsPacket_bprintQName() argument
663 return bp; in _dnsPacket_bprintQName()
673 bp = _bprint_c(bp, bend, '.'); in _dnsPacket_bprintQName()
675 bp = _bprint_b(bp, bend, (const char*)p, c); in _dnsPacket_bprintQName()
682 bp = _bprint_s(bp, bend, "<MALFORMED>"); in _dnsPacket_bprintQName()
683 return bp; in _dnsPacket_bprintQName()
/bionic/libc/
DSYSCALLS.TXT27 # genrules in Android.bp.