/bionic/libc/arch-arm64/generic/bionic/ |
D | strchr.S | 82 dup vrepchr.16b, chrin 87 b.eq .Lloop 93 ld1 {vdata1.16b, vdata2.16b}, [src], #32 95 cmeq vhas_nul1.16b, vdata1.16b, #0 96 cmeq vhas_chr1.16b, vdata1.16b, vrepchr.16b 97 cmeq vhas_nul2.16b, vdata2.16b, #0 98 cmeq vhas_chr2.16b, vdata2.16b, vrepchr.16b 99 and vhas_nul1.16b, vhas_nul1.16b, vrepmask_0.16b 100 and vhas_nul2.16b, vhas_nul2.16b, vrepmask_0.16b 101 and vhas_chr1.16b, vhas_chr1.16b, vrepmask_c.16b [all …]
|
D | memchr.S | 80 dup vrepchr.16b, chrin 86 b.eq .Lloop 94 ld1 {vdata1.16b, vdata2.16b}, [src], #32 97 cmeq vhas_chr1.16b, vdata1.16b, vrepchr.16b 98 cmeq vhas_chr2.16b, vdata2.16b, vrepchr.16b 99 and vhas_chr1.16b, vhas_chr1.16b, vrepmask.16b 100 and vhas_chr2.16b, vhas_chr2.16b, vrepmask.16b 101 addp vend.16b, vhas_chr1.16b, vhas_chr2.16b /* 256->128 */ 102 addp vend.16b, vend.16b, vend.16b /* 128->64 */ 109 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 (CMPLXF(0, b)); in csqrtf() 53 if (isinf(b)) in csqrtf() 54 return (CMPLXF(INFINITY, b)); in csqrtf() 56 t = (b - b) / (b - b); /* raise invalid if b is not a NaN */ in csqrtf() 67 return (CMPLXF(fabsf(b - b), copysignf(a, b))); in csqrtf() 69 return (CMPLXF(a, copysignf(b - b, b))); in csqrtf() 82 t = sqrt((a + hypot(a, b)) * 0.5); in csqrtf() 83 return (CMPLXF(t, b / (2.0 * t))); in csqrtf() 85 t = sqrt((-a + hypot(a, b)) * 0.5); in csqrtf() [all …]
|
D | s_csqrtl.c | 52 long double a, b; in csqrtl() local 57 b = cimagl(z); in csqrtl() 61 return (CMPLXL(0, b)); in csqrtl() 62 if (isinf(b)) in csqrtl() 63 return (CMPLXL(INFINITY, b)); in csqrtl() 65 t = (b - b) / (b - b); /* raise invalid if b is not a NaN */ in csqrtl() 76 return (CMPLXL(fabsl(b - b), copysignl(a, b))); in csqrtl() 78 return (CMPLXL(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 | s_csqrt.c | 52 double a, b; in csqrt() local 57 b = cimag(z); in csqrt() 61 return (CMPLX(0, b)); in csqrt() 62 if (isinf(b)) in csqrt() 63 return (CMPLX(INFINITY, b)); in csqrt() 65 t = (b - b) / (b - b); /* raise invalid if b is not a NaN */ in csqrt() 76 return (CMPLX(fabs(b - b), copysign(a, b))); in csqrt() 78 return (CMPLX(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 | e_jnf.c | 38 float a, b, temp, di; in __ieee754_jnf() local 58 b = zero; in __ieee754_jnf() 62 b = __ieee754_j1f(x); in __ieee754_jnf() 64 temp = b; in __ieee754_jnf() 65 b = b*((float)(i+i)/x) - a; /* avoid underflow */ in __ieee754_jnf() 74 b = zero; in __ieee754_jnf() 76 temp = x*(float)0.5; b = temp; in __ieee754_jnf() 79 b *= temp; /* b = (x/2)^n */ in __ieee754_jnf() 81 b = b/a; in __ieee754_jnf() 126 b = one; in __ieee754_jnf() [all …]
|
D | e_jn.c | 59 double a, b, temp, di; in __ieee754_jn() local 79 b = zero; in __ieee754_jn() 102 b = invsqrtpi*temp/sqrt(x); in __ieee754_jn() 105 b = __ieee754_j1(x); in __ieee754_jn() 107 temp = b; in __ieee754_jn() 108 b = b*((double)(i+i)/x) - a; /* avoid underflow */ in __ieee754_jn() 118 b = zero; in __ieee754_jn() 120 temp = x*0.5; b = temp; in __ieee754_jn() 123 b *= temp; /* b = (x/2)^n */ in __ieee754_jn() 125 b = b/a; in __ieee754_jn() [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 | 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 | 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()
|
/bionic/libc/arch-mips/string/ |
D | memcpy.c | 78 bits_t b; member 82 a[i] = bw.b.B##i; \ 90 do_bytes (void *a, const void *b, unsigned long len, void *ret) in do_bytes() argument 93 unsigned char *y = (unsigned char *) b; in do_bytes() 108 do_bytes_remaining (void *a, const void *b, unsigned long len, void *ret) in do_bytes_remaining() argument 114 bw.v = *((reg_t*) b); in do_bytes_remaining() 147 unaligned_words (struct ulw *a, const reg_t * b, in unaligned_words() argument 156 PREFETCH (b + 8); in unaligned_words() 157 reg_t y0 = b[0], y1 = b[1], y2 = b[2], y3 = b[3]; in unaligned_words() 158 reg_t y4 = b[4], y5 = b[5], y6 = b[6], y7 = b[7]; in unaligned_words() [all …]
|
D | memmove.c | 78 bits_t b; member 82 a[i] = bw.b.B##i; \ 90 do_bytes (void *a, const void *b, unsigned long len, void *ret) in do_bytes() argument 93 unsigned char *y = (unsigned char *) b; in do_bytes() 108 do_bytes_backward (void *a, const void *b, unsigned long len, void *ret) in do_bytes_backward() argument 111 unsigned char *y = (unsigned char *) b; in do_bytes_backward() 123 do_bytes_aligned (void *a, const void *b, unsigned long len, void *ret) in do_bytes_aligned() argument 129 bw.v = *((reg_t*) b); in do_bytes_aligned() 160 #define STORE_UNALIGNED_8(a, b) \ argument 162 reg_t y0 = b[0], y1 = b[1], y2 = b[2], y3 = b[3]; \ [all …]
|
D | memcmp.c | 82 bits_t b; member 86 if (x.b.B##__i != y.b.B##__i) return x.b.B##__i - y.b.B##__i; 89 static int __attribute__ ((noinline)) do_by_bitfields (reg_t a, reg_t b) in do_by_bitfields() argument 93 y.v = b; in do_by_bitfields() 98 return x.b.B3 - y.b.B3; in do_by_bitfields() 104 return x.b.B7 - y.b.B7; in do_by_bitfields() 112 do_bytes (const void *a, const void *b, unsigned long len) in do_bytes() argument 115 unsigned char *y = (unsigned char *) b; in do_bytes() 139 static int unaligned_words (const struct ulw *a, const reg_t *b, in unaligned_words() argument 144 const reg_t *pref_ptr = (const reg_t *) (((uintptr_t) b + 31) & ~31); in unaligned_words() [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 …]
|
/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/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 | 24 __u8 b[16]; member 27 __u8 b[16]; member 29 #define UUID_LE(a,b,c,d0,d1,d2,d3,d4,d5,d6,d7) \ argument 31 { { (a) & 0xff, ((a) >> 8) & 0xff, ((a) >> 16) & 0xff, ((a) >> 24) & 0xff, (b) & 0xff, ((b) >> 8) &… 32 #define UUID_BE(a,b,c,d0,d1,d2,d3,d4,d5,d6,d7) \ argument 34 { { ((a) >> 24) & 0xff, ((a) >> 16) & 0xff, ((a) >> 8) & 0xff, (a) & 0xff, ((b) >> 8) & 0xff, (b) &…
|
/bionic/libc/include/sys/ |
D | param.h | 49 #define MIN(a,b) (((a)<(b))?(a):(b)) argument 50 #define MAX(a,b) (((a)>(b))?(a):(b)) argument
|
D | time.h | 64 #define timercmp(a, b, op) \ argument 65 ((a)->tv_sec == (b)->tv_sec \ 66 ? (a)->tv_usec op (b)->tv_usec \ 67 : (a)->tv_sec op (b)->tv_sec) 69 #define timeradd(a, b, res) \ argument 71 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ 72 (res)->tv_usec = (a)->tv_usec + (b)->tv_usec; \ 79 #define timersub(a, b, res) \ argument 81 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \ 82 (res)->tv_usec = (a)->tv_usec - (b)->tv_usec; \
|