/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_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 | 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_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_jnf.c | 38 float a, b, temp, di; in jnf() local 58 b = zero; in jnf() 62 b = j1f(x); in jnf() 64 temp = b; in jnf() 65 b = b*((float)(i+i)/x) - a; /* avoid underflow */ in jnf() 74 b = zero; in jnf() 76 temp = x*(float)0.5; b = temp; in jnf() 79 b *= temp; /* b = (x/2)^n */ in jnf() 81 b = b/a; in jnf() 126 b = one; in jnf() [all …]
|
D | e_jn.c | 57 double a, b, c, s, temp, di; in jn() local 77 b = zero; in jn() 101 b = invsqrtpi*temp/sqrt(x); in jn() 104 b = j1(x); in jn() 106 temp = b; in jn() 107 b = b*((double)(i+i)/x) - a; /* avoid underflow */ in jn() 117 b = zero; in jn() 119 temp = x*0.5; b = temp; in jn() 122 b *= temp; /* b = (x/2)^n */ in jn() 124 b = b/a; in jn() [all …]
|
D | e_hypot.c | 57 double a,b,t1,t2,y1,y2,w; in hypot() local 64 if(hb > ha) {a=y;b=x;j=ha; ha=hb;hb=j;} else {a=x;b=y;} in hypot() 66 b = fabs(b); in hypot() 67 if((ha-hb)>0x3c00000) {return a+b;} /* x/y > 2**60 */ in hypot() 76 GET_LOW_WORD(low,b); in hypot() 77 if(((hb^0x7ff00000)|low)==0) w = b; in hypot() 83 SET_HIGH_WORD(b,hb); in hypot() 88 GET_LOW_WORD(low,b); in hypot() 92 b *= t1; in hypot() 100 SET_HIGH_WORD(b,hb); in hypot() [all …]
|
D | e_hypotf.c | 25 float a,b,t1,t2,y1,y2,w; in hypotf() local 32 if(hb > ha) {a=y;b=x;j=ha; ha=hb;hb=j;} else {a=x;b=y;} in hypotf() 34 b = fabsf(b); in hypotf() 35 if((ha-hb)>0xf000000) {return a+b;} /* x/y > 2**30 */ in hypotf() 42 if(hb == 0x7f800000) w = b; in hypotf() 48 SET_FLOAT_WORD(b,hb); in hypotf() 54 b *= t1; in hypotf() 62 SET_FLOAT_WORD(b,hb); in hypotf() 66 w = a-b; in hypotf() 67 if (w>b) { in 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 …]
|
D | s_logbl.c | 27 int b; in logbl() local 38 for (b = LDBL_MANH_SIZE; !(u.bits.manl & m); m >>= 1) in logbl() 39 b++; in logbl() 42 for (b = 0; !(u.bits.manh & m); m >>= 1) in logbl() 43 b++; in logbl() 46 b++; in logbl() 48 return ((long double)(LDBL_MIN_EXP - b - 1)); in logbl()
|
/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/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 | 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 | 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 | 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 | 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 | 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 …]
|
/bionic/libc/arch-arm64/oryon/ |
D | memset-nt.S | 54 b.eq .Lzero_mem /* Use DC ZVA instruction if the val = 0 */ 60 b.ge .Lnot_short 63 b.le .Ltail15tiny 66 b.eq .Ltail15 69 b.eq 1f 70 b.lt 2f 107 b.eq 2f 116 b.le .Ltail63 126 b.ge 1b 129 b.ne .Ltail63 [all …]
|
/bionic/libc/dns/nameser/ |
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/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/ |
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/arch-arm/bionic/ |
D | bpabi.c | 32 long long __gnu_ldivmod_helper(long long a, long long b, long long* remainder) { in __gnu_ldivmod_helper() argument 33 long long quotient = __divdi3(a, b); in __gnu_ldivmod_helper() 34 *remainder = a - b * quotient; in __gnu_ldivmod_helper() 38 unsigned long long __gnu_uldivmod_helper(unsigned long long a, unsigned long long b, in __gnu_uldivmod_helper() argument 40 unsigned long long quotient = __udivdi3(a, b); in __gnu_uldivmod_helper() 41 *remainder = a - b * quotient; in __gnu_uldivmod_helper()
|
/bionic/libm/upstream-freebsd/lib/msun/bsdsrc/ |
D | b_tgamma.c | 57 double b; member 142 tlo = xlo * u.a + x * u.b; in large_gam() 149 u.b = thi - u.a; in large_gam() 150 u.b += ln2pi_hi; in large_gam() 151 u.b += tlo; in large_gam() 207 r.b = p - r.a; in ratfun_gam() 209 tlo = tlo * p + thi * r.b + a0_lo; in ratfun_gam() 212 r.b = ((a0_hi - r.a) + thi) + tlo; in ratfun_gam() 238 return (yy.a + yy.b); in small_gam() 244 r.b = yy.b = y - yy.a; in small_gam() [all …]
|