Home
last modified time | relevance | path

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

12

/system/nfc/src/include/
Dnfc_types.h62 #define UINT8_TO_STREAM(p, u8) \ argument
63 { *(p)++ = (uint8_t)(u8); }
64 #define INT8_TO_STREAM(p, u8) \ argument
65 { *(p)++ = (int8_t)(u8); }
76 #define STREAM_TO_UINT8(u8, p) \ argument
78 (u8) = (uint8_t)(*(p)); \
127 #define UINT8_TO_BE_STREAM(p, u8) \ argument
128 { *(p)++ = (uint8_t)(u8); }
135 #define BE_STREAM_TO_UINT8(u8, p) \ argument
137 (u8) = (uint8_t)(*(p)); \
[all …]
/system/nfc/src/nfc/include/
Dllcp_defs.h40 #define LLCP_GET_NS(u8) ((uint8_t)(u8) >> 4) argument
41 #define LLCP_GET_NR(u8) ((uint8_t)(u8)&0x0F) argument
88 #define LLCP_GET_MAJOR_VERSION(u8) (((uint8_t)(u8) >> 4) & 0x0F) argument
89 #define LLCP_GET_MINOR_VERSION(u8) ((uint8_t)(u8)&0x0F) argument
/system/bt/stack/include/
Dbt_types.h285 #define UINT8_TO_STREAM(p, u8) \ argument
286 { *(p)++ = (uint8_t)(u8); }
287 #define INT8_TO_STREAM(p, u8) \ argument
288 { *(p)++ = (int8_t)(u8); }
327 #define STREAM_TO_INT8(u8, p) \ argument
329 (u8) = (*((int8_t*)(p))); \
332 #define STREAM_TO_UINT8(u8, p) \ argument
334 (u8) = (uint8_t)(*(p)); \
439 #define UINT8_TO_FIELD(p, u8) \ argument
440 { *(uint8_t*)(p) = (uint8_t)(u8); }
[all …]
Dbtm_api_types.h382 #define BTM_COD_FORMAT_TYPE(u8, pd) \ argument
383 { (u8) = (pd)[2] & 0x03; }
384 #define BTM_COD_MINOR_CLASS(u8, pd) \ argument
385 { (u8) = (pd)[2] & 0xFC; }
386 #define BTM_COD_MAJOR_CLASS(u8, pd) \ argument
387 { (u8) = (pd)[1] & 0x1F; }
Dsdp_api.h92 uint8_t u8; /* 8-bit integer */ member
/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/bt/stack/hid/
Dhidh_api.cc134 (p_attr->attr_value.v.u8)) { in hidh_search_callback()
140 (p_attr->attr_value.v.u8)) { in hidh_search_callback()
146 (p_attr->attr_value.v.u8)) { in hidh_search_callback()
152 (p_attr->attr_value.v.u8)) { in hidh_search_callback()
158 (p_attr->attr_value.v.u8)) { in hidh_search_callback()
164 (p_attr->attr_value.v.u8)) { in hidh_search_callback()
182 p_nvi->ctry_code = p_attr->attr_value.v.u8; in hidh_search_callback()
187 p_nvi->sub_class = p_attr->attr_value.v.u8; in hidh_search_callback()
/system/extras/ext4_utils/include/ext4_utils/
Dext4_utils.h88 typedef unsigned char u8; typedef
130 int bitmap_get_bit(u8 *bitmap, u32 bit); // vold
/system/keymaster/key_blob_utils/
Docb.c757 uint8_t u8[16]; in gen_offset_from_nonce() member
777 idx = (unsigned)(tmp.u8[15] & 0x3f); /* Get low 6 bits of nonce */ in gen_offset_from_nonce()
778 tmp.u8[15] = tmp.u8[15] & 0xc0; /* Zero low 6 bits of nonce */ in gen_offset_from_nonce()
781 AES_encrypt(tmp.u8, (unsigned char*)&ctx->KtopStr, &ctx->encrypt_key); in gen_offset_from_nonce()
794 uint8_t u8[16]; in process_ad() member
887 memcpy(tmp.u8, adp + k, remaining); in process_ad()
888 tmp.u8[remaining] = (unsigned char)0x80u; in process_ad()
924 uint8_t u8[16]; in ae_encrypt() member
1049 memcpy(tmp.u8, ptp + k, remaining); in ae_encrypt()
1050 tmp.u8[remaining] = (unsigned char)0x80u; in ae_encrypt()
[all …]
/system/bt/bta/mce/
Dbta_mce_act.cc102 evt_data.mas[found].instance_id = p_attr->attr_value.v.u8; in bta_mce_search_cback()
107 evt_data.mas[found].msg_type = p_attr->attr_value.v.u8; in bta_mce_search_cback()
/system/media/camera/include/system/
Dcamera_metadata.h86 uint8_t *u8; member
105 const uint8_t *u8; member
/system/media/audio/include/system/
Daudio_effect.h456 uint8_t* u8; // pointer to unsigned 8 bit data at start of buffer member
/system/media/camera/tests/
Dcamera_metadata_tests.cpp425 entry.data.u8 = NULL; in TEST()
432 EXPECT_EQ(NULL, entry.data.u8); in TEST()
503 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
561 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
638 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
671 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
749 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
779 EXPECT_EQ(e1.data.u8[j], e2.data.u8[j]); in TEST()
1727 ASSERT_TRUE(!memcmp(e1.data.u8, e2.data.u8, in TEST()
1859 void* data_ptr = (void*)entry.data.u8; in TEST()
/system/bt/bta/sdp/
Dbta_sdp_act.cc109 record->mas.mas_instance_id = p_attr->attr_value.v.u8; in bta_create_mas_sdp_record()
114 record->mas.supported_message_types = p_attr->attr_value.v.u8; in bta_create_mas_sdp_record()
161 record->pse.supported_repositories = p_attr->attr_value.v.u8; in bta_create_pse_sdp_record()
253 record->ops.supported_formats_list[count] = p_sattr->attr_value.v.u8; in bta_create_ops_sdp_record()
/system/extras/ext4_utils/
Dext4_utils.cpp57 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()
/system/bt/stack/sdp/
Dsdp_api.cc656 p_elem->params[p_elem->num_params++] = p_sattr->attr_value.v.u8; in sdp_fill_proto_elem()
964 p_device_info->rec.primary_record = (bool)p_curr_attr->attr_value.v.u8; in SDP_GetDiRecord()
996 uint8_t u8; in SDP_SetLocalDiRecord() local
1093 u8 = (uint8_t)p_device_info->primary_record; in SDP_SetLocalDiRecord()
1095 &u8))) in SDP_SetLocalDiRecord()
Dsdp_utils.cc789 uint8_t u8; in sdpu_get_len_from_type() local
814 BE_STREAM_TO_UINT8(u8, p); in sdpu_get_len_from_type()
815 *p_len = u8; in sdpu_get_len_from_type()
Dsdp_discovery.cc877 p_attr->attr_value.v.u8 = *p++; in add_attr()
965 p_attr->attr_value.v.u8 = *p++; in add_attr()
/system/nfc/src/nfc/nfc/
Dnfc_ncif.cc668 uint8_t len, *p_start, u8; in nfc_ncif_decode_rf_params() local
702 u8 = *p++; in nfc_ncif_decode_rf_params()
703 if (u8) p_pa->sel_rsp = *p++; in nfc_ncif_decode_rf_params()
705 (7 + p_pa->nfcid1_len + u8)) /* 2(sens_res) + 1(len) + in nfc_ncif_decode_rf_params()
751 u8 = *p++; in nfc_ncif_decode_rf_params()
752 if (u8) { in nfc_ncif_decode_rf_params()
1236 uint8_t u8; in nfc_ncif_proc_ee_discover_req() local
1248 u8 = *p; in nfc_ncif_proc_ee_discover_req()
1253 while ((u8 > 0) && (plen >= NFC_EE_DISCOVER_ENTRY_LEN)) { in nfc_ncif_proc_ee_discover_req()
1266 u8--; in nfc_ncif_proc_ee_discover_req()
/system/vold/
DEncryptInplace.cpp172 u8* block_bitmap = 0; in encrypt_groups()
183 block_bitmap = (u8*)malloc(info.block_size); in encrypt_groups()
/system/bt/bta/av/
Dbta_av_act.cc760 uint8_t u8, pdu, *p; in bta_av_proc_meta_cmd() local
801 u8 = *(p_vendor->p_vendor_data + 4); in bta_av_proc_meta_cmd()
803 p_rc_rsp->get_caps.capability_id = u8; in bta_av_proc_meta_cmd()
809 if (u8 == AVRC_CAP_COMPANY_ID) { in bta_av_proc_meta_cmd()
815 } else if (u8 == AVRC_CAP_EVENTS_SUPPORTED) { in bta_av_proc_meta_cmd()
821 APPL_TRACE_DEBUG("%s: Invalid capability ID: 0x%x", __func__, u8); in bta_av_proc_meta_cmd()
/system/media/camera/src/
Dcamera_metadata.c116 uint8_t u8; member
762 entry->data.u8 = get_data(src) + buffer_entry->data.offset; in get_camera_metadata_entry()
764 entry->data.u8 = buffer_entry->data.value; in get_camera_metadata_entry()
/system/bt/bta/ag/
Dbta_ag_sdp.cc401 if (p_attr->attr_value.v.u8) in bta_ag_sdp_find_attr()
/system/nfc/src/nfc/tags/
Drw_i93.cc1663 uint8_t flags, u8 = 0, cc[4]; in rw_i93_sm_detect_ndef() local
1702 STREAM_TO_UINT8(u8, p); /* DSFID */ in rw_i93_sm_detect_ndef()
1706 if (u8 != I93_DFS_UNSUPPORTED) { in rw_i93_sm_detect_ndef()
1709 << StringPrintf("Got unknown DSFID (0x%02x)", u8); in rw_i93_sm_detect_ndef()

12