Searched defs:p2 (Results 1 - 13 of 13) 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
49 const uint8_t* s2 = static_cast<const uint8_t*>(p2);
/system/keymaster/
H A Dandroid_keymaster_utils.cpp36 int memcmp_s(const void* p1, const void* p2, size_t length) { argument
38 const uint8_t* s2 = static_cast<const uint8_t*>(p2);
/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
92 assert(p2 != 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) {
66 shorter = p2;
72 return p1->len == p2->len && !memcmp(p1->val, p2->val, p1->len);
/system/bt/btif/src/
H A Dbluetooth.c116 static bool is_profile(const char *p1, const char *p2) { argument
118 assert(p2);
119 return strlen(p1) == strlen(p2) && strncmp(p1, p2, strlen(p2)) == 0;
/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 */
248 n2 = hibit(p2); /* add into result */
257 p1 ^= p2 * n1;
H A Dsmp_keys.c550 ** p2 = padding || ia || ra
555 void smp_gen_p2_4_confirm( tSMP_CB *p_cb, BT_OCTET16 p2) argument
557 UINT8 *p = (UINT8 *)p2;
563 SMP_TRACE_ERROR("can not generate confirm p2 for unknown device");
586 SMP_TRACE_DEBUG("p2 = padding || ia || ra");
587 smp_debug_print_nbyte_little_endian(p2, (const UINT8 *)"p2", 16);
641 BT_OCTET16 p2; local
651 smp_gen_p2_4_confirm(p_cb, p2);
653 /* calculate p2
2040 UINT8 *p2; local
[all...]
/system/media/camera/src/
H A Dcamera_metadata.c574 static int compare_entry_tags(const void *p1, const void *p2) { argument
576 uint32_t tag2 = ((camera_metadata_buffer_entry_t*)p2)->tag;
/system/bt/bta/hf_client/
H A Dbta_hf_client_at.c1344 char *p1, *p2; local
1347 p2 = dump;
1353 strlcpy(p2, "<cr>", 4);
1354 p2 += 4;
1358 strlcpy(p2, "<lf>", 4);
1359 p2 += 4;
1363 *p2 = *p1;
1364 p2++;
1369 *p2 = '\0';
/system/bt/bta/hh/
H A Dbta_hh_le.c1276 UINT8 *p2; local
1283 p2 = p_data->remote_bda;
1286 ((p2[0])<<24)+((p2[1])<<16)+((p2[2])<<8)+(p2[3]),
1287 ((p2[4])<<8)+ p2[5],p_data->status);
/system/bt/stack/l2cap/
H A Dl2c_utils.c439 UINT16 p1, UINT16 p2)
468 UINT16_TO_STREAM (p, p2);
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.cpp666 const GGLcoord* p2,
671 const GGLfixed* bot = p2;
856 const GGLcoord* p2,
861 const GGLfixed* bot = p2;
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.c5547 UINT8 *p2; local
5550 p2 = p_data->remote_bda;
5556 ((p2[0])<<24)+((p2[1])<<16)+((p2[2])<<8)+(p2[3]),
5557 ((p2[4])<<8)+ p2[5]);

Completed in 296 milliseconds