/system/core/base/include/android-base/ |
D | endian.h | 35 #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 …]
|
D | logging.h | 178 #define ABORT_AFTER_LOG_EXPR_IF(c, x) (((c) && ::android::base::LogAbortAfterFullExpr()) || (x)) argument 183 #define ABORT_AFTER_LOG_EXPR_IF(c, x) (x) argument 186 #define ABORT_AFTER_LOG_FATAL_EXPR(x) ABORT_AFTER_LOG_EXPR_IF(true, x) argument 250 #define CHECK(x) \ argument 274 #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) argument 275 #define CHECK_NE(x, y) CHECK_OP(x, y, != ) argument 276 #define CHECK_LE(x, y) CHECK_OP(x, y, <= ) argument 277 #define CHECK_LT(x, y) CHECK_OP(x, y, < ) argument 278 #define CHECK_GE(x, y) CHECK_OP(x, y, >= ) argument 279 #define CHECK_GT(x, y) CHECK_OP(x, y, > ) argument [all …]
|
D | thread_annotations.h | 21 #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 74 #define ASSERT_CAPABILITY(x) \ argument 77 #define ASSERT_SHARED_CAPABILITY(x) \ argument 80 #define RETURN_CAPABILITY(x) \ argument 101 #define LOCK_RETURNED(x) \ argument
|
/system/core/libutils/include/utils/ |
D | ByteOrder.h | 55 #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/ |
D | hcidefs.h | 1085 #define HCI_CVSD_SUPPORTED(x) \ argument 1087 #define HCI_U_LAW_SUPPORTED(x) \ argument 1089 #define HCI_A_LAW_SUPPORTED(x) \ argument 1091 #define HCI_TRANSPNT_SUPPORTED(x) \ argument 1301 #define HCI_FEATURES_KNOWN(x) \ argument 1305 #define HCI_3_SLOT_PACKETS_SUPPORTED(x) ((x)[0] & 0x01) argument 1306 #define HCI_5_SLOT_PACKETS_SUPPORTED(x) ((x)[0] & 0x02) argument 1307 #define HCI_ENCRYPTION_SUPPORTED(x) ((x)[0] & 0x04) argument 1308 #define HCI_SLOT_OFFSET_SUPPORTED(x) ((x)[0] & 0x08) argument 1309 #define HCI_TIMING_ACC_SUPPORTED(x) ((x)[0] & 0x10) argument [all …]
|
/system/core/libpixelflinger/include/private/pixelflinger/ |
D | ggl_context.h | 94 #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/extras/perfprofd/quipper/base/ |
D | port.h | 16 #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/ |
D | GetPss.cpp | 27 #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/ |
D | aes.cc | 81 #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_vndk/cutils/ |
D | klog.h | 40 #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
|
D | bitops.h | 27 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/ |
D | klog.h | 40 #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
|
D | bitops.h | 27 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/extras/perfprofd/quipper/kernel-headers/tools/perf/util/include/linux/kernel/ |
D | kernel.h | 23 #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/sepolicy/tools/ |
D | post_process_mac_perms | 52 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/ |
D | healthd_draw.cpp | 23 #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
|
D | AnimationParser.cpp | 26 #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/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/kernel/ |
D | kernel.h | 11 #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/ |
D | disassem.c | 282 #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/ |
D | dhcpmsg.c | 26 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/ |
D | oi_codec_sbc_private.h | 47 #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/chre/util/include/chre/util/ |
D | macros.h | 28 #define STRINGIFY(x) STRINGIFY2(x) argument 29 #define STRINGIFY2(x) #x argument
|
/system/bt/osi/test/ |
D | list_test.cc | 61 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/extras/libpagemap/include/pagemap/ |
D | pagemap.h | 163 #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
|
/system/extras/ext4_utils/ |
D | sha1.c | 50 #define R0(v,w,x,y,z,i) z+=(((w)&((x)^(y)))^(y))+blk0(i)+0x5A827999+rol(v,5);(w)=rol(w,30); argument 51 #define R1(v,w,x,y,z,i) z+=(((w)&((x)^(y)))^(y))+blk(i)+0x5A827999+rol(v,5);(w)=rol(w,30); argument 52 #define R2(v,w,x,y,z,i) z+=((w)^(x)^(y))+blk(i)+0x6ED9EBA1+rol(v,5);(w)=rol(w,30); argument 53 #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 54 #define R4(v,w,x,y,z,i) z+=((w)^(x)^(y))+blk(i)+0xCA62C1D6+rol(v,5);(w)=rol(w,30); argument 73 #define nR0(v,w,x,y,z,i) R0(*v,*w,*x,*y,*z,i) argument 74 #define nR1(v,w,x,y,z,i) R1(*v,*w,*x,*y,*z,i) argument 75 #define nR2(v,w,x,y,z,i) R2(*v,*w,*x,*y,*z,i) argument 76 #define nR3(v,w,x,y,z,i) R3(*v,*w,*x,*y,*z,i) argument 77 #define nR4(v,w,x,y,z,i) R4(*v,*w,*x,*y,*z,i) argument
|