| /bionic/libc/kernel/uapi/linux/byteorder/ |
| D | little_endian.h | 18 #define __constant_htonl(x) (( __be32) ___constant_swab32((x))) argument 19 #define __constant_ntohl(x) ___constant_swab32(( __be32) (x)) argument 20 #define __constant_htons(x) (( __be16) ___constant_swab16((x))) argument 21 #define __constant_ntohs(x) ___constant_swab16(( __be16) (x)) argument 22 #define __constant_cpu_to_le64(x) (( __le64) (__u64) (x)) argument 23 #define __constant_le64_to_cpu(x) (( __u64) (__le64) (x)) argument 24 #define __constant_cpu_to_le32(x) (( __le32) (__u32) (x)) argument 25 #define __constant_le32_to_cpu(x) (( __u32) (__le32) (x)) argument 26 #define __constant_cpu_to_le16(x) (( __le16) (__u16) (x)) argument 27 #define __constant_le16_to_cpu(x) (( __u16) (__le16) (x)) argument [all …]
|
| D | big_endian.h | 18 #define __constant_htonl(x) (( __be32) (__u32) (x)) argument 19 #define __constant_ntohl(x) (( __u32) (__be32) (x)) argument 20 #define __constant_htons(x) (( __be16) (__u16) (x)) argument 21 #define __constant_ntohs(x) (( __u16) (__be16) (x)) argument 22 #define __constant_cpu_to_le64(x) (( __le64) ___constant_swab64((x))) argument 23 #define __constant_le64_to_cpu(x) ___constant_swab64(( __u64) (__le64) (x)) argument 24 #define __constant_cpu_to_le32(x) (( __le32) ___constant_swab32((x))) argument 25 #define __constant_le32_to_cpu(x) ___constant_swab32(( __u32) (__le32) (x)) argument 26 #define __constant_cpu_to_le16(x) (( __le16) ___constant_swab16((x))) argument 27 #define __constant_le16_to_cpu(x) ___constant_swab16(( __u16) (__le16) (x)) argument [all …]
|
| /bionic/libm/ |
| D | builtins.cpp | 25 double ceil(double x) { return __builtin_ceil(x); } in ceil() 26 float ceilf(float x) { return __builtin_ceilf(x); } in ceilf() 32 double copysign(double x, double y) { return __builtin_copysign(x, y); } in copysign() 33 float copysignf(float x, float y) { return __builtin_copysignf(x, y); } in copysignf() 34 long double copysignl(long double x, long double y) { return __builtin_copysignl(x, y); } in copysignl() 36 double fabs(double x) { return __builtin_fabs(x); } in fabs() 37 float fabsf(float x) { return __builtin_fabsf(x); } in fabsf() 38 long double fabsl(long double x) { return __builtin_fabsl(x); } in fabsl() 44 double floor(double x) { return __builtin_floor(x); } in floor() 45 float floorf(float x) { return __builtin_floorf(x); } in floorf() [all …]
|
| /bionic/libc/include/sys/ |
| D | endian.h | 48 #define __swap64(x) __BIONIC_CAST(static_cast,uint64_t,__builtin_bswap64(x)) argument 58 #define htonl(x) __swap32(x) argument 59 #define htons(x) __swap16(x) argument 60 #define ntohl(x) __swap32(x) argument 61 #define ntohs(x) __swap16(x) argument 64 #define htonq(x) __swap64(x) argument 65 #define ntohq(x) __swap64(x) argument 73 #define NTOHL(x) (x) = ntohl(__BIONIC_CAST(static_cast,u_int32_t,(x))) argument 74 #define NTOHS(x) (x) = ntohs(__BIONIC_CAST(static_cast,u_int16_t,(x))) argument 75 #define HTONL(x) (x) = htonl(__BIONIC_CAST(static_cast,u_int32_t,(x))) argument [all …]
|
| D | param.h | 54 #define howmany(x, y) (((x)+((y)-1))/(y)) argument 56 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) argument 65 #define powerof2(x) \ argument
|
| /bionic/libc/kernel/uapi/linux/ |
| D | swab.h | 13 #define ___constant_swab16(x) ((__u16) ((((__u16) (x) & (__u16) 0x00ffU) << 8) | (((__u16) (x) & (_… argument 14 #define ___constant_swab32(x) ((__u32) ((((__u32) (x) & (__u32) 0x000000ffUL) << 24) | (((__u32) (x… argument 15 #define ___constant_swab64(x) ((__u64) ((((__u64) (x) & (__u64) 0x00000000000000ffULL) << 56) | (((… argument 16 #define ___constant_swahw32(x) ((__u32) ((((__u32) (x) & (__u32) 0x0000ffffUL) << 16) | (((__u32) (… argument 17 #define ___constant_swahb32(x) ((__u32) ((((__u32) (x) & (__u32) 0x00ff00ffUL) << 8) | (((__u32) (x… argument 27 #define __swab16(x) (__u16) __builtin_bswap16((__u16) (x)) argument 28 #define __swab32(x) (__u32) __builtin_bswap32((__u32) (x)) argument 29 #define __swab64(x) (__u64) __builtin_bswap64((__u64) (x)) argument 33 #define __swahw32(x) (__builtin_constant_p((__u32) (x)) ? ___constant_swahw32(x) : __fswahw32(x)) argument 34 #define __swahb32(x) (__builtin_constant_p((__u32) (x)) ? ___constant_swahb32(x) : __fswahb32(x)) argument
|
| D | const.h | 17 #define _UL(x) (_AC(x, UL)) argument 18 #define _ULL(x) (_AC(x, ULL)) argument 19 #define _BITUL(x) (_UL(1) << (x)) argument 20 #define _BITULL(x) (_ULL(1) << (x)) argument 22 #define _BIT128(x) ((unsigned __int128) (1) << (x)) argument 24 #define __ALIGN_KERNEL(x,a) __ALIGN_KERNEL_MASK(x, (__typeof__(x)) (a) - 1) argument 25 #define __ALIGN_KERNEL_MASK(x,mask) (((x) + (mask)) & ~(mask)) argument
|
| D | a.out.h | 54 #define N_BADMAG(x) (N_MAGIC(x) != OMAGIC && N_MAGIC(x) != NMAGIC && N_MAGIC(x) != ZMAGIC && N_MAGI… argument 56 #define _N_HDROFF(x) (1024 - sizeof(struct exec)) argument 58 #define N_TXTOFF(x) (N_MAGIC(x) == ZMAGIC ? _N_HDROFF((x)) + sizeof(struct exec) : (N_MAGIC(x) == Q… argument 61 #define N_DATOFF(x) (N_TXTOFF(x) + (x).a_text) argument 64 #define N_TRELOFF(x) (N_DATOFF(x) + (x).a_data) argument 67 #define N_DRELOFF(x) (N_TRELOFF(x) + N_TRSIZE(x)) argument 70 #define N_SYMOFF(x) (N_DRELOFF(x) + N_DRSIZE(x)) argument 73 #define N_STROFF(x) (N_SYMOFF(x) + N_SYMSIZE(x)) argument 76 #define N_TXTADDR(x) (N_MAGIC(x) == QMAGIC ? PAGE_SIZE : 0) argument 86 #define _N_SEGMENT_ROUND(x) ALIGN(x, SEGMENT_SIZE) argument [all …]
|
| D | mtio.h | 84 #define GMT_EOF(x) ((x) & 0x80000000) argument 85 #define GMT_BOT(x) ((x) & 0x40000000) argument 86 #define GMT_EOT(x) ((x) & 0x20000000) argument 87 #define GMT_SM(x) ((x) & 0x10000000) argument 88 #define GMT_EOD(x) ((x) & 0x08000000) argument 89 #define GMT_WR_PROT(x) ((x) & 0x04000000) argument 90 #define GMT_ONLINE(x) ((x) & 0x01000000) argument 91 #define GMT_D_6250(x) ((x) & 0x00800000) argument 92 #define GMT_D_1600(x) ((x) & 0x00400000) argument 93 #define GMT_D_800(x) ((x) & 0x00200000) argument [all …]
|
| /bionic/libc/include/ |
| D | math.h | 61 #define fpclassify(x) __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, x) argument 63 #define isfinite(x) __builtin_isfinite(x) argument 65 #define isinf(x) __builtin_isinf(x) argument 67 #define isnan(x) __builtin_isnan(x) argument 69 #define isnormal(x) __builtin_isnormal(x) argument 71 #define signbit(x) __builtin_signbit(x) argument 301 #define isgreater(x, y) __builtin_isgreater((x), (y)) argument 302 #define isgreaterequal(x, y) __builtin_isgreaterequal((x), (y)) argument 303 #define isless(x, y) __builtin_isless((x), (y)) argument 304 #define islessequal(x, y) __builtin_islessequal((x), (y)) argument [all …]
|
| D | byteswap.h | 43 #define bswap_16(x) __swap16(x) argument 49 #define bswap_32(x) __swap32(x) argument 55 #define bswap_64(x) __swap64(x) argument
|
| D | complex.h | 47 #define CMPLX(x, y) ((double complex){ x, y }) argument 48 #define CMPLXF(x, y) ((float complex){ x, y }) argument 49 #define CMPLXL(x, y) ((long double complex){ x, y }) argument
|
| /bionic/linker/ |
| D | linker_globals.h | 41 #define DL_ERR(fmt, x...) \ argument 46 #define DL_WARN(fmt, x...) \ argument 56 #define DL_ERR_AND_LOG(fmt, x...) \ argument 62 #define DL_OPEN_ERR(fmt, x...) \ argument 68 #define DL_SYM_ERR(fmt, x...) \ argument
|
| /bionic/linker/arch/arm64/ |
| D | tlsdesc_resolver.S | 90 #define SAVE_REG(x, slot) \ argument 94 #define SAVE_GPR_PAIR(x, y, slot) \ argument 99 #define SAVE_VEC_PAIR(x, y, slot) \ argument 104 #define RESTORE_REG(x, slot) \ argument 108 #define RESTORE_REG_PAIR(x, y, slot) \ argument
|
| /bionic/libm/upstream-freebsd/lib/msun/src/ |
| D | math_private.h | 343 #define RETURNI(x) do { \ argument 361 #define ENTERIT(x) argument 362 #define RETURNI(x) RETURNF(x) argument 501 #define nan_mix(x, y) (nan_mix_op((x), (y), +)) argument 502 #define nan_mix_op(x, y, op) (((x) + 0.0L) op ((y) + 0)) argument 543 CMPLXF(float x, float y) in CMPLXF() 555 CMPLX(double x, double y) in CMPLX() 567 CMPLXL(long double x, long double y) in CMPLXL() 591 rnint(__double_t x) in rnint() 611 rnintf(__float_t x) in rnintf() [all …]
|
| D | catrig.c | 36 #define isinf(x) (fabs(x) == INFINITY) argument 38 #define isnan(x) ((x) != (x)) argument 41 #define signbit(x) (__builtin_signbit(x)) argument 152 do_hard_work(double x, double y, double *rx, int *B_is_usable, double *B, in do_hard_work() 276 double x, y, ax, ay, rx, ry, B, sqrt_A2my2, new_y; in casinh() local 357 double x, y, ax, ay, rx, ry, B, sqrt_A2mx2, new_x; in cacos() local 456 double x, y; in clog_for_large_values() local 508 sum_squares(double x, double y) in sum_squares() 528 real_part_reciprocal(double x, double y) in real_part_reciprocal() 573 double x, y, ax, ay, rx, ry; in catanh() local
|
| D | catrigl.c | 50 #define isinf(x) (fabsl(x) == INFINITY) argument 52 #define isnan(x) ((x) != (x)) argument 55 #define signbit(x) (__builtin_signbitl(x)) argument 106 do_hard_work(long double x, long double y, long double *rx, int *B_is_usable, in do_hard_work() 166 long double x, y, ax, ay, rx, ry, B, sqrt_A2my2, new_y; in casinhl() local 222 long double x, y, ax, ay, rx, ry, B, sqrt_A2mx2, new_x; in cacosl() local 299 long double x, y; in clog_for_large_values() local 323 sum_squares(long double x, long double y) in sum_squares() 333 real_part_reciprocal(long double x, long double y) in real_part_reciprocal() 361 long double x, y, ax, ay, rx, ry; in catanhl() local
|
| D | catrigf.c | 50 #define isinf(x) (fabsf(x) == INFINITY) argument 52 #define isnan(x) ((x) != (x)) argument 55 #define signbit(x) (__builtin_signbitf(x)) argument 87 do_hard_work(float x, float y, float *rx, int *B_is_usable, float *B, in do_hard_work() 147 float x, y, ax, ay, rx, ry, B, sqrt_A2my2, new_y; in casinhf() local 202 float x, y, ax, ay, rx, ry, B, sqrt_A2mx2, new_x; in cacosf() local 279 float x, y; in clog_for_large_values() local 303 sum_squares(float x, float y) in sum_squares() 313 real_part_reciprocal(float x, float y) in real_part_reciprocal() 340 float x, y, ax, ay, rx, ry; in catanhf() local
|
| D | s_scalbln.c | 35 scalbln(double x, long n) in scalbln() 42 scalblnf(float x, long n) in scalblnf() 49 scalblnl(long double x, long n) in scalblnl()
|
| D | e_sqrtl.c | 37 inc(long double x) in inc() 53 dec(long double x) in dec() 75 sqrtl(long double x) in sqrtl()
|
| /bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
| D | gdtoa.h | 50 #define ANSI(x) () argument 53 #define ANSI(x) x argument 155 #define __strtopd(s,se,x) strtord(s,se,1,x) argument 156 #define __strtopdd(s,se,x) strtordd(s,se,1,x) argument 157 #define __strtopf(s,se,x) strtorf(s,se,1,x) argument 158 #define __strtopQ(s,se,x) strtorQ(s,se,1,x) argument 159 #define __strtopx(s,se,x) strtorx(s,se,1,x) argument 160 #define __strtopxL(s,se,x) strtorxL(s,se,1,x) argument
|
| /bionic/libc/platform/bionic/ |
| D | page.h | 46 inline uintptr_t page_start(uintptr_t x) { in page_start() 51 inline uintptr_t page_offset(uintptr_t x) { in page_offset() 57 inline uintptr_t page_end(uintptr_t x) { in page_end()
|
| /bionic/libc/private/ |
| D | bionic_asm_x86.h | 47 #define PIC_PLT(x) x@PLT argument 48 #define PIC_GOT(x) x@GOT(%ebx) argument 49 #define PIC_GOTOFF(x) x@GOTOFF(%ebx) argument
|
| /bionic/libc/kernel/uapi/sound/ |
| D | emu10k1.h | 40 #define FXBUS(x) (0x00 + (x)) argument 41 #define EXTIN(x) (0x10 + (x)) argument 42 #define EXTOUT(x) (0x20 + (x)) argument 43 #define FXBUS2(x) (0x30 + (x)) argument 44 #define A_FXBUS(x) (0x00 + (x)) argument 45 #define A_EXTIN(x) (0x40 + (x)) argument 46 #define A_P16VIN(x) (0x50 + (x)) argument 47 #define A_EXTOUT(x) (0x60 + (x)) argument 48 #define A_FXBUS2(x) (0x80 + (x)) argument 49 #define A_EMU32OUTH(x) (0xa0 + (x)) argument [all …]
|
| /bionic/libc/upstream-netbsd/common/lib/libc/hash/sha1/ |
| D | sha1.c | 67 #define R0(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk0(i)+0x5A827999+rol(v,5);w=rol(w,30); argument 68 #define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=rol(w,30); argument 69 #define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30); argument 70 #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 71 #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30); argument 100 #define nR0(v,w,x,y,z,i) R0(*v,*w,*x,*y,*z,i) argument 101 #define nR1(v,w,x,y,z,i) R1(*v,*w,*x,*y,*z,i) argument 102 #define nR2(v,w,x,y,z,i) R2(*v,*w,*x,*y,*z,i) argument 103 #define nR3(v,w,x,y,z,i) R3(*v,*w,*x,*y,*z,i) argument 104 #define nR4(v,w,x,y,z,i) R4(*v,*w,*x,*y,*z,i) argument
|