/system/gatekeeper/include/gatekeeper/ |
H A D | gatekeeper_utils.h | 47 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 D | android_keymaster_utils.cpp | 36 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 D | property.c | 48 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...] |
H A D | device_class.c | 90 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);
|
/system/bt/btcore/include/ |
H A D | device_class.h | 49 // Compares and returns |true| if two device classes |p1| and |p2| are equal. 51 bool device_class_equals(const bt_device_class_t *p1, const bt_device_class_t *p2); 54 // |p2| into |p1|. False otherwise.
|
H A D | property.h | 35 // Returns true if the value of the two properties |p1| and |p2| are equal. 36 // |p1| and |p2| must not be NULL. 37 bool property_equals(const bt_property_t *p1, const bt_property_t *p2);
|
/system/bt/btif/src/ |
H A D | bluetooth.c | 116 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/extras/perfprofd/tests/ |
H A D | perfprofd_test.cc | 549 { 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/bt/stack/smp/ |
H A D | smp_keys.c | 453 ** 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...] |
H A D | aes.c | 235 { 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);
|
/system/tpm/trunks/ |
H A D | mock_tpm.cc | 127 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 D | mock_tpm.h | 673 const TPM2B_ECC_POINT& p1, 682 const TPM2B_ECC_POINT& p1, 694 const TPM2B_ECC_POINT& p1,
|
H A D | tpm_generated.h | 4927 const TPM2B_ECC_POINT& p1, 4944 const TPM2B_ECC_POINT& p1, 4953 const TPM2B_ECC_POINT& p1,
|
H A D | tpm_generated.cc | 21915 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/bta/hf_client/ |
H A D | bta_hf_client_at.c | 1344 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/keymaster/include/keymaster/ |
H A D | android_keymaster_utils.h | 132 * short-circuit). Not an exact equivalent to memcmp because it doesn't return <0 if p1 < p2, just 135 int memcmp_s(const void* p1, const void* p2, size_t length);
|
/system/bt/bta/dm/ |
H A D | bta_dm_act.c | 3058 static void bta_dm_rs_cback (tBTM_ROLE_SWITCH_CMPL *p1) argument 3060 UNUSED(p1); 5540 UINT8 *p1; local 5543 p1 = bta_dm_search_cb.peer_bdaddr; 5548 ((p1[0])<<24)+((p1[1])<<16)+((p1[2])<<8)+(p1[3]), 5549 ((p1[4])<<8)+ p1[ [all...] |
/system/core/libpixelflinger/ |
H A D | trap.cpp | 665 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/media/camera/src/ |
H A D | camera_metadata.c | 615 static int compare_entry_tags(const void *p1, const void *p2) { argument 616 uint32_t tag1 = ((camera_metadata_buffer_entry_t*)p1)->tag;
|
/system/bt/stack/include/ |
H A D | btm_api.h | 145 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);
|
H A D | btm_ble_api.h | 278 typedef void (tBTM_RAND_ENC_CB) (tBTM_RAND_ENC *p1);
|
/system/bt/stack/l2cap/ |
H A D | l2c_int.h | 609 UINT8 rem_id,UINT16 p1, UINT16 p2);
|
H A D | l2c_utils.c | 439 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/bt/stack/btm/ |
H A D | btm_ble_gap.c | 2533 UINT8 *p1; local 2545 p1 = (p + data_len); 2546 STREAM_TO_UINT8 (rssi, p1);
|