Home
last modified time | relevance | path

Searched refs:u8 (Results 1 – 25 of 41) sorted by relevance

12

/system/extras/ext4_utils/
Dallocate.h51 u8 *bitmaps;
52 u8 *block_bitmap;
53 u8 *inode_bitmap;
54 u8 *inode_table;
Dextent.c29 static u8 *extent_create_backing(struct block_allocation *alloc, in extent_create_backing()
32 u8 *data = calloc(backing_len, 1); in extent_create_backing()
36 u8 *ptr = data; in extent_create_backing()
143 u8 *data = calloc(info.block_size, 1); in do_inode_allocate_extents()
200 u8 *inode_allocate_data_extents(struct ext4_inode *inode, u64 len, in inode_allocate_data_extents()
204 u8 *data = NULL; in inode_allocate_data_extents()
Dext4_utils.h82 typedef unsigned char u8; typedef
136 int bitmap_get_bit(u8 *bitmap, u32 bit);
137 void bitmap_clear_bit(u8 *bitmap, u32 bit);
Dext4_utils.c61 u8 clk_seq_hi_res;
62 u8 clk_seq_low;
72 SHA1Update(&ctx, (const u8*)namespace, strlen(namespace)); in sha1_hash()
73 SHA1Update(&ctx, (const u8*)name, strlen(name)); in sha1_hash()
77 static void generate_sha1_uuid(const char *namespace, const char *name, u8 result[16]) in generate_sha1_uuid()
106 int bitmap_get_bit(u8 *bitmap, u32 bit) in bitmap_get_bit()
114 void bitmap_clear_bit(u8 *bitmap, u32 bit) in bitmap_clear_bit()
467 u8 *journal_data = inode_allocate_data_extents(inode, in ext4_create_journal_inode()
Dindirect.h23 u8 *inode_allocate_data_indirect(struct ext4_inode *inode, unsigned long len,
Dcrc16.c51 const u8 *p = buf; in ext4_crc16()
Dextent.h26 u8 *inode_allocate_data_extents(struct ext4_inode *inode, u64 len,
Dindirect.c28 static u8 *create_backing(struct block_allocation *alloc, in create_backing()
34 u8 *data = calloc(backing_len, 1); in create_backing()
38 u8 *ptr = data; in create_backing()
488 u8 *inode_allocate_data_indirect(struct ext4_inode *inode, unsigned long len, in inode_allocate_data_indirect()
493 u8 *data = NULL; in inode_allocate_data_indirect()
Dcontents.c63 static struct ext4_dir_entry_2 *add_dentry(u8 *data, u32 *offset, in add_dentry()
65 u8 file_type) in add_dentry()
67 u8 name_len = strlen(name); in add_dentry()
107 u8 *data; in make_directory()
239 u8 *data = inode_allocate_data_indirect(inode, info.block_size, info.block_size); in make_link()
Dcontents.h26 u8 file_type;
/system/core/libpixelflinger/
Dcol32cb16blend_neon.S58 vshll.u8 q0, d0, #5 // shift up red and widen
59 vshll.u8 q1, d2, #6 // shift up green and widen
60 vshll.u8 q2, d4, #5 // shift up blue and widen
62 vshr.u8 d7, d6, #7 // extract top bit of alpha
63 vaddl.u8 q3, d6, d7 // add top bit into alpha
/system/bt/stack/include/
Dbt_types.h240 #define UINT8_TO_STREAM(p, u8) {*(p)++ = (UINT8)(u8);} argument
241 #define INT8_TO_STREAM(p, u8) {*(p)++ = (INT8)(u8);} argument
251 #define STREAM_TO_UINT8(u8, p) {u8 = (UINT8)(*(p)); (p) += 1;} argument
274 #define UINT8_TO_FIELD(p, u8) {*(UINT8 *)(p) = (UINT8)(u8);} argument
283 #define UINT8_TO_BE_STREAM(p, u8) {*(p)++ = (UINT8)(u8);} argument
287 #define BE_STREAM_TO_UINT8(u8, p) {u8 = (UINT8)(*(p)); (p) += 1;} argument
306 #define UINT8_TO_BE_FIELD(p, u8) {*(UINT8 *)(p) = (UINT8)(u8);} argument
/system/core/libsparse/
Dsparse_defs.h34 #define __u8 u8
40 typedef unsigned char u8; typedef
/system/bt/stack/hid/
Dhidh_api.c145 (p_attr->attr_value.v.u8) ) in hidh_search_callback()
151 (p_attr->attr_value.v.u8) ) in hidh_search_callback()
157 (p_attr->attr_value.v.u8) ) in hidh_search_callback()
163 (p_attr->attr_value.v.u8) ) in hidh_search_callback()
169 (p_attr->attr_value.v.u8) ) in hidh_search_callback()
175 (p_attr->attr_value.v.u8) ) in hidh_search_callback()
191 p_nvi->ctry_code = p_attr->attr_value.v.u8; in hidh_search_callback()
196 p_nvi->sub_class = p_attr->attr_value.v.u8; in hidh_search_callback()
/system/extras/perfprofd/quipper/
Dperf_utils.h63 string HexToString(const u8* array, size_t length);
68 bool StringToHex(const string& str, u8* array, size_t length);
Dperf_utils.cc43 string HexToString(const u8* array, size_t length) { in HexToString()
55 bool StringToHex(const string& str, u8* array, size_t length) { in StringToHex()
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/
Dtypes.h29 typedef unsigned char u8; typedef
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/
Dtypes.h16 typedef unsigned char u8; typedef
Dbuild-id.h12 int build_id__sprintf(const u8 *build_id, int len, char *bf);
/system/keymaster/
Docb.c754 uint8_t u8[16]; in gen_offset_from_nonce() member
774 idx = (unsigned)(tmp.u8[15] & 0x3f); /* Get low 6 bits of nonce */ in gen_offset_from_nonce()
775 tmp.u8[15] = tmp.u8[15] & 0xc0; /* Zero low 6 bits of nonce */ in gen_offset_from_nonce()
778 AES_encrypt(tmp.u8, (unsigned char*)&ctx->KtopStr, &ctx->encrypt_key); in gen_offset_from_nonce()
791 uint8_t u8[16]; in process_ad() member
884 memcpy(tmp.u8, adp + k, remaining); in process_ad()
885 tmp.u8[remaining] = (unsigned char)0x80u; in process_ad()
921 uint8_t u8[16]; in ae_encrypt() member
1046 memcpy(tmp.u8, ptp + k, remaining); in ae_encrypt()
1047 tmp.u8[remaining] = (unsigned char)0x80u; in ae_encrypt()
[all …]
/system/bt/bta/mce/
Dbta_mce_act.c104 evt_data.mas[found].instance_id = p_attr->attr_value.v.u8; in bta_mce_search_cback()
109 evt_data.mas[found].msg_type = p_attr->attr_value.v.u8; in bta_mce_search_cback()
/system/media/camera/include/system/
Dcamera_metadata.h87 uint8_t *u8; member
106 const uint8_t *u8; member
/system/media/camera/tests/
Dcamera_metadata_tests.cpp423 entry.data.u8 = NULL; in TEST()
430 EXPECT_EQ(NULL, entry.data.u8); in TEST()
501 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
559 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
636 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
669 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
747 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
777 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
1725 ASSERT_TRUE(!memcmp(e1.data.u8, e2.data.u8, in TEST()
1857 void* data_ptr = (void*)entry.data.u8; in TEST()
/system/bt/bta/sdp/
Dbta_sdp_act.c151 record->mas.mas_instance_id = p_attr->attr_value.v.u8; in bta_create_mas_sdp_record()
156 record->mas.supported_message_types = p_attr->attr_value.v.u8; in bta_create_mas_sdp_record()
203 record->pse.supported_repositories = p_attr->attr_value.v.u8; in bta_create_pse_sdp_record()
292 record->ops.supported_formats_list[count] = p_sattr->attr_value.v.u8; in bta_create_ops_sdp_record()
/system/bt/stack/sdp/
Dsdp_api.c758 p_elem->params[p_elem->num_params++] = p_sattr->attr_value.v.u8; in sdp_fill_proto_elem()
1093 p_device_info->rec.primary_record = (BOOLEAN)p_curr_attr->attr_value.v.u8; in SDP_GetDiRecord()
1128 UINT8 u8; in SDP_SetLocalDiRecord() local
1234 u8 = (UINT8)p_device_info->primary_record; in SDP_SetLocalDiRecord()
1236 BOOLEAN_DESC_TYPE, 1, &u8)) ) in SDP_SetLocalDiRecord()

12