Searched defs:p1 (Results 1 - 21 of 21) 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/extras/app-launcher/
H A Dcomputestats.c23 compare_long(const void *p1, const void *p2) argument
25 u_int64_t val1 = *(u_int64_t *)p1;
H A Dcomputestatsf.c23 compare_double(const void *p1, const void *p2) argument
25 double val1 = *(u_int64_t *)p1;
/system/bt/btcore/src/
H A Ddevice_class.cc93 bool device_class_equals(const bt_device_class_t* p1, argument
95 CHECK(p1 != NULL);
97 return (memcmp(p1, p2, sizeof(bt_device_class_t)) == 0);
H A Dproperty.cc50 bool property_equals(const bt_property_t* p1, const bt_property_t* p2) { argument
53 if (!p1 || !p2 || p1->type != p2->type) {
65 if (p1->type == BT_PROPERTY_BDNAME && p1->len != p2->len) {
66 const bt_property_t *shorter = p1, *longer = p2;
67 if (p1->len > p2->len) {
69 longer = p1;
75 return p1->len == p2->len && !memcmp(p1
[all...]
/system/bt/stack/test/
H A Dstack_smp_test.cc45 * p1: 0x05000800000302070710000001010001
46 * p1 XOR r: 0x5283dd2156ae6d096498274ec7712ee1
47 * p1 prime: 0x02c7aa2a9857ac866ff91232df0e3c95
85 BT_OCTET16 p1);
188 BT_OCTET16 p1; local
194 smp_gen_p1_4_confirm(&p_cb_, remote_bd_addr_type, p1);
195 // Correct p1 is 0x05000800000302070710000001010001
198 dump_uint128_reverse(p1, p1_str);
200 smp_xor_128(p1, rand_);
201 // Correct p1 xo
[all...]
/system/bt/btif/src/
H A Dbluetooth.cc122 static bool is_profile(const char* p1, const char* p2) { argument
123 CHECK(p1);
125 return strlen(p1) == strlen(p2) && strncmp(p1, p2, strlen(p2)) == 0;
/system/tpm/trunks/
H A Dmock_tpm.cc119 const TPM2B_ECC_POINT& p1,
128 return CommitSyncShort(sign_handle, param_size, p1, y2, param_size_out, k, l,
116 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.cc17966 const TPM2B_ECC_POINT& p1,
17996 rc = Serialize_TPM2B_ECC_POINT(p1, &p1_bytes);
18198 const TPM2B_ECC_POINT& p1,
18210 SerializeCommand_Commit(sign_handle, sign_handle_name, param_size, p1, s2,
18222 const TPM2B_ECC_POINT& p1,
18234 SerializeCommand_Commit(sign_handle, sign_handle_name, param_size, p1, s2,
17962 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
18195 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
18219 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.cc259 uint_8t p1 = x, p2 = BPOLY, n1 = hibit(x), n2 = 0x80, v1 = 1, v2 = 0; local
265 while (n2 >= n1) /* divide polynomial p2 by p1 */
268 p2 ^= (p1 * n2) & 0xff; /* and remove from larger one */
278 p1 ^= p2 * n1;
280 n1 = hibit(p1);
H A Dsmp_keys.cc309 * add pairing command sent from local device into p1.
328 * add pairing command received from peer device into p1.
350 * p1 = (MSB) pres || preq || rat' || iat' (LSB)
352 * p1 = iat' || rat' || preq || pres
358 BT_OCTET16 p1) {
360 uint8_t* p = (uint8_t*)p1;
380 smp_debug_print_nbyte_little_endian((uint8_t*)p1,
381 "p1 = iat' || rat' || preq || pres", 16);
438 /* generate p1 = pres || preq || rat' || iat' */
439 BT_OCTET16 p1; local
357 smp_gen_p1_4_confirm(tSMP_CB* p_cb, tBLE_ADDR_TYPE remote_bd_addr_type, BT_OCTET16 p1) argument
1758 uint8_t* p1; local
[all...]
/system/extras/perfprofd/tests/
H A Dperfprofd_test.cc591 { const auto &p1 = encodedProfile.programs(0); local
592 const auto &lm1 = p1.modules(0);
601 { const auto &p1 = encodedProfile.programs(2); local
602 const auto &lm2 = p1.modules(0);
/system/nfc/halimpl/bcm2079x/adaptation/
H A Dandroid_logmsg.cpp273 void LogMsg_1(uint32_t maskTraceSet, const char* fmt_str, uintptr_t p1) { argument
274 LogMsg(maskTraceSet, fmt_str, p1);
277 void LogMsg_2(uint32_t maskTraceSet, const char* fmt_str, uintptr_t p1, argument
279 LogMsg(maskTraceSet, fmt_str, p1, p2);
282 void LogMsg_3(uint32_t maskTraceSet, const char* fmt_str, uintptr_t p1, argument
284 LogMsg(maskTraceSet, fmt_str, p1, p2, p3);
287 void LogMsg_4(uint32_t maskTraceSet, const char* fmt_str, uintptr_t p1, argument
289 LogMsg(maskTraceSet, fmt_str, p1, p2, p3, p4);
292 void LogMsg_5(uint32_t maskTraceSet, const char* fmt_str, uintptr_t p1, argument
294 LogMsg(maskTraceSet, fmt_str, p1, p
297 LogMsg_6(uint32_t maskTraceSet, const char* fmt_str, uintptr_t p1, uintptr_t p2, uintptr_t p3, uintptr_t p4, uintptr_t p5, uintptr_t p6) argument
[all...]
/system/nfc/src/adaptation/
H A Dandroid_logmsg.cpp274 void LogMsg_1(uint32_t maskTraceSet, const char* fmt_str, uintptr_t p1) { argument
275 LogMsg(maskTraceSet, fmt_str, p1);
278 void LogMsg_2(uint32_t maskTraceSet, const char* fmt_str, uintptr_t p1, argument
280 LogMsg(maskTraceSet, fmt_str, p1, p2);
283 void LogMsg_3(uint32_t maskTraceSet, const char* fmt_str, uintptr_t p1, argument
285 LogMsg(maskTraceSet, fmt_str, p1, p2, p3);
288 void LogMsg_4(uint32_t maskTraceSet, const char* fmt_str, uintptr_t p1, argument
290 LogMsg(maskTraceSet, fmt_str, p1, p2, p3, p4);
293 void LogMsg_5(uint32_t maskTraceSet, const char* fmt_str, uintptr_t p1, argument
295 LogMsg(maskTraceSet, fmt_str, p1, p
298 LogMsg_6(uint32_t maskTraceSet, const char* fmt_str, uintptr_t p1, uintptr_t p2, uintptr_t p3, uintptr_t p4, uintptr_t p5, uintptr_t p6) argument
[all...]
/system/media/camera/src/
H A Dcamera_metadata.c699 static int compare_entry_tags(const void *p1, const void *p2) { argument
700 uint32_t tag1 = ((camera_metadata_buffer_entry_t*)p1)->tag;
/system/tools/hidl/c2hal/test/
H A Dtest.h280 int (*p1)(struct framebuffer_device_t* dev); member in struct:my_other_t
/system/bt/bta/hf_client/
H A Dbta_hf_client_at.cc1473 char *p1, *p2; local
1475 p1 = client_cb->at_cb.buf;
1478 while (*p1 != '\0') {
1479 if (*p1 == '\r') {
1482 } else if (*p1 == '\n') {
1486 *p2 = *p1;
1489 p1++;
/system/bt/stack/l2cap/
H A Dl2c_utils.cc398 uint16_t p1, uint16_t p2) {
423 if (param_len >= 2) UINT16_TO_STREAM(p, p1);
397 l2cu_send_peer_cmd_reject(tL2C_LCB* p_lcb, uint16_t reason, uint8_t rem_id, uint16_t p1, uint16_t p2) argument
/system/core/libpixelflinger/
H A Dtrap.cpp667 const GGLcoord* p1,
672 const GGLfixed* top = p1;
857 const GGLcoord* p1,
862 const GGLfixed* top = p1;
664 edge_setup( Edge* edges, int* pcount, const GGLcoord* p1, const GGLcoord* p2, int32_t ymin, int32_t ymax ) argument
854 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.cc2846 static void bta_dm_rs_cback(UNUSED_ATTR tBTM_ROLE_SWITCH_CMPL* p1) { argument

Completed in 3016 milliseconds