Home
last modified time | relevance | path

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

1234567891011

/bionic/libc/bionic/
Dsha1.c68 void do_R01(u_int32_t *a, u_int32_t *b, u_int32_t *c, u_int32_t *d, u_int32_t *e, CHAR64LONG16 *);
69 void do_R2(u_int32_t *a, u_int32_t *b, u_int32_t *c, u_int32_t *d, u_int32_t *e, CHAR64LONG16 *);
70 void do_R3(u_int32_t *a, u_int32_t *b, u_int32_t *c, u_int32_t *d, u_int32_t *e, CHAR64LONG16 *);
71 void do_R4(u_int32_t *a, u_int32_t *b, u_int32_t *c, u_int32_t *d, u_int32_t *e, CHAR64LONG16 *);
80 do_R01(u_int32_t *a, u_int32_t *b, u_int32_t *c, u_int32_t *d, u_int32_t *e, CHAR64LONG16 *block) in do_R01() argument
82 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()
83 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()
84 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()
85 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()
86 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 …]
Dpthread_internal.h53 static __inline__ void timespec_add( struct timespec* a, const struct timespec* b ) in timespec_add() argument
55 a->tv_sec += b->tv_sec; in timespec_add()
56 a->tv_nsec += b->tv_nsec; in timespec_add()
63 static __inline__ void timespec_sub( struct timespec* a, const struct timespec* b ) in timespec_sub() argument
65 a->tv_sec -= b->tv_sec; in timespec_sub()
66 a->tv_nsec -= b->tv_nsec; in timespec_sub()
83 static __inline__ int timespec_cmp( const struct timespec* a, const struct timespec* b ) in timespec_cmp() argument
85 if (a->tv_sec < b->tv_sec) return -1; in timespec_cmp()
86 if (a->tv_sec > b->tv_sec) return +1; in timespec_cmp()
87 if (a->tv_nsec < b->tv_nsec) return -1; in timespec_cmp()
[all …]
Dhash.h45 #define min(a,b) (((a)>(b))?(b):(a)) argument
/bionic/libm/src/
De_jnf.c34 float a, b, temp, di; in __ieee754_jnf() local
54 b = zero; in __ieee754_jnf()
58 b = __ieee754_j1f(x); in __ieee754_jnf()
60 temp = b; in __ieee754_jnf()
61 b = b*((float)(i+i)/x) - a; /* avoid underflow */ in __ieee754_jnf()
70 b = zero; in __ieee754_jnf()
72 temp = x*(float)0.5; b = temp; in __ieee754_jnf()
75 b *= temp; /* b = (x/2)^n */ in __ieee754_jnf()
77 b = b/a; in __ieee754_jnf()
122 b = one; in __ieee754_jnf()
[all …]
De_jn.c58 double a, b, temp, di; in __ieee754_jn() local
78 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_hypotf.c26 float a=x,b=y,t1,t2,y1,y2,w; in __ieee754_hypotf() local
33 if(hb > ha) {a=y;b=x;j=ha; ha=hb;hb=j;} else {a=x;b=y;} in __ieee754_hypotf()
35 SET_FLOAT_WORD(b,hb); /* b <- |b| */ in __ieee754_hypotf()
36 if((ha-hb)>0xf000000) {return a+b;} /* x/y > 2**30 */ in __ieee754_hypotf()
40 w = a+b; /* for sNaN */ 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()
[all …]
De_hypot.c56 double a=x,b=y,t1,t2,y1,y2,w; in __ieee754_hypot() local
63 if(hb > ha) {a=y;b=x;j=ha; ha=hb;hb=j;} else {a=x;b=y;} in __ieee754_hypot()
65 SET_HIGH_WORD(b,hb); /* b <- |b| */ in __ieee754_hypot()
66 if((ha-hb)>0x3c00000) {return a+b;} /* x/y > 2**60 */ in __ieee754_hypot()
71 w = a+b; /* for sNaN */ in __ieee754_hypot()
74 GET_LOW_WORD(low,b); in __ieee754_hypot()
75 if(((hb^0x7ff00000)|low)==0) w = b; in __ieee754_hypot()
81 SET_HIGH_WORD(b,hb); in __ieee754_hypot()
86 GET_LOW_WORD(low,b); in __ieee754_hypot()
90 b *= t1; in __ieee754_hypot()
[all …]
Ds_ilogbl.c28 int b; in ilogbl() local
37 for (b = LDBL_MANH_SIZE; !(u.bits.manl & m); m >>= 1) in ilogbl()
38 b++; in ilogbl()
41 for (b = 0; !(u.bits.manh & m); m >>= 1) in ilogbl()
42 b++; in ilogbl()
45 b++; in ilogbl()
47 return (LDBL_MIN_EXP - b - 1); in ilogbl()
/bionic/libc/inet/
Dinet_ntoa.c43 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/stdlib/
Dsha1hash.c132 uint32_t a, b, c, d, e; in SHA1Transform() local
147 b = state[1]; in SHA1Transform()
152 R0(a,b,c,d,e, 0); R0(e,a,b,c,d, 1); R0(d,e,a,b,c, 2); R0(c,d,e,a,b, 3); in SHA1Transform()
153 R0(b,c,d,e,a, 4); R0(a,b,c,d,e, 5); R0(e,a,b,c,d, 6); R0(d,e,a,b,c, 7); in SHA1Transform()
154 R0(c,d,e,a,b, 8); R0(b,c,d,e,a, 9); R0(a,b,c,d,e,10); R0(e,a,b,c,d,11); in SHA1Transform()
155 R0(d,e,a,b,c,12); R0(c,d,e,a,b,13); R0(b,c,d,e,a,14); R0(a,b,c,d,e,15); in SHA1Transform()
156 R1(e,a,b,c,d,16); R1(d,e,a,b,c,17); R1(c,d,e,a,b,18); R1(b,c,d,e,a,19); in SHA1Transform()
157 R2(a,b,c,d,e,20); R2(e,a,b,c,d,21); R2(d,e,a,b,c,22); R2(c,d,e,a,b,23); in SHA1Transform()
158 R2(b,c,d,e,a,24); R2(a,b,c,d,e,25); R2(e,a,b,c,d,26); R2(d,e,a,b,c,27); in SHA1Transform()
159 R2(c,d,e,a,b,28); R2(b,c,d,e,a,29); R2(a,b,c,d,e,30); R2(e,a,b,c,d,31); in SHA1Transform()
[all …]
Dqsort.c37 #define min(a, b) (a) < (b) ? a : b argument
57 swapfunc(char *a, char *b, int n, int swaptype) in swapfunc() argument
60 swapcode(long, a, b, n) in swapfunc()
62 swapcode(char, a, b, n) in swapfunc()
65 #define swap(a, b) \ argument
68 *(long *)(a) = *(long *)(b); \
69 *(long *)(b) = t; \
71 swapfunc(a, b, es, swaptype)
73 #define vecswap(a, b, n) if ((n) > 0) swapfunc(a, b, n, swaptype) argument
76 med3(char *a, char *b, char *c, int (*cmp)(const void *, const void *)) in med3() argument
[all …]
Dstrtod.c198 #define Sign_Extend(a,b) if (b < 0) a |= 0xffff0000; argument
200 #define Sign_Extend(a,b) /*no-op*/
227 #define Storeinc(a,b,c) \ argument
229 (u_short)b, ((u_short *)(void *)a)[0] = (u_short)c, a++)
231 #define Storeinc(a,b,c) \ argument
233 (u_short)b, ((u_short *)(void *)a)[1] = (u_short)c, a++)
328 #define rounded_product(a,b) a = rnd_prod(a, b) argument
329 #define rounded_quotient(a,b) a = rnd_quot(a, b) argument
336 #define rounded_product(a,b) a *= b argument
337 #define rounded_quotient(a,b) a /= b argument
[all …]
/bionic/libc/include/sys/
Dtime.h51 #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; \
/bionic/libm/bsdsrc/
Db_tgamma.c138 return(__exp__D(u.a, u.b));
171 v.b = x - v.a;
173 t.b = v.b*u.a + x*u.b;
175 t.b += lns2pi_lo; t.b += p;
176 u.a = lns2pi_hi + t.b; u.a += t.a;
177 u.b = t.a - u.a;
178 u.b += lns2pi_hi; u.b += t.b;
195 return (yy.a + yy.b);
201 yy.b = r.b = y - yy.a;
205 r.b = r.a*yy.b + y*r.b;
[all …]
/bionic/libc/arch-arm/bionic/
Dstrlen.c38 const char *b; in strlen() member
50 u.b = s; in strlen()
52 if (__builtin_expect(*u.b++ == 0, 0)) { in strlen()
122 : [l]"=&r"(l), [v]"=&r"(v), [t]"=&r"(t), [s]"=&r"(u.b) in strlen()
123 : "%[l]"(l), "%[s]"(u.b), [mask]"r"(0x80808080UL) in strlen()
Dmemcmp.S88 bne 1b
138 bhs 0b
150 bhs 3b
158 b 8f
172 bne 8b
192 bmi 8b
222 bhs 6b
227 beq 9b
229 b 8b
235 b 8b
[all …]
/bionic/libc/netbsd/nameser/
Dns_samedomain.c54 ns_samedomain(const char *a, const char *b) { in ns_samedomain() argument
60 lb = strlen(b); in ns_samedomain()
79 if (lb != 0U && b[lb - 1] == '.') { in ns_samedomain()
83 if (b[i] == '\\') { in ns_samedomain()
104 return (strncasecmp(a, b, lb) == 0); in ns_samedomain()
144 return (strncasecmp(cp, b, lb) == 0); in ns_samedomain()
153 ns_subdomain(const char *a, const char *b) { in ns_subdomain() argument
154 return (ns_samename(a, b) != 1 && ns_samedomain(a, b)); in ns_subdomain()
201 ns_samename(const char *a, const char *b) { in ns_samename() argument
205 ns_makecanon(b, tb, sizeof tb) < 0) in ns_samename()
Dns_parse.c83 int b, rdlength; in ns_skiprr() local
85 b = dn_skipname(ptr, eom); in ns_skiprr()
86 if (b < 0) in ns_skiprr()
88 ptr += b/*Name*/ + NS_INT16SZ/*Type*/ + NS_INT16SZ/*Class*/; in ns_skiprr()
125 int b = ns_skiprr(msg, eom, (ns_sect)i, in ns_initparse() local
128 if (b < 0) in ns_initparse()
131 msg += b; in ns_initparse()
141 int b; in ns_parserr() local
157 b = ns_skiprr(handle->_msg_ptr, handle->_eom, section, in ns_parserr()
160 if (b < 0) in ns_parserr()
[all …]
/bionic/libc/kernel/tools/
Dupdate_all.py51 b = BatchFileUpdater() variable
54 b.readDir( os.path.normpath( progdir + "/../arch-%s" % arch ) )
56 b.readDir( os.path.normpath( progdir + "/../common" ) )
65 b.readFile( dst_path )
66 r = b.editFile( dst_path, newdata )
81 b.updateP4Files()
83 b.updateFiles()
/bionic/libc/kernel/common/linux/
Dversion.h13 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) argument
Djiffies.h64 #define time_after(a,b) (typecheck(unsigned long, a) && typecheck(unsigned long, b) && ((long… argument
65 #define time_before(a,b) time_after(b,a) argument
66 #define time_after_eq(a,b) (typecheck(unsigned long, a) && typecheck(unsigned long, b) && ((l… argument
67 #define time_before_eq(a,b) time_after_eq(b,a) argument
/bionic/libc/kernel/arch-x86/asm/
Dbyteorder.h35 struct { __u32 a,b; } s; in ___arch__swab64() member
40 v.s.b = ___arch__swab32(v.s.b); in ___arch__swab64()
41 __asm__("xchgl %0,%1" : "=r" (v.s.a), "=r" (v.s.b) : "0" (v.s.a), "1" (v.s.b)); in ___arch__swab64()
Ddesc_32.h55 #define write_ldt_entry(dt, entry, a, b) write_dt_entry(dt, entry, a, b) argument
56 #define write_gdt_entry(dt, entry, a, b) write_dt_entry(dt, entry, a, b) argument
57 #define write_idt_entry(dt, entry, a, b) write_dt_entry(dt, entry, a, b) argument
/bionic/libc/private/isc/
Deventlib.h64 #define EV_BYTEMASK_BYTE(b) ((b) / 8) argument
65 #define EV_BYTEMASK_MASK(b) (1 << ((b) % 8)) argument
66 #define EV_BYTEMASK_SET(bm, b) \ argument
67 ((bm).mask[EV_BYTEMASK_BYTE(b)] |= EV_BYTEMASK_MASK(b))
68 #define EV_BYTEMASK_CLR(bm, b) \ argument
69 ((bm).mask[EV_BYTEMASK_BYTE(b)] &= ~EV_BYTEMASK_MASK(b))
70 #define EV_BYTEMASK_TST(bm, b) \ argument
71 ((bm).mask[EV_BYTEMASK_BYTE(b)] & EV_BYTEMASK_MASK(b))
/bionic/libc/kernel/common/linux/netfilter/
Dx_tables.h105 #define SET_COUNTER(c,b,p) do { (c).bcnt = (b); (c).pcnt = (p); } while(0) argument
106 #define ADD_COUNTER(c,b,p) do { (c).bcnt += (b); (c).pcnt += (p); } while(0) argument

1234567891011