/bionic/libc/kernel/arch-arm/asm/ |
H A D | domain.h | 30 #define domain_val(dom,type) ((type) << (2*(dom))) 34 #define modify_domain(dom,type) do { } while (0)
|
/bionic/libm/src/ |
H A D | s_fdim.c | 32 #define DECL(type, fn) \ 33 type \ 34 fn(type x, type y) \
|
H A D | s_llrint.c | 4 #define type double macro
|
H A D | s_llrintf.c | 4 #define type float macro
|
H A D | s_lrintf.c | 4 #define type float macro
|
H A D | s_nearbyint.c | 40 #define DECL(type, fn, rint) \ 41 type \ 42 fn(type x) \ 44 type ret; \
|
H A D | s_lround.c | 32 #ifndef type 34 #define type double macro 43 * If type has more precision than dtype, the endpoints dtype_(min|max) are 45 * from 0. On the other hand, if type has less precision than dtype, then 50 static const type dtype_min = DTYPE_MIN - 0.5; 51 static const type dtype_max = DTYPE_MAX + 0.5; 56 fn(type x)
|
H A D | s_lrint.c | 31 #ifndef type 33 #define type double macro 43 * significant bits than 'type'. Hence, we bend over backwards for the 47 fn(type x)
|
H A D | s_llround.c | 4 #define type double macro
|
H A D | s_llroundf.c | 4 #define type float macro
|
H A D | s_llroundl.c | 4 #define type long double macro
|
H A D | s_lroundf.c | 4 #define type float macro
|
H A D | s_lroundl.c | 4 #define type long double macro
|
/bionic/libc/kernel/common/linux/ |
H A D | android_alarm.h | 44 #define ANDROID_ALARM_CLEAR(type) _IO('a', 0 | ((type) << 4)) 46 #define ANDROID_ALARM_SET(type) _IOW('a', 2 | ((type) << 4), struct timespec) 47 #define ANDROID_ALARM_SET_AND_WAIT(type) _IOW('a', 3 | ((type) << 4), struct timespec) 49 #define ANDROID_ALARM_GET_TIME(type) _IOW('a', 4 | ((type) << 4), struct timespec)
|
H A D | percpu.h | 35 #define alloc_percpu(type) ((type *)(__alloc_percpu(sizeof(type))))
|
/bionic/libc/kernel/arch-mips/asm/ |
H A D | ioctl.h | 45 #define _IOC(dir, type, nr, size) (((dir) << _IOC_DIRSHIFT) | ((type) << _IOC_TYPESHIFT) | ((nr) << _IOC_NRSHIFT) | ((size) << _IOC_SIZESHIFT)) 49 #define _IO(type, nr) _IOC(_IOC_NONE, (type), (nr), 0) 50 #define _IOR(type, nr, size) _IOC(_IOC_READ, (type), (nr), (_IOC_TYPECHECK(size))) 51 #define _IOW(type, nr, size) _IOC(_IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size))) 52 #define _IOWR(type, nr, size) _IOC(_IOC_READ|_IOC_WRITE, (type), (n [all...] |
H A D | io.h | 76 #define __BUILD_MEMORY_SINGLE(pfx, bwlq, type, irq) static inline void pfx##write##bwlq(type val, volatile void __iomem *mem) { volatile type *__mem; type __val; __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); __val = pfx##ioswab##bwlq(__mem, val); if (sizeof(type) != sizeof(u64) || sizeof(u64) == sizeof(long)) *__mem = __val; else if (cpu_has_64bits) { unsigned long __flags; type __tmp; if (irq) local_irq_save(__flags); __asm__ __volatile__( ".set mips3" "\t\t# __writeq""\n\t" "dsll32 %L0, %L0, 0" "\n\t" "dsrl32 %L0, %L0, 0" "\n\t" "dsll32 %M0, %M0, 0" "\n\t" "or %L0, %L0, %M0" "\n\t" "sd %L0, %2" "\n\t" ".set mips0" "\n" : "=r" (__tmp) : "0" (__val), "m" (*__mem)); if (irq) local_irq_restore(__flags); } else BUG(); } static inline type pfx##read##bwlq(const volatile void __iomem *mem) { volatile type *__mem; type __val; __mem = (void *)__swizzle_addr_##bwlq((unsigned long)(mem)); if (sizeof(type) ! [all...] |
/bionic/libc/kernel/common/asm-generic/ |
H A D | ioctl.h | 40 #define _IOC(dir,type,nr,size) (((dir) << _IOC_DIRSHIFT) | ((type) << _IOC_TYPESHIFT) | ((nr) << _IOC_NRSHIFT) | ((size) << _IOC_SIZESHIFT)) 44 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) 45 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) 46 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) 47 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(n [all...] |
H A D | percpu.h | 24 #define DEFINE_PER_CPU(type, name) __typeof__(type) per_cpu__##name 29 #define DECLARE_PER_CPU(type, name) extern __typeof__(type) per_cpu__##name
|
/bionic/libc/kernel/arch-x86/asm/ |
H A D | io_32.h | 30 #define __BUILDIO(bwl,bw,type) static inline void out##bwl(unsigned type value, int port) { out##bwl##_local(value, port); } static inline unsigned type in##bwl(int port) { return in##bwl##_local(port); } 31 #define BUILDIO(bwl,bw,type) static inline void out##bwl##_local(unsigned type value, int port) { __asm__ __volatile__("out" #bwl " %" #bw "0, %w1" : : "a"(value), "Nd"(port)); } static inline unsigned type in##bwl##_local(int port) { unsigned type value; __asm__ __volatile__("in" #bwl " %w1, %" #bw "0" : "=a"(value) : "Nd"(port)); return value; } static inline void out##bwl##_local_p(unsigned type value, int port) { out##bwl##_local(value, port); slow_down_io(); } static inline unsigned type in##bwl##_local_p(int port) { unsigned type valu [all...] |
/bionic/libc/kernel/arch-x86/asm/xen/ |
H A D | hypercall.h | 27 #define _hypercall0(type, name) ({ long __res; asm volatile ( "call %[call]" : "=a" (__res) : [call] "m" (hypercall_page[__HYPERVISOR_##name]) : "memory" ); (type)__res; }) 29 #define _hypercall1(type, name, a1) ({ long __res, __ign1; asm volatile ( "call %[call]" : "=a" (__res), "=b" (__ign1) : "1" ((long)(a1)), [call] "m" (hypercall_page[__HYPERVISOR_##name]) : "memory" ); (type)__res; }) 30 #define _hypercall2(type, name, a1, a2) ({ long __res, __ign1, __ign2; asm volatile ( "call %[call]" : "=a" (__res), "=b" (__ign1), "=c" (__ign2) : "1" ((long)(a1)), "2" ((long)(a2)), [call] "m" (hypercall_page[__HYPERVISOR_##name]) : "memory" ); (type)__res; }) 31 #define _hypercall3(type, name, a1, a2, a3) ({ long __res, __ign1, __ign2, __ign3; asm volatile ( "call %[call]" : "=a" (__res), "=b" (__ign1), "=c" (__ign2), "=d" (__ign3) : "1" ((long)(a1)), "2" ((long)(a2)), "3" ((long)(a3)), [call] "m" (hypercall_page[__HYPERVISOR_##name]) : "memory" ); (type)__res; }) 32 #define _hypercall4(type, name, a1, a2, a3, a4) ({ long __res, __ign1, __ign2, __ign3, __ign4; asm volatile ( "call %[call]" : "=a" (__res), "=b" (__ign1), "=c" (__ign2), "=d" (__ign3), "=S" (__ign4) : "1" ((long)(a1)), "2" ((long)(a2)), "3" ((long)(a3)), "4" ((long)(a4)), [call] "m" (hypercall_page[__HYPERVISOR_##name]) : "memory" ); (type)__re [all...] |
/bionic/libc/arch-arm/bionic/ |
H A D | __get_sp.S | 29 .type __get_sp, %function
|
/bionic/libc/arch-x86/bionic/ |
H A D | __get_sp.S | 29 .type __get_sp, @function
|
/bionic/libc/kernel/common/linux/netfilter/ |
H A D | xt_sctp.h | 51 #define bytes(type) (sizeof(type) * 8) 52 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0) 54 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0) 55 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / byte [all...] |
/bionic/libc/kernel/common/linux/netfilter_ipv4/ |
H A D | ipt_sctp.h | 50 #define bytes(type) (sizeof(type) * 8) 51 #define SCTP_CHUNKMAP_SET(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] |= 1 << (type % bytes(u_int32_t)); } while (0) 52 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) do { chunkmap[type / bytes(u_int32_t)] &= ~(1 << (type % bytes(u_int32_t))); } while (0) 54 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) ({ (chunkmap[type / byte [all...] |