Home
last modified time | relevance | path

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

12345678910

/system/libbase/include/android-base/
Dendian.h37 #define htonq(x) htobe64(x) argument
38 #define ntohq(x) be64toh(x) argument
41 #define betoh16(x) be16toh(x) argument
42 #define betoh32(x) be32toh(x) argument
43 #define betoh64(x) be64toh(x) argument
44 #define letoh16(x) le16toh(x) argument
45 #define letoh32(x) le32toh(x) argument
46 #define letoh64(x) le64toh(x) argument
58 #define htons(x) __builtin_bswap16(x) argument
59 #define htonl(x) __builtin_bswap32(x) argument
[all …]
Dlogging.h184 #define ABORT_AFTER_LOG_EXPR_IF(c, x) (((c) && ::android::base::LogAbortAfterFullExpr()) || (x)) argument
189 #define ABORT_AFTER_LOG_EXPR_IF(c, x) (x) argument
192 #define ABORT_AFTER_LOG_FATAL_EXPR(x) ABORT_AFTER_LOG_EXPR_IF(true, x) argument
243 #define CHECK(x) \ argument
272 #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) argument
273 #define CHECK_NE(x, y) CHECK_OP(x, y, != ) argument
274 #define CHECK_LE(x, y) CHECK_OP(x, y, <= ) argument
275 #define CHECK_LT(x, y) CHECK_OP(x, y, < ) argument
276 #define CHECK_GE(x, y) CHECK_OP(x, y, >= ) argument
277 #define CHECK_GT(x, y) CHECK_OP(x, y, > ) argument
[all …]
Dthread_annotations.h21 #define THREAD_ANNOTATION_ATTRIBUTE__(x) __attribute__((x)) argument
23 #define CAPABILITY(x) \ argument
32 #define GUARDED_BY(x) \ argument
35 #define PT_GUARDED_BY(x) \ argument
77 #define ASSERT_CAPABILITY(x) \ argument
80 #define ASSERT_SHARED_CAPABILITY(x) \ argument
83 #define RETURN_CAPABILITY(x) \ argument
104 #define LOCK_RETURNED(x) \ argument
Dno_destructor.h72 explicit NoDestructor(const T& x) { new (storage_) T(x); } in NoDestructor()
73 explicit NoDestructor(T&& x) { new (storage_) T(std::move(x)); } in NoDestructor()
/system/memory/libmeminfo/
Dmeminfo_private.h28 #define _BITS(x, offset, bits) (((x) >> (offset)) & ((1LL << (bits)) - 1)) argument
29 #define PAGE_PRESENT(x) (_BITS(x, 63, 1)) argument
30 #define PAGE_SWAPPED(x) (_BITS(x, 62, 1)) argument
31 #define PAGE_SHIFT(x) (_BITS(x, 55, 6)) argument
32 #define PAGE_PFN(x) (_BITS(x, 0, 55)) argument
33 #define PAGE_SWAP_OFFSET(x) (_BITS(x, 5, 50)) argument
34 #define PAGE_SWAP_TYPE(x) (_BITS(x, 0, 5)) argument
/system/core/libutils/include/utils/
DByteOrder.h39 #define dtohl(x) (x) argument
40 #define dtohs(x) (x) argument
41 #define htodl(x) (x) argument
42 #define htods(x) (x) argument
44 #define fromlel(x) (x) argument
45 #define tolel(x) (x) argument
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.h1110 #define HCI_CVSD_SUPPORTED(x) \ argument
1112 #define HCI_U_LAW_SUPPORTED(x) \ argument
1114 #define HCI_A_LAW_SUPPORTED(x) \ argument
1116 #define HCI_TRANSPNT_SUPPORTED(x) \ argument
1328 #define HCI_FEATURES_KNOWN(x) \ argument
1332 #define HCI_3_SLOT_PACKETS_SUPPORTED(x) ((x)[0] & 0x01) argument
1333 #define HCI_5_SLOT_PACKETS_SUPPORTED(x) ((x)[0] & 0x02) argument
1334 #define HCI_ENCRYPTION_SUPPORTED(x) ((x)[0] & 0x04) argument
1335 #define HCI_SLOT_OFFSET_SUPPORTED(x) ((x)[0] & 0x08) argument
1336 #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/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/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/bt/stack/crypto_toolbox/
Daes.cc78 #define f1(x) (x) argument
79 #define f2(x) (((x) << 1) ^ ((((x) >> 7) & 1) * WPOLY)) argument
80 #define f4(x) \ argument
82 #define f8(x) \ 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/bt/gd/crypto_toolbox/
Daes.cc78 #define f1(x) (x) argument
79 #define f2(x) (((x) << 1) ^ ((((x) >> 7) & 1) * WPOLY)) argument
80 #define f4(x) (((x) << 2) ^ ((((x) >> 6) & 1) * WPOLY) ^ ((((x) >> 6) & 2) * WPOLY)) argument
81 #define f8(x) (((x) << 3) ^ ((((x) >> 5) & 1) * WPOLY) ^ ((((x) >> 5) & 2) * WPOLY) ^ ((((x) >> 5) … argument
82 #define d2(x) (((x) >> 1) ^ ((x)&1 ? DPOLY : 0)) argument
84 #define f3(x) (f2(x) ^ (x)) argument
85 #define f9(x) (f8(x) ^ (x)) argument
86 #define fb(x) (f8(x) ^ f2(x) ^ (x)) argument
87 #define fd(x) (f8(x) ^ f4(x) ^ (x)) argument
88 #define fe(x) (f8(x) ^ f4(x) ^ f2(x)) argument
[all …]
/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/core/healthd/
Dhealthd_draw.cpp24 #define LOGE(x...) KLOG_ERROR("charger", x); argument
25 #define LOGW(x...) KLOG_WARNING("charger", x); argument
26 #define LOGV(x...) KLOG_DEBUG("charger", x); argument
110 int x = (screen_width_ - w) / 2 + kSplitOffset; in draw_surface_centered() local
124 int HealthdDraw::draw_text(const GRFont* font, int x, int y, const char* str) { in draw_text()
137 const int length, int* x, int* y) { in determine_xy()
181 int x, y; in draw_clock() local
205 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/netd/bpf_progs/
Dbpf_net_helpers.h51 #define htons(x) (__builtin_constant_p(x) ? ___constant_swab16(x) : __builtin_bswap16(x)) argument
52 #define htonl(x) (__builtin_constant_p(x) ? ___constant_swab32(x) : __builtin_bswap32(x)) argument
53 #define ntohs(x) htons(x) argument
54 #define ntohl(x) htonl(x) 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/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.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.h33 #define STRINGIFY(x) STRINGIFY2(x) argument
34 #define STRINGIFY2(x) #x argument

12345678910