/system/bt/btcore/src/ |
D | property.c | 51 bool property_equals(const bt_property_t *p1, const bt_property_t *p2) { in property_equals() argument 54 if (!p1 || !p2 || p1->type != p2->type) { in property_equals() 66 if (p1->type == BT_PROPERTY_BDNAME && p1->len != p2->len) { in property_equals() 67 const bt_property_t *shorter = p1, *longer = p2; in property_equals() 68 if (p1->len > p2->len) { in property_equals() 69 shorter = p2; in property_equals() 75 return p1->len == p2->len && !memcmp(p1->val, p2->val, p1->len); in property_equals()
|
D | device_class.c | 90 bool device_class_equals(const bt_device_class_t *p1, const bt_device_class_t *p2) { in device_class_equals() argument 92 assert(p2 != NULL); in device_class_equals() 93 return (memcmp(p1, p2, sizeof(bt_device_class_t)) == 0); in device_class_equals()
|
/system/core/adb/ |
D | sysdeps.h | 246 char* p2 = strchr(path, '\\'); in adb_dirstart() local 249 p = p2; in adb_dirstart() 250 else if ( p2 && p2 > p ) in adb_dirstart() 251 p = p2; in adb_dirstart() 259 char* p2 = strrchr(path, '\\'); in adb_dirstop() local 262 p = p2; in adb_dirstop() 263 else if ( p2 && p2 > p ) in adb_dirstop() 264 p = p2; in adb_dirstop()
|
/system/keymaster/ |
D | android_keymaster_utils.cpp | 36 int memcmp_s(const void* p1, const void* p2, size_t length) { in memcmp_s() argument 38 const uint8_t* s2 = static_cast<const uint8_t*>(p2); in memcmp_s()
|
/system/gatekeeper/include/gatekeeper/ |
D | gatekeeper_utils.h | 47 static inline int memcmp_s(const void* p1, const void* p2, size_t length) { in memcmp_s() argument 49 const uint8_t* s2 = static_cast<const uint8_t*>(p2); in memcmp_s()
|
/system/bt/bta/hf_client/ |
D | bta_hf_client_at.c | 1289 char *p1, *p2; in bta_hf_client_dump_at() local 1292 p2 = dump; in bta_hf_client_dump_at() 1298 strlcpy(p2, "<cr>", 4); in bta_hf_client_dump_at() 1299 p2 += 4; in bta_hf_client_dump_at() 1303 strlcpy(p2, "<lf>", 4); in bta_hf_client_dump_at() 1304 p2 += 4; in bta_hf_client_dump_at() 1308 *p2 = *p1; in bta_hf_client_dump_at() 1309 p2++; in bta_hf_client_dump_at() 1314 *p2 = '\0'; in bta_hf_client_dump_at()
|
/system/bt/btcore/include/ |
D | device_class.h | 51 bool device_class_equals(const bt_device_class_t *p1, const bt_device_class_t *p2);
|
D | property.h | 37 bool property_equals(const bt_property_t *p1, const bt_property_t *p2);
|
/system/bt/stack/smp/ |
D | smp_keys.c | 574 void smp_gen_p2_4_confirm( tSMP_CB *p_cb, BT_OCTET16 p2) in smp_gen_p2_4_confirm() argument 576 UINT8 *p = (UINT8 *)p2; in smp_gen_p2_4_confirm() 606 smp_debug_print_nbyte_little_endian(p2, (const UINT8 *)"p2", 16); in smp_gen_p2_4_confirm() 660 BT_OCTET16 p2; in smp_calculate_comfirm_cont() local 670 smp_gen_p2_4_confirm(p_cb, p2); in smp_calculate_comfirm_cont() 673 smp_xor_128(p2, p->param_buf); in smp_calculate_comfirm_cont() 674 smp_debug_print_nbyte_little_endian ((UINT8 *)p2, (const UINT8 *)"p2' = C1 xor p2", 16); in smp_calculate_comfirm_cont() 677 if (!SMP_Encrypt(p_cb->tk, BT_OCTET16_LEN, p2, BT_OCTET16_LEN, &output)) in smp_calculate_comfirm_cont() 2059 UINT8 *p2; in smp_calculate_long_term_key_from_link_key() local 2061 p2 = p_dev_rec->link_key; in smp_calculate_long_term_key_from_link_key() [all …]
|
D | aes.c | 235 { uint_8t p1 = x, p2 = BPOLY, n1 = hibit(x), n2 = 0x80, v1 = 1, v2 = 0; in gf_inv() local 246 p2 ^= (p1 * n2) & 0xff; /* and remove from larger one */ in gf_inv() 248 n2 = hibit(p2); /* add into result */ in gf_inv() 257 p1 ^= p2 * n1; in gf_inv()
|
/system/bt/bta/hh/ |
D | bta_hh_le.c | 1446 UINT8 *p2; in bta_hh_gatt_open() local 1453 p2 = p_data->remote_bda; in bta_hh_gatt_open() 1456 ((p2[0])<<24)+((p2[1])<<16)+((p2[2])<<8)+(p2[3]), in bta_hh_gatt_open() 1457 ((p2[4])<<8)+ p2[5],p_data->status); in bta_hh_gatt_open()
|
/system/keymaster/include/keymaster/ |
D | android_keymaster_utils.h | 135 int memcmp_s(const void* p1, const void* p2, size_t length);
|
/system/core/libpixelflinger/ |
D | trap.cpp | 666 const GGLcoord* p2, in edge_setup() argument 671 const GGLfixed* bot = p2; in edge_setup() 856 const GGLcoord* p2, in aa_edge_setup() argument 861 const GGLfixed* bot = p2; in aa_edge_setup()
|
/system/media/camera/src/ |
D | camera_metadata.c | 574 static int compare_entry_tags(const void *p1, const void *p2) { in compare_entry_tags() argument 576 uint32_t tag2 = ((camera_metadata_buffer_entry_t*)p2)->tag; in compare_entry_tags()
|
/system/bt/bta/dm/ |
D | bta_dm_act.c | 5657 UINT8 *p2; in bta_dm_proc_open_evt() local 5660 p2 = p_data->remote_bda; in bta_dm_proc_open_evt() 5666 ((p2[0])<<24)+((p2[1])<<16)+((p2[2])<<8)+(p2[3]), in bta_dm_proc_open_evt() 5667 ((p2[4])<<8)+ p2[5]); in bta_dm_proc_open_evt()
|
/system/bt/stack/l2cap/ |
D | l2c_int.h | 580 UINT8 rem_id,UINT16 p1, UINT16 p2);
|
D | l2c_utils.c | 429 UINT16 p1, UINT16 p2) in l2cu_send_peer_cmd_reject() argument 458 UINT16_TO_STREAM (p, p2); in l2cu_send_peer_cmd_reject()
|