Home
last modified time | relevance | path

Searched refs:p1 (Results 1 – 25 of 28) sorted by relevance

12

/system/bt/btcore/src/
Dproperty.cc52 bool property_equals(const bt_property_t* p1, const bt_property_t* p2) { in property_equals() argument
55 if (!p1 || !p2 || p1->type != p2->type) { in property_equals()
67 if (p1->type == BT_PROPERTY_BDNAME && p1->len != p2->len) { in property_equals()
68 const bt_property_t *shorter = p1, *longer = p2; in property_equals()
69 if (p1->len > p2->len) { in property_equals()
71 longer = p1; in property_equals()
77 return p1->len == p2->len && !memcmp(p1->val, p2->val, p1->len); in property_equals()
Ddevice_class.cc96 bool device_class_equals(const bt_device_class_t* p1, in device_class_equals() argument
98 CHECK(p1 != NULL); in device_class_equals()
100 return (memcmp(p1, p2, sizeof(bt_device_class_t)) == 0); in device_class_equals()
/system/iorap/tests/src/binder/
Dauto_parcelable_test.cc33 Parcel p1, p2; in TEST() local
35 p1.writeInt64(0x1234); in TEST()
38 EXPECT_EQ(COMPARED_SAME, p1.compareData(p2)); in TEST()
/system/keymaster/android_keymaster/
Dandroid_keymaster_utils.cpp36 int memcmp_s(const void* p1, const void* p2, size_t length) { in memcmp_s() argument
37 const uint8_t* s1 = static_cast<const uint8_t*>(p1); in memcmp_s()
/system/bt/stack/test/
Dstack_smp_test.cc181 Octet16 p1 = smp_gen_p1_4_confirm(&p_cb_, remote_bd_addr_type); in TEST_F() local
185 dump_uint128_reverse(p1, p1_str); in TEST_F()
187 smp_xor_128(&p1, rand_); in TEST_F()
191 dump_uint128_reverse(p1, p1_xor_r_str); in TEST_F()
193 Octet16 output = crypto_toolbox::aes_128(p_cb_.tk, p1.data(), OCTET16_LEN); in TEST_F()
/system/gatekeeper/include/gatekeeper/
Dgatekeeper_utils.h47 static inline int memcmp_s(const void* p1, const void* p2, size_t length) { in memcmp_s() argument
48 const uint8_t* s1 = static_cast<const uint8_t*>(p1); in memcmp_s()
/system/bt/gd/crypto_toolbox/
Dcrypto_toolbox.cc182 Octet16 p1; in c1() local
183 auto it = p1.begin(); in c1()
190 p1[i] = r[i] ^ p1[i]; in c1()
193 Octet16 p1bis = aes_128(k, p1); in c1()
Daes.cc208 uint_8t p1 = x, p2 = BPOLY, n1 = hibit(x), n2 = 0x80, v1 = 1, v2 = 0; in gf_inv() local
217 p2 ^= (p1 * n2) & 0xff; /* and remove from larger one */ in gf_inv()
227 p1 ^= p2 * n1; in gf_inv()
229 n1 = hibit(p1); in gf_inv()
/system/extras/app-launcher/
Dcomputestatsf.c23 compare_double(const void *p1, const void *p2) in compare_double() argument
25 double val1 = *(u_int64_t *)p1; in compare_double()
Dcomputestats.c23 compare_long(const void *p1, const void *p2) in compare_long() argument
25 u_int64_t val1 = *(u_int64_t *)p1; in compare_long()
/system/bt/btif/src/
Dbluetooth.cc131 static bool is_profile(const char* p1, const char* p2) { in is_profile() argument
132 CHECK(p1); in is_profile()
134 return strlen(p1) == strlen(p2) && strncmp(p1, p2, strlen(p2)) == 0; in is_profile()
/system/bt/stack/smp/
Dsmp_keys.cc278 Octet16 p1; in smp_gen_p1_4_confirm() local
279 uint8_t* p = p1.data(); in smp_gen_p1_4_confirm()
299 smp_debug_print_nbyte_little_endian(p1, "p1 = iat' || rat' || preq || pres", in smp_gen_p1_4_confirm()
302 return p1; in smp_gen_p1_4_confirm()
354 Octet16 p1 = smp_gen_p1_4_confirm(p_cb, remote_bd_addr_type); in smp_calculate_comfirm() local
356 smp_xor_128(&p1, rand); in smp_calculate_comfirm()
357 smp_debug_print_nbyte_little_endian(p1, "p1' = p1 XOR r", 16); in smp_calculate_comfirm()
360 Octet16 e1 = aes_128(p_cb->tk, p1); in smp_calculate_comfirm()
/system/bt/btcore/include/
Ddevice_class.h53 bool device_class_equals(const bt_device_class_t* p1,
Dproperty.h39 bool property_equals(const bt_property_t* p1, const bt_property_t* p2);
/system/bt/bta/hf_client/
Dbta_hf_client_at.cc1512 char *p1, *p2; in bta_hf_client_dump_at() local
1514 p1 = client_cb->at_cb.buf; in bta_hf_client_dump_at()
1517 while (*p1 != '\0') { in bta_hf_client_dump_at()
1518 if (*p1 == '\r') { in bta_hf_client_dump_at()
1521 } else if (*p1 == '\n') { in bta_hf_client_dump_at()
1525 *p2 = *p1; in bta_hf_client_dump_at()
1528 p1++; in bta_hf_client_dump_at()
/system/tools/hidl/c2hal/test/
Dtest.h278 int (*p1)(struct framebuffer_device_t* dev); member
/system/extras/simpleperf/
Dcmd_trace_sched.cpp307 auto sort_process = [](const ProcessInfo& p1, const ProcessInfo& p2) { in BuildProcessInfo() argument
308 return p1.total_runtime_in_ns > p2.total_runtime_in_ns; in BuildProcessInfo()
/system/bt/stack/include/
Dbtm_ble_api_types.h269 typedef void(tBTM_RAND_ENC_CB)(tBTM_RAND_ENC* p1);
Dbtm_api_types.h93 typedef void(tBTM_CMPL_CB)(void* p1);
99 typedef void(tBTM_VSC_CMPL_CB)(tBTM_VSC_CMPL* p1);
/system/bt/stack/crypto_toolbox/
Daes.cc256 uint_8t p1 = x, p2 = BPOLY, n1 = hibit(x), n2 = 0x80, v1 = 1, v2 = 0; in gf_inv() local
265 p2 ^= (p1 * n2) & 0xff; /* and remove from larger one */ in gf_inv()
275 p1 ^= p2 * n1; in gf_inv()
277 n1 = hibit(p1); in gf_inv()
/system/core/libpixelflinger/
Dtrap.cpp665 const GGLcoord* p1, in edge_setup() argument
670 const GGLfixed* top = p1; in edge_setup()
855 const GGLcoord* p1, in aa_edge_setup() argument
860 const GGLfixed* top = p1; in aa_edge_setup()
/system/keymaster/include/keymaster/
Dandroid_keymaster_utils.h158 int memcmp_s(const void* p1, const void* p2, size_t length);
/system/chre/host/msm/daemon/generated/
Dchre_slpi_skel.c291 const uintptr_t p1;\
Dchre_slpi_stub.c291 const uintptr_t p1;\
/system/media/camera/src/
Dcamera_metadata.c727 static int compare_entry_tags(const void *p1, const void *p2) { in compare_entry_tags() argument
728 uint32_t tag1 = ((camera_metadata_buffer_entry_t*)p1)->tag; in compare_entry_tags()

12