/development/ndk/platforms/android-3/include/linux/byteorder/ |
D | little_endian.h | 25 #define __constant_htonl(x) ((__force __be32)___constant_swab32((x))) argument 26 #define __constant_ntohl(x) ___constant_swab32((__force __be32)(x)) argument 27 #define __constant_htons(x) ((__force __be16)___constant_swab16((x))) argument 28 #define __constant_ntohs(x) ___constant_swab16((__force __be16)(x)) argument 29 #define __constant_cpu_to_le64(x) ((__force __le64)(__u64)(x)) argument 30 #define __constant_le64_to_cpu(x) ((__force __u64)(__le64)(x)) argument 31 #define __constant_cpu_to_le32(x) ((__force __le32)(__u32)(x)) argument 32 #define __constant_le32_to_cpu(x) ((__force __u32)(__le32)(x)) argument 33 #define __constant_cpu_to_le16(x) ((__force __le16)(__u16)(x)) argument 34 #define __constant_le16_to_cpu(x) ((__force __u16)(__le16)(x)) argument [all …]
|
D | big_endian.h | 25 #define __constant_htonl(x) ((__force __be32)(__u32)(x)) argument 26 #define __constant_ntohl(x) ((__force __u32)(__be32)(x)) argument 27 #define __constant_htons(x) ((__force __be16)(__u16)(x)) argument 28 #define __constant_ntohs(x) ((__force __u16)(__be16)(x)) argument 29 #define __constant_cpu_to_le64(x) ((__force __le64)___constant_swab64((x))) argument 30 #define __constant_le64_to_cpu(x) ___constant_swab64((__force __u64)(__le64)(x)) argument 31 #define __constant_cpu_to_le32(x) ((__force __le32)___constant_swab32((x))) argument 32 #define __constant_le32_to_cpu(x) ___constant_swab32((__force __u32)(__le32)(x)) argument 33 #define __constant_cpu_to_le16(x) ((__force __le16)___constant_swab16((x))) argument 34 #define __constant_le16_to_cpu(x) ___constant_swab16((__force __u16)(__le16)(x)) argument [all …]
|
D | swab.h | 17 #define ___swab16(x) ({ __u16 __x = (x); ((__u16)( (((__u16)(__x) & (__u16)0x00ffU) << 8) | … argument 19 #define ___swab32(x) ({ __u32 __x = (x); ((__u32)( (((__u32)(__x) & (__u32)0x000000ffUL) << … argument 21 #define ___swab64(x) ({ __u64 __x = (x); ((__u64)( (__u64)(((__u64)(__x) & (__u64)0x00000000… argument 23 #define ___constant_swab16(x) ((__u16)( (((__u16)(x) & (__u16)0x00ffU) << 8) | (((__u16)(x) &… argument 24 #define ___constant_swab32(x) ((__u32)( (((__u32)(x) & (__u32)0x000000ffUL) << 24) | (((__u32… argument 25 #define ___constant_swab64(x) ((__u64)( (__u64)(((__u64)(x) & (__u64)0x00000000000000ffULL) << … argument 28 #define __arch__swab16(x) ({ __u16 __tmp = (x) ; ___swab16(__tmp); }) argument 31 #define __arch__swab32(x) ({ __u32 __tmp = (x) ; ___swab32(__tmp); }) argument 34 #define __arch__swab64(x) ({ __u64 __tmp = (x) ; ___swab64(__tmp); }) argument 38 #define __arch__swab16p(x) __arch__swab16(*(x)) argument [all …]
|
D | swabb.h | 15 #define ___swahw32(x) ({ __u32 __x = (x); ((__u32)( (((__u32)(__x) & (__u32)0x0000ffffUL) <<… argument 16 #define ___swahb32(x) ({ __u32 __x = (x); ((__u32)( (((__u32)(__x) & (__u32)0x00ff00ffUL) <<… argument 18 #define ___constant_swahw32(x) ((__u32)( (((__u32)(x) & (__u32)0x0000ffffUL) << 16) | (((__u3… argument 19 #define ___constant_swahb32(x) ((__u32)( (((__u32)(x) & (__u32)0x00ff00ffUL) << 8) | (((__u32… argument 22 #define __arch__swahw32(x) ___swahw32(x) argument 25 #define __arch__swahb32(x) ___swahb32(x) argument 29 #define __arch__swahw32p(x) __swahw32(*(x)) argument 32 #define __arch__swahb32p(x) __swahb32(*(x)) argument 36 #define __arch__swahw32s(x) do { *(x) = __swahw32p((x)); } while (0) argument 39 #define __arch__swahb32s(x) do { *(x) = __swahb32p((x)); } while (0) argument [all …]
|
/development/ndk/platforms/android-3/include/linux/mtd/ |
D | cfi_endian.h | 17 #define cpu_to_cfi8(x) (x) argument 18 #define cfi8_to_cpu(x) (x) argument 19 #define cpu_to_cfi16(x) cpu_to_le16(x) argument 20 #define cpu_to_cfi32(x) cpu_to_le32(x) argument 21 #define cpu_to_cfi64(x) cpu_to_le64(x) argument 22 #define cfi16_to_cpu(x) le16_to_cpu(x) argument 23 #define cfi32_to_cpu(x) le32_to_cpu(x) argument 24 #define cfi64_to_cpu(x) le64_to_cpu(x) argument 26 #define cpu_to_cfi8(x) (x) argument 27 #define cfi8_to_cpu(x) (x) argument [all …]
|
/development/ndk/platforms/android-3/include/sys/ |
D | endian.h | 56 #define __swap16gen(x) __statement({ \ argument 63 #define __swap32gen(x) __statement({ \ argument 72 #define __swap64gen(x) __statement({ \ argument 88 #define __swap16gen(x) \ argument 91 #define __swap32gen(x) \ argument 96 #define __swap64gen(x) \ argument 117 #define __swap16(x) __statement({ \ argument 124 #define __swap32(x) __statement({ \ argument 131 #define __swap64(x) __statement({ \ argument 198 #define htole16(x) (x) argument [all …]
|
D | cdefs.h | 83 #define __GNUC_PREREQ__(x, y) \ argument 87 #define __GNUC_PREREQ__(x, y) 0 argument 95 #define __static_cast(x,y) static_cast<x>(y) argument 99 #define __static_cast(x,y) (x)y argument 110 #define ___STRING(x) __STRING(x) argument 111 #define ___CONCAT(x,y) __CONCAT(x,y) argument 115 #define __CONCAT(x,y) x ## y argument 116 #define __STRING(x) #x argument 131 #define __CONCAT(x,y) x/**/y argument 132 #define __STRING(x) "x" argument [all …]
|
/development/ndk/platforms/android-9/arch-x86/include/machine/ |
D | asm.h | 61 #define PIC_PLT(x) x@PLT argument 62 #define PIC_GOT(x) x@GOT(%ebx) argument 63 #define PIC_GOTOFF(x) x@GOTOFF(%ebx) argument 67 #define PIC_PLT(x) x argument 68 #define PIC_GOT(x) x argument 69 #define PIC_GOTOFF(x) x argument 73 #define _ASM_LABEL(x) x argument 75 #define CVAROFF(x, y) _C_LABEL(x) + y argument 78 # define __CONCAT(x,y) x ## y argument 79 # define __STRING(x) #x argument [all …]
|
D | endian.h | 32 #define __swap32md(x) __statement({ \ argument 39 #define __swap64md(x) __statement({ \ argument 45 #define __swap16md(x) __statement({ \ argument
|
/development/ndk/platforms/android-3/include/linux/ |
D | compiler.h | 23 #define __chk_user_ptr(x) (void)0 argument 24 #define __chk_io_ptr(x) (void)0 argument 25 #define __builtin_warning(x, y...) (1) argument 26 #define __acquires(x) argument 27 #define __releases(x) argument 28 #define __acquire(x) (void)0 argument 29 #define __release(x) (void)0 argument 30 #define __cond_lock(x) (x) argument
|
/development/ndk/platforms/android-9/arch-mips/include/asm/sibyte/ |
D | sb1250_scd.h | 26 #define V_SYS_REVISION(x) _SB_MAKEVALUE(x, S_SYS_REVISION) argument 27 #define G_SYS_REVISION(x) _SB_GETVALUE(x, S_SYS_REVISION, M_SYS_REVISION) argument 75 #define V_SYS_L2C_SIZE(x) _SB_MAKEVALUE(x, S_SYS_L2C_SIZE) argument 76 #define G_SYS_L2C_SIZE(x) _SB_GETVALUE(x, S_SYS_L2C_SIZE, M_SYS_L2C_SIZE) argument 89 #define V_SYS_NUM_CPUS(x) _SB_MAKEVALUE(x, S_SYS_NUM_CPUS) argument 90 #define G_SYS_NUM_CPUS(x) _SB_GETVALUE(x, S_SYS_NUM_CPUS, M_SYS_NUM_CPUS) argument 94 #define V_SYS_PART(x) _SB_MAKEVALUE(x, S_SYS_PART) argument 95 #define G_SYS_PART(x) _SB_GETVALUE(x, S_SYS_PART, M_SYS_PART) argument 105 #define V_SYS_SOC_TYPE(x) _SB_MAKEVALUE(x, S_SYS_SOC_TYPE) argument 106 #define G_SYS_SOC_TYPE(x) _SB_GETVALUE(x, S_SYS_SOC_TYPE, M_SYS_SOC_TYPE) argument [all …]
|
D | bcm1480_scd.h | 40 #define V_BCM1480_SYS_PLL_DIV(x) _SB_MAKEVALUE(x, S_BCM1480_SYS_PLL_DIV) argument 41 #define G_BCM1480_SYS_PLL_DIV(x) _SB_GETVALUE(x, S_BCM1480_SYS_PLL_DIV, M_BCM1480_SYS_PLL_DIV) argument 45 #define V_BCM1480_SYS_SW_DIV(x) _SB_MAKEVALUE(x, S_BCM1480_SYS_SW_DIV) argument 46 #define G_BCM1480_SYS_SW_DIV(x) _SB_GETVALUE(x, S_BCM1480_SYS_SW_DIV, M_BCM1480_SYS_SW_DIV) argument 52 #define V_BCM1480_SYS_BOOT_MODE(x) _SB_MAKEVALUE(x, S_BCM1480_SYS_BOOT_MODE) argument 54 #define G_BCM1480_SYS_BOOT_MODE(x) _SB_GETVALUE(x, S_BCM1480_SYS_BOOT_MODE, M_BCM1480_SYS_BOOT_MODE) argument 71 #define V_BCM1480_SYS_CONFIG(x) _SB_MAKEVALUE(x, S_BCM1480_SYS_CONFIG) argument 72 #define G_BCM1480_SYS_CONFIG(x) _SB_GETVALUE(x, S_BCM1480_SYS_CONFIG, M_BCM1480_SYS_CONFIG) argument 77 #define V_BCM1480_SYS_NODEID(x) _SB_MAKEVALUE(x, S_BCM1480_SYS_NODEID) argument 79 #define G_BCM1480_SYS_NODEID(x) _SB_GETVALUE(x, S_BCM1480_SYS_NODEID, M_BCM1480_SYS_NODEID) argument [all …]
|
/development/ndk/platforms/android-3/arch-arm/include/machine/ |
D | asm.h | 42 # define _C_LABEL(x) x argument 45 # define _C_LABEL(x) _ ## x argument 47 # define _C_LABEL(x) _/**/x argument 50 #define _ASM_LABEL(x) x argument 53 # define __CONCAT(x,y) x ## y argument 54 # define __STRING(x) #x argument 56 # define __CONCAT(x,y) x/**/y argument 57 # define __STRING(x) "x" argument 72 #define _ENTRY(x) \ argument 75 #define _ASM_SIZE(x) .size x, .-x; argument [all …]
|
D | endian.h | 56 #define __swap16md(x) ({ \ argument 62 #define __swap32md(x) ({ \ argument 68 #define __swap64md(x) ({ \ argument
|
/development/ndk/platforms/android-9/arch-mips/include/asm/ |
D | debug.h | 21 #define db_assert(x) argument 22 #define db_warn(x) argument 24 #define db_verify(x, y) x argument 25 #define db_verify_warn(x, y) x argument 26 #define db_run(x) argument
|
/development/ndk/platforms/android-9/include/ |
D | math.h | 96 #define fpclassify(x) \ argument 101 #define isfinite(x) \ argument 105 #define isinf(x) \ argument 109 #define isnan(x) \ argument 113 #define isnormal(x) \ argument 119 #define isgreater(x, y) __builtin_isgreater((x), (y)) argument 120 #define isgreaterequal(x, y) __builtin_isgreaterequal((x), (y)) argument 121 #define isless(x, y) __builtin_isless((x), (y)) argument 122 #define islessequal(x, y) __builtin_islessequal((x), (y)) argument 123 #define islessgreater(x, y) __builtin_islessgreater((x), (y)) argument [all …]
|
/development/ndk/platforms/android-3/include/ |
D | math.h | 96 #define fpclassify(x) \ argument 101 #define isfinite(x) \ argument 105 #define isinf(x) \ argument 109 #define isnan(x) \ argument 113 #define isnormal(x) \ argument 119 #define isgreater(x, y) __builtin_isgreater((x), (y)) argument 120 #define isgreaterequal(x, y) __builtin_isgreaterequal((x), (y)) argument 121 #define isless(x, y) __builtin_isless((x), (y)) argument 122 #define islessequal(x, y) __builtin_islessequal((x), (y)) argument 123 #define islessgreater(x, y) __builtin_islessgreater((x), (y)) argument [all …]
|
D | byteswap.h | 34 #define bswap_16(x) swap16(x) argument 35 #define bswap_32(x) swap32(x) argument 36 #define bswap_64(x) swap64(x) argument
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
D | uaccess_32.h | 36 #define set_fs(x) (current_thread_info()->addr_limit = (x)) argument 47 #define __get_user_x(size,ret,x,ptr) __asm__ __volatile__("call __get_user_" #size :"=a" (ret),… argument 49 #define get_user(x,ptr) ({ int __ret_gu; unsigned long __val_gu; __chk_user_ptr(ptr); switch… argument 50 #define __put_user_1(x, ptr) __asm__ __volatile__("call __put_user_1":"=a" (__ret_pu):"0" ((typeof(… argument 51 #define __put_user_2(x, ptr) __asm__ __volatile__("call __put_user_2":"=a" (__ret_pu):"0" ((typeof(… argument 52 #define __put_user_4(x, ptr) __asm__ __volatile__("call __put_user_4":"=a" (__ret_pu):"0" ((typeof(… argument 54 #define __put_user_8(x, ptr) __asm__ __volatile__("call __put_user_8":"=a" (__ret_pu):"A" ((typeof(… argument 55 #define __put_user_X(x, ptr) __asm__ __volatile__("call __put_user_X":"=a" (__ret_pu):"c" (ptr)) argument 56 #define put_user(x,ptr) ({ int __ret_pu; __typeof__(*(ptr)) __pus_tmp = x; __ret_pu=0; if(… argument 57 #define __get_user(x,ptr) __get_user_nocheck((x),(ptr),sizeof(*(ptr))) argument [all …]
|
/development/ndk/platforms/android-3/arch-arm/include/asm/ |
D | uaccess.h | 39 #define get_user(x,p) __get_user(x,p) argument 40 #define put_user(x,p) __put_user(x,p) argument 42 #define __get_user(x,ptr) ({ long __gu_err = 0; __get_user_err((x),(ptr),__gu_err); __gu_err… argument 43 #define __get_user_error(x,ptr,err) ({ __get_user_err((x),(ptr),err); (void) 0; }) argument 44 #define __get_user_err(x,ptr,err) do { unsigned long __gu_addr = (unsigned long)(ptr); unsigne… argument 45 #define __get_user_asm_byte(x,addr,err) __asm__ __volatile__( "1: ldrbt %1,[%2],#0\n" "2:\n" … argument 47 #define __get_user_asm_half(x,__gu_addr,err) ({ unsigned long __b1, __b2; __get_user_asm_byte(… argument 49 #define __get_user_asm_half(x,__gu_addr,err) ({ unsigned long __b1, __b2; __get_user_asm_byte(… argument 51 #define __get_user_asm_word(x,addr,err) __asm__ __volatile__( "1: ldrt %1,[%2],#0\n" "2:\n" … argument 52 #define __put_user(x,ptr) ({ long __pu_err = 0; __put_user_err((x),(ptr),__pu_err); __pu_err… argument [all …]
|
D | spinlock.h | 19 #define __raw_spin_is_locked(x) ((x)->lock != 0) argument 24 #define rwlock_is_locked(x) (*((volatile unsigned int *)(x)) != 0) argument 25 #define __raw_write_can_lock(x) ((x)->lock == 0x80000000) argument 26 #define __raw_read_can_lock(x) ((x)->lock < 0x80000000) argument
|
D | vga.h | 18 #define VGA_MAP_MEM(x,s) (PCIMEM_BASE + (x)) argument 20 #define vga_readb(x) (*((volatile unsigned char *)x)) argument 21 #define vga_writeb(x,y) (*((volatile unsigned char *)y) = (x)) argument
|
/development/ndk/platforms/android-9/include/sys/ |
D | cdefs.h | 52 #define __GNUC_PREREQ__(x, y) \ argument 56 #define __GNUC_PREREQ__(x, y) 0 argument 64 #define __static_cast(x,y) static_cast<x>(y) argument 68 #define __static_cast(x,y) (x)y argument 79 #define ___STRING(x) __STRING(x) argument 80 #define ___CONCAT(x,y) __CONCAT(x,y) argument 84 #define __CONCAT(x,y) x ## y argument 85 #define __STRING(x) #x argument 100 #define __CONCAT(x,y) x/**/y argument 101 #define __STRING(x) "x" argument [all …]
|
/development/ndk/sources/android/libportable/arch-mips/ |
D | pthread.c | 32 #define CAT(x, y) CAT_I(x, y) argument 33 #define CAT_I(x, y) x ## y argument 38 #define STRIP_PARENS(x) EVAL((STRIP_PARENS_I x), x) argument 41 #define EVAL(test, x) EVAL_I(test, x) argument 42 #define EVAL_I(test, x) MAYBE_STRIP_PARENS(TEST_ARITY test, x) argument 47 #define MAYBE_STRIP_PARENS(cond, x) MAYBE_STRIP_PARENS_I(cond, x) argument 48 #define MAYBE_STRIP_PARENS_I(cond, x) CAT(MAYBE_STRIP_PARENS_, cond)(x) argument 50 #define MAYBE_STRIP_PARENS_1(x) x argument 51 #define MAYBE_STRIP_PARENS_2(x) APPLY(MAYBE_STRIP_PARENS_2_I, x) argument
|
/development/ndk/platforms/android-9/arch-mips/include/machine/ |
D | endian.h | 35 #define __swap16md(x) ({ \ argument 42 #define __swap32md(x) ({ \ argument 49 #define __swap64md(x) ({ \ argument
|