Home
last modified time | relevance | path

Searched refs:b (Results 1 – 25 of 168) sorted by relevance

1234567

/bionic/libc/arch-arm64/default/bionic/
Dstrchr.S82 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 …]
Dmemchr.S80 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/libc/upstream-netbsd/common/lib/libc/hash/sha1/
Dsha1.c95 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/
Ds_csqrt.c45 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 …]
Ds_csqrtl.c60 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 …]
De_jnf.c38 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 …]
Ds_csqrtf.c41 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 …]
De_jn.c57 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 …]
De_hypot.c57 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 …]
De_hypotf.c25 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 …]
De_hypotl.c51 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/
Dsmisc.c42 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 …]
Dgdtoa.c42 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 …]
Dmisc.c165 (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 …]
Dgethex.c46 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 …]
Dgmisc.c36 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 …]
Dsum.c36 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 …]
Ddtoa.c126 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 …]
Ddmisc.c99 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 …]
Dstrtodg.c49 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/
Ddlext_test_recursive_library.cpp29 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/
Db_tgamma.c140 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/
DSECCOMP_WHITELIST_APP.TXT9 # 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/
Dns_parse.c86 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 …]
Dns_samedomain.c55 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()

1234567