Home
last modified time | relevance | path

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

/picolibc-latest/newlib/libc/search/
Dhash_buf.c115 BUFHEAD *bp; in __get_buf() local
123 bp = prev_bp->ovfl; in __get_buf()
124 if (!bp || (bp->addr != addr)) in __get_buf()
125 bp = NULL; in __get_buf()
137 bp = PTROF(segp[segment_ndx]); in __get_buf()
142 if (!bp) { in __get_buf()
143 bp = newbuf(hashp, addr, prev_bp); in __get_buf()
144 if (!bp || in __get_buf()
145 __get_page(hashp, bp->page, addr, !prev_bp, is_disk, 0)) in __get_buf()
149 (BUFHEAD *)((ptrdiff_t)bp | (intptr_t)is_disk_mask); in __get_buf()
[all …]
Dhash_bigkey.c191 __uint16_t *bp, pageno; in __big_delete() local
196 bp = (__uint16_t *)bufp->page; in __big_delete()
200 while (!key_done || (bp[2] != FULL_KEY_DATA)) { in __big_delete()
201 if (bp[2] == FULL_KEY || bp[2] == FULL_KEY_DATA) in __big_delete()
209 if (bp[2] == FULL_KEY_DATA && FREESPACE(bp)) in __big_delete()
211 pageno = bp[bp[0] - 1]; in __big_delete()
219 bp = (__uint16_t *)rbufp->page; in __big_delete()
230 n = bp[0]; in __big_delete()
231 pageno = bp[n - 1]; in __big_delete()
234 bp = (__uint16_t *)bufp->page; in __big_delete()
[all …]
Dhash_page.c91 __uint16_t *bp, n, off; in putpair() local
93 bp = (__uint16_t *)p; in putpair()
96 n = bp[0]; in putpair()
98 off = OFFSET(bp) - key->size; in putpair()
100 bp[++n] = off; in putpair()
105 bp[++n] = off; in putpair()
108 bp[0] = n; in putpair()
109 bp[n + 1] = off - ((n + 3) * sizeof(__uint16_t)); in putpair()
110 bp[n + 2] = off; in putpair()
123 __uint16_t *bp, newoff; in __delpair() local
[all …]
Dhash.c624 __uint16_t *bp; local
643 for (bp = (__uint16_t *)rbufp->page, n = *bp++, ndx = 1; ndx < n;)
644 if (bp[1] >= REAL_KEY) {
646 if (size == off - (int) *bp &&
647 memcmp(kp, rbufp->page + *bp, size) == 0)
649 off = bp[1];
653 bp += 2;
655 } else if (bp[1] == OVFLPAGE) {
656 rbufp = __get_buf(hashp, *bp, rbufp, 0);
662 bp = (__uint16_t *)rbufp->page;
[all …]
/picolibc-latest/newlib/libc/stdio/
Dnano-vfprintf_float.c70 char *digits, *bp, *rve; in __cvt() local
105 bp = digits + ndigits; in __cvt()
110 bp += *decpt; in __cvt()
114 rve = bp; in __cvt()
115 while (rve < bp) in __cvt()
Dvfwprintf.c1563 wchar_t *digits, *bp, *rve; in wcvt() local
1572 bp = buf; in wcvt()
1577 *bp++ = digits[mode]; in wcvt()
1581 rve = bp; in wcvt()
1588 *bp++ = L'0'; in wcvt()
1591 *length = bp - buf; in wcvt()
1609 char *digits, *bp, *rve; in wcvt() local
1617 bp = digits + ndigits; in wcvt()
1621 bp += *decpt; in wcvt()
1624 rve = bp; in wcvt()
[all …]
Dvfprintf.c1554 char *digits, *bp, *rve; in cvt() local
1589 bp = buf; in cvt()
1594 *bp++ = digits[mode]; in cvt()
1598 rve = bp; in cvt()
1605 *bp++ = '0'; in cvt()
1608 *length = bp - buf; in cvt()
1630 bp = digits + ndigits; in cvt()
1634 bp += *decpt; in cvt()
1637 rve = bp; in cvt()
1638 while (rve < bp) in cvt()
/picolibc-latest/test/
Dtest-fread-fwrite.c70 uint8_t *bp = b; in fill_buf() local
72 *bp++ = test_value(offset++, generation); in fill_buf()
78 uint8_t *bp = b; in check_buf() local
80 if (test_value(offset, generation) != *bp++) { in check_buf()
/picolibc-latest/newlib/libc/stdlib/
Dgdtoa-gethex.c151 Long *exp, _Bigint **bp, int sign, locale_t loc) in gethex() argument
285 *bp = 0; in gethex()
307 *bp = b; in gethex()
313 *bp = 0; in gethex()
366 *bp = b; in gethex()
Dmprec.h380 int gethex (const char **sp, const struct FPI *fpi, Long *exp, _Bigint **bp, int sign, locale_t lo…
/picolibc-latest/newlib/libm/math/
Dsf_pow.c26 bp[] = {1.0, 1.5,}, variable
195 u = ax - bp[k]; /* bp[0]=1.0, bp[1]=1.5 */ in powf()
196 v = one / (ax + bp[k]); in powf()
204 t_l = ax - (t_h - bp[k]); in powf()
Ds_pow.c67 bp[] = {_F_64(1.0), _F_64(1.5),}, variable
260 u = ax - bp[k]; /* bp[0]=1.0, bp[1]=1.5 */ in pow64()
261 v = one / (ax + bp[k]); in pow64()
268 t_l = ax - (t_h - bp[k]); in pow64()
/picolibc-latest/newlib/libm/ld/ld128/
De_powl.c64 static const long double bp[] = { variable
321 u = ax - bp[k]; /* bp[0]=1.0, bp[1]=1.5 */ in powl()
322 v = one / (ax + bp[k]); in powl()
331 t_h = ax + bp[k]; in powl()
336 t_l = ax - (t_h - bp[k]); in powl()
/picolibc-latest/newlib/libc/xdr/
Dxdr_sizeof.c58 const char *bp, in x_putbytes() argument
61 (void) bp; in x_putbytes()
Dxdr.c523 bool_t * bp) in xdr_bool() argument
530 lb = *bp ? XDR_TRUE : XDR_FALSE; in xdr_bool()
536 *bp = (lb == XDR_FALSE) ? FALSE : TRUE; in xdr_bool()
/picolibc-latest/newlib/
DChangeLog-201515530 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
15645 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
17368 * libc/sys/linux/bp-sym.h: Moved to include directory.
17394 * libc/sys/linux/bp-checks.h: Ditto.
17407 * libc/sys/linux/include/bp-sym.h: Ditto.