Searched refs:type (Results 1 - 25 of 357) sorted by relevance

1234567891011>>

/bionic/libc/kernel/arch-arm/asm/
H A Ddomain.h30 #define domain_val(dom,type) ((type) << (2*(dom)))
34 #define modify_domain(dom,type) do { } while (0)
/bionic/libm/src/
H A Ds_fdim.c32 #define DECL(type, fn) \
33 type \
34 fn(type x, type y) \
H A Ds_llrint.c4 #define type double macro
H A Ds_llrintf.c4 #define type float macro
H A Ds_lrintf.c4 #define type float macro
H A Ds_nearbyint.c40 #define DECL(type, fn, rint) \
41 type \
42 fn(type x) \
44 type ret; \
H A Ds_lround.c32 #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 Ds_lrint.c31 #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 Ds_llround.c4 #define type double macro
H A Ds_llroundf.c4 #define type float macro
H A Ds_llroundl.c4 #define type long double macro
H A Ds_lroundf.c4 #define type float macro
H A Ds_lroundl.c4 #define type long double macro
/bionic/libc/kernel/common/linux/
H A Dandroid_alarm.h44 #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 Dpercpu.h35 #define alloc_percpu(type) ((type *)(__alloc_percpu(sizeof(type))))
/bionic/libc/kernel/arch-mips/asm/
H A Dioctl.h45 #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 Dio.h76 #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 Dioctl.h40 #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 Dpercpu.h24 #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 Dio_32.h30 #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 Dhypercall.h27 #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.S29 .type __get_sp, %function
/bionic/libc/arch-x86/bionic/
H A D__get_sp.S29 .type __get_sp, @function
/bionic/libc/kernel/common/linux/netfilter/
H A Dxt_sctp.h51 #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 Dipt_sctp.h50 #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...]

Completed in 387 milliseconds

1234567891011>>