Searched refs:u8 (Results 1 - 25 of 47) sorted by relevance

12

/system/nfc/src/nfc/include/
H A Dllcp_defs.h40 #define LLCP_GET_NS(u8) ((uint8_t)(u8) >> 4)
41 #define LLCP_GET_NR(u8) ((uint8_t)(u8)&0x0F)
84 #define LLCP_GET_FRMR_W_ERROR_FLAG(u8) (((uint8_t)(u8) >> 7) & 0x01)
85 #define LLCP_GET_FRMR_I_ERROR_FLAG(u8) (((uint8_t)(u8) >> 6) & 0x01)
86 #define LLCP_GET_FRMR_R_ERROR_FLAG(u8) (((uint8_t)(u8) >>
[all...]
/system/extras/ext4_utils/
H A Dindirect.h26 u8 *inode_allocate_data_indirect(struct ext4_inode *inode, unsigned long len,
H A Dextent.h28 u8 *inode_allocate_data_extents(struct ext4_inode *inode, u64 len,
H A Dallocate.h51 u8 *bitmaps;
52 u8 *block_bitmap;
53 u8 *inode_bitmap;
54 u8 *inode_table;
H A Dcontents.h28 u8 file_type;
H A Dextent.c30 static u8 *extent_create_backing(struct block_allocation *alloc,
33 u8 *data = calloc(backing_len, 1);
37 u8 *ptr = data;
144 u8 *data = calloc(info.block_size, 1);
201 u8 *inode_allocate_data_extents(struct ext4_inode *inode, u64 len,
205 u8 *data = NULL;
H A Dext4_utils.c63 u8 clk_seq_hi_res;
64 u8 clk_seq_low;
74 SHA1Update(&ctx, (const u8*)namespace, strlen(namespace));
75 SHA1Update(&ctx, (const u8*)name, strlen(name));
79 static void generate_sha1_uuid(const char *namespace, const char *name, u8 result[16])
108 int bitmap_get_bit(u8 *bitmap, u32 bit)
116 void bitmap_clear_bit(u8 *bitmap, u32 bit)
476 u8 *journal_data = inode_allocate_data_extents(inode,
H A Dcontents.c64 static struct ext4_dir_entry_2 *add_dentry(u8 *data, u32 *offset,
66 u8 file_type)
68 u8 name_len = strlen(name);
108 u8 *data;
240 u8 *data = inode_allocate_data_indirect(inode, info.block_size, info.block_size);
H A Dindirect.c30 static u8 *create_backing(struct block_allocation *alloc,
36 u8 *data = calloc(backing_len, 1);
40 u8 *ptr = data;
490 u8 *inode_allocate_data_indirect(struct ext4_inode *inode, unsigned long len,
495 u8 *data = NULL;
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/
H A Dtypes.h29 typedef unsigned char u8; typedef
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/
H A Dtypes.h16 typedef unsigned char u8; typedef
H A Dbuild-id.h12 int build_id__sprintf(const u8 *build_id, int len, char *bf);
/system/core/libsparse/
H A Dsparse_defs.h34 #define __u8 u8
40 typedef unsigned char u8; typedef
/system/nfc/src/hal/include/
H A Dnfc_types.h90 #define UINT8_TO_STREAM(p, u8) \
91 { *(p)++ = (uint8_t)(u8); }
92 #define INT8_TO_STREAM(p, u8) \
93 { *(p)++ = (int8_t)(u8); }
138 #define STREAM_TO_UINT8(u8, p) \
140 u8 = (uint8_t)(*(p)); \
232 #define UINT8_TO_FIELD(p, u8) \
233 { *(uint8_t*)(p) = (uint8_t)(u8); }
257 #define UINT8_TO_BE_STREAM(p, u8) \
258 { *(p)++ = (uint8_t)(u8); }
[all...]
/system/core/libpixelflinger/
H A 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/extras/perfprofd/quipper/
H A Dperf_utils.h63 string HexToString(const u8* array, size_t length);
68 bool StringToHex(const string& str, u8* array, size_t length);
H A Dperf_utils.cc43 string HexToString(const u8* array, size_t length) {
55 bool StringToHex(const string& str, u8* array, size_t length) {
/system/extras/ext4_utils/include/ext4_utils/
H A Dext4_utils.h84 typedef unsigned char u8; typedef
138 int bitmap_get_bit(u8 *bitmap, u32 bit);
139 void bitmap_clear_bit(u8 *bitmap, u32 bit);
/system/bt/bta/mce/
H A Dbta_mce_act.cc100 evt_data.mas[found].instance_id = p_attr->attr_value.v.u8;
105 evt_data.mas[found].msg_type = p_attr->attr_value.v.u8;
/system/bt/stack/hid/
H A Dhidh_api.cc137 (p_attr->attr_value.v.u8)) {
143 (p_attr->attr_value.v.u8)) {
149 (p_attr->attr_value.v.u8)) {
155 (p_attr->attr_value.v.u8)) {
161 (p_attr->attr_value.v.u8)) {
167 (p_attr->attr_value.v.u8)) {
185 p_nvi->ctry_code = p_attr->attr_value.v.u8;
190 p_nvi->sub_class = p_attr->attr_value.v.u8;
/system/bt/stack/include/
H A Dbt_types.h288 #define UINT8_TO_STREAM(p, u8) \
289 { *(p)++ = (uint8_t)(u8); }
290 #define INT8_TO_STREAM(p, u8) \
291 { *(p)++ = (int8_t)(u8); }
336 #define STREAM_TO_INT8(u8, p) \
338 (u8) = (*((int8_t*)p)); \
341 #define STREAM_TO_UINT8(u8, p) \
343 (u8) = (uint8_t)(*(p)); \
443 #define UINT8_TO_FIELD(p, u8) \
444 { *(uint8_t*)(p) = (uint8_t)(u8); }
[all...]
/system/nfc/halimpl/bcm2079x/hal/hal/
H A Dnfc_hal_prm.c245 uint8_t u8; local
274 STREAM_TO_UINT8(u8, p);
277 if (u8 > 1) {
278 HAL_TRACE_ERROR1("Invalid i2c fix: invalid number of patches (%i)", u8);
285 STREAM_TO_UINT8(u8, p); /* power mode (not needed for i2c patch) */
662 uint8_t status, u8; local
678 STREAM_TO_UINT8(u8, p);
719 STREAM_TO_UINT8(u8, p);
H A Dnfc_hal_dm.c584 uint8_t u8; local
709 STREAM_TO_UINT8(u8, p);
710 if (u8 > NFC_HAL_PRM_MAX_CHIP_VER_LEN) u8 = NFC_HAL_PRM_MAX_CHIP_VER_LEN;
711 memcpy(nfc_hal_cb.nvm_cb.chip_ver, p, u8);
734 STREAM_TO_UINT8(u8, p);
735 if (u8) {
742 STREAM_TO_UINT8(u8, p);
743 if (u8) {
783 uint8_t u8; local
[all...]
/system/media/audio/include/system/
H A Daudio_effect.h434 uint8_t* u8; // pointer to unsigned 8 bit data at start of buffer member in union:audio_buffer_s::__anon1844
/system/keymaster/
H A Docb.c755 uint8_t u8[16]; member in union:__anon1781
775 idx = (unsigned)(tmp.u8[15] & 0x3f); /* Get low 6 bits of nonce */
776 tmp.u8[15] = tmp.u8[15] & 0xc0; /* Zero low 6 bits of nonce */
779 AES_encrypt(tmp.u8, (unsigned char*)&ctx->KtopStr, &ctx->encrypt_key);
792 uint8_t u8[16]; member in union:__anon1782
885 memcpy(tmp.u8, adp + k, remaining);
886 tmp.u8[remaining] = (unsigned char)0x80u;
922 uint8_t u8[16]; member in union:__anon1783
1047 memcpy(tmp.u8, pt
1133 uint8_t u8[16]; member in union:__anon1784
[all...]

Completed in 2140 milliseconds

12