Home
last modified time | relevance | path

Searched refs:v (Results 1 – 25 of 89) sorted by relevance

1234

/bionic/libc/upstream-netbsd/lib/libc/gen/
Dpsignal.c60 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/dns/resolv/
Dherror.c80 #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/regex/
Dregexec.c119 #define CLEAR(v) ((v) = 0) argument
120 #define SET0(v, n) ((v) &= ~((unsigned long)1 << (n))) argument
121 #define SET1(v, n) ((v) |= (unsigned long)1 << (n)) argument
122 #define ISSET(v, n) (((v) & ((unsigned long)1 << (n))) != 0) argument
128 #define SETUP(v) ((v) = 0) argument
132 #define ISSTATEIN(v, o) (((v) & (o)) != 0) argument
137 #define ISSETBACK(v, n) (((v) & ((unsigned long)here >> (n))) != 0) argument
171 #define CLEAR(v) memset(v, 0, m->g->nstates) argument
172 #define SET0(v, n) ((v)[n] = 0) argument
173 #define SET1(v, n) ((v)[n] = 1) argument
[all …]
/bionic/libc/kernel/uapi/linux/
Drkisp1-config.h75 #define RKISP1_CIF_ISP_DPCC_LINE_THRESH_G(v) ((v) << 0) argument
76 #define RKISP1_CIF_ISP_DPCC_LINE_THRESH_RB(v) ((v) << 8) argument
77 #define RKISP1_CIF_ISP_DPCC_LINE_MAD_FAC_G(v) ((v) << 0) argument
78 #define RKISP1_CIF_ISP_DPCC_LINE_MAD_FAC_RB(v) ((v) << 8) argument
79 #define RKISP1_CIF_ISP_DPCC_PG_FAC_G(v) ((v) << 0) argument
80 #define RKISP1_CIF_ISP_DPCC_PG_FAC_RB(v) ((v) << 8) argument
81 #define RKISP1_CIF_ISP_DPCC_RND_THRESH_G(v) ((v) << 0) argument
82 #define RKISP1_CIF_ISP_DPCC_RND_THRESH_RB(v) ((v) << 8) argument
83 #define RKISP1_CIF_ISP_DPCC_RG_FAC_G(v) ((v) << 0) argument
84 #define RKISP1_CIF_ISP_DPCC_RG_FAC_RB(v) ((v) << 8) argument
[all …]
Dmsdos_fs.h21 #define CF_LE_W(v) le16_to_cpu(v) argument
22 #define CF_LE_L(v) le32_to_cpu(v) argument
23 #define CT_LE_W(v) cpu_to_le16(v) argument
24 #define CT_LE_L(v) cpu_to_le32(v) argument
/bionic/libdl/
Dlibdl_cfi.cpp28 uintptr_t v; member
29 char padding[max_android_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/libm/upstream-freebsd/lib/msun/src/
Ds_clog.c49 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 …]
Ds_clogf.c49 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 …]
Ds_clogl.c64 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 …]
Dk_tan.c80 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()
Dk_sincosl.h54 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()
112 long double hz, r, v, w, z; in __kernel_sincosl() local
115 v = z * x; in __kernel_sincosl()
124 *sn = x + v * (S1 + z * r); in __kernel_sincosl()
126 *sn = x - ((z * (y / 2 - v * r) - y) - v * S1); in __kernel_sincosl()
Dk_sin.c62 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()
De_powf.c62 float y1,t1,t2,r,s,sn,t,u,v,w; in powf() local
146 v = t*ivln2_l-w*ivln2; in powf()
147 t1 = u+v; in powf()
150 t2 = v-(t1-u); in powf()
168 v = one/(ax+bp[k]); in powf()
169 s = u*v; in powf()
177 s_l = v*((u-s_h*t_h)-s_h*t_l); in powf()
189 v = s_l*t_h+t_l*s; in powf()
191 p_h = u+v; in powf()
194 p_l = v-(p_h-u); in powf()
[all …]
Dk_sincos.h36 double hz, r, v, w, z; in __kernel_sincos() local
41 v = z * x; in __kernel_sincos()
44 *sn = x + v * (S1 + z * r); in __kernel_sincos()
46 *sn = x - ((z * (y / 2 - v * r) - y) - v * S1); in __kernel_sincos()
/bionic/libc/upstream-openbsd/lib/libc/crypt/
Dchacha_private.h17 #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/libc/kernel/uapi/sound/
Dscarlett2.h15 #define SCARLETT2_HWDEP_VERSION_MAJOR(v) (((v) >> 16) & 0xFF) argument
16 #define SCARLETT2_HWDEP_VERSION_MINOR(v) (((v) >> 8) & 0xFF) argument
17 #define SCARLETT2_HWDEP_VERSION_SUBMINOR(v) ((v) & 0xFF) argument
/bionic/benchmarks/
Dmath_benchmark.cpp32 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/
Dlinker_wrapper.cpp71 for (ElfW(auxv_t)* v = args.auxv; v->a_type != AT_NULL; ++v) { in __linker_init()
72 if (v->a_type == AT_BASE) { in __linker_init()
74 v->a_un.a_val = linker_addr; in __linker_init()
76 if (v->a_type == AT_ENTRY) { in __linker_init()
78 v->a_un.a_val = reinterpret_cast<ElfW(Addr)>(&_start); in __linker_init()
Dlinker_auxv.cpp103 for (ElfW(auxv_t)* v = auxv; v->a_type != AT_NULL; ++v) { in ld_show_auxv()
104 const char* name = auxv_name(v->a_type); in ld_show_auxv()
105 long value = v->a_un.a_val; in ld_show_auxv()
106 switch (v->a_type) { in ld_show_auxv()
/bionic/libc/bionic/
Dgetauxval.cpp43 for (ElfW(auxv_t)* v = __libc_shared_globals()->auxv; v->a_type != AT_NULL; ++v) { in __bionic_getauxval()
44 if (v->a_type == type) { in __bionic_getauxval()
46 return v->a_un.a_val; in __bionic_getauxval()
/bionic/libm/upstream-freebsd/lib/msun/ld128/
Dk_tanl.c66 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()
Ds_exp2l.c358 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()
Dk_sinl.c51 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()
/bionic/libc/private/
DKernelArgumentBlock.h52 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/tests/headers/posix/
Dsearch_h.c43 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()

1234