/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/extras/ext4_utils/include/ext4_utils/ |
D | ext4_utils.h | 86 typedef unsigned int u32; typedef 94 u32 bg_block_bitmap; 95 u32 bg_inode_bitmap; 96 u32 bg_inode_table; 101 u32 bg_reserved[2]; 114 u32 first_data_block; 116 u32 inode_table_blocks; 117 u32 groups; 118 u32 bg_desc_blocks; 119 u32 default_i_flags; [all …]
|
/system/netd/server/ |
D | StrictController.cpp | 90 const char *u32; in enableStrict() local 91 u32 = "0>>22&0x3C@ 12>>26&0x3C@ 0&0xFFFF0000=0x16030000 &&" in enableStrict() 94 LOCAL_CLEAR_DETECT, u32, connmarkFlagAccept); in enableStrict() 96 u32 = "0>>22&0x3C@ 8&0xFFFF0000=0x16FE0000 &&" in enableStrict() 99 LOCAL_CLEAR_DETECT, u32, connmarkFlagAccept); in enableStrict() 104 u32 = "52>>26&0x3C@ 40&0xFFFF0000=0x16030000 &&" in enableStrict() 107 LOCAL_CLEAR_DETECT, u32, connmarkFlagAccept); in enableStrict() 109 u32 = "48&0xFFFF0000=0x16FE0000 &&" in enableStrict() 112 LOCAL_CLEAR_DETECT, u32, connmarkFlagAccept); in enableStrict() 121 u32 = "0>>22&0x3C@ 12>>26&0x3C@ 0&0x0=0x0"; in enableStrict() [all …]
|
/system/bt/stack/include/ |
D | bt_types.h | 267 #define UINT32_TO_STREAM(p, u32) \ argument 269 *(p)++ = (uint8_t)(u32); \ 270 *(p)++ = (uint8_t)((u32) >> 8); \ 271 *(p)++ = (uint8_t)((u32) >> 16); \ 272 *(p)++ = (uint8_t)((u32) >> 24); \ 342 #define STREAM_TO_UINT24(u32, p) \ argument 344 (u32) = (((uint32_t)(*(p))) + ((((uint32_t)(*((p) + 1)))) << 8) + \ 348 #define STREAM_TO_UINT32(u32, p) \ argument 350 (u32) = (((uint32_t)(*(p))) + ((((uint32_t)(*((p) + 1)))) << 8) + \ 421 #define UINT32_TO_FIELD(p, u32) \ argument [all …]
|
D | avrc_defs.h | 982 #define AVRC_CO_ID_TO_BE_STREAM(p, u32) \ argument 984 *(p)++ = (uint8_t)((u32) >> 16); \ 985 *(p)++ = (uint8_t)((u32) >> 8); \ 986 *(p)++ = (uint8_t)(u32); \ 988 #define AVRC_BE_STREAM_TO_CO_ID(u32, p) \ argument 990 (u32) = (((uint32_t)(*((p) + 2))) + (((uint32_t)(*((p) + 1))) << 8) + \
|
D | sdp_api.h | 94 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 274 BE_STREAM_TO_UINT32(u32, p); in avrc_pars_vendor_cmd() 276 if (u32 == 0 && u32_2 == 0) { in avrc_pars_vendor_cmd()
|
/system/extras/ext4_utils/ |
D | ext4_utils.c | 57 int bitmap_get_bit(u8 *bitmap, u32 bit) in bitmap_get_bit() 65 void bitmap_clear_bit(u8 *bitmap, u32 bit) in bitmap_clear_bit() 116 aux_info.blocks_per_ind = info.block_size / sizeof(u32); in ext4_create_fs_aux_info() 126 u32 last_group_size = aux_info.len_blocks % info.blocks_per_group; in ext4_create_fs_aux_info() 127 u32 last_header_size = 2 + aux_info.inode_table_blocks; in ext4_create_fs_aux_info()
|
/system/keymaster/key_blob_utils/ |
D | ocb.c | 115 uint32_t u32[2]; in bswap64() member 118 out.u32[0] = bswap32(in.u32[1]); in bswap64() 119 out.u32[1] = bswap32(in.u32[0]); in bswap64() 754 uint32_t u32[4]; in gen_offset_from_nonce() member 763 tmp.u32[0] = 0x01000000 + ((OCB_TAG_LEN * 8 % 128) << 1); in gen_offset_from_nonce() 765 tmp.u32[0] = 0x00000001 + ((OCB_TAG_LEN * 8 % 128) << 25); in gen_offset_from_nonce() 768 tmp.u32[0] = 0x01000000 + ((ctx->tag_len * 8 % 128) << 1); in gen_offset_from_nonce() 770 tmp.u32[0] = 0x00000001 + ((ctx->tag_len * 8 % 128) << 25); in gen_offset_from_nonce() 772 tmp.u32[1] = ((uint32_t*)nonce)[0]; in gen_offset_from_nonce() 773 tmp.u32[2] = ((uint32_t*)nonce)[1]; in gen_offset_from_nonce() [all …]
|
/system/bt/stack/sdp/ |
D | sdp_utils.cc | 549 uint32_t u32; in sdpu_get_len_from_type() local 576 BE_STREAM_TO_UINT32(u32, p); in sdpu_get_len_from_type() 577 *p_len = (uint16_t)u32; in sdpu_get_len_from_type() 693 if (len == 4) return uuid.As32Bit() == p_attr->attr_value.v.u32; in sdpu_compare_uuid_with_attr()
|
D | sdp_discovery.cc | 891 BE_STREAM_TO_UINT32(p_attr->attr_value.v.u32, p); in add_attr() 905 BE_STREAM_TO_UINT32(p_attr->attr_value.v.u32, p); in add_attr() 906 if (p_attr->attr_value.v.u32 < 0x10000) { in add_attr() 909 p_attr->attr_value.v.u16 = (uint16_t)p_attr->attr_value.v.u32; in add_attr() 924 BE_STREAM_TO_UINT32(p_attr->attr_value.v.u32, p); in add_attr()
|
D | sdp_api.cc | 312 *p_uuid = Uuid::From32Bit(p_sattr->attr_value.v.u32); in SDP_FindServiceUUIDInRec()
|
/system/vold/ |
D | EncryptInplace.cpp | 200 u32 first_block = aux_info.first_data_block + i * info.blocks_per_group; in encrypt_groups() 201 u32 block_count = std::min(info.blocks_per_group, in encrypt_groups() 202 (u32)(aux_info.len_blocks - first_block)); in encrypt_groups() 261 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/extras/f2fs_utils/ |
D | f2fs_sparseblock.c | 272 u32 bmp_size; in get_valid_checkpoint_info() 424 u32 bmp_size = le32_to_cpu(cp->sit_ver_bitmap_bytesize); in generate_f2fs_info()
|
/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 | 384 uint32_t u32; in bta_av_group_navi_supported() local 387 BTA_AV_BE_STREAM_TO_CO_ID(u32, p_ptr); in bta_av_group_navi_supported() 390 if (u32 == AVRC_CO_METADATA) { in bta_av_group_navi_supported()
|