/bionic/libc/kernel/arch-mips/asm/ |
D | atomic.h | 30 #define atomic_read(v) ((v)->counter) argument 31 #define atomic_set(v, i) ((v)->counter = (i)) argument 32 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) argument 34 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new))) argument 35 #define atomic_inc_not_zero(v) atomic_add_unless((v), 1, 0) argument 36 #define atomic_dec_return(v) atomic_sub_return(1, (v)) argument 37 #define atomic_inc_return(v) atomic_add_return(1, (v)) argument 39 #define atomic_sub_and_test(i, v) (atomic_sub_return((i), (v)) == 0) argument 40 #define atomic_inc_and_test(v) (atomic_inc_return(v) == 0) argument 41 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) argument [all …]
|
/bionic/libc/kernel/arch-mips/asm/lasat/ |
D | lasat.h | 96 #define LASAT_W0_DSCTYPE(v) (((v)) & 0xf) argument 97 #define LASAT_W0_BMID(v) (((v) >> 0x04) & 0xf) argument 99 #define LASAT_W0_CPUTYPE(v) (((v) >> 0x08) & 0xf) argument 100 #define LASAT_W0_BUSSPEED(v) (((v) >> 0x0c) & 0xf) argument 101 #define LASAT_W0_CPUCLK(v) (((v) >> 0x10) & 0xf) argument 102 #define LASAT_W0_SDRAMBANKSZ(v) (((v) >> 0x14) & 0xf) argument 104 #define LASAT_W0_SDRAMBANKS(v) (((v) >> 0x18) & 0xf) argument 105 #define LASAT_W0_L2CACHE(v) (((v) >> 0x1c) & 0xf) argument 106 #define LASAT_W1_EDHAC(v) (((v)) & 0xf) argument 107 #define LASAT_W1_HIFN(v) (((v) >> 0x04) & 0x1) argument [all …]
|
/bionic/libc/netbsd/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/kernel/arch-x86/asm/ |
D | atomic_32.h | 27 #define atomic_read(v) ((v)->counter) argument 29 #define atomic_set(v,i) (((v)->counter) = (i)) argument 30 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new))) argument 31 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new))) argument 32 #define atomic_inc_not_zero(v) atomic_add_unless((v), 1, 0) argument 34 #define atomic_inc_return(v) (atomic_add_return(1,v)) argument 35 #define atomic_dec_return(v) (atomic_sub_return(1,v)) argument
|
D | byteorder.h | 42 } v; in ___arch__swab64() local 44 v.u = val; in ___arch__swab64() 45 v.s.a = ___arch__swab32(v.s.a); in ___arch__swab64() 46 v.s.b = ___arch__swab32(v.s.b); in ___arch__swab64() 47 __asm__("xchgl %0,%1" : "=r" (v.s.a), "=r" (v.s.b) : "0" (v.s.a), "1" (v.s.b)); in ___arch__swab64() 49 return v.u; in ___arch__swab64()
|
D | apic_32.h | 34 #define apic_printk(v, s, a...) do { if ((v) <= apic_verbosity) printk(s, ##a); } while (0) argument
|
D | dma-mapping_32.h | 29 #define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h) argument
|
/bionic/libc/kernel/common/asm-generic/ |
D | local.h | 45 #define cpu_local_read(v) local_read(&__get_cpu_var(v)) argument 46 #define cpu_local_set(v, i) local_set(&__get_cpu_var(v), (i)) argument 47 #define cpu_local_inc(v) local_inc(&__get_cpu_var(v)) argument 49 #define cpu_local_dec(v) local_dec(&__get_cpu_var(v)) argument 50 #define cpu_local_add(i, v) local_add((i), &__get_cpu_var(v)) argument 51 #define cpu_local_sub(i, v) local_sub((i), &__get_cpu_var(v)) argument 52 #define __cpu_local_inc(v) __local_inc(&__get_cpu_var(v)) argument 54 #define __cpu_local_dec(v) __local_dec(&__get_cpu_var(v)) argument 55 #define __cpu_local_add(i, v) __local_add((i), &__get_cpu_var(v)) argument 56 #define __cpu_local_sub(i, v) __local_sub((i), &__get_cpu_var(v)) argument
|
/bionic/libc/regex/ |
D | regexec.c | 58 #define CLEAR(v) ((v) = 0) argument 59 #define SET0(v, n) ((v) &= ~((unsigned long)1 << (n))) argument 60 #define SET1(v, n) ((v) |= (unsigned long)1 << (n)) argument 61 #define ISSET(v, n) (((v) & ((unsigned long)1 << (n))) != 0) argument 67 #define SETUP(v) ((v) = 0) argument 71 #define ISSTATEIN(v, o) (((v) & (o)) != 0) argument 76 #define ISSETBACK(v, n) (((v) & ((unsigned long)here >> (n))) != 0) argument 105 #define CLEAR(v) memset(v, 0, m->g->nstates) argument 106 #define SET0(v, n) ((v)[n] = 0) argument 107 #define SET1(v, n) ((v)[n] = 1) argument [all …]
|
/bionic/libm/src/ |
D | k_sin.c | 63 double z,r,v; in __kernel_sin() local 66 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 | k_tan.c | 81 double z, r, v, w, s; in __kernel_tan() local 105 v = z * (T[2] + w * (T[4] + w * (T[6] + w * (T[8] + w * (T[10] + in __kernel_tan() 108 r = y + z * (s * (r + v) + y); in __kernel_tan() 112 v = (double) iy; in __kernel_tan() 114 (v - 2.0 * (x - (w * w / (w + v) - r))); in __kernel_tan() 127 v = r - (z - x); /* z+v = r+x */ in __kernel_tan() 131 return t + a * (s + t * v); in __kernel_tan()
|
D | e_powf.c | 60 float y1,t1,t2,r,s,sn,t,u,v,w; in __ieee754_powf() local 141 v = t*ivln2_l-w*ivln2; in __ieee754_powf() 142 t1 = u+v; in __ieee754_powf() 145 t2 = v-(t1-u); in __ieee754_powf() 163 v = one/(ax+bp[k]); in __ieee754_powf() 164 s = u*v; in __ieee754_powf() 172 s_l = v*((u-s_h*t_h)-s_h*t_l); in __ieee754_powf() 184 v = s_l*t_h+t_l*s; in __ieee754_powf() 186 p_h = u+v; in __ieee754_powf() 189 p_l = v-(p_h-u); in __ieee754_powf() [all …]
|
D | e_pow.c | 101 double y1,t1,t2,r,s,t,u,v,w; in __ieee754_pow() local 200 v = t*ivln2_l-w*ivln2; in __ieee754_pow() 201 t1 = u+v; in __ieee754_pow() 203 t2 = v-(t1-u); in __ieee754_pow() 221 v = one/(ax+bp[k]); in __ieee754_pow() 222 ss = u*v; in __ieee754_pow() 229 s_l = v*((u-s_h*t_h)-s_h*t_l); in __ieee754_pow() 240 v = s_l*t_h+t_l*ss; in __ieee754_pow() 242 p_h = u+v; in __ieee754_pow() 244 p_l = v-(p_h-u); in __ieee754_pow() [all …]
|
D | e_j1f.c | 47 float z, s,c,ss,cc,r,u,v,y; in __ieee754_j1f() local 70 u = ponef(y); v = qonef(y); in __ieee754_j1f() 71 z = invsqrtpi*(u*cc-v*ss)/sqrtf(y); in __ieee754_j1f() 104 float z, s,c,ss,cc,u,v; in __ieee754_y1f() local 136 u = ponef(x); v = qonef(x); in __ieee754_y1f() 137 z = invsqrtpi*(u*ss+v*cc)/sqrtf(x); in __ieee754_y1f() 146 v = one+z*(V0[0]+z*(V0[1]+z*(V0[2]+z*(V0[3]+z*V0[4])))); in __ieee754_y1f() 147 return(x*(u/v) + tpi*(__ieee754_j1f(x)*__ieee754_logf(x)-one/x)); in __ieee754_y1f()
|
D | e_j1.c | 89 double z, s,c,ss,cc,r,u,v,y; in __ieee754_j1() local 112 u = pone(y); v = qone(y); in __ieee754_j1() 113 z = invsqrtpi*(u*cc-v*ss)/sqrt(y); in __ieee754_j1() 146 double z, s,c,ss,cc,u,v; in __ieee754_y1() local 178 u = pone(x); v = qone(x); in __ieee754_y1() 179 z = invsqrtpi*(u*ss+v*cc)/sqrt(x); in __ieee754_y1() 188 v = one+z*(V0[0]+z*(V0[1]+z*(V0[2]+z*(V0[3]+z*V0[4])))); in __ieee754_y1() 189 return(x*(u/v) + tpi*(__ieee754_j1(x)*__ieee754_log(x)-one/x)); in __ieee754_y1()
|
D | e_j0.c | 88 double z, s,c,ss,cc,r,u,v; in __ieee754_j0() local 111 u = pzero(x); v = qzero(x); in __ieee754_j0() 112 z = invsqrtpi*(u*cc-v*ss)/sqrt(x); in __ieee754_j0() 149 double z, s,c,ss,cc,u,v; in __ieee754_y0() local 185 u = pzero(x); v = qzero(x); in __ieee754_y0() 186 z = invsqrtpi*(u*ss+v*cc)/sqrt(x); in __ieee754_y0() 195 v = one+z*(v01+z*(v02+z*(v03+z*v04))); in __ieee754_y0() 196 return(u/v + tpi*(__ieee754_j0(x)*__ieee754_log(x))); in __ieee754_y0()
|
/bionic/libc/kernel/common/linux/ |
D | pkt_cls.h | 26 #define _TC_MAKEMASK(v,n) (_TC_MAKE32((_TC_MAKE32(1)<<(v))-1) << _TC_MAKE32(n)) argument 27 #define _TC_MAKEVALUE(v,n) (_TC_MAKE32(v) << _TC_MAKE32(n)) argument 29 #define _TC_GETVALUE(v,n,m) ((_TC_MAKE32(v) & _TC_MAKE32(m)) >> _TC_MAKE32(n)) argument 31 #define SET_TC_MUNGED(v) ( TC_MUNGED | (v & ~TC_MUNGED)) argument 32 #define CLR_TC_MUNGED(v) ( v & ~TC_MUNGED) argument 35 #define SET_TC_OK2MUNGE(v) ( TC_OK2MUNGE | (v & ~TC_OK2MUNGE)) argument 36 #define CLR_TC_OK2MUNGE(v) ( v & ~TC_OK2MUNGE) argument 42 #define SET_TC_VERD(v,n) ((V_TC_VERD(n)) | (v & ~M_TC_VERD)) argument 49 #define SET_TC_FROM(v,n) ((V_TC_FROM(n)) | (v & ~M_TC_FROM)) argument 55 #define SET_TC_NCLS(v) ( TC_NCLS | (v & ~TC_NCLS)) argument [all …]
|
D | ipmi_smi.h | 76 #define ipmi_version_major(v) ((v)->ipmi_version & 0xf) argument 77 #define ipmi_version_minor(v) ((v)->ipmi_version >> 4) argument
|
D | msdos_fs.h | 31 #define CF_LE_W(v) le16_to_cpu(v) argument 32 #define CF_LE_L(v) le32_to_cpu(v) argument 34 #define CT_LE_W(v) cpu_to_le16(v) argument 35 #define CT_LE_L(v) cpu_to_le32(v) argument
|
/bionic/libm/bsdsrc/ |
D | b_log.c | 369 double F, f, g, q, u, u2, v, zero = 0.0, one = 1.0; 397 v = u*u; 398 q = u*v*(A1 + v*(A2 + v*(A3 + v*A4))); 438 double F, f, g, q, u, v, u2; local 457 v = u*u; 458 q = u*v*(A1 + v*(A2 + v*(A3 + v*A4)));
|
/bionic/libc/kernel/arch-arm/asm/arch/ |
D | io.h | 32 #define omap_writeb(v,a) (*(volatile unsigned char *)IO_ADDRESS(a) = (v)) argument 34 #define omap_writew(v,a) (*(volatile unsigned short *)IO_ADDRESS(a) = (v)) argument 35 #define omap_writel(v,a) (*(volatile unsigned int *)IO_ADDRESS(a) = (v)) argument
|
/bionic/libc/stdlib/ |
D | strntoumax.c | 54 uintmax_t v = 0; in strntoumax() local 87 v = v*base + d; in strntoumax() 94 return minus ? -v : v; in strntoumax()
|
/bionic/libc/arch-arm/bionic/ |
D | strlen.c | 44 uint32_t v, t; in strlen() local 122 : [l]"=&r"(l), [v]"=&r"(v), [t]"=&r"(t), [s]"=&r"(u.b) in strlen()
|
/bionic/linker/ |
D | linker_debug.h | 71 #define _PRINTVF(v,f,x...) \ argument 73 if (debug_verbosity > (v)) format_log(5-(v),"linker",x); \ 77 #define _PRINTVF(v,f,x...) \ argument 79 if (debug_verbosity > (v)) format_fd(1, x); \ 83 #define _PRINTVF(v,f,x...) do {} while(0) argument
|
/bionic/libc/bionic/ |
D | arc4random.c | 298 pctrval v; 300 v = rdtsc(); 303 v = rdtsc() - v; 304 v /= iter; 306 printf("%qd cycles\n", v);
|