/bionic/libc/arch-arm64/generic/bionic/ |
D | strchr.S | 83 dup vrepchr.16b, chrin 88 b.eq .Lloop 94 ld1 {vdata1.16b, vdata2.16b}, [src], #32 96 cmeq vhas_nul1.16b, vdata1.16b, #0 97 cmeq vhas_chr1.16b, vdata1.16b, vrepchr.16b 98 cmeq vhas_nul2.16b, vdata2.16b, #0 99 cmeq vhas_chr2.16b, vdata2.16b, vrepchr.16b 100 and vhas_nul1.16b, vhas_nul1.16b, vrepmask_0.16b 101 and vhas_nul2.16b, vhas_nul2.16b, vrepmask_0.16b 102 and vhas_chr1.16b, vhas_chr1.16b, vrepmask_c.16b [all …]
|
D | memchr.S | 81 dup vrepchr.16b, chrin 87 b.eq .Lloop 95 ld1 {vdata1.16b, vdata2.16b}, [src], #32 98 cmeq vhas_chr1.16b, vdata1.16b, vrepchr.16b 99 cmeq vhas_chr2.16b, vdata2.16b, vrepchr.16b 100 and vhas_chr1.16b, vhas_chr1.16b, vrepmask.16b 101 and vhas_chr2.16b, vhas_chr2.16b, vrepmask.16b 102 addp vend.16b, vhas_chr1.16b, vhas_chr2.16b /* 256->128 */ 103 addp vend.16b, vend.16b, vend.16b /* 128->64 */ 110 b.ls .Lmasklast [all …]
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | s_csqrtf.c | 47 float a = crealf(z), b = cimagf(z); in csqrtf() local 52 return (cpackf(0, b)); in csqrtf() 53 if (isinf(b)) in csqrtf() 54 return (cpackf(INFINITY, b)); in csqrtf() 56 t = (b - b) / (b - b); /* raise invalid if b is not a NaN */ in csqrtf() 67 return (cpackf(fabsf(b - b), copysignf(a, b))); in csqrtf() 69 return (cpackf(a, copysignf(b - b, b))); in csqrtf() 82 t = sqrt((a + hypot(a, b)) * 0.5); in csqrtf() 83 return (cpackf(t, b / (2.0 * t))); in csqrtf() 85 t = sqrt((-a + hypot(a, b)) * 0.5); in csqrtf() [all …]
|
D | s_csqrt.c | 52 double a, b; in csqrt() local 57 b = cimag(z); in csqrt() 61 return (cpack(0, b)); in csqrt() 62 if (isinf(b)) in csqrt() 63 return (cpack(INFINITY, b)); in csqrt() 65 t = (b - b) / (b - b); /* raise invalid if b is not a NaN */ in csqrt() 76 return (cpack(fabs(b - b), copysign(a, b))); in csqrt() 78 return (cpack(a, copysign(b - b, b))); in csqrt() 86 if (fabs(a) >= THRESH || fabs(b) >= THRESH) { in csqrt() 88 b *= 0.25; in csqrt() [all …]
|
D | s_csqrtl.c | 52 long double a, b; in csqrtl() local 57 b = cimagl(z); in csqrtl() 61 return (cpackl(0, b)); in csqrtl() 62 if (isinf(b)) in csqrtl() 63 return (cpackl(INFINITY, b)); in csqrtl() 65 t = (b - b) / (b - b); /* raise invalid if b is not a NaN */ in csqrtl() 76 return (cpackl(fabsl(b - b), copysignl(a, b))); in csqrtl() 78 return (cpackl(a, copysignl(b - b, b))); in csqrtl() 86 if (fabsl(a) >= THRESH || fabsl(b) >= THRESH) { in csqrtl() 88 b *= 0.25; in csqrtl() [all …]
|
D | e_jnf.c | 32 float a, b, temp, di; in __ieee754_jnf() local 52 b = zero; in __ieee754_jnf() 56 b = __ieee754_j1f(x); in __ieee754_jnf() 58 temp = b; in __ieee754_jnf() 59 b = b*((float)(i+i)/x) - a; /* avoid underflow */ in __ieee754_jnf() 68 b = zero; in __ieee754_jnf() 70 temp = x*(float)0.5; b = temp; in __ieee754_jnf() 73 b *= temp; /* b = (x/2)^n */ in __ieee754_jnf() 75 b = b/a; in __ieee754_jnf() 120 b = one; in __ieee754_jnf() [all …]
|
D | e_jn.c | 57 double a, b, temp, di; in __ieee754_jn() local 77 b = zero; in __ieee754_jn() 100 b = invsqrtpi*temp/sqrt(x); in __ieee754_jn() 103 b = __ieee754_j1(x); in __ieee754_jn() 105 temp = b; in __ieee754_jn() 106 b = b*((double)(i+i)/x) - a; /* avoid underflow */ in __ieee754_jn() 116 b = zero; in __ieee754_jn() 118 temp = x*0.5; b = temp; in __ieee754_jn() 121 b *= temp; /* b = (x/2)^n */ in __ieee754_jn() 123 b = b/a; in __ieee754_jn() [all …]
|
D | e_hypotf.c | 25 float a,b,t1,t2,y1,y2,w; in __ieee754_hypotf() local 32 if(hb > ha) {a=y;b=x;j=ha; ha=hb;hb=j;} else {a=x;b=y;} in __ieee754_hypotf() 34 b = fabsf(b); in __ieee754_hypotf() 35 if((ha-hb)>0xf000000) {return a+b;} /* x/y > 2**30 */ in __ieee754_hypotf() 42 if(hb == 0x7f800000) w = b; in __ieee754_hypotf() 48 SET_FLOAT_WORD(b,hb); in __ieee754_hypotf() 54 b *= t1; in __ieee754_hypotf() 62 SET_FLOAT_WORD(b,hb); in __ieee754_hypotf() 66 w = a-b; in __ieee754_hypotf() 67 if (w>b) { in __ieee754_hypotf() [all …]
|
D | e_hypot.c | 57 double a,b,t1,t2,y1,y2,w; in __ieee754_hypot() local 64 if(hb > ha) {a=y;b=x;j=ha; ha=hb;hb=j;} else {a=x;b=y;} in __ieee754_hypot() 66 b = fabs(b); in __ieee754_hypot() 67 if((ha-hb)>0x3c00000) {return a+b;} /* x/y > 2**60 */ in __ieee754_hypot() 76 GET_LOW_WORD(low,b); in __ieee754_hypot() 77 if(((hb^0x7ff00000)|low)==0) w = b; in __ieee754_hypot() 83 SET_HIGH_WORD(b,hb); in __ieee754_hypot() 88 GET_LOW_WORD(low,b); in __ieee754_hypot() 92 b *= t1; in __ieee754_hypot() 100 SET_HIGH_WORD(b,hb); in __ieee754_hypot() [all …]
|
D | s_ilogbl.c | 27 int b; in ilogbl() local 36 for (b = LDBL_MANH_SIZE; !(u.bits.manl & m); m >>= 1) in ilogbl() 37 b++; in ilogbl() 40 for (b = 0; !(u.bits.manh & m); m >>= 1) in ilogbl() 41 b++; in ilogbl() 44 b++; in ilogbl() 46 return (LDBL_MIN_EXP - b - 1); in ilogbl()
|
D | s_logbl.c | 28 int b; in logbl() local 39 for (b = LDBL_MANH_SIZE; !(u.bits.manl & m); m >>= 1) in logbl() 40 b++; in logbl() 43 for (b = 0; !(u.bits.manh & m); m >>= 1) in logbl() 44 b++; in logbl() 47 b++; in logbl() 49 return ((long double)(LDBL_MIN_EXP - b - 1)); in logbl()
|
D | e_hypotl.c | 51 long double a=x,b=y,t1,t2,y1,y2,w; in hypotl() local 58 if(hb > ha) {a=y;b=x;j=ha; ha=hb;hb=j;} else {a=x;b=y;} in hypotl() 60 b = fabsl(b); in hypotl() 61 if((ha-hb)>DESW(MANT_DIG+7)) {return a+b;} /* x/y > 2**(MANT_DIG+7) */ in hypotl() 70 GET_LDBL_MAN(manh,manl,b); in hypotl() 71 if (hb >= ESW(MAX_EXP) && manh == LDBL_NBIT && manl == 0) w = b; in hypotl() 78 SET_HIGH_WORD(b,hb); in hypotl() 83 GET_LDBL_MAN(manh,manl,b); in hypotl() 87 b *= t1; in hypotl() 95 SET_HIGH_WORD(b,hb); in hypotl() [all …]
|
/bionic/libc/upstream-netbsd/common/lib/libc/hash/sha1/ |
D | sha1.c | 95 void do_R01(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *); 96 void do_R2(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *); 97 void do_R3(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *); 98 void do_R4(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *); 107 do_R01(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *block) in do_R01() argument 109 nR0(a,b,c,d,e, 0); nR0(e,a,b,c,d, 1); nR0(d,e,a,b,c, 2); nR0(c,d,e,a,b, 3); in do_R01() 110 nR0(b,c,d,e,a, 4); nR0(a,b,c,d,e, 5); nR0(e,a,b,c,d, 6); nR0(d,e,a,b,c, 7); in do_R01() 111 nR0(c,d,e,a,b, 8); nR0(b,c,d,e,a, 9); nR0(a,b,c,d,e,10); nR0(e,a,b,c,d,11); in do_R01() 112 nR0(d,e,a,b,c,12); nR0(c,d,e,a,b,13); nR0(b,c,d,e,a,14); nR0(a,b,c,d,e,15); in do_R01() 113 nR1(e,a,b,c,d,16); nR1(d,e,a,b,c,17); nR1(c,d,e,a,b,18); nR1(b,c,d,e,a,19); in do_R01() [all …]
|
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
D | smisc.c | 42 Bigint *b; local 49 b = Balloc(k); 50 if (b == NULL) 52 b->x[0] = y9; 53 b->wds = 1; 55 b = Balloc(k+1); 56 if (b == NULL) 58 b->x[0] = y9 & 0xffff; 59 b->wds = (b->x[1] = y9 >> 16) ? 2 : 1; 66 b = multadd(b, 10, *s++ - '0'); [all …]
|
D | gmisc.c | 36 rshift(b, k) Bigint *b; int k; in rshift() argument 38 rshift(Bigint *b, int k) 44 x = x1 = b->x; 46 if (n < b->wds) { 47 xe = x + b->wds; 63 if ((b->wds = x1 - b->x) == 0) 64 b->x[0] = 0; 69 trailz(b) Bigint *b; in trailz() argument 71 trailz(Bigint *b) 77 x = b->x; [all …]
|
D | sum.c | 36 sum(a, b) Bigint *a; Bigint *b; in sum() argument 38 sum(Bigint *a, Bigint *b) 47 if (a->wds < b->wds) { 48 c = b; b = a; a = c; 56 xb = b->x; 58 xe = xc + b->wds; 68 xe += a->wds - b->wds; 83 xe += a->wds - b->wds; 92 b = Balloc(c->k + 1); 93 if (b == NULL) [all …]
|
D | gethex.c | 46 Bigint *b; local 169 b = Balloc(0); 170 if (b == NULL) 172 b->wds = 1; 173 b->x[0] = 1; 194 *bp = b = Balloc(k); 197 b->wds = n; 199 b->x[j] = ALL_ON; 201 b->x[j] = ULbits >> (ULbits - (nbits & kmask)); 208 b = Balloc(k); [all …]
|
D | gdtoa.c | 42 Bigint *b; local 55 b = Balloc(k); 56 if (b == NULL) 59 x = x0 = b->x; 69 b->wds = 0; 73 b->wds = i + 1; 74 *bbits = i*ULbits + 32 - hi0bits(b->x[i]); 76 return b; 162 Bigint *b, *b1, *delta, *mlo, *mhi, *mhi1, *S; local 190 b = bitstob(bits, nbits = fpi->nbits, &bbits); [all …]
|
D | misc.c | 165 (b, m, a) Bigint *b; int m, a; in multadd() argument 167 (Bigint *b, int m, int a) /* multiply by m and add a */ 182 wds = b->wds; 183 x = b->x; 207 if (wds >= b->maxwds) { 208 b1 = Balloc(b->k+1); 211 Bcopy(b1, b); 212 Bfree(b); 213 b = b1; 215 b->x[wds++] = carry; [all …]
|
/bionic/libc/upstream-openbsd/lib/libc/net/ |
D | inet_ntoa.c | 43 static char b[18]; in inet_ntoa() local 47 #define UC(b) (((int)b)&0xff) in inet_ntoa() argument 48 (void)snprintf(b, sizeof(b), in inet_ntoa() 50 return (b); in inet_ntoa()
|
/bionic/libc/include/sys/ |
D | time.h | 51 #define timercmp(a, b, op) \ argument 52 ((a)->tv_sec == (b)->tv_sec \ 53 ? (a)->tv_usec op (b)->tv_usec \ 54 : (a)->tv_sec op (b)->tv_sec) 56 #define timeradd(a, b, res) \ argument 58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ 59 (res)->tv_usec = (a)->tv_usec + (b)->tv_usec; \ 66 #define timersub(a, b, res) \ argument 68 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \ 69 (res)->tv_usec = (a)->tv_usec - (b)->tv_usec; \
|
D | param.h | 45 #define MIN(a,b) (((a)<(b))?(a):(b)) argument 46 #define MAX(a,b) (((a)>(b))?(a):(b)) argument
|
/bionic/libm/upstream-freebsd/lib/msun/bsdsrc/ |
D | b_tgamma.c | 138 return(__exp__D(u.a, u.b)); 170 v.b = x - v.a; 172 t.b = v.b*u.a + x*u.b; 174 t.b += lns2pi_lo; t.b += p; 175 u.a = lns2pi_hi + t.b; u.a += t.a; 176 u.b = t.a - u.a; 177 u.b += lns2pi_hi; u.b += t.b; 194 return (yy.a + yy.b); 200 yy.b = r.b = y - yy.a; 204 r.b = r.a*yy.b + y*r.b; [all …]
|
/bionic/libc/kernel/uapi/linux/ |
D | uuid.h | 25 __u8 b[16]; member 29 __u8 b[16]; member 31 …E(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) ((uuid_le) {{ (a) & 0xff, ((a) >> 8) & 0xff, ((a) >> … argument 32 …, b, c, d0, d1, d2, d3, d4, d5, d6, d7) ((uuid_be) {{ ((a) >> 24) & 0xff, ((a) >> 16) & 0xff, ((… argument
|
/bionic/libc/arch-arm64/denver64/bionic/ |
D | memset.S | 71 # b.eq .Lzero_mem 78 b.ge .Lnot_short 81 b.le .Ltail15tiny 84 b.eq .Ltail63 87 b.eq 1f 88 b.lt 2f 99 b.eq .Ltail15 102 b.eq 1f 103 b.lt 2f 140 b.eq 2f [all …]
|