/system/nfc/src/include/ |
D | nfc_types.h | 62 #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/ |
D | llcp_defs.h | 40 #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/ |
D | bt_types.h | 290 #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 …]
|
D | btm_api_types.h | 267 #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; }
|
D | sdp_api.h | 89 uint8_t u8; /* 8-bit integer */ member
|
/system/core/libpixelflinger/ |
D | col32cb16blend_neon.S | 58 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/ |
D | sparse_defs.h | 34 #define __u8 u8 40 typedef unsigned char u8; typedef
|
/system/bt/stack/hid/ |
D | hidh_api.cc | 134 (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/ |
D | logprint_test.cpp | 54 auto input = u8"¢ह€"; in TEST() 81 … u8"\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/ |
D | ext4_utils.h | 82 typedef unsigned char u8; typedef 124 int bitmap_get_bit(u8 *bitmap, u32 bit); // vold
|
/system/core/adb/tls/ |
D | adb_ca_list.cpp | 107 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/ |
D | bta_mce_act.cc | 102 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/ |
D | ocb.c | 768 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/ |
D | camera_metadata.h | 86 uint8_t *u8; member 105 const uint8_t *u8; member
|
/system/media/audio/include/system/ |
D | audio_effect.h | 456 uint8_t* u8; // pointer to unsigned 8 bit data at start of buffer member
|
/system/media/camera/tests/ |
D | camera_metadata_tests.cpp | 425 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/ |
D | sdp_api.cc | 609 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()
|
D | sdp_utils.cc | 794 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()
|
D | sdp_discovery.cc | 877 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/ |
D | bta_sdp_act.cc | 109 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/ |
D | ext4_utils.cpp | 59 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/ |
D | nfc_ncif.cc | 667 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/ |
D | bta_av_act.cc | 763 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/ |
D | EncryptInplace.cpp | 172 u8* block_bitmap = 0; in encrypt_groups() 183 block_bitmap = (u8*)malloc(info.block_size); in encrypt_groups()
|
/system/media/camera/src/ |
D | camera_metadata.c | 116 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()
|