/system/extras/ext4_utils/include/ext4_utils/ |
D | ext4_utils.h | 80 typedef unsigned int u32; typedef 88 u32 bg_block_bitmap; 89 u32 bg_inode_bitmap; 90 u32 bg_inode_table; 95 u32 bg_reserved[2]; 108 u32 first_data_block; 110 u32 inode_table_blocks; 111 u32 groups; 112 u32 bg_desc_blocks; 113 u32 default_i_flags; [all …]
|
/system/nfc/src/include/ |
D | nfc_types.h | 50 #define UINT32_TO_STREAM(p, u32) \ argument 52 *(p)++ = (uint8_t)(u32); \ 53 *(p)++ = (uint8_t)((u32) >> 8); \ 54 *(p)++ = (uint8_t)((u32) >> 16); \ 55 *(p)++ = (uint8_t)((u32) >> 24); \ 86 #define STREAM_TO_UINT32(u32, p) \ argument 88 (u32) = (((uint32_t)(*(p))) + ((((uint32_t)(*((p) + 1)))) << 8) + \ 109 #define UINT32_TO_BE_STREAM(p, u32) \ argument 111 *(p)++ = (uint8_t)((u32) >> 24); \ 112 *(p)++ = (uint8_t)((u32) >> 16); \ [all …]
|
/system/netd/server/ |
D | StrictController.cpp | 90 const char *u32; in setupIptablesHooks() local 91 u32 = "0>>22&0x3C@ 12>>26&0x3C@ 0&0xFFFF0000=0x16030000 &&" in setupIptablesHooks() 94 LOCAL_CLEAR_DETECT, u32, connmarkFlagAccept); in setupIptablesHooks() 96 u32 = "0>>22&0x3C@ 8&0xFFFF0000=0x16FE0000 &&" in setupIptablesHooks() 99 LOCAL_CLEAR_DETECT, u32, connmarkFlagAccept); in setupIptablesHooks() 104 u32 = "52>>26&0x3C@ 40&0xFFFF0000=0x16030000 &&" in setupIptablesHooks() 107 LOCAL_CLEAR_DETECT, u32, connmarkFlagAccept); in setupIptablesHooks() 109 u32 = "48&0xFFFF0000=0x16FE0000 &&" in setupIptablesHooks() 112 LOCAL_CLEAR_DETECT, u32, connmarkFlagAccept); in setupIptablesHooks() 121 u32 = "0>>22&0x3C@ 12>>26&0x3C@ 0&0x0=0x0"; in setupIptablesHooks() [all …]
|
D | OffloadUtils.cpp | 284 __u32 u32; in tcFilterAddDevBpf() member 292 __u32 u32; in tcFilterAddDevBpf() member 334 .u32 = static_cast<__u32>(bpfFd), in tcFilterAddDevBpf() 354 .u32 = TCA_BPF_FLAG_ACT_DIRECT, in tcFilterAddDevBpf()
|
/system/bt/stack/include/ |
D | bt_types.h | 272 #define UINT32_TO_STREAM(p, u32) \ argument 274 *(p)++ = (uint8_t)(u32); \ 275 *(p)++ = (uint8_t)((u32) >> 8); \ 276 *(p)++ = (uint8_t)((u32) >> 16); \ 277 *(p)++ = (uint8_t)((u32) >> 24); \ 347 #define STREAM_TO_UINT24(u32, p) \ argument 349 (u32) = (((uint32_t)(*(p))) + ((((uint32_t)(*((p) + 1)))) << 8) + \ 353 #define STREAM_TO_UINT32(u32, p) \ argument 355 (u32) = (((uint32_t)(*(p))) + ((((uint32_t)(*((p) + 1)))) << 8) + \ 426 #define UINT32_TO_FIELD(p, u32) \ argument [all …]
|
D | avrc_defs.h | 983 #define AVRC_CO_ID_TO_BE_STREAM(p, u32) \ argument 985 *(p)++ = (uint8_t)((u32) >> 16); \ 986 *(p)++ = (uint8_t)((u32) >> 8); \ 987 *(p)++ = (uint8_t)(u32); \ 989 #define AVRC_BE_STREAM_TO_CO_ID(u32, p) \ argument 991 (u32) = (((uint32_t)(*((p) + 2))) + (((uint32_t)(*((p) + 1))) << 8) + \
|
D | sdp_api.h | 91 uint32_t u32; /* 32-bit integer */ member
|
/system/core/libsparse/ |
D | sparse_defs.h | 24 #define __le32 u32 28 #define __be32 u32 32 #define __u32 u32 38 typedef unsigned int u32; typedef
|
/system/bt/stack/avrc/ |
D | avrc_int.h | 74 #define AVRC_CO_ID_TO_BE_STREAM(p, u32) \ argument 76 *(p)++ = (uint8_t)((u32) >> 16); \ 77 *(p)++ = (uint8_t)((u32) >> 8); \ 78 *(p)++ = (uint8_t)(u32); \ 80 #define AVRC_BE_STREAM_TO_CO_ID(u32, p) \ argument 82 (u32) = (((uint32_t)(*((p) + 2))) + (((uint32_t)(*((p) + 1))) << 8) + \
|
D | avrc_pars_tg.cc | 105 uint32_t u32, u32_2, *p_u32; in avrc_pars_vendor_cmd() local 277 BE_STREAM_TO_UINT32(u32, p); in avrc_pars_vendor_cmd() 279 if (u32 == 0 && u32_2 == 0) { in avrc_pars_vendor_cmd()
|
/system/core/trusty/utils/rpmb_dev/ |
D | rpmb_protocol.h | 118 static inline uint32_t rpmb_get_u32(struct rpmb_u32 u32) { in rpmb_get_u32() argument 123 for (i = 0; i < sizeof(u32.byte); i++) in rpmb_get_u32() 124 val = val << 8 | u32.byte[i]; in rpmb_get_u32()
|
/system/extras/ext4_utils/ |
D | ext4_utils.cpp | 59 int bitmap_get_bit(u8 *bitmap, u32 bit) in bitmap_get_bit() 67 void bitmap_clear_bit(u8 *bitmap, u32 bit) in bitmap_clear_bit() 118 aux_info.blocks_per_ind = info.block_size / sizeof(u32); in ext4_create_fs_aux_info() 128 u32 last_group_size = aux_info.len_blocks == info.blocks_per_group in ext4_create_fs_aux_info() 130 u32 last_header_size = 2 + aux_info.inode_table_blocks; in ext4_create_fs_aux_info()
|
/system/keymaster/key_blob_utils/ |
D | ocb.c | 116 uint32_t u32[2]; in bswap64() member 119 out.u32[0] = bswap32(in.u32[1]); in bswap64() 120 out.u32[1] = bswap32(in.u32[0]); in bswap64() 767 uint32_t u32[4]; in gen_offset_from_nonce() member 776 tmp.u32[0] = 0x01000000 + ((OCB_TAG_LEN * 8 % 128) << 1); in gen_offset_from_nonce() 778 tmp.u32[0] = 0x00000001 + ((OCB_TAG_LEN * 8 % 128) << 25); in gen_offset_from_nonce() 781 tmp.u32[0] = 0x01000000 + ((ctx->tag_len * 8 % 128) << 1); in gen_offset_from_nonce() 783 tmp.u32[0] = 0x00000001 + ((ctx->tag_len * 8 % 128) << 25); in gen_offset_from_nonce() 785 tmp.u32[1] = ((uint32_t*)nonce)[0]; in gen_offset_from_nonce() 786 tmp.u32[2] = ((uint32_t*)nonce)[1]; in gen_offset_from_nonce() [all …]
|
/system/bt/stack/sdp/ |
D | sdp_utils.cc | 237 uint32_t map_supported_features = p_attr->attr_value.v.u32; in sdpu_log_attribute_metrics() 251 uint32_t pbap_supported_features = p_attr->attr_value.v.u32; in sdpu_log_attribute_metrics() 796 uint32_t u32; in sdpu_get_len_from_type() local 835 BE_STREAM_TO_UINT32(u32, p); in sdpu_get_len_from_type() 836 *p_len = (uint16_t)u32; in sdpu_get_len_from_type() 952 if (len == 4) return uuid.As32Bit() == p_attr->attr_value.v.u32; in sdpu_compare_uuid_with_attr()
|
D | sdp_discovery.cc | 883 BE_STREAM_TO_UINT32(p_attr->attr_value.v.u32, p); in add_attr() 897 BE_STREAM_TO_UINT32(p_attr->attr_value.v.u32, p); in add_attr() 898 if (p_attr->attr_value.v.u32 < 0x10000) { in add_attr() 901 p_attr->attr_value.v.u16 = (uint16_t)p_attr->attr_value.v.u32; in add_attr() 916 BE_STREAM_TO_UINT32(p_attr->attr_value.v.u32, p); in add_attr()
|
D | sdp_api.cc | 265 *p_uuid = Uuid::From32Bit(p_sattr->attr_value.v.u32); in SDP_FindServiceUUIDInRec()
|
/system/vold/ |
D | EncryptInplace.cpp | 192 u32 first_block = aux_info.first_data_block + i * info.blocks_per_group; in encrypt_groups() 193 u32 block_count = std::min(info.blocks_per_group, (u32)(aux_info.len_blocks - first_block)); in encrypt_groups() 252 u32 i; in cryptfs_enable_inplace_ext4()
|
/system/bt/bta/sdp/ |
D | bta_sdp_act.cc | 66 record->mns.supported_features = p_attr->attr_value.v.u32; in bta_create_mns_sdp_record() 119 record->mas.supported_features = p_attr->attr_value.v.u32; in bta_create_mas_sdp_record() 165 record->pse.supported_features = p_attr->attr_value.v.u32; in bta_create_pse_sdp_record()
|
/system/bt/bta/av/ |
D | bta_av_int.h | 146 #define BTA_AV_BE_STREAM_TO_CO_ID(u32, p) \ argument 148 (u32) = (((uint32_t)(*((p) + 2))) + (((uint32_t)(*((p) + 1))) << 8) + \
|
D | bta_av_act.cc | 394 uint32_t u32; in bta_av_group_navi_supported() local 397 BTA_AV_BE_STREAM_TO_CO_ID(u32, p_ptr); in bta_av_group_navi_supported() 400 if (u32 == AVRC_CO_METADATA) { in bta_av_group_navi_supported()
|
/system/extras/f2fs_utils/ |
D | f2fs_sparseblock.c | 421 u32 bmp_size = le32_to_cpu(cp->sit_ver_bitmap_bytesize); in generate_f2fs_info()
|