/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 | 285 #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 …]
|
D | btm_api_types.h | 382 #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; }
|
D | sdp_api.h | 92 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/extras/ext4_utils/include/ext4_utils/ |
D | ext4_utils.h | 88 typedef unsigned char u8; typedef 130 int bitmap_get_bit(u8 *bitmap, u32 bit); // vold
|
/system/keymaster/key_blob_utils/ |
D | ocb.c | 757 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/ |
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/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/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 | 57 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/ |
D | sdp_api.cc | 656 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()
|
D | sdp_utils.cc | 789 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()
|
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/nfc/src/nfc/nfc/ |
D | nfc_ncif.cc | 668 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/ |
D | EncryptInplace.cpp | 172 u8* block_bitmap = 0; in encrypt_groups() 183 block_bitmap = (u8*)malloc(info.block_size); in encrypt_groups()
|
/system/bt/bta/av/ |
D | bta_av_act.cc | 760 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/ |
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()
|
/system/bt/bta/ag/ |
D | bta_ag_sdp.cc | 401 if (p_attr->attr_value.v.u8) in bta_ag_sdp_find_attr()
|
/system/nfc/src/nfc/tags/ |
D | rw_i93.cc | 1663 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()
|