Searched defs:p1 (Results 1 - 18 of 18) 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/android_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.cc94 bool device_class_equals(const bt_device_class_t* p1, argument
96 CHECK(p1 != NULL);
98 return (memcmp(p1, p2, sizeof(bt_device_class_t)) == 0);
H A Dproperty.cc52 bool property_equals(const bt_property_t* p1, const bt_property_t* p2) { argument
55 if (!p1 || !p2 || p1->type != p2->type) {
67 if (p1->type == BT_PROPERTY_BDNAME && p1->len != p2->len) {
68 const bt_property_t *shorter = p1, *longer = p2;
69 if (p1->len > p2->len) {
71 longer = p1;
77 return p1->len == p2->len && !memcmp(p1
[all...]
/system/bt/btif/src/
H A Dbluetooth.cc129 static bool is_profile(const char* p1, const char* p2) { argument
130 CHECK(p1);
132 return strlen(p1) == strlen(p2) && strncmp(p1, p2, strlen(p2)) == 0;
/system/bt/stack/test/
H A Dstack_smp_test.cc46 * p1: 0x05000800000302070710000001010001
47 * p1 XOR r: 0x5283dd2156ae6d096498274ec7712ee1
48 * p1 prime: 0x02c7aa2a9857ac866ff91232df0e3c95
86 BT_OCTET16 p1);
189 BT_OCTET16 p1; local
195 smp_gen_p1_4_confirm(&p_cb_, remote_bd_addr_type, p1);
196 // Correct p1 is 0x05000800000302070710000001010001
199 dump_uint128_reverse(p1, p1_str);
201 smp_xor_128(p1, rand_);
202 // Correct p1 xo
[all...]
/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.cc316 * add pairing command sent from local device into p1.
335 * add pairing command received from peer device into p1.
357 * p1 = (MSB) pres || preq || rat' || iat' (LSB)
359 * p1 = iat' || rat' || preq || pres
365 BT_OCTET16 p1) {
367 uint8_t* p = (uint8_t*)p1;
387 smp_debug_print_nbyte_little_endian((uint8_t*)p1,
388 "p1 = iat' || rat' || preq || pres", 16);
445 /* generate p1 = pres || preq || rat' || iat' */
446 BT_OCTET16 p1; local
364 smp_gen_p1_4_confirm(tSMP_CB* p_cb, tBLE_ADDR_TYPE remote_bd_addr_type, BT_OCTET16 p1) argument
1785 uint8_t* p1; local
[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.h278 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.cc390 uint16_t p1, uint16_t p2) {
415 if (param_len >= 2) UINT16_TO_STREAM(p, p1);
389 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.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.cc2865 static void bta_dm_rs_cback(UNUSED_ATTR void* p1) { argument

Completed in 636 milliseconds