Home
last modified time | relevance | path

Searched refs:u8 (Results 1 – 25 of 28) 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.h290 #define UINT8_TO_STREAM(p, u8) \ argument
291 { *(p)++ = (uint8_t)(u8); }
292 #define INT8_TO_STREAM(p, u8) \ argument
293 { *(p)++ = (int8_t)(u8); }
332 #define STREAM_TO_INT8(u8, p) \ argument
334 (u8) = (*((int8_t*)(p))); \
337 #define STREAM_TO_UINT8(u8, p) \ argument
339 (u8) = (uint8_t)(*(p)); \
444 #define UINT8_TO_FIELD(p, u8) \ argument
445 { *(uint8_t*)(p) = (uint8_t)(u8); }
[all …]
Dbtm_api_types.h267 #define BTM_COD_MINOR_CLASS(u8, pd) \ argument
268 { (u8) = (pd)[2] & 0xFC; }
269 #define BTM_COD_MAJOR_CLASS(u8, pd) \ argument
270 { (u8) = (pd)[1] & 0x1F; }
Dsdp_api.h89 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/core/liblog/tests/
Dlogprint_test.cpp54 auto input = u8"¢ह€��"; in TEST()
81u8"\x80\xC2¢ह€��\x01\xE0\xA4\x06¢ह€��\xE0\x06\a\b\xF0\x90¢ह€��\x8D\x06\xF0\t\t\x90\x06\xF0\x0E"; in TEST()
83 u8"\\x80\\xC2¢ह€��\\x01\\xE0\\xA4\\x06¢ह€��\\xE0\\x06\\a\\b\\xF0\\x90¢ह€��\\x8D\\x06\\xF0\t\t" in TEST()
84 u8"\\x90\\x06\\xF0\\x0E"; in TEST()
/system/extras/ext4_utils/include/ext4_utils/
Dext4_utils.h82 typedef unsigned char u8; typedef
124 int bitmap_get_bit(u8 *bitmap, u32 bit); // vold
/system/core/adb/tls/
Dadb_ca_list.cpp107 auto* u8 = reinterpret_cast<const uint8_t*>(sha256.data()); in SHA256BitsToHexString() local
113 ss << std::setw(2) << static_cast<uint16_t>(u8[i]); in SHA256BitsToHexString()
/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/keymaster/key_blob_utils/
Docb.c768 uint8_t u8[16]; in gen_offset_from_nonce() member
788 idx = (unsigned)(tmp.u8[15] & 0x3f); /* Get low 6 bits of nonce */ in gen_offset_from_nonce()
789 tmp.u8[15] = tmp.u8[15] & 0xc0; /* Zero low 6 bits of nonce */ in gen_offset_from_nonce()
792 AES_encrypt(tmp.u8, (unsigned char*)&ctx->KtopStr, &ctx->encrypt_key); in gen_offset_from_nonce()
805 uint8_t u8[16]; in process_ad() member
898 memcpy(tmp.u8, adp + k, remaining); in process_ad()
899 tmp.u8[remaining] = (unsigned char)0x80u; in process_ad()
942 uint8_t u8[16]; in ae_encrypt() member
1067 memcpy(tmp.u8, ptp + k, remaining); in ae_encrypt()
1068 tmp.u8[remaining] = (unsigned char)0x80u; in ae_encrypt()
[all …]
/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/stack/sdp/
Dsdp_api.cc609 p_elem->params[p_elem->num_params++] = p_sattr->attr_value.v.u8; in sdp_fill_proto_elem()
879 p_device_info->rec.primary_record = (bool)p_curr_attr->attr_value.v.u8; in SDP_GetDiRecord()
911 uint8_t u8; in SDP_SetLocalDiRecord() local
1008 u8 = (uint8_t)p_device_info->primary_record; in SDP_SetLocalDiRecord()
1010 &u8))) in SDP_SetLocalDiRecord()
Dsdp_utils.cc794 uint8_t u8; in sdpu_get_len_from_type() local
819 BE_STREAM_TO_UINT8(u8, p); in sdpu_get_len_from_type()
820 *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/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.cpp59 int bitmap_get_bit(u8 *bitmap, u32 bit) in bitmap_get_bit()
67 void bitmap_clear_bit(u8 *bitmap, u32 bit) in bitmap_clear_bit()
/system/nfc/src/nfc/nfc/
Dnfc_ncif.cc667 uint8_t len, *p_start, u8; in nfc_ncif_decode_rf_params() local
701 u8 = *p++; in nfc_ncif_decode_rf_params()
702 if (u8) p_pa->sel_rsp = *p++; in nfc_ncif_decode_rf_params()
704 (7 + p_pa->nfcid1_len + u8)) /* 2(sens_res) + 1(len) + in nfc_ncif_decode_rf_params()
750 u8 = *p++; in nfc_ncif_decode_rf_params()
751 if (u8) { in nfc_ncif_decode_rf_params()
1235 uint8_t u8; in nfc_ncif_proc_ee_discover_req() local
1247 u8 = *p; in nfc_ncif_proc_ee_discover_req()
1252 while ((u8 > 0) && (plen >= NFC_EE_DISCOVER_ENTRY_LEN)) { in nfc_ncif_proc_ee_discover_req()
1265 u8--; in nfc_ncif_proc_ee_discover_req()
/system/bt/bta/av/
Dbta_av_act.cc763 uint8_t u8, pdu, *p; in bta_av_proc_meta_cmd() local
804 u8 = *(p_vendor->p_vendor_data + 4); in bta_av_proc_meta_cmd()
806 p_rc_rsp->get_caps.capability_id = u8; in bta_av_proc_meta_cmd()
812 if (u8 == AVRC_CAP_COMPANY_ID) { in bta_av_proc_meta_cmd()
818 } else if (u8 == AVRC_CAP_EVENTS_SUPPORTED) { in bta_av_proc_meta_cmd()
824 APPL_TRACE_DEBUG("%s: Invalid capability ID: 0x%x", __func__, u8); in bta_av_proc_meta_cmd()
1836 : p_protocol_param->attr_value.v.u8; in bta_avk_get_cover_art_psm()
/system/vold/
DEncryptInplace.cpp172 u8* block_bitmap = 0; in encrypt_groups()
183 block_bitmap = (u8*)malloc(info.block_size); in encrypt_groups()
/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()

12