Home
last modified time | relevance | path

Searched refs:e (Results 1 – 25 of 71) sorted by relevance

123

/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/libc/include/
Dassert.h51 # define assert(e) ((void)0) argument
52 # define _assert(e) ((void)0) argument
54 # define _assert(e) assert(e) argument
56 # define assert(e) ((e) ? (void)0 : __assert2(__FILE__, __LINE__, __func__, #e)) argument
58 # define assert(e) ((e) ? (void)0 : __assert(__FILE__, __LINE__, #e)) argument
/bionic/libm/upstream-freebsd/lib/msun/src/
Ds_modfl.c61 int e; in modfl() local
63 ux.e = x; in modfl()
64 e = ux.bits.exp - LDBL_MAX_EXP + 1; in modfl()
65 if (e < HIBITS) { /* Integer part is in manh. */ in modfl()
66 if (e < 0) { /* |x|<1 */ in modfl()
70 if ((GETFRAC(ux.bits.manh, HIBITS - 1 - e) | in modfl()
76 ux.bits.manh >>= HIBITS - 1 - e; in modfl()
77 ux.bits.manh <<= HIBITS - 1 - e; in modfl()
79 *iptr = ux.e; in modfl()
80 return (x - ux.e); in modfl()
[all …]
De_sqrtl.c42 u.e = x; in inc()
49 return (u.e); in inc()
58 u.e = x; in dec()
65 return (u.e); in dec()
83 u.e = x; in sqrtl()
103 u.e *= 0x1.0p514; in sqrtl()
124 xn = sqrt(u.e); /* 53-bit estimate of sqrtl(x). */ in sqrtl()
126 xn = (xn + (u.e / xn)) * 0.5; /* 106-bit estimate. */ in sqrtl()
128 lo = u.e; in sqrtl()
130 lo = (lo - u.e) / xn; /* Low bits divided by xn. */ in sqrtl()
[all …]
Ds_truncl.c44 union IEEEl2bits u = { .e = x }; in truncl()
45 int e = u.bits.exp - LDBL_MAX_EXP + 1; in truncl() local
47 if (e < MANH_SIZE - 1) { in truncl()
48 if (e < 0) { /* raise inexact if x != 0 */ in truncl()
50 u.e = zero[u.bits.sign]; in truncl()
52 uint64_t m = ((1llu << MANH_SIZE) - 1) >> (e + 1); in truncl()
60 } else if (e < LDBL_MANT_DIG - 1) { in truncl()
61 uint64_t m = (uint64_t)-1 >> (64 - LDBL_MANT_DIG + e + 1); in truncl()
67 return (u.e); in truncl()
Ds_floorl.c57 union IEEEl2bits u = { .e = x }; in floorl()
58 int e = u.bits.exp - LDBL_MAX_EXP + 1; in floorl() local
60 if (e < MANH_SIZE - 1) { in floorl()
61 if (e < 0) { /* raise inexact if x != 0 */ in floorl()
65 u.e = u.bits.sign ? -1.0 : 0.0; in floorl()
67 uint64_t m = ((1llu << MANH_SIZE) - 1) >> (e + 1); in floorl()
72 if (e == 0) in floorl()
76 INC_MANH(u, 1llu << (MANH_SIZE - e - 1)); in floorl()
83 } else if (e < LDBL_MANT_DIG - 1) { in floorl()
84 uint64_t m = (uint64_t)-1 >> (64 - LDBL_MANT_DIG + e + 1); in floorl()
[all …]
Ds_ceill.c57 union IEEEl2bits u = { .e = x }; in ceill()
58 int e = u.bits.exp - LDBL_MAX_EXP + 1; in ceill() local
60 if (e < MANH_SIZE - 1) { in ceill()
61 if (e < 0) { /* raise inexact if x != 0 */ in ceill()
65 u.e = u.bits.sign ? -0.0 : 1.0; in ceill()
67 uint64_t m = ((1llu << MANH_SIZE) - 1) >> (e + 1); in ceill()
72 if (e == 0) in ceill()
76 INC_MANH(u, 1llu << (MANH_SIZE - e - 1)); in ceill()
83 } else if (e < LDBL_MANT_DIG - 1) { in ceill()
84 uint64_t m = (uint64_t)-1 >> (64 - LDBL_MANT_DIG + e + 1); in ceill()
[all …]
Ds_nextafterl.c39 ux.e = x; in nextafterl()
40 uy.e = y; in nextafterl()
52 t = ux.e*ux.e; in nextafterl()
53 if(t==ux.e) return t; else return ux.e; /* raise underflow flag */ in nextafterl()
73 t = ux.e * ux.e; in nextafterl()
74 if(t!=ux.e) /* raise underflow flag */ in nextafterl()
75 return ux.e; in nextafterl()
77 return ux.e; in nextafterl()
Ds_expm1f.c44 float y,hi,lo,c,t,e,hxs,hfx,r1,twopk; in expm1f() local
94 e = hxs*((r1-t)/((float)6.0 - x*t)); in expm1f()
95 if(k==0) return x - (x*e-hxs); /* c is 0 */ in expm1f()
98 e = (x*(e-c)-c); in expm1f()
99 e -= hxs; in expm1f()
100 if(k== -1) return (float)0.5*(x-e)-(float)0.5; in expm1f()
102 if(x < (float)-0.25) return -(float)2.0*(e-(x+(float)0.5)); in expm1f()
103 else return one+(float)2.0*(x-e); in expm1f()
106 y = one-(e-x); in expm1f()
114 y = t-(e-x); in expm1f()
[all …]
Ds_expm1.c135 double y,hi,lo,c,t,e,hxs,hfx,r1,twopk; in expm1() local
188 e = hxs*((r1-t)/(6.0 - x*t)); in expm1()
189 if(k==0) return x - (x*e-hxs); /* c is 0 */ in expm1()
192 e = (x*(e-c)-c); in expm1()
193 e -= hxs; in expm1()
194 if(k== -1) return 0.5*(x-e)-0.5; in expm1()
196 if(x < -0.25) return -2.0*(e-(x+0.5)); in expm1()
197 else return one+2.0*(x-e); in expm1()
200 y = one-(e-x); in expm1()
208 y = t-(e-x); in expm1()
[all …]
Ds_copysignl.c38 ux.e = x; in copysignl()
39 uy.e = y; in copysignl()
41 return (ux.e); in copysignl()
Ds_frexpl.c43 u.e = x; in frexpl()
49 u.e *= 0x1.0p514; in frexpl()
61 return (u.e); in frexpl()
Ds_fabsl.c40 u.e = x; in fabsl()
42 return (u.e); in fabsl()
Ds_scalbnl.c49 u.e = x; in scalbnl()
53 u.e *= 0x1p+128; in scalbnl()
61 {u.bits.exp = k; return u.e;} in scalbnl()
68 return u.e*0x1p-128; in scalbnl()
/bionic/libc/upstream-netbsd/lib/libc/stdlib/
Dremque.c45 struct qelem *e = (struct qelem *) element; in remque() local
47 _DIAGASSERT(e != 0); in remque()
49 if (e->q_forw) in remque()
50 e->q_forw->q_back = e->q_back; in remque()
51 if (e->q_back) in remque()
52 e->q_back->q_forw = e->q_forw; in remque()
Dinsque.c45 struct qelem *e = (struct qelem *) entry; in insque() local
48 _DIAGASSERT(e != 0); in insque()
50 e->q_back = p; in insque()
52 e->q_forw = p->q_forw; in insque()
54 p->q_forw->q_back = e; in insque()
55 p->q_forw = e; in insque()
57 e->q_forw = 0; in insque()
/bionic/linker/
Dlinked_list.h98 for (LinkedListEntry<T>* e = head_; e != nullptr; e = e->next) { in visit() local
99 if (!action(e->element)) { in visit()
108 for (LinkedListEntry<T>* e = head_, *p = nullptr; e != nullptr;) { in remove_if() local
109 if (predicate(e->element)) { in remove_if()
110 LinkedListEntry<T>* next = e->next; in remove_if()
116 Allocator::free(e); in remove_if()
117 e = next; in remove_if()
119 p = e; in remove_if()
120 e = e->next; in remove_if()
127 for (LinkedListEntry<T>* e = head_; sz < array_length && e != nullptr; e = e->next) { in copy_to_array() local
[all …]
/bionic/libc/bionic/
Dclearenv.cpp33 char** e = environ; in clearenv() local
34 if (e != NULL) { in clearenv()
35 for (; *e; ++e) { in clearenv()
36 *e = NULL; in clearenv()
/bionic/tests/
Ddirent_test.cpp99 dirent* e = readdir(d); in TEST() local
100 ASSERT_STREQ(e->d_name, "."); in TEST()
119 dirent* e = readdir(d); in TEST() local
120 ASSERT_STREQ(e->d_name, "."); in TEST()
141 dirent* e; in TEST() local
142 while ((e = readdir(d)) != NULL) { in TEST()
143 name_set.insert(e->d_name); in TEST()
158 dirent64* e; in TEST() local
159 while ((e = readdir64(d)) != NULL) { in TEST()
160 name_set.insert(e->d_name); in TEST()
[all …]
Dsys_select_test.cpp79 fd_set e; in TEST() local
80 FD_ZERO(&e); in TEST()
89 ASSERT_EQ(-1, select(-1, &r, &w, &e, NULL)); in TEST()
92 ASSERT_EQ(2, select(max, &r, &w, &e, NULL)); in TEST()
98 ASSERT_EQ(-1, select(max, &r, &w, &e, &tv)); in TEST()
125 fd_set e; in TEST() local
126 FD_ZERO(&e); in TEST()
135 ASSERT_EQ(-1, pselect(-1, &r, &w, &e, NULL, &ss)); in TEST()
138 ASSERT_EQ(2, pselect(max, &r, &w, &e, NULL, &ss)); in TEST()
144 ASSERT_EQ(-1, pselect(max, &r, &w, &e, &tv, &ss)); in TEST()
/bionic/libc/upstream-netbsd/android/include/
Dnetbsd-compat.h22 #define _DIAGASSERT(e) ((e) ? (void) 0 : __assert2(__FILE__, __LINE__, __func__, #e)) argument
/bionic/libc/dns/resolv/
Dres_cache.c1099 entry_free( Entry* e ) in entry_free() argument
1102 if (e) { in entry_free()
1103 free(e); in entry_free()
1108 entry_mru_remove( Entry* e ) in entry_mru_remove() argument
1110 e->mru_prev->mru_next = e->mru_next; in entry_mru_remove()
1111 e->mru_next->mru_prev = e->mru_prev; in entry_mru_remove()
1115 entry_mru_add( Entry* e, Entry* list ) in entry_mru_add() argument
1119 e->mru_next = first; in entry_mru_add()
1120 e->mru_prev = list; in entry_mru_add()
1122 list->mru_next = e; in entry_mru_add()
[all …]
/bionic/libm/
Dsignbit.c50 int __signbitl(long double e) in __signbitl() argument
54 u.e = e; in __signbitl()
/bionic/libm/upstream-freebsd/lib/msun/ld128/
Ds_exp2l.c361 u.e = x; in exp2l()
397 u.e = x + redux; in exp2l()
401 u.e -= redux; in exp2l()
402 z = x - u.e; in exp2l()
407 twopk = v.e; in exp2l()
410 twopkp10000 = v.e; in exp2l()
/bionic/libc/kernel/uapi/linux/netfilter_bridge/
Debtables.h165e, fn, args...) ({ unsigned int __i; int __ret = 0; struct ebt_entry_match *__match; fo… argument
166e, fn, args...) ({ unsigned int __i; int __ret = 0; struct ebt_entry_watcher *__watcher; … argument

123