/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/libm/upstream-freebsd/lib/msun/src/ |
D | s_csqrt.c | 45 double a, b, rx, ry, scale, t; in csqrt() local 48 b = cimag(z); in csqrt() 52 return (CMPLX(0, b)); in csqrt() 53 if (isinf(b)) in csqrt() 54 return (CMPLX(INFINITY, b)); in csqrt() 56 t = (b - b) / (b - b); /* raise invalid if b is not a NaN */ in csqrt() 67 return (CMPLX(fabs(b - b), copysign(a, b))); in csqrt() 69 return (CMPLX(a, copysign(b - b, b))); in csqrt() 71 if (isnan(b)) { in csqrt() 73 return (CMPLX(b + 0.0L + t, b + 0.0L + t)); /* NaN + NaN i */ in csqrt() [all …]
|
D | s_csqrtl.c | 60 long double a, b, rx, ry, scale, t; in csqrtl() local 63 b = cimagl(z); in csqrtl() 67 return (CMPLXL(0, b)); in csqrtl() 68 if (isinf(b)) in csqrtl() 69 return (CMPLXL(INFINITY, b)); in csqrtl() 71 t = (b - b) / (b - b); /* raise invalid if b is not a NaN */ in csqrtl() 82 return (CMPLXL(fabsl(b - b), copysignl(a, b))); in csqrtl() 84 return (CMPLXL(a, copysignl(b - b, b))); in csqrtl() 86 if (isnan(b)) { in csqrtl() 88 return (CMPLXL(b + 0.0L + t, b + 0.0L + t)); /* NaN + NaN i */ in csqrtl() [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 | s_csqrtf.c | 41 float a, b; in csqrtf() local 44 b = cimag(z); in csqrtf() 48 return (CMPLXF(0, b)); in csqrtf() 49 if (isinf(b)) in csqrtf() 50 return (CMPLXF(INFINITY, b)); in csqrtf() 52 t = (b - b) / (b - b); /* raise invalid if b is not a NaN */ in csqrtf() 63 return (CMPLXF(fabsf(b - b), copysignf(a, b))); in csqrtf() 65 return (CMPLXF(a, copysignf(b - b, b))); in csqrtf() 67 if (isnan(b)) { in csqrtf() 69 return (CMPLXF(b + 0.0L + t, b + 0.0L + t)); /* NaN + NaN i */ in csqrtf() [all …]
|
D | e_jn.c | 57 double a, b, c, s, temp, di; in __ieee754_jn() local 77 b = zero; in __ieee754_jn() 101 b = invsqrtpi*temp/sqrt(x); in __ieee754_jn() 104 b = __ieee754_j1(x); in __ieee754_jn() 106 temp = b; in __ieee754_jn() 107 b = b*((double)(i+i)/x) - a; /* avoid underflow */ in __ieee754_jn() 117 b = zero; in __ieee754_jn() 119 temp = x*0.5; b = temp; in __ieee754_jn() 122 b *= temp; /* b = (x/2)^n */ in __ieee754_jn() 124 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 | 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-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 | 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 | 169 (b, m, a) Bigint *b; int m, a; in multadd() argument 171 (Bigint *b, int m, int a) /* multiply by m and add a */ 186 wds = b->wds; 187 x = b->x; 211 if (wds >= b->maxwds) { 212 b1 = Balloc(b->k+1); 215 Bcopy(b1, b); 216 Bfree(b); 217 b = b1; 219 b->x[wds++] = carry; [all …]
|
D | gethex.c | 46 Bigint *b; local 166 b = Balloc(0); 167 if (b == NULL) 169 b->wds = 1; 170 b->x[0] = 1; 191 *bp = b = Balloc(k); 194 b->wds = n; 196 b->x[j] = ALL_ON; 198 b->x[j] = ULbits >> (ULbits - (nbits & kmask)); 205 b = Balloc(k); [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 | dtoa.c | 126 Bigint *b, *b1, *delta, *mlo, *mhi, *S; local 200 b = d2b(dval(&d), &be, &bbits); 201 if (b == NULL) 529 b1 = mult(mhi, b); 532 Bfree(b); 533 b = b1; 536 b = pow5mult(b, j); 537 if (b == NULL) 542 b = pow5mult(b, b5); 543 if (b == NULL) [all …]
|
D | dmisc.c | 99 Bigint *b = (Bigint *)((int *)s - 1); local 100 b->maxwds = 1 << (b->k = *(int*)b); 101 Bfree(b); 112 (b, S) Bigint *b, *S; in quorem() argument 114 (Bigint *b, Bigint *S) 130 /*debug*/ if (b->wds > n) 133 if (b->wds < n) 137 bx = b->x; 176 bx = b->x; 179 b->wds = n; [all …]
|
D | strtodg.c | 49 increment(b) Bigint *b; in increment() argument 51 increment(Bigint *b) 60 x = b->x; 61 xe = x + b->wds; 66 return b; 76 return b; 81 if (b->wds >= b->maxwds) { 82 b1 = Balloc(b->k+1); 85 Bcopy(b1,b); 86 Bfree(b); [all …]
|
/bionic/tests/libs/ |
D | dlext_test_recursive_library.cpp | 29 B b; variable 33 #define B_16 &b, &b, &b, &b, &b, &b, &b, &b, &b, &b, &b, &b, &b, &b, &b, &b,
|
/bionic/libm/upstream-freebsd/lib/msun/bsdsrc/ |
D | b_tgamma.c | 140 return(__exp__D(u.a, u.b)); 172 v.b = x - v.a; 174 t.b = v.b*u.a + x*u.b; 176 t.b += lns2pi_lo; t.b += p; 177 u.a = lns2pi_hi + t.b; u.a += t.a; 178 u.b = t.a - u.a; 179 u.b += lns2pi_hi; u.b += t.b; 196 return (yy.a + yy.b); 202 yy.b = r.b = y - yy.a; 206 r.b = r.a*yy.b + y*r.b; [all …]
|
/bionic/libc/ |
D | SECCOMP_ALLOWLIST_APP.TXT | 9 # b/34651972 13 # b/34813887 17 # b/34719286 20 # b/34817266 23 # b/34908783 26 # b/34979910 30 # b/35059702 33 # b/35217603 38 # b/35906875 42 # b/36435222 [all …]
|
/bionic/libc/dns/nameser/ |
D | ns_parse.c | 86 int b, rdlength; in ns_skiprr() local 88 b = dn_skipname(ptr, eom); in ns_skiprr() 89 if (b < 0) in ns_skiprr() 91 ptr += b/*Name*/ + NS_INT16SZ/*Type*/ + NS_INT16SZ/*Class*/; in ns_skiprr() 128 int b = ns_skiprr(msg, eom, (ns_sect)i, in ns_initparse() local 131 if (b < 0) in ns_initparse() 134 msg += b; in ns_initparse() 144 int b; in ns_parserr() local 162 b = ns_skiprr(handle->_msg_ptr, handle->_eom, section, in ns_parserr() 165 if (b < 0) in ns_parserr() [all …]
|
D | ns_samedomain.c | 55 ns_samedomain(const char *a, const char *b) { in ns_samedomain() argument 61 lb = strlen(b); in ns_samedomain() 80 if (lb != 0U && b[lb - 1] == '.') { in ns_samedomain() 84 if (b[i - 1] == '\\') { in ns_samedomain() 105 return (strncasecmp(a, b, lb) == 0); in ns_samedomain() 145 return (strncasecmp(cp, b, lb) == 0); in ns_samedomain() 152 ns_subdomain(const char *a, const char *b) { in ns_subdomain() argument 153 return (ns_samename(a, b) != 1 && ns_samedomain(a, b)); in ns_subdomain() 199 ns_samename(const char *a, const char *b) { in ns_samename() argument 203 ns_makecanon(b, tb, sizeof tb) < 0) in ns_samename()
|
/bionic/libc/include/sys/ |
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; \
|
/bionic/libc/arch-arm/generic/bionic/ |
D | memcmp.S | 89 bhs 1b 90 b 3f 136 bne 1b 186 bhs 0b 198 bhs 3b 206 b 8f 220 bne 8b 236 bne 11b 249 bmi 8b 279 bhs 6b [all …]
|