Home
last modified time | relevance | path

Searched defs:v (Results 1 – 25 of 49) sorted by relevance

12

/bionic/libc/kernel/arch-mips/asm/
Datomic.h30 #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/common/asm-generic/
Dlocal.h45 #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/kernel/arch-x86/asm/
Datomic_32.h27 #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
Dapic_32.h34 #define apic_printk(v, s, a...) do { if ((v) <= apic_verbosity) printk(s, ##a); } while (0) argument
Ddma-mapping_32.h29 #define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h) argument
Dbyteorder.h42 } v; in ___arch__swab64() local
/bionic/libc/upstream-netbsd/libc/regex/
Dregexec.c111 #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/libc/kernel/arch-mips/asm/lasat/
Dlasat.h96 #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/
Dherror.c80 #define DE_CONST(c,v) v = ((c) ? \ argument
99 struct iovec iov[4], *v = iov; in herror() local
/bionic/libc/bionic/
Dsha1.c50 #define R0(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk0(i)+0x5A827999+rol(v,5);w=rol(w,30); argument
51 #define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=rol(w,30); argument
52 #define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30); argument
53 #define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=rol(w,30); argument
54 #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30); argument
73 #define nR0(v,w,x,y,z,i) R0(*v,*w,*x,*y,*z,i) argument
74 #define nR1(v,w,x,y,z,i) R1(*v,*w,*x,*y,*z,i) argument
75 #define nR2(v,w,x,y,z,i) R2(*v,*w,*x,*y,*z,i) argument
76 #define nR3(v,w,x,y,z,i) R3(*v,*w,*x,*y,*z,i) argument
77 #define nR4(v,w,x,y,z,i) R4(*v,*w,*x,*y,*z,i) argument
Dpthread.c788 #define MUTEX_STATE_FROM_BITS(v) FIELD_FROM_BITS(v, MUTEX_STATE_SHIFT, MUTEX_STATE_LEN) argument
789 #define MUTEX_STATE_TO_BITS(v) FIELD_TO_BITS(v, MUTEX_STATE_SHIFT, MUTEX_STATE_LEN) argument
795 #define MUTEX_STATE_FROM_BITS(v) FIELD_FROM_BITS(v, MUTEX_STATE_SHIFT, MUTEX_STATE_LEN) argument
796 #define MUTEX_STATE_TO_BITS(v) FIELD_TO_BITS(v, MUTEX_STATE_SHIFT, MUTEX_STATE_LEN) argument
803 #define MUTEX_STATE_BITS_IS_LOCKED_UNCONTENDED(v) (((v) & MUTEX_STATE_MASK) == MUTEX_STATE_BITS_L… argument
806 #define MUTEX_STATE_BITS_IS_LOCKED_CONTENDED(v) (((v) & MUTEX_STATE_MASK) == MUTEX_STATE_BITS_LO… argument
809 #define MUTEX_STATE_BITS_FLIP_CONTENTION(v) ((v) ^ (MUTEX_STATE_BITS_LOCKED_CONTENDED ^ MUTEX… argument
820 #define MUTEX_COUNTER_BITS_WILL_OVERFLOW(v) (((v) & MUTEX_COUNTER_MASK) == MUTEX_COUNTER_MASK) argument
821 #define MUTEX_COUNTER_BITS_IS_ZERO(v) (((v) & MUTEX_COUNTER_MASK) == 0) argument
827 #define MUTEX_COUNTER_BITS_ARE_ZERO(v) (((v) & MUTEX_COUNTER_MASK) == 0) argument
[all …]
/bionic/linker/
Dlinker_debug.h72 #define _PRINTVF(v,x...) \ argument
78 #define _PRINTVF(v,x...) \ argument
89 #define _PRINTVF(v,f,x...) do {} while(0) argument
/bionic/libc/kernel/arch-arm/asm/arch/
Dio.h32 #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/upstream-netbsd/libc/gen/
Dpsignal.c60 struct iovec *v; in __weak_alias() local
/bionic/libc/arch-arm/bionic/
Dstrlen.c44 uint32_t v, t; in strlen() local
/bionic/libc/kernel/common/linux/
Dpkt_cls.h26 #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 …]
Dipmi_smi.h76 #define ipmi_version_major(v) ((v)->ipmi_version & 0xf) argument
77 #define ipmi_version_minor(v) ((v)->ipmi_version >> 4) argument
/bionic/libc/stdlib/
Dstrntoumax.c54 uintmax_t v = 0; in strntoumax() local
/bionic/libm/src/
Dk_sin.c63 double z,r,v; in __kernel_sin() local
Dk_tan.c81 double z, r, v, w, s; in __kernel_tan() local
De_j1.c89 double z, s,c,ss,cc,r,u,v,y; in __ieee754_j1() local
146 double z, s,c,ss,cc,u,v; in __ieee754_y1() local
De_j1f.c47 float z, s,c,ss,cc,r,u,v,y; in __ieee754_j1f() local
104 float z, s,c,ss,cc,u,v; in __ieee754_y1f() local
De_j0.c88 double z, s,c,ss,cc,r,u,v; in __ieee754_j0() local
149 double z, s,c,ss,cc,u,v; in __ieee754_y0() local
De_j0f.c46 float z, s,c,ss,cc,r,u,v; in __ieee754_j0f() local
107 float z, s,c,ss,cc,u,v; in __ieee754_y0f() local
/bionic/libm/bsdsrc/
Db_log.c438 double F, f, g, q, u, v, u2; local

12