Home
last modified time | relevance | path

Searched refs:p1 (Results 1 – 25 of 26) sorted by relevance

12

/system/bt/btcore/src/
Dproperty.c48 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()
67 longer = p1; in property_equals()
72 return p1->len == p2->len && !memcmp(p1->val, p2->val, p1->len); in property_equals()
Ddevice_class.c90 bool device_class_equals(const bt_device_class_t *p1, const bt_device_class_t *p2) { in device_class_equals() argument
91 assert(p1 != NULL); in device_class_equals()
93 return (memcmp(p1, p2, sizeof(bt_device_class_t)) == 0); in device_class_equals()
/system/gatekeeper/include/gatekeeper/
Dgatekeeper_utils.h47 static inline int memcmp_s(const void* p1, const void* p2, size_t length) { in memcmp_s() argument
48 const uint8_t* s1 = static_cast<const uint8_t*>(p1); in memcmp_s()
/system/keymaster/
Dandroid_keymaster_utils.cpp36 int memcmp_s(const void* p1, const void* p2, size_t length) { in memcmp_s() argument
37 const uint8_t* s1 = static_cast<const uint8_t*>(p1); in memcmp_s()
/system/bt/btif/src/
Dbluetooth.c116 static bool is_profile(const char *p1, const char *p2) { in is_profile() argument
117 assert(p1); in is_profile()
119 return strlen(p1) == strlen(p2) && strncmp(p1, p2, strlen(p2)) == 0; in is_profile()
/system/bt/btcore/include/
Ddevice_class.h51 bool device_class_equals(const bt_device_class_t *p1, const bt_device_class_t *p2);
Dproperty.h37 bool property_equals(const bt_property_t *p1, const bt_property_t *p2);
/system/bt/stack/smp/
Dsmp_keys.c501 void smp_gen_p1_4_confirm( tSMP_CB *p_cb, BT_OCTET16 p1) in smp_gen_p1_4_confirm() argument
503 UINT8 *p = (UINT8 *)p1; in smp_gen_p1_4_confirm()
541 smp_debug_print_nbyte_little_endian ((UINT8 *)p1, (const UINT8 *)"P1", 16); in smp_gen_p1_4_confirm()
604 BT_OCTET16 p1; in smp_calculate_comfirm() local
610 smp_gen_p1_4_confirm(p_cb, p1); in smp_calculate_comfirm()
613 smp_xor_128(p1, rand); in smp_calculate_comfirm()
615 smp_debug_print_nbyte_little_endian ((UINT8 *)p1, (const UINT8 *)"P1' = r XOR p1", 16); in smp_calculate_comfirm()
618 if (!SMP_Encrypt(p_cb->tk, BT_OCTET16_LEN, p1, BT_OCTET16_LEN, &output)) in smp_calculate_comfirm()
2039 UINT8 *p1; in smp_calculate_long_term_key_from_link_key() local
2041 p1 = rev_link_key; in smp_calculate_long_term_key_from_link_key()
[all …]
Daes.c235 { 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()
257 p1 ^= p2 * n1; in gf_inv()
259 n1 = hibit(p1); in gf_inv()
/system/extras/perfprofd/tests/
Dperfprofd_test.cc549 { const auto &p1 = encodedProfile.programs(0); in TEST_F() local
550 const auto &lm1 = p1.modules(0); in TEST_F()
559 { const auto &p1 = encodedProfile.programs(2); in TEST_F() local
560 const auto &lm2 = p1.modules(0); in TEST_F()
/system/bt/bta/hf_client/
Dbta_hf_client_at.c1344 char *p1, *p2; in bta_hf_client_dump_at() local
1346 p1 = bta_hf_client_cb.scb.at_cb.buf; in bta_hf_client_dump_at()
1349 while (*p1 != '\0') in bta_hf_client_dump_at()
1351 if (*p1 == '\r') in bta_hf_client_dump_at()
1356 else if (*p1 == '\n') in bta_hf_client_dump_at()
1363 *p2 = *p1; in bta_hf_client_dump_at()
1366 p1++; in bta_hf_client_dump_at()
/system/tpm/trunks/
Dmock_tpm.cc127 const TPM2B_ECC_POINT& p1, in CommitSync() argument
136 return CommitSyncShort(sign_handle, param_size, p1, y2, param_size_out, k, in CommitSync()
Dmock_tpm.h673 const TPM2B_ECC_POINT& p1,
682 const TPM2B_ECC_POINT& p1,
694 const TPM2B_ECC_POINT& p1,
Dtpm_generated.h4927 const TPM2B_ECC_POINT& p1,
4944 const TPM2B_ECC_POINT& p1,
4953 const TPM2B_ECC_POINT& p1,
Dtpm_generated.cc21915 const TPM2B_ECC_POINT& p1, in SerializeCommand_Commit() argument
21952 p1, in SerializeCommand_Commit()
22223 const TPM2B_ECC_POINT& p1, in Commit() argument
22240 p1, in Commit()
22256 const TPM2B_ECC_POINT& p1, in CommitSync() argument
22271 p1, in CommitSync()
/system/keymaster/include/keymaster/
Dandroid_keymaster_utils.h135 int memcmp_s(const void* p1, const void* p2, size_t length);
/system/core/libpixelflinger/
Dtrap.cpp665 const GGLcoord* p1, in edge_setup() argument
670 const GGLfixed* top = p1; in edge_setup()
855 const GGLcoord* p1, in aa_edge_setup() argument
860 const GGLfixed* top = p1; in aa_edge_setup()
/system/bt/bta/dm/
Dbta_dm_act.c3058 static void bta_dm_rs_cback (tBTM_ROLE_SWITCH_CMPL *p1) in bta_dm_rs_cback() argument
3060 UNUSED(p1); in bta_dm_rs_cback()
5546 UINT8 *p1; in bta_dm_proc_open_evt() local
5549 p1 = bta_dm_search_cb.peer_bdaddr; in bta_dm_proc_open_evt()
5554 ((p1[0])<<24)+((p1[1])<<16)+((p1[2])<<8)+(p1[3]), in bta_dm_proc_open_evt()
5555 ((p1[4])<<8)+ p1[5], in bta_dm_proc_open_evt()
/system/bt/stack/include/
Dbtm_api.h145 typedef void (tBTM_CMPL_CB) (void *p1);
150 typedef void (tBTM_VSC_CMPL_CB) (tBTM_VSC_CMPL *p1);
674 typedef void (tBTM_INQ_DB_CHANGE_CB) (void *p1, BOOLEAN is_new);
Dbtm_ble_api.h278 typedef void (tBTM_RAND_ENC_CB) (tBTM_RAND_ENC *p1);
/system/media/camera/src/
Dcamera_metadata.c574 static int compare_entry_tags(const void *p1, const void *p2) { in compare_entry_tags() argument
575 uint32_t tag1 = ((camera_metadata_buffer_entry_t*)p1)->tag; in compare_entry_tags()
/system/bt/stack/l2cap/
Dl2c_int.h609 UINT8 rem_id,UINT16 p1, UINT16 p2);
Dl2c_utils.c439 UINT16 p1, UINT16 p2) in l2cu_send_peer_cmd_reject() argument
465 UINT16_TO_STREAM (p, p1); in l2cu_send_peer_cmd_reject()
/system/bt/stack/btm/
Dbtm_ble_gap.c2533 UINT8 *p1; in btm_ble_update_inq_result() local
2545 p1 = (p + data_len); in btm_ble_update_inq_result()
2546 STREAM_TO_UINT8 (rssi, p1); in btm_ble_update_inq_result()
/system/tpm/trunks/generator/
Draw_commands.txt14878 For this command, p1, s2 and y2 are optional parameters. If s2 is an Empty Buffer, then the TPM sha…
14879 return TPM_RC_SIZE if y2 is not an Empty Buffer. If p1, s2, and y2 are all Empty Buffers, the TPM s…
14930 g) if p1 is an Empty Buffer, skip to step i)
14931 h) if (p1) is not a point on the curve of signHandle, return TPM_RC_ECC_POINT
14934 set E ≔ [r] (p1)

12