/system/libbase/include/android-base/ |
D | endian.h | 37 #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 …]
|
D | logging.h | 190 #define ABORT_AFTER_LOG_EXPR_IF(c, x) (((c) && ::android::base::LogAbortAfterFullExpr()) || (x)) argument 195 #define ABORT_AFTER_LOG_EXPR_IF(c, x) (x) argument 198 #define ABORT_AFTER_LOG_FATAL_EXPR(x) ABORT_AFTER_LOG_EXPR_IF(true, x) argument 249 #define CHECK(x) \ argument 278 #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) argument 279 #define CHECK_NE(x, y) CHECK_OP(x, y, != ) argument 280 #define CHECK_LE(x, y) CHECK_OP(x, y, <= ) argument 281 #define CHECK_LT(x, y) CHECK_OP(x, y, < ) argument 282 #define CHECK_GE(x, y) CHECK_OP(x, y, >= ) argument 283 #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 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
|
D | no_destructor.h | 72 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/bt/stack/include/ |
D | hcidefs.h | 951 #define HCI_3_SLOT_PACKETS_SUPPORTED(x) ((x)[0] & 0x01) argument 952 #define HCI_5_SLOT_PACKETS_SUPPORTED(x) ((x)[0] & 0x02) argument 953 #define HCI_ENCRYPTION_SUPPORTED(x) ((x)[0] & 0x04) argument 954 #define HCI_SLOT_OFFSET_SUPPORTED(x) ((x)[0] & 0x08) argument 955 #define HCI_TIMING_ACC_SUPPORTED(x) ((x)[0] & 0x10) argument 956 #define HCI_SWITCH_SUPPORTED(x) ((x)[0] & 0x20) argument 957 #define HCI_HOLD_MODE_SUPPORTED(x) ((x)[0] & 0x40) argument 958 #define HCI_SNIFF_MODE_SUPPORTED(x) ((x)[0] & 0x80) argument 960 #define HCI_PARK_MODE_SUPPORTED(x) ((x)[1] & 0x01) argument 961 #define HCI_RSSI_SUPPORTED(x) ((x)[1] & 0x02) argument [all …]
|
/system/memory/libmeminfo/ |
D | meminfo_private.h | 27 #define _BITS(x, offset, bits) (((x) >> (offset)) & ((1LL << (bits)) - 1)) argument 30 #define PAGE_PRESENT(x) (_BITS(x, 63, 1)) argument 31 #define PAGE_SWAPPED(x) (_BITS(x, 62, 1)) argument 32 #define PAGE_SHIFT(x) (_BITS(x, 55, 6)) argument 33 #define PAGE_PFN(x) (_BITS(x, 0, 55)) argument 34 #define PAGE_SWAP_OFFSET(x) (_BITS(x, 5, 50)) argument 35 #define PAGE_SWAP_TYPE(x) (_BITS(x, 0, 5)) argument 38 #define KPAGEFLAG_THP(x) (_BITS(x, 22, 1)) argument
|
/system/core/libutils/include/utils/ |
D | ByteOrder.h | 39 #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
|
D | Mutex.h | 34 #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/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/core/libcutils/include_outside_system/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/bt/gd/crypto_toolbox/ |
D | aes.cc | 78 #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/bt/stack/crypto_toolbox/ |
D | aes.cc | 78 #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/nfc/src/include/ |
D | gki_hal_target.h | 79 #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/ |
D | healthd_draw.cpp | 24 #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
|
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/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/netd/bpf_progs/ |
D | bpf_net_helpers.h | 59 #define htons(x) (__builtin_constant_p(x) ? ___constant_swab16(x) : __builtin_bswap16(x)) argument 60 #define htonl(x) (__builtin_constant_p(x) ? ___constant_swab32(x) : __builtin_bswap32(x)) argument 61 #define ntohs(x) htons(x) argument 62 #define ntohl(x) htonl(x) 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/chre/apps/tflm_demo/src/ |
D | sine_model_data.cc | 25 #define HAVE_ATTRIBUTE(x) __has_attribute(x) argument 27 #define HAVE_ATTRIBUTE(x) 0 argument
|
/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/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/bt/embdrv/sbc/decoder/srce/ |
D | synthesis-dct8.c | 51 #define SCALE(x, y) (((x) + (1 << ((y)-1))) >> (y)) argument 84 #define FIX(x, bits) \ in float_dct2_8() argument 86 #define FLOAT_BUTTERFLY(x, y) \ in float_dct2_8() argument 92 #define FLOAT_SCALE(x, y) (((x) / (double)(1 << (y)))) in float_dct2_8() argument 251 #define BUTTERFLY(x, y) \ in dct2_8() argument 254 #define FIX_MULT_DCT(K, x) (MUL_32S_32S_HI(K, x) << 2) in dct2_8() argument
|
/system/extras/squashfs_utils/ |
D | squashfs_utils.c | 31 #define ERROR(x...) fprintf(stderr, x) argument 33 #define ERROR(x...) KLOG_ERROR("squashfs_utils", x) argument
|