Home
last modified time | relevance | path

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

12345678

/system/core/base/include/android-base/
Dendian.h35 #define htonq(x) htobe64(x) argument
36 #define ntohq(x) be64toh(x) argument
39 #define betoh16(x) be16toh(x) argument
40 #define betoh32(x) be32toh(x) argument
41 #define betoh64(x) be64toh(x) argument
56 #define htons(x) __builtin_bswap16(x) argument
57 #define htonl(x) __builtin_bswap32(x) argument
58 #define htonq(x) __builtin_bswap64(x) argument
60 #define ntohs(x) __builtin_bswap16(x) argument
61 #define ntohl(x) __builtin_bswap32(x) argument
[all …]
Dlogging.h195 #define ABORT_AFTER_LOG_EXPR_IF(c, x) (((c) && ::android::base::LogAbortAfterFullExpr()) || (x)) argument
200 #define ABORT_AFTER_LOG_EXPR_IF(c, x) (x) argument
203 #define ABORT_AFTER_LOG_FATAL_EXPR(x) ABORT_AFTER_LOG_EXPR_IF(true, x) argument
267 #define CHECK(x) \ argument
294 #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) argument
295 #define CHECK_NE(x, y) CHECK_OP(x, y, != ) argument
296 #define CHECK_LE(x, y) CHECK_OP(x, y, <= ) argument
297 #define CHECK_LT(x, y) CHECK_OP(x, y, < ) argument
298 #define CHECK_GE(x, y) CHECK_OP(x, y, >= ) argument
299 #define CHECK_GT(x, y) CHECK_OP(x, y, > ) argument
[all …]
Dthread_annotations.h21 #define THREAD_ANNOTATION_ATTRIBUTE__(x) __attribute__((x)) argument
23 #define THREAD_ANNOTATION_ATTRIBUTE__(x) // no-op argument
26 #define CAPABILITY(x) \ argument
35 #define GUARDED_BY(x) \ argument
38 #define PT_GUARDED_BY(x) \ argument
80 #define ASSERT_CAPABILITY(x) \ argument
83 #define ASSERT_SHARED_CAPABILITY(x) \ argument
86 #define RETURN_CAPABILITY(x) \ argument
107 #define LOCK_RETURNED(x) \ argument
/system/core/libutils/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 …]
DMutex.h34 #define THREAD_ANNOTATION_ATTRIBUTE__(x) __attribute__((x)) argument
36 #define THREAD_ANNOTATION_ATTRIBUTE__(x) // no-op argument
39 #define CAPABILITY(x) THREAD_ANNOTATION_ATTRIBUTE__(capability(x)) argument
43 #define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x)) argument
45 #define PT_GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(pt_guarded_by(x)) argument
70 #define ASSERT_CAPABILITY(x) THREAD_ANNOTATION_ATTRIBUTE__(assert_capability(x)) argument
72 #define ASSERT_SHARED_CAPABILITY(x) THREAD_ANNOTATION_ATTRIBUTE__(assert_shared_capability(x)) argument
74 #define RETURN_CAPABILITY(x) THREAD_ANNOTATION_ATTRIBUTE__(lock_returned(x)) argument
/system/bt/stack/include/
Dhcidefs.h1109 #define HCI_CVSD_SUPPORTED(x) \ argument
1111 #define HCI_U_LAW_SUPPORTED(x) \ argument
1113 #define HCI_A_LAW_SUPPORTED(x) \ argument
1115 #define HCI_TRANSPNT_SUPPORTED(x) \ argument
1325 #define HCI_FEATURES_KNOWN(x) \ argument
1329 #define HCI_3_SLOT_PACKETS_SUPPORTED(x) ((x)[0] & 0x01) argument
1330 #define HCI_5_SLOT_PACKETS_SUPPORTED(x) ((x)[0] & 0x02) argument
1331 #define HCI_ENCRYPTION_SUPPORTED(x) ((x)[0] & 0x04) argument
1332 #define HCI_SLOT_OFFSET_SUPPORTED(x) ((x)[0] & 0x08) argument
1333 #define HCI_TIMING_ACC_SUPPORTED(x) ((x)[0] & 0x10) 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
/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/bt/stack/smp/
Daes.cc81 #define f1(x) (x) argument
82 #define f2(x) (((x) << 1) ^ ((((x) >> 7) & 1) * WPOLY)) argument
83 #define f4(x) \ argument
85 #define f8(x) \ argument
88 #define d2(x) (((x) >> 1) ^ ((x)&1 ? DPOLY : 0)) argument
90 #define f3(x) (f2(x) ^ (x)) argument
91 #define f9(x) (f8(x) ^ (x)) argument
92 #define fb(x) (f8(x) ^ f2(x) ^ (x)) argument
93 #define fd(x) (f8(x) ^ f4(x) ^ (x)) argument
94 #define fe(x) (f8(x) ^ f4(x) ^ f2(x)) argument
[all …]
/system/core/libcutils/include/cutils/
Dklog.h40 #define KLOG_ERROR(tag,x...) klog_write(KLOG_ERROR_LEVEL, "<3>" tag ": " x) argument
41 #define KLOG_WARNING(tag,x...) klog_write(KLOG_WARNING_LEVEL, "<4>" tag ": " x) argument
42 #define KLOG_NOTICE(tag,x...) klog_write(KLOG_NOTICE_LEVEL, "<5>" tag ": " x) argument
43 #define KLOG_INFO(tag,x...) klog_write(KLOG_INFO_LEVEL, "<6>" tag ": " x) argument
44 #define KLOG_DEBUG(tag,x...) klog_write(KLOG_DEBUG_LEVEL, "<7>" tag ": " x) argument
Dbitops.h27 static inline int popcount(unsigned int x) { in popcount()
31 static inline int popcountl(unsigned long x) { in popcountl()
35 static inline int popcountll(unsigned long long x) { in popcountll()
/system/core/libcutils/include_vndk/cutils/
Dklog.h40 #define KLOG_ERROR(tag,x...) klog_write(KLOG_ERROR_LEVEL, "<3>" tag ": " x) argument
41 #define KLOG_WARNING(tag,x...) klog_write(KLOG_WARNING_LEVEL, "<4>" tag ": " x) argument
42 #define KLOG_NOTICE(tag,x...) klog_write(KLOG_NOTICE_LEVEL, "<5>" tag ": " x) argument
43 #define KLOG_INFO(tag,x...) klog_write(KLOG_INFO_LEVEL, "<6>" tag ": " x) argument
44 #define KLOG_DEBUG(tag,x...) klog_write(KLOG_DEBUG_LEVEL, "<7>" tag ": " x) argument
Dbitops.h27 static inline int popcount(unsigned int x) { in popcount()
31 static inline int popcountl(unsigned long x) { in popcountl()
35 static inline int popcountll(unsigned long long x) { in popcountll()
/system/nfc/src/include/
Dgki_hal_target.h79 #define GKI_MS_TO_TICKS(x) ((x) / (1000 / TICKS_PER_SEC)) argument
83 #define GKI_SECS_TO_TICKS(x) ((x) * (TICKS_PER_SEC)) argument
87 #define GKI_TICKS_TO_MS(x) ((x)*1000 / TICKS_PER_SEC) argument
91 #define GKI_TICKS_TO_SECS(x) ((x) / TICKS_PER_SEC) argument
105 #define GKI_OS_TICKS_TO_MS(x) ((x)*1000 / OS_TICKS_PER_SEC) argument
109 #define GKI_OS_TICKS_TO_SECS(x) ((x) / OS_TICKS_PER_SEC)) argument
/system/sepolicy/tools/
Dpost_process_mac_perms52 transform = lambda x: b16encode(b64decode(x.replace('\n', ''))).lower() argument
63 transform = lambda x: os.path.join(dirpath, x) argument
64 condition = lambda x: x.endswith('.apk') argument
/system/core/healthd/
Dhealthd_draw.cpp23 #define LOGE(x...) KLOG_ERROR("charger", x); argument
24 #define LOGV(x...) KLOG_DEBUG("charger", x); argument
71 int x = (screen_width_ - w) / 2 + kSplitOffset; in draw_surface_centered() local
85 int HealthdDraw::draw_text(const GRFont* font, int x, int y, const char* str) { in draw_text()
98 const int length, int* x, int* y) { in determine_xy()
142 int x, y; in draw_clock() local
166 int x, y; in draw_percent() local
DAnimationParser.cpp26 #define LOGE(x...) do { KLOG_ERROR("charger", x); } while (0) argument
27 #define LOGW(x...) do { KLOG_WARNING("charger", x); } while (0) argument
28 #define LOGV(x...) do { KLOG_DEBUG("charger", x); } while (0) argument
55 int* x = &field->pos_x; in parse_text_field() local
/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/netd/server/dns/
DDnsTlsServer.cpp42 static bool operator <(const in6_addr& x, const in6_addr& y) { in operator <()
48 static bool operator ==(const in6_addr& x, const in6_addr& y) { in operator ==()
54 static bool operator <(const sockaddr_storage& x, const sockaddr_storage& y) { in operator <()
71 static bool operator ==(const sockaddr_storage& x, const sockaddr_storage& y) { in operator ==()
92 bool AddressComparator::operator() (const DnsTlsServer& x, const DnsTlsServer& y) const { in operator ()() 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/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/embdrv/sbc/decoder/include/
Doi_codec_sbc_private.h47 #define ERROR(x) \ argument
53 #define ERROR(x) argument
57 #define TRACE(x) \ argument
63 #define TRACE(x) argument
113 #define VALID_INT16(x) (((x) >= OI_INT16_MIN) && ((x) <= OI_INT16_MAX)) argument
114 #define VALID_INT32(x) (((x) >= OI_INT32_MIN) && ((x) <= OI_INT32_MAX)) argument
/system/bt/osi/test/
Dlist_test.cc61 int x; in TEST_F() local
71 int x[] = {1, 2, 3, 4, 5}; in TEST_F() local
82 int x[] = {1, 2, 3, 4, 5}; in TEST_F() local
93 int x[] = {1, 2, 3, 4, 5}; in TEST_F() local
106 int x[] = {1, 2, 3, 4, 5}; in TEST_F() local
120 int x[] = {1, 2, 3, 4, 5}; in TEST_F() local
166 int x[] = {1, 2, 3, 4, 5}; in TEST_F() local
183 int x[] = {1, 2, 3, 4, 5}; in TEST_F() local
/system/chre/util/include/chre/util/
Dmacros.h29 #define STRINGIFY(x) STRINGIFY2(x) argument
30 #define STRINGIFY2(x) #x argument
/system/extras/libpagemap/include/pagemap/
Dpagemap.h163 #define _BITS(x, offset, bits) (((x) >> (offset)) & ((1LL << (bits)) - 1)) argument
165 #define PM_PAGEMAP_PRESENT(x) (_BITS(x, 63, 1)) argument
166 #define PM_PAGEMAP_SWAPPED(x) (_BITS(x, 62, 1)) argument
167 #define PM_PAGEMAP_SHIFT(x) (_BITS(x, 55, 6)) argument
168 #define PM_PAGEMAP_PFN(x) (_BITS(x, 0, 55)) argument
169 #define PM_PAGEMAP_SWAP_OFFSET(x) (_BITS(x, 5, 50)) argument
170 #define PM_PAGEMAP_SWAP_TYPE(x) (_BITS(x, 0, 5)) argument

12345678