/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() 71 longer = p1; in property_equals() 77 return p1->len == p2->len && !memcmp(p1->val, p2->val, p1->len); in property_equals()
|
D | device_class.cc | 96 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/ |
D | auto_parcelable_test.cc | 33 Parcel p1, p2; in TEST() local 35 p1.writeInt64(0x1234); in TEST() 38 EXPECT_EQ(COMPARED_SAME, p1.compareData(p2)); in TEST()
|
/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 48 const uint8_t* s1 = static_cast<const uint8_t*>(p1); in memcmp_s()
|
/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 37 const uint8_t* s1 = static_cast<const uint8_t*>(p1); in memcmp_s()
|
/system/bt/stack/test/ |
D | stack_smp_test.cc | 181 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/extras/app-launcher/ |
D | computestats.c | 23 compare_long(const void *p1, const void *p2) in compare_long() argument 25 u_int64_t val1 = *(u_int64_t *)p1; in compare_long()
|
D | computestatsf.c | 23 compare_double(const void *p1, const void *p2) in compare_double() argument 25 double val1 = *(u_int64_t *)p1; in compare_double()
|
/system/bt/btif/src/ |
D | bluetooth.cc | 124 static bool is_profile(const char* p1, const char* p2) { in is_profile() argument 125 CHECK(p1); in is_profile() 127 return strlen(p1) == strlen(p2) && strncmp(p1, p2, strlen(p2)) == 0; in is_profile()
|
/system/bt/stack/smp/ |
D | smp_keys.cc | 278 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/ |
D | device_class.h | 53 bool device_class_equals(const bt_device_class_t* p1,
|
D | property.h | 39 bool property_equals(const bt_property_t* p1, const bt_property_t* p2);
|
/system/netd/resolv/ |
D | res_cache.cpp | 788 const uint8_t* p1 = pack1->cursor; in _dnsPacket_isEqualDomainName() local 796 if (p1 >= end1 || p2 >= end2) { in _dnsPacket_isEqualDomainName() 800 c1 = *p1++; in _dnsPacket_isEqualDomainName() 805 pack1->cursor = p1; in _dnsPacket_isEqualDomainName() 813 if ((p1 + c1 > end1) || (p2 + c1 > end2)) { in _dnsPacket_isEqualDomainName() 817 if (memcmp(p1, p2, c1) != 0) break; in _dnsPacket_isEqualDomainName() 818 p1 += c1; in _dnsPacket_isEqualDomainName() 828 const uint8_t* p1 = pack1->cursor; in _dnsPacket_isEqualBytes() local 831 if (p1 + numBytes > pack1->end || p2 + numBytes > pack2->end) return 0; in _dnsPacket_isEqualBytes() 833 if (memcmp(p1, p2, numBytes) != 0) return 0; in _dnsPacket_isEqualBytes()
|
D | getaddrinfo.cpp | 1150 const char* p1 = (const char*) a1; in _common_prefix_len() local 1157 if (p1[i] == p2[i]) { in _common_prefix_len() 1160 x = p1[i] ^ p2[i]; in _common_prefix_len()
|
/system/core/adb/fastdeploy/deploypatchgenerator/src/com/android/fastdeploy/ |
D | DeployPatchGenerator.java | 143 SimpleEntry<APKEntry, APKEntry> p1, SimpleEntry<APKEntry, APKEntry> p2) { in getIdenticalContents() 144 return Long.compare(p1.getValue().getDataOffset(), p2.getValue().getDataOffset()); in getIdenticalContents()
|
/system/bt/bta/hf_client/ |
D | bta_hf_client_at.cc | 1473 char *p1, *p2; in bta_hf_client_dump_at() local 1475 p1 = client_cb->at_cb.buf; in bta_hf_client_dump_at() 1478 while (*p1 != '\0') { in bta_hf_client_dump_at() 1479 if (*p1 == '\r') { in bta_hf_client_dump_at() 1482 } else if (*p1 == '\n') { in bta_hf_client_dump_at() 1486 *p2 = *p1; in bta_hf_client_dump_at() 1489 p1++; in bta_hf_client_dump_at()
|
/system/tools/hidl/c2hal/test/ |
D | test.h | 278 int (*p1)(struct framebuffer_device_t* dev); member
|
/system/extras/simpleperf/ |
D | cmd_trace_sched.cpp | 317 auto sort_process = [](const ProcessInfo& p1, const ProcessInfo& p2) { in BuildProcessInfo() argument 318 return p1.total_runtime_in_ns > p2.total_runtime_in_ns; in BuildProcessInfo()
|
/system/bt/stack/include/ |
D | btm_ble_api_types.h | 282 typedef void(tBTM_RAND_ENC_CB)(tBTM_RAND_ENC* p1);
|
D | btm_api_types.h | 112 typedef void(tBTM_CMPL_CB)(void* p1); 118 typedef void(tBTM_VSC_CMPL_CB)(tBTM_VSC_CMPL* p1); 694 typedef void(tBTM_INQ_DB_CHANGE_CB)(void* p1, bool is_new);
|
/system/core/libpixelflinger/ |
D | trap.cpp | 665 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/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() 275 p1 ^= p2 * n1; in gf_inv() 277 n1 = hibit(p1); 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 | 291 const uintptr_t p1;\
|
/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 728 uint32_t tag1 = ((camera_metadata_buffer_entry_t*)p1)->tag; in compare_entry_tags()
|