Home
last modified time | relevance | path

Searched defs:x (Results 1 – 25 of 167) sorted by relevance

1234567

/system/core/include/utils/
DByteOrder.h55 #define dtohl(x) (x) argument
56 #define dtohs(x) (x) argument
57 #define htodl(x) (x) argument
58 #define htods(x) (x) argument
62 #define dtohl(x) (android_swap_long(x)) argument
63 #define dtohs(x) (android_swap_short(x)) argument
64 #define htodl(x) (android_swap_long(x)) argument
65 #define htods(x) (android_swap_short(x)) argument
70 #define fromlel(x) (x) argument
71 #define fromles(x) (x) argument
[all …]
/system/bt/stack/include/
Dhcidefs.h410 #define HCI_LE_STATES_NON_CONN_ADV_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_NON_CONN_ADV_OFF] & HC… argument
415 #define HCI_LE_STATES_SCAN_ADV_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATESSCAN_ADV_OFF] & HCI_SUPP_LE… argument
420 #define HCI_LE_STATES_CONN_ADV_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_CONN_ADV_OFF] & HCI_SUPP_L… argument
425 #define HCI_LE_STATES_HI_DUTY_DIR_ADV_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_HI_DUTY_DIR_ADV_OFF… argument
430 #define HCI_LE_STATES_PASS_SCAN_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_PASS_SCAN_OFF] & HCI_SUPP… argument
435 #define HCI_LE_STATES_ACTIVE_SCAN_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_ACTIVE_SCAN_OFF] & HCI_… argument
440 #define HCI_LE_STATES_INIT_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_INIT_OFF] & HCI_SUPP_LE_STATES… argument
445 #define HCI_LE_STATES_SLAVE_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_SLAVE_OFF] & HCI_SUPP_LE_STAT… argument
450 #define HCI_LE_STATES_NON_CONN_ADV_PASS_SCAN_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_NON_CONN_ADV… argument
455 #define HCI_LE_STATES_SCAN_ADV_PASS_SCAN_SUPPORTED(x) ((x)[HCI_SUPP_LE_STATES_SCAN_ADV_PASS_SC… argument
[all …]
Davrc_defs.h407 #define AVRC_PF_SELECT_SUPPORTED(x) ((x)[AVRC_PF_SELECT_OFF] & AVRC_PF_SELECT_MASK) argument
412 #define AVRC_PF_UP_SUPPORTED(x) ((x)[AVRC_PF_UP_OFF] & AVRC_PF_UP_MASK) argument
417 #define AVRC_PF_DOWN_SUPPORTED(x) ((x)[AVRC_PF_DOWN_OFF] & AVRC_PF_DOWN_MASK) argument
422 #define AVRC_PF_LEFT_SUPPORTED(x) ((x)[AVRC_PF_LEFT_OFF] & AVRC_PF_LEFT_MASK) argument
427 #define AVRC_PF_RIGHT_SUPPORTED(x) ((x)[AVRC_PF_RIGHT_OFF] & AVRC_PF_RIGHT_MASK) argument
432 #define AVRC_PF_RIGHTUP_SUPPORTED(x) ((x)[AVRC_PF_RIGHTUP_OFF] & AVRC_PF_RIGHTUP_MASK) argument
437 #define AVRC_PF_RIGHTDOWN_SUPPORTED(x) ((x)[AVRC_PF_RIGHTDOWN_OFF] & AVRC_PF_RIGHTDOWN_MASK) argument
442 #define AVRC_PF_LEFTUP_SUPPORTED(x) ((x)[AVRC_PF_LEFTUP_OFF] & AVRC_PF_LEFTUP_MASK) argument
447 #define AVRC_PF_LEFTDOWN_SUPPORTED(x) ((x)[AVRC_PF_LEFTDOWN_OFF] & AVRC_PF_LEFTDOWN_MASK) argument
452 #define AVRC_PF_ROOT_MENU_SUPPORTED(x) ((x)[AVRC_PF_ROOT_MENU_OFF] & AVRC_PF_ROOT_MENU_MASK) argument
[all …]
/system/core/libpixelflinger/include/private/pixelflinger/
Dggl_context.h94 #define TRI_FROM_INT(x) ((x) << TRI_FRACTION_BITS) argument
95 #define TRI_FRAC(x) ((x) & (TRI_ONE-1)) argument
96 #define TRI_FLOOR(x) ((x) & ~(TRI_ONE-1)) argument
97 #define TRI_CEIL(x) (((x) + (TRI_ONE-1)) & ~(TRI_ONE-1)) argument
98 #define TRI_ROUND(x) (((x) + TRI_HALF ) & ~(TRI_ONE-1)) argument
101 #define TRI_FROM_FIXED(x) (((x)+TRI_ROUDNING) >> (16-TRI_FRACTION_BITS)) argument
103 #define TRI_SNAP_NEXT_HALF(x) (TRI_CEIL((x)+TRI_HALF) - TRI_HALF) argument
104 #define TRI_SNAP_PREV_HALF(x) (TRI_CEIL((x)-TRI_HALF) - TRI_HALF) argument
Dggl_fixed.h96 inline GGLfixed gglRecip(GGLfixed x) { in gglRecip()
101 int32_t gglRecip28(GGLfixed x) { in gglRecip28()
111 inline GGLfixed gglMulx(GGLfixed x, GGLfixed y, int shift) { in gglMulx()
134 inline GGLfixed gglMulAddx(GGLfixed x, GGLfixed y, GGLfixed a, int shift) { in gglMulAddx()
155 inline GGLfixed gglMulSubx(GGLfixed x, GGLfixed y, GGLfixed a, int shift) { in gglMulSubx()
176 inline int64_t gglMulii(int32_t x, int32_t y) in gglMulii()
437 inline int64_t gglMulii(int32_t x, int32_t y) { in gglMulii()
465 inline GGLfixed gglMulx(GGLfixed x, GGLfixed y, int shift) in gglMulx()
482 inline GGLfixed gglMulAddx(GGLfixed x, GGLfixed y, GGLfixed a, int shift) in gglMulAddx()
496 inline GGLfixed gglMulSubx(GGLfixed x, GGLfixed y, GGLfixed a, int shift) in gglMulSubx()
[all …]
/system/extras/perfprofd/quipper/base/
Dport.h16 #define GG_LONGLONG(x) x##I64 argument
17 #define GG_ULONGLONG(x) x##UI64 argument
19 #define GG_LONGLONG(x) x##LL argument
20 #define GG_ULONGLONG(x) x##ULL argument
26 #define GG_INT64_C(x) GG_LONGLONG(x) argument
27 #define GG_UINT64_C(x) GG_ULONGLONG(x) argument
/system/core/libbacktrace/
DGetPss.cpp27 #define _BITS(x, offset, bits) (((x) >> offset) & ((1LL << (bits)) - 1)) argument
29 #define PAGEMAP_PRESENT(x) (_BITS(x, 63, 1)) argument
30 #define PAGEMAP_SWAPPED(x) (_BITS(x, 62, 1)) argument
31 #define PAGEMAP_SHIFT(x) (_BITS(x, 55, 6)) argument
32 #define PAGEMAP_PFN(x) (_BITS(x, 0, 55)) argument
33 #define PAGEMAP_SWAP_OFFSET(x) (_BITS(x, 5, 50)) argument
34 #define PAGEMAP_SWAP_TYPE(x) (_BITS(x, 0, 5)) argument
/system/core/base/include/base/
Dlogging.h117 #define CHECK(x) \ argument
139 #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) argument
140 #define CHECK_NE(x, y) CHECK_OP(x, y, != ) argument
141 #define CHECK_LE(x, y) CHECK_OP(x, y, <= ) argument
142 #define CHECK_LT(x, y) CHECK_OP(x, y, < ) argument
143 #define CHECK_GE(x, y) CHECK_OP(x, y, >= ) argument
144 #define CHECK_GT(x, y) CHECK_OP(x, y, > ) argument
176 #define CHECK_CONSTEXPR(x, out, dummy) \ argument
190 #define DCHECK(x) \ argument
192 #define DCHECK_EQ(x, y) \ argument
[all …]
/system/bt/stack/smp/
Daes.c80 #define f1(x) (x) argument
81 #define f2(x) ((x << 1) ^ (((x >> 7) & 1) * WPOLY)) argument
82 #define f4(x) ((x << 2) ^ (((x >> 6) & 1) * WPOLY) ^ (((x >> 6) & 2) * WPOLY)) argument
83 #define f8(x) ((x << 3) ^ (((x >> 5) & 1) * WPOLY) ^ (((x >> 5) & 2) * WPOLY) \ argument
85 #define d2(x) (((x) >> 1) ^ ((x) & 1 ? DPOLY : 0)) argument
87 #define f3(x) (f2(x) ^ x) argument
88 #define f9(x) (f8(x) ^ x) argument
89 #define fb(x) (f8(x) ^ f2(x) ^ x) argument
90 #define fd(x) (f8(x) ^ f4(x) ^ x) argument
91 #define fe(x) (f8(x) ^ f4(x) ^ f2(x)) argument
[all …]
/system/core/include/cutils/
Dbitops.h49 #define BITS_TO_WORDS(x) (((x) + BITS_PER_WORD - 1) / BITS_PER_WORD) argument
50 #define BIT_IN_WORD(x) ((x) % BITS_PER_WORD) argument
51 #define BIT_WORD(x) ((x) / BITS_PER_WORD) argument
52 #define BIT_MASK(x) (1 << BIT_IN_WORD(x)) argument
103 static inline int popcount(unsigned int x) in popcount()
108 static inline int popcountl(unsigned long x) in popcountl()
113 static inline int popcountll(unsigned long long x) in popcountll()
Dklog.h43 #define KLOG_ERROR(tag,x...) klog_write(KLOG_ERROR_LEVEL, "<3>" tag ": " x) argument
44 #define KLOG_WARNING(tag,x...) klog_write(KLOG_WARNING_LEVEL, "<4>" tag ": " x) argument
45 #define KLOG_NOTICE(tag,x...) klog_write(KLOG_NOTICE_LEVEL, "<5>" tag ": " x) argument
46 #define KLOG_INFO(tag,x...) klog_write(KLOG_INFO_LEVEL, "<6>" tag ": " x) argument
47 #define KLOG_DEBUG(tag,x...) klog_write(KLOG_DEBUG_LEVEL, "<7>" tag ": " x) argument
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/include/linux/kernel/
Dkernel.h23 #define PERF_ALIGN(x,a) __PERF_ALIGN_MASK(x, (typeof(x)) (a) - 1) argument
25 #define __PERF_ALIGN_MASK(x,mask) (((x) + (mask)) & ~(mask)) argument
36 #define max(x,y) ({ typeof(x) _max1 = (x); typeof(y) _max2 = (y); (void) (& _max1 == & _max2); _max… argument
40 #define min(x,y) ({ typeof(x) _min1 = (x); typeof(y) _min2 = (y); (void) (& _min1 == & _min2); _min… argument
43 #define roundup(x,y) (\ argument
58 #define cpu_to_le64(x) (x) argument
59 #define cpu_to_le32(x) (x) argument
74 #define __round_mask(x,y) ((__typeof__(x)) ((y) - 1)) argument
75 #define round_up(x,y) ((((x) - 1) | __round_mask(x, y)) + 1) argument
76 #define round_down(x,y) ((x) & ~__round_mask(x, y)) argument
/system/core/init/
Dlog.h22 #define ERROR(x...) init_klog_write(KLOG_ERROR_LEVEL, x) argument
23 #define NOTICE(x...) init_klog_write(KLOG_NOTICE_LEVEL, x) argument
24 #define INFO(x...) init_klog_write(KLOG_INFO_LEVEL, x) argument
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/kernel/
Dkernel.h11 #define PERF_ALIGN(x, a) __PERF_ALIGN_MASK(x, (typeof(x))(a)-1) argument
12 #define __PERF_ALIGN_MASK(x, mask) (((x)+(mask))&~(mask)) argument
34 #define max(x, y) ({ \ argument
42 #define min(x, y) ({ \ argument
50 #define roundup(x, y) ( \ argument
70 #define cpu_to_le64(x) (x) argument
71 #define cpu_to_le32(x) (x) argument
130 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) argument
131 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) argument
132 #define round_down(x, y) ((x) & ~__round_mask(x, y)) argument
/system/core/libpixelflinger/codeflinger/
Ddisassem.c282 #define insn_condition(x) arm32_insn_conditions[(x >> 28) & 0x0f] argument
283 #define insn_blktrans(x) insn_block_transfers[(x >> 23) & 3] argument
284 #define insn_stkblktrans(x) insn_stack_block_transfers[(3*((x >> 20)&1))^((x >> 23)&3)] argument
285 #define op2_shift(x) op_shifts[(x >> 5) & 3] argument
286 #define insn_fparnd(x) insn_fpa_rounding[(x >> 5) & 0x03] argument
287 #define insn_fpaprec(x) insn_fpa_precision[(((x >> 18) & 2)|(x >> 7)) & 1] argument
288 #define insn_fpaprect(x) insn_fpa_precision[(((x >> 21) & 2)|(x >> 15)) & 1] argument
289 #define insn_fpaimm(x) insn_fpaconstants[x & 0x07] argument
/system/core/libnetutils/
Ddhcpmsg.c26 uint8_t *x; in init_dhcp_msg() local
57 uint8_t *x; in init_dhcp_discover_msg() local
76 uint8_t *x; in init_dhcp_request_msg() local
/system/bt/embdrv/sbc/decoder/include/
Doi_codec_sbc_private.h46 #define ERROR(x) do { printf x; printf("\n"); } while (0) argument
48 #define ERROR(x) argument
52 #define TRACE(x) do { printf x; printf("\n"); } while (0) argument
54 #define TRACE(x) argument
106 #define VALID_INT16(x) (((x) >= OI_INT16_MIN) && ((x) <= OI_INT16_MAX)) argument
107 #define VALID_INT32(x) (((x) >= OI_INT32_MIN) && ((x) <= OI_INT32_MAX)) argument
/system/core/toolbox/
Dr.c81 uint32_t* x = (uint32_t*) (((uintptr_t) page) + (addr & 4095)); in main() local
87 uint16_t* x = (uint16_t*) (((uintptr_t) page) + (addr & 4095)); in main() local
93 uint8_t* x = (uint8_t*) (((uintptr_t) page) + (addr & 4095)); in main() local
/system/bt/osi/test/
Dlist_test.cpp61 int x; in TEST_F() local
71 int x[] = { 1, 2, 3, 4, 5 }; in TEST_F() local
83 int x[] = { 1, 2, 3, 4, 5 }; in TEST_F() local
95 int x[] = { 1, 2, 3, 4, 5 }; in TEST_F() local
109 int x[] = { 1, 2, 3, 4, 5 }; in TEST_F() local
123 int x[] = { 1, 2, 3, 4, 5 }; in TEST_F() local
/system/extras/ext4_utils/
Dsha1.c53 #define R0(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk0(i)+0x5A827999+rol(v,5);w=rol(w,30); argument
54 #define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=rol(w,30); argument
55 #define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30); argument
56 #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
57 #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30); argument
76 #define nR0(v,w,x,y,z,i) R0(*v,*w,*x,*y,*z,i) argument
77 #define nR1(v,w,x,y,z,i) R1(*v,*w,*x,*y,*z,i) argument
78 #define nR2(v,w,x,y,z,i) R2(*v,*w,*x,*y,*z,i) argument
79 #define nR3(v,w,x,y,z,i) R3(*v,*w,*x,*y,*z,i) argument
80 #define nR4(v,w,x,y,z,i) R4(*v,*w,*x,*y,*z,i) argument
/system/core/fs_mgr/
Dfs_mgr_priv.h23 #define INFO(x...) KLOG_INFO("fs_mgr", x) argument
24 #define WARNING(x...) KLOG_WARNING("fs_mgr", x) argument
25 #define ERROR(x...) KLOG_ERROR("fs_mgr", x) argument
/system/bt/embdrv/sbc/decoder/srce/
Dsynthesis-dct8.c50 #define SCALE(x, y) (((x) + (1 <<((y)-1))) >> (y)) argument
84 #define FIX(x,bits) (((int)floor(0.5f+((x)*((float)(1<<bits)))))/((float)(1<<bits))) in float_dct2_8() argument
85 #define FLOAT_BUTTERFLY(x,y) x += y; y = x - (y*2); OI_ASSERT(VALID_INT32(x)); OI_ASSERT(VALID_INT3… in float_dct2_8() argument
87 #define FLOAT_SCALE(x, y) (((x) / (double)(1 << (y)))) in float_dct2_8() argument
211 #define BUTTERFLY(x,y) x += y; y = x - (y<<1); in dct2_8() argument
212 #define FIX_MULT_DCT(K, x) (MUL_32S_32S_HI(K,x)<<2) in dct2_8() argument
/system/bt/test/suite/cases/
Dcases.h23 #define TEST_CASE_DECL(x) bool x() argument
24 #define TEST_CASE(x) { x, #x } argument
/system/bt/stack/gap/
Dgap_utils.c36 UINT8 x; in gap_allocate_cb() local
90 UINT8 x; in gap_is_service_busy() local
/system/core/libsparse/
Dsparse_defs.h42 #define DIV_ROUND_UP(x, y) (((x) + (y) - 1)/(y)) argument
43 #define ALIGN(x, y) ((y) * DIV_ROUND_UP((x), (y))) argument
44 #define ALIGN_DOWN(x, y) ((y) * ((x) / (y))) argument

1234567