/system/bt/btcore/src/ |
D | property.c | 48 bool property_equals(const bt_property_t *p1, const bt_property_t *p2) { in property_equals() argument 51 if (!p1 || !p2 || p1->type != p2->type) { in property_equals() 63 if (p1->type == BT_PROPERTY_BDNAME && p1->len != p2->len) { in property_equals() 64 const bt_property_t *shorter = p1, *longer = p2; in property_equals() 65 if (p1->len > p2->len) { in property_equals() 66 shorter = p2; in property_equals() 72 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/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/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/bt/btif/src/ |
D | bluetooth.c | 116 static bool is_profile(const char *p1, const char *p2) { in is_profile() argument 118 assert(p2); in is_profile() 119 return strlen(p1) == strlen(p2) && strncmp(p1, p2, strlen(p2)) == 0; in is_profile()
|
/system/bt/bta/hf_client/ |
D | bta_hf_client_at.c | 1344 char *p1, *p2; in bta_hf_client_dump_at() local 1347 p2 = dump; in bta_hf_client_dump_at() 1353 strlcpy(p2, "<cr>", 4); in bta_hf_client_dump_at() 1354 p2 += 4; in bta_hf_client_dump_at() 1358 strlcpy(p2, "<lf>", 4); in bta_hf_client_dump_at() 1359 p2 += 4; in bta_hf_client_dump_at() 1363 *p2 = *p1; in bta_hf_client_dump_at() 1364 p2++; in bta_hf_client_dump_at() 1369 *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 | 555 void smp_gen_p2_4_confirm( tSMP_CB *p_cb, BT_OCTET16 p2) in smp_gen_p2_4_confirm() argument 557 UINT8 *p = (UINT8 *)p2; in smp_gen_p2_4_confirm() 587 smp_debug_print_nbyte_little_endian(p2, (const UINT8 *)"p2", 16); in smp_gen_p2_4_confirm() 641 BT_OCTET16 p2; in smp_calculate_comfirm_cont() local 651 smp_gen_p2_4_confirm(p_cb, p2); in smp_calculate_comfirm_cont() 654 smp_xor_128(p2, p->param_buf); in smp_calculate_comfirm_cont() 655 smp_debug_print_nbyte_little_endian ((UINT8 *)p2, (const UINT8 *)"p2' = C1 xor p2", 16); in smp_calculate_comfirm_cont() 658 if (!SMP_Encrypt(p_cb->tk, BT_OCTET16_LEN, p2, BT_OCTET16_LEN, &output)) in smp_calculate_comfirm_cont() 2040 UINT8 *p2; in smp_calculate_long_term_key_from_link_key() local 2042 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 | 1276 UINT8 *p2; in bta_hh_gatt_open() local 1283 p2 = p_data->remote_bda; in bta_hh_gatt_open() 1286 ((p2[0])<<24)+((p2[1])<<16)+((p2[2])<<8)+(p2[3]), in bta_hh_gatt_open() 1287 ((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 | 5547 UINT8 *p2; in bta_dm_proc_open_evt() local 5550 p2 = p_data->remote_bda; in bta_dm_proc_open_evt() 5556 ((p2[0])<<24)+((p2[1])<<16)+((p2[2])<<8)+(p2[3]), in bta_dm_proc_open_evt() 5557 ((p2[4])<<8)+ p2[5]); in bta_dm_proc_open_evt()
|
/system/bt/stack/l2cap/ |
D | l2c_int.h | 609 UINT8 rem_id,UINT16 p1, UINT16 p2);
|
D | l2c_utils.c | 439 UINT16 p1, UINT16 p2) in l2cu_send_peer_cmd_reject() argument 468 UINT16_TO_STREAM (p, p2); in l2cu_send_peer_cmd_reject()
|
/system/tpm/trunks/generator/ |
D | raw_commands.txt | 15337 // set p2.x = hash(s2) mod p
|
D | raw_commands_fixed.txt | 15348 // set p2.x = hash(s2) mod p
|