Searched defs:p1 (Results 1 - 16 of 16) sorted by relevance

/system/gatekeeper/include/gatekeeper/
H A Dgatekeeper_utils.h47 static inline int memcmp_s(const void* p1, const void* p2, size_t length) { argument
48 const uint8_t* s1 = static_cast<const uint8_t*>(p1);
/system/keymaster/
H A Dandroid_keymaster_utils.cpp36 int memcmp_s(const void* p1, const void* p2, size_t length) { argument
37 const uint8_t* s1 = static_cast<const uint8_t*>(p1);
/system/bt/btcore/src/
H A Ddevice_class.c90 bool device_class_equals(const bt_device_class_t *p1, const bt_device_class_t *p2) { argument
91 assert(p1 != NULL);
93 return (memcmp(p1, p2, sizeof(bt_device_class_t)) == 0);
H A Dproperty.c48 bool property_equals(const bt_property_t *p1, const bt_property_t *p2) { argument
51 if (!p1 || !p2 || p1->type != p2->type) {
63 if (p1->type == BT_PROPERTY_BDNAME && p1->len != p2->len) {
64 const bt_property_t *shorter = p1, *longer = p2;
65 if (p1->len > p2->len) {
67 longer = p1;
72 return p1->len == p2->len && !memcmp(p1
[all...]
/system/bt/btif/src/
H A Dbluetooth.c116 static bool is_profile(const char *p1, const char *p2) { argument
117 assert(p1);
119 return strlen(p1) == strlen(p2) && strncmp(p1, p2, strlen(p2)) == 0;
/system/tpm/trunks/
H A Dmock_tpm.cc127 const TPM2B_ECC_POINT& p1,
136 return CommitSyncShort(sign_handle, param_size, p1, y2, param_size_out, k,
123 CommitSync( const TPMI_DH_OBJECT& sign_handle, const std::string& sign_handle_name, const UINT32& param_size, const TPM2B_ECC_POINT& p1, const TPM2B_SENSITIVE_DATA& s2, const TPM2B_ECC_PARAMETER& y2, UINT32* param_size_out, TPM2B_ECC_POINT* k, TPM2B_ECC_POINT* l, TPM2B_ECC_POINT* e, UINT16* counter, AuthorizationDelegate* authorization_delegate) argument
H A Dtpm_generated.cc21915 const TPM2B_ECC_POINT& p1,
21952 p1,
22223 const TPM2B_ECC_POINT& p1,
22240 p1,
22256 const TPM2B_ECC_POINT& p1,
22271 p1,
21911 SerializeCommand_Commit( const TPMI_DH_OBJECT& sign_handle, const std::string& sign_handle_name, const UINT32& param_size, const TPM2B_ECC_POINT& p1, const TPM2B_SENSITIVE_DATA& s2, const TPM2B_ECC_PARAMETER& y2, std::string* serialized_command, AuthorizationDelegate* authorization_delegate) argument
22219 Commit( const TPMI_DH_OBJECT& sign_handle, const std::string& sign_handle_name, const UINT32& param_size, const TPM2B_ECC_POINT& p1, const TPM2B_SENSITIVE_DATA& s2, const TPM2B_ECC_PARAMETER& y2, AuthorizationDelegate* authorization_delegate, const CommitResponse& callback) argument
22252 CommitSync( const TPMI_DH_OBJECT& sign_handle, const std::string& sign_handle_name, const UINT32& param_size, const TPM2B_ECC_POINT& p1, const TPM2B_SENSITIVE_DATA& s2, const TPM2B_ECC_PARAMETER& y2, UINT32* param_size_out, TPM2B_ECC_POINT* k, TPM2B_ECC_POINT* l, TPM2B_ECC_POINT* e, UINT16* counter, AuthorizationDelegate* authorization_delegate) argument
[all...]
/system/bt/stack/smp/
H A Daes.c235 { uint_8t p1 = x, p2 = BPOLY, n1 = hibit(x), n2 = 0x80, v1 = 1, v2 = 0; local
243 while(n2 >= n1) /* divide polynomial p2 by p1 */
246 p2 ^= (p1 * n2) & 0xff; /* and remove from larger one */
257 p1 ^= p2 * n1;
259 n1 = hibit(p1);
H A Dsmp_keys.c453 ** add pairing command sent from local device into p1.
473 ** add pairing command received from peer device into p1.
496 ** p1 = pres || preq || rat' || iat'
501 void smp_gen_p1_4_confirm( tSMP_CB *p_cb, BT_OCTET16 p1) argument
503 UINT8 *p = (UINT8 *)p1;
540 SMP_TRACE_DEBUG("p1 = pres || preq || rat' || iat'");
541 smp_debug_print_nbyte_little_endian ((UINT8 *)p1, (const UINT8 *)"P1", 16);
604 BT_OCTET16 p1; local
609 /* generate p1 = pres || preq || rat' || iat' */
610 smp_gen_p1_4_confirm(p_cb, p1);
2039 UINT8 *p1; local
[all...]
/system/extras/perfprofd/tests/
H A Dperfprofd_test.cc549 { const auto &p1 = encodedProfile.programs(0); local
550 const auto &lm1 = p1.modules(0);
559 { const auto &p1 = encodedProfile.programs(2); local
560 const auto &lm2 = p1.modules(0);
/system/media/camera/src/
H A Dcamera_metadata.c574 static int compare_entry_tags(const void *p1, const void *p2) { argument
575 uint32_t tag1 = ((camera_metadata_buffer_entry_t*)p1)->tag;
/system/bt/bta/hf_client/
H A Dbta_hf_client_at.c1344 char *p1, *p2; local
1346 p1 = bta_hf_client_cb.scb.at_cb.buf;
1349 while (*p1 != '\0')
1351 if (*p1 == '\r')
1356 else if (*p1 == '\n')
1363 *p2 = *p1;
1366 p1++;
/system/bt/stack/btm/
H A Dbtm_ble_gap.c2533 UINT8 *p1; local
2545 p1 = (p + data_len);
2546 STREAM_TO_UINT8 (rssi, p1);
/system/bt/stack/l2cap/
H A Dl2c_utils.c439 UINT16 p1, UINT16 p2)
465 UINT16_TO_STREAM (p, p1);
438 l2cu_send_peer_cmd_reject(tL2C_LCB *p_lcb, UINT16 reason, UINT8 rem_id, UINT16 p1, UINT16 p2) argument
/system/core/libpixelflinger/
H A Dtrap.cpp665 const GGLcoord* p1,
670 const GGLfixed* top = p1;
855 const GGLcoord* p1,
860 const GGLfixed* top = p1;
662 edge_setup( Edge* edges, int* pcount, const GGLcoord* p1, const GGLcoord* p2, int32_t ymin, int32_t ymax ) argument
852 aa_edge_setup( AAEdge* edges, int* pcount, const GGLcoord* p1, const GGLcoord* p2, int32_t ymin, int32_t ymax ) argument
/system/bt/bta/dm/
H A Dbta_dm_act.c3058 static void bta_dm_rs_cback (tBTM_ROLE_SWITCH_CMPL *p1) argument
3060 UNUSED(p1);
5546 UINT8 *p1; local
5549 p1 = bta_dm_search_cb.peer_bdaddr;
5554 ((p1[0])<<24)+((p1[1])<<16)+((p1[2])<<8)+(p1[3]),
5555 ((p1[4])<<8)+ p1[
[all...]

Completed in 1184 milliseconds