/bionic/libc/dns/resolv/ |
D | herror.c | 80 #define DE_CONST(c,v) v = ((c) ? \ argument 99 struct iovec iov[4], *v = iov; in herror() local 104 v->iov_base = t; in herror() 105 v->iov_len = strlen(t); in herror() 106 v++; in herror() 108 v->iov_base = t; in herror() 109 v->iov_len = 2; in herror() 110 v++; in herror() 113 v->iov_base = t; in herror() 114 v->iov_len = strlen(v->iov_base); in herror() [all …]
|
/bionic/libc/upstream-netbsd/lib/libc/gen/ |
D | psignal.c | 60 struct iovec *v; in __weak_alias() local 64 v = iov; in __weak_alias() 66 v->iov_base = __UNCONST(s); in __weak_alias() 67 v->iov_len = strlen(s); in __weak_alias() 68 v++; in __weak_alias() 69 v->iov_base = __UNCONST(": "); in __weak_alias() 70 v->iov_len = 2; in __weak_alias() 71 v++; in __weak_alias() 73 v->iov_base = __UNCONST(__strsignal((int)sig, buf, sizeof(buf))); in __weak_alias() 74 v->iov_len = strlen(v->iov_base); in __weak_alias() [all …]
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
D | regexec.c | 111 #define CLEAR(v) ((v) = 0) in __weak_alias() argument 112 #define SET0(v, n) ((v) &= ~((unsigned long)1 << (n))) in __weak_alias() argument 113 #define SET1(v, n) ((v) |= (unsigned long)1 << (n)) in __weak_alias() argument 114 #define ISSET(v, n) (((v) & ((unsigned long)1 << (n))) != 0) in __weak_alias() argument 120 #define SETUP(v) ((v) = 0) in __weak_alias() argument 124 #define ISSTATEIN(v, o) (((v) & (o)) != 0) in __weak_alias() argument 129 #define ISSETBACK(v, n) (((v) & ((unsigned long)here >> (n))) != 0) in __weak_alias() argument 158 #define CLEAR(v) memset(v, 0, (size_t)m->g->nstates) in __weak_alias() argument 159 #define SET0(v, n) ((v)[n] = 0) in __weak_alias() argument 160 #define SET1(v, n) ((v)[n] = 1) in __weak_alias() argument [all …]
|
/bionic/libdl/ |
D | libdl_cfi.cpp | 28 uintptr_t v; member 29 char padding[PAGE_SIZE - sizeof(v)]; 36 shadow_base_storage.v = shadow_base; in __cfi_init() 38 return &shadow_base_storage.v; in __cfi_init() 43 return shadow_base_storage.v != 0 ? CFIShadow::kShadowSize : 0; in __cfi_shadow_size() 51 return *reinterpret_cast<uint16_t*>(shadow_base_storage.v + ofs); in shadow_load() 54 static uintptr_t cfi_check_addr(uint16_t v, void* Ptr) { in cfi_check_addr() argument 60 uintptr_t p = aligned_addr - (static_cast<uintptr_t>(v - CFIShadow::kRegularShadowMin) in cfi_check_addr() 70 uint16_t v = shadow_load(Ptr); in cfi_slowpath_common() local 71 switch (v) { in cfi_slowpath_common() [all …]
|
/bionic/libc/upstream-openbsd/lib/libc/crypt/ |
D | chacha_private.h | 17 #define U8C(v) (v##U) argument 18 #define U32C(v) (v##U) argument 20 #define U8V(v) ((u8)(v) & U8C(0xFF)) argument 21 #define U32V(v) ((u32)(v) & U32C(0xFFFFFFFF)) argument 23 #define ROTL32(v, n) \ argument 24 (U32V((v) << (n)) | ((v) >> (32 - (n)))) 32 #define U32TO8_LITTLE(p, v) \ argument 34 (p)[0] = U8V((v) ); \ 35 (p)[1] = U8V((v) >> 8); \ 36 (p)[2] = U8V((v) >> 16); \ [all …]
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | s_clogf.c | 49 float x, y, v; in clogf() local 55 v = atan2f(y, x); in clogf() 72 return (CMPLXF(logf(hypotf(x, y)), v)); in clogf() 77 return (CMPLXF((ay / 2) * ay, v)); in clogf() 78 return (CMPLXF(log1pf(ay * ay) / 2, v)); in clogf() 83 return (CMPLXF(logf(ax), v)); in clogf() 88 (MAX_EXP - 2) * ln2f_lo + (MAX_EXP - 2) * ln2f_hi, v)); in clogf() 90 return (CMPLXF(logf(hypotf(x, y)), v)); in clogf() 95 (MIN_EXP - 2) * ln2f_lo + (MIN_EXP - 2) * ln2f_hi, v)); in clogf() 99 return (CMPLXF(logf(hypotf(x, y)), v)); in clogf() [all …]
|
D | s_clog.c | 49 double x, y, v; in clog() local 55 v = atan2(y, x); in clog() 72 return (CMPLX(log(hypot(x, y)), v)); in clog() 77 return (CMPLX((ay / 2) * ay, v)); in clog() 78 return (CMPLX(log1p(ay * ay) / 2, v)); in clog() 83 return (CMPLX(log(ax), v)); in clog() 88 (MAX_EXP - 2) * ln2_lo + (MAX_EXP - 2) * ln2_hi, v)); in clog() 90 return (CMPLX(log(hypot(x, y)), v)); in clog() 95 (MIN_EXP - 2) * ln2_lo + (MIN_EXP - 2) * ln2_hi, v)); in clog() 99 return (CMPLX(log(hypot(x, y)), v)); in clog() [all …]
|
D | s_clogl.c | 64 long double x, y, v; in clogl() local 72 v = atan2l(y, x); in clogl() 89 RETURNI(CMPLXL(logl(hypotl(x, y)), v)); in clogl() 94 RETURNI(CMPLXL((ay / 2) * ay, v)); in clogl() 95 RETURNI(CMPLXL(log1pl(ay * ay) / 2, v)); in clogl() 100 RETURNI(CMPLXL(logl(ax), v)); in clogl() 105 (MAX_EXP - 2) * ln2l_lo + (MAX_EXP - 2) * ln2_hi, v)); in clogl() 107 RETURNI(CMPLXL(logl(hypotl(x, y)), v)); in clogl() 112 (MIN_EXP - 2) * ln2l_lo + (MIN_EXP - 2) * ln2_hi, v)); in clogl() 116 RETURNI(CMPLXL(logl(hypotl(x, y)), v)); in clogl() [all …]
|
D | k_tan.c | 80 double z, r, v, w, s; in __kernel_tan() local 104 v = z * (T[2] + w * (T[4] + w * (T[6] + w * (T[8] + w * (T[10] + in __kernel_tan() 107 r = y + z * (s * (r + v) + y); in __kernel_tan() 111 v = (double) iy; in __kernel_tan() 113 (v - 2.0 * (x - (w * w / (w + v) - r))); in __kernel_tan() 126 v = r - (z - x); /* z+v = r+x */ in __kernel_tan() 130 return t + a * (s + t * v); in __kernel_tan()
|
D | k_sincosl.h | 54 long double hz, r, v, w, z; in __kernel_sincosl() local 57 v = z * x; in __kernel_sincosl() 65 *sn = x + v * (S1 + z * r); in __kernel_sincosl() 67 *sn = x - ((z * (y / 2 - v * r) - y) - v * S1); in __kernel_sincosl() 109 long double hz, r, v, w, z; in __kernel_sincosl() local 112 v = z * x; in __kernel_sincosl() 121 *sn = x + v * (S1 + z * r); in __kernel_sincosl() 123 *cs = x - ((z * (y / 2 - v * r) - y) - v * S1); in __kernel_sincosl()
|
D | e_powf.c | 62 float y1,t1,t2,r,s,sn,t,u,v,w; in __ieee754_powf() local 146 v = t*ivln2_l-w*ivln2; in __ieee754_powf() 147 t1 = u+v; in __ieee754_powf() 150 t2 = v-(t1-u); in __ieee754_powf() 168 v = one/(ax+bp[k]); in __ieee754_powf() 169 s = u*v; in __ieee754_powf() 177 s_l = v*((u-s_h*t_h)-s_h*t_l); in __ieee754_powf() 189 v = s_l*t_h+t_l*s; in __ieee754_powf() 191 p_h = u+v; in __ieee754_powf() 194 p_l = v-(p_h-u); in __ieee754_powf() [all …]
|
D | k_sin.c | 62 double z,r,v,w; in __kernel_sin() local 67 v = z*x; in __kernel_sin() 68 if(iy==0) return x+v*(S1+z*r); in __kernel_sin() 69 else return x-((z*(half*y-v*r)-y)-v*S1); in __kernel_sin()
|
D | e_pow.c | 104 double y1,t1,t2,r,s,t,u,v,w; in __ieee754_pow() local 206 v = t*ivln2_l-w*ivln2; in __ieee754_pow() 207 t1 = u+v; in __ieee754_pow() 209 t2 = v-(t1-u); in __ieee754_pow() 227 v = one/(ax+bp[k]); in __ieee754_pow() 228 ss = u*v; in __ieee754_pow() 235 s_l = v*((u-s_h*t_h)-s_h*t_l); in __ieee754_pow() 246 v = s_l*t_h+t_l*ss; in __ieee754_pow() 248 p_h = u+v; in __ieee754_pow() 250 p_l = v-(p_h-u); in __ieee754_pow() [all …]
|
D | math_private.h | 184 #define SET_HIGH_WORD(d,v) \ argument 188 sh_u.parts.msw = (v); \ 194 #define SET_LOW_WORD(d,v) \ argument 198 sl_u.parts.lsw = (v); \ 297 #define SET_LDBL_EXPSIGN(d,v) \ argument 301 se_u.xbits.expsign = (v); \ 307 #define LD80C(m, ex, v) { \ argument 309 .xbits.expsign = (0x3fff + (ex)) | ((v) < 0 ? 0x8000 : 0), \ 313 #define LD80C(m, ex, v) { .e = (v), } argument 370 #define RETURNF(v) return (v) argument [all …]
|
/bionic/libm/upstream-freebsd/lib/msun/bsdsrc/ |
D | b_log.c | 368 double F, f, g, q, u, u2, v, zero = 0.0, one = 1.0; 396 v = u*u; 397 q = u*v*(A1 + v*(A2 + v*(A3 + v*A4))); 437 double F, f, g, q, u, v, u2; local 456 v = u*u; 457 q = u*v*(A1 + v*(A2 + v*(A3 + v*A4)));
|
/bionic/benchmarks/ |
D | math_benchmark.cpp | 32 volatile double v; variable 40 v = 2.0; in BM_math_sqrt() 42 d += sqrt(v); in BM_math_sqrt() 49 v = 1234.0; in BM_math_log10() 51 d += log10(v); in BM_math_log10() 58 v = 1234.0; in BM_math_logb() 60 d += logb(v); in BM_math_logb() 67 v = values[state.range(0)]; in BM_math_isfinite_macro() 69 d += isfinite(v); in BM_math_isfinite_macro() 77 v = values[state.range(0)]; in BM_math_isfinite() [all …]
|
/bionic/linker/ |
D | linker_wrapper.cpp | 69 for (ElfW(auxv_t)* v = args.auxv; v->a_type != AT_NULL; ++v) { in __linker_init() 70 if (v->a_type == AT_BASE) { in __linker_init() 72 v->a_un.a_val = linker_addr; in __linker_init() 74 if (v->a_type == AT_ENTRY) { in __linker_init() 76 v->a_un.a_val = base_addr + original_start; in __linker_init()
|
/bionic/libm/upstream-freebsd/lib/msun/ld128/ |
D | k_tanl.c | 66 long double z, r, v, w, s; in __kernel_tanl() local 90 v = z * (T7 + w * (T11 + w * (T15 + w * (T19 + w * (T23 + in __kernel_tanl() 94 r = y + z * (s * (r + v) + y); in __kernel_tanl() 98 v = (long double) iy; in __kernel_tanl() 100 (v - 2.0 * (x - (w * w / (w + v) - r))); in __kernel_tanl() 113 v = r - (z - x); /* z+v = r+x */ in __kernel_tanl() 117 return t + a * (s + t * v); in __kernel_tanl()
|
D | s_exp2l.c | 358 union IEEEl2bits u, v; in exp2l() local 405 v.xbits.manh = 0; in exp2l() 406 v.xbits.manl = 0; in exp2l() 408 v.xbits.expsign = LDBL_MAX_EXP - 1 + k; in exp2l() 409 twopk = v.e; in exp2l() 411 v.xbits.expsign = LDBL_MAX_EXP - 1 + k + 10000; in exp2l() 412 twopkp10000 = v.e; in exp2l()
|
D | k_sinl.c | 51 long double z,r,v; in __kernel_sinl() local 54 v = z*x; in __kernel_sinl() 57 if(iy==0) return x+v*(S1+z*r); in __kernel_sinl() 58 else return x-((z*(half*y-v*r)-y)-v*S1); in __kernel_sinl()
|
D | e_powl.c | 151 long double yy1, t1, t2, r, s, t, u, v, w; in powl() local 315 v = one / (ax + bp[k]); in powl() 316 s = u * v; in powl() 330 s_l = v * ((u - s_h * t_h) - s_h * t_l); in powl() 334 v = LD[0] + s2 * (LD[1] + s2 * (LD[2] + s2 * (LD[3] + s2 * (LD[4] + s2)))); in powl() 335 r = s2 * s2 * u / v; in powl() 346 v = s_l * t_h + t_l * s; in powl() 348 p_h = u + v; in powl() 353 p_l = v - (p_h - u); in powl() 422 v = (p_l - (t - p_h)) * lg2 + t * lg2_l; in powl() [all …]
|
/bionic/libc/bionic/ |
D | getauxval.cpp | 41 for (ElfW(auxv_t)* v = __libc_shared_globals()->auxv; v->a_type != AT_NULL; ++v) { in __bionic_getauxval() 42 if (v->a_type == type) { in __bionic_getauxval() 44 return v->a_un.a_val; in __bionic_getauxval()
|
/bionic/libc/private/ |
D | KernelArgumentBlock.h | 52 for (ElfW(auxv_t)* v = auxv; v->a_type != AT_NULL; ++v) { in getauxval() 53 if (v->a_type == type) { in getauxval() 54 return v->a_un.a_val; in getauxval()
|
/bionic/libc/kernel/uapi/linux/ |
D | msdos_fs.h | 33 #define CF_LE_W(v) le16_to_cpu(v) argument 34 #define CF_LE_L(v) le32_to_cpu(v) argument 35 #define CT_LE_W(v) cpu_to_le16(v) argument 36 #define CT_LE_L(v) cpu_to_le32(v) argument
|
/bionic/tests/headers/posix/ |
D | search_h.c | 43 VISIT v; in search_h() local 44 v = preorder; in search_h() 45 v = postorder; in search_h() 46 v = endorder; in search_h() 47 v = leaf; in search_h()
|