/system/bt/btcore/src/ |
D | property.cc | 52 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() 70 shorter = p2; in property_equals() 77 return p1->len == p2->len && !memcmp(p1->val, p2->val, p1->len); in property_equals()
|
D | device_class.cc | 97 const bt_device_class_t* p2) { in device_class_equals() argument 99 CHECK(p2 != 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/ |
D | auto_parcelable_test.cc | 33 Parcel p1, p2; in TEST() local 36 p2.writeInt64(0x1234); in TEST() 38 EXPECT_EQ(COMPARED_SAME, p1.compareData(p2)); in TEST()
|
/system/keymaster/android_keymaster/ |
D | android_keymaster_utils.cpp | 36 int memcmp_s(const void* p1, const void* p2, size_t length) { in memcmp_s() argument 38 const uint8_t* s2 = static_cast<const uint8_t*>(p2); in memcmp_s()
|
/system/gatekeeper/include/gatekeeper/ |
D | gatekeeper_utils.h | 47 static inline int memcmp_s(const void* p1, const void* p2, size_t length) { in memcmp_s() argument 49 const uint8_t* s2 = static_cast<const uint8_t*>(p2); in memcmp_s()
|
/system/bt/gd/crypto_toolbox/ |
D | crypto_toolbox.cc | 180 Octet16 p2; in c1() local 181 it = p2.begin(); in c1() 187 p2[i] = p1bis[i] ^ p2[i]; in c1() 190 return aes_128(k, p2); in c1()
|
D | aes.cc | 256 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() 267 n2 = hibit(p2); /* add into result */ in gf_inv() 275 p1 ^= p2 * n1; in gf_inv()
|
/system/bt/btif/src/ |
D | bluetooth.cc | 131 static bool is_profile(const char* p1, const char* p2) { in is_profile() argument 133 CHECK(p2); in is_profile() 134 return strlen(p1) == strlen(p2) && strncmp(p1, p2, strlen(p2)) == 0; in is_profile()
|
/system/extras/app-launcher/ |
D | computestatsf.c | 23 compare_double(const void *p1, const void *p2) in compare_double() argument 26 double val2 = *(u_int64_t *)p2; in compare_double()
|
D | computestats.c | 23 compare_long(const void *p1, const void *p2) in compare_long() argument 26 u_int64_t val2 = *(u_int64_t *)p2; in compare_long()
|
/system/bt/stack/smp/ |
D | smp_keys.cc | 312 Octet16 p2{0}; in smp_gen_p2_4_confirm() local 313 uint8_t* p = p2.data(); in smp_gen_p2_4_confirm() 327 smp_debug_print_nbyte_little_endian(p2, "p2 = ra || ia || padding", 16); in smp_gen_p2_4_confirm() 328 return p2; in smp_gen_p2_4_confirm() 363 Octet16 p2 = smp_gen_p2_4_confirm(p_cb, remote_bda); in smp_calculate_comfirm() local 365 smp_xor_128(&p2, e1); in smp_calculate_comfirm() 366 smp_debug_print_nbyte_little_endian(p2, "p2' = p2 XOR e1", 16); in smp_calculate_comfirm() 368 *output = aes_128(p_cb->tk, p2); in smp_calculate_comfirm()
|
/system/bt/btcore/include/ |
D | device_class.h | 54 const bt_device_class_t* p2);
|
D | property.h | 39 bool property_equals(const bt_property_t* p1, const bt_property_t* p2);
|
/system/bt/stack/test/ |
D | stack_smp_test.cc | 166 Octet16 p2 = smp_gen_p2_4_confirm(&p_cb_, remote_bda); in TEST_F() local 170 dump_uint128_reverse(p2, p2_str); in TEST_F()
|
/system/bt/bta/hf_client/ |
D | bta_hf_client_at.cc | 1513 char *p1, *p2; in bta_hf_client_dump_at() local 1516 p2 = dump; in bta_hf_client_dump_at() 1520 strlcpy(p2, "<cr>", 4); in bta_hf_client_dump_at() 1521 p2 += 4; in bta_hf_client_dump_at() 1523 strlcpy(p2, "<lf>", 4); in bta_hf_client_dump_at() 1524 p2 += 4; in bta_hf_client_dump_at() 1526 *p2 = *p1; in bta_hf_client_dump_at() 1527 p2++; in bta_hf_client_dump_at() 1532 *p2 = '\0'; in bta_hf_client_dump_at()
|
/system/tools/hidl/c2hal/test/ |
D | test.h | 280 void (*p2)(struct framebuffer_device_t* dev, char *buff, int buff_len); member
|
/system/bt/bta/hh/ |
D | bta_hh_le.cc | 1133 uint8_t* p2; in bta_hh_gatt_open() local 1138 p2 = p_data->remote_bda.address; in bta_hh_gatt_open() 1142 ((p2[0]) << 24) + ((p2[1]) << 16) + ((p2[2]) << 8) + (p2[3]), in bta_hh_gatt_open() 1143 ((p2[4]) << 8) + p2[5], p_data->status); in bta_hh_gatt_open()
|
/system/extras/simpleperf/ |
D | cmd_trace_sched.cpp | 306 auto sort_process = [](const ProcessInfo& p1, const ProcessInfo& p2) { in BuildProcessInfo() argument 307 return p1.total_runtime_in_ns > p2.total_runtime_in_ns; in BuildProcessInfo()
|
/system/bt/stack/crypto_toolbox/ |
D | aes.cc | 256 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() 267 n2 = hibit(p2); /* add into result */ in gf_inv() 275 p1 ^= p2 * n1; in gf_inv()
|
/system/keymaster/include/keymaster/ |
D | android_keymaster_utils.h | 158 int memcmp_s(const void* p1, const void* p2, size_t length);
|
/system/chre/host/msm/daemon/generated/ |
D | chre_slpi_skel.c | 294 const uintptr_t p2;\
|
D | chre_slpi_stub.c | 294 const uintptr_t p2;\
|
/system/media/audio_utils/tests/ |
D | metadata_tests.cpp | 285 ASSERT_EQ(4, arbitrary.p2.first); in TEST()
|
/system/media/camera/src/ |
D | camera_metadata.c | 727 static int compare_entry_tags(const void *p1, const void *p2) { in compare_entry_tags() argument 729 uint32_t tag2 = ((camera_metadata_buffer_entry_t*)p2)->tag; in compare_entry_tags()
|
/system/bt/stack/l2cap/ |
D | l2c_int.h | 617 uint8_t rem_id, uint16_t p1, uint16_t p2);
|