Home
last modified time | relevance | path

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

/system/extras/ext4_utils/
Duuid.c34 u8 clk_seq_hi_res;
35 u8 clk_seq_low;
45 SHA1Update(&ctx, (const u8*)namespace, strlen(namespace)); in sha1_hash()
46 SHA1Update(&ctx, (const u8*)name, strlen(name)); in sha1_hash()
50 void generate_uuid(const char *namespace, const char *name, u8 result[16]) in generate_uuid()
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()
123 u8 *data = calloc(info.block_size, 1); in do_inode_allocate_extents()
180 u8 *inode_allocate_data_extents(struct ext4_inode *inode, u64 len, in inode_allocate_data_extents()
184 u8 *data = NULL; in inode_allocate_data_extents()
Duuid.h22 void generate_uuid(const char *namespace, const char *name, u8 result[16]);
Dext4_utils.h82 typedef unsigned char u8; typedef
133 int bitmap_get_bit(u8 *bitmap, u32 bit);
134 void bitmap_clear_bit(u8 *bitmap, u32 bit);
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;
Dext4_utils.c64 int bitmap_get_bit(u8 *bitmap, u32 bit) in bitmap_get_bit()
72 void bitmap_clear_bit(u8 *bitmap, u32 bit) in bitmap_clear_bit()
304 u8 *buf = calloc(info.block_size, 1); in ext4_queue_sb()
305 memcpy(buf + 1024, (u8*)aux_info.sb, 1024); in ext4_queue_sb()
373 u8 *journal_data = inode_allocate_data_extents(inode, in ext4_create_journal_inode()
Dallocate.c38 u8 *bitmaps;
39 u8 *block_bitmap;
40 u8 *inode_bitmap;
41 u8 *inode_table;
190 static int bitmap_set_bit(u8 *bitmap, u32 bit) in bitmap_set_bit()
199 static int bitmap_set_8_bits(u8 *bitmap, u32 bit) in bitmap_set_8_bits()
Dext2simg.c61 u8 *block_bitmap; in build_sparse_ext()
/system/core/gpttool/
Dgpttool.c29 typedef unsigned char u8; typedef
34 const u8 partition_type_uuid[16] = {
46 u8 magic[8];
59 u8 volume_uuid[16];
69 u8 type_uuid[16];
70 u8 uniq_uuid[16];
78 u8 mbr[512];
81 u8 block[512];
86 void get_uuid(u8 *uuid) in get_uuid()
94 void init_mbr(u8 *mbr, u32 blocks) in init_mbr()
/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/core/libsparse/
Dsparse_defs.h34 #define __u8 u8
40 typedef unsigned char u8; typedef
/system/keymaster/
Docb.c754 uint8_t u8[16]; in gen_offset_from_nonce() member
775 idx = (unsigned)(tmp.u8[15] & 0x3f); /* Get low 6 bits of nonce */ in gen_offset_from_nonce()
776 tmp.u8[15] = tmp.u8[15] & 0xc0; /* Zero low 6 bits of nonce */ in gen_offset_from_nonce()
779 AES_encrypt(tmp.u8, (unsigned char*)&ctx->KtopStr, &ctx->encrypt_key); in gen_offset_from_nonce()
792 uint8_t u8[16]; in process_ad() member
885 memcpy(tmp.u8, adp + k, remaining); in process_ad()
886 tmp.u8[remaining] = (unsigned char)0x80u; in process_ad()
922 uint8_t u8[16]; in ae_encrypt() member
1047 memcpy(tmp.u8, ptp + k, remaining); in ae_encrypt()
1048 tmp.u8[remaining] = (unsigned char)0x80u; in ae_encrypt()
[all …]
/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()
503 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
563 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
642 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
675 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
753 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
783 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
1731 ASSERT_TRUE(!memcmp(e1.data.u8, e2.data.u8, in TEST()
1863 void* data_ptr = (void*)entry.data.u8; in TEST()
/system/media/camera/src/
Dcamera_metadata.c112 uint8_t u8; member
609 entry->data.u8 = get_data(src) + buffer_entry->data.offset; in get_camera_metadata_entry()
611 entry->data.u8 = buffer_entry->data.value; in get_camera_metadata_entry()
/system/core/libmincrypt/
Dp256_ec.c43 typedef uint8_t u8; typedef
/system/vold/
Dcryptfs.c2357 u8 *block_bitmap = 0;