/system/incremental_delivery/incfs/tests/util/ |
D | map_ptr_test.cpp | 99 auto p2 = map->data<TwoValues>(); in TEST_F() local 100 ASSERT_TRUE(p2); in TEST_F() 101 ASSERT_EQ(0U, p2->first); in TEST_F() 102 ASSERT_EQ(1U, p2->second); in TEST_F() 131 auto p2 = map->data<TwoValues>(); in TEST_F() local 132 ASSERT_TRUE(p2); in TEST_F() 133 ASSERT_EQ(4U, p2->first); in TEST_F() 134 ASSERT_EQ(5U, p2->second); in TEST_F() 146 auto p2 = p1 - 5U; in TEST_F() local 147 ASSERT_TRUE(p2); in TEST_F() [all …]
|
/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/media/audio_utils/tests/ |
D | biquad_filter_tests.cpp | 84 const D p2 = (D)dis(gen); in randomFilter() local 85 return {(D)dis(gen), (D)dis(gen), (D)dis(gen), -(p1 + p2), p1 * p2}; in randomFilter() 95 D p2; in randomUnstableFilter() local 97 p2 = (D)dis(gen); in randomUnstableFilter() 98 if (fabs(p2) > 1.1) break; in randomUnstableFilter() 100 return {(D)dis(gen), (D)dis(gen), (D)dis(gen), -(p1 + p2), p1 * p2}; in randomUnstableFilter()
|
/system/keymaster/android_keymaster/ |
D | android_keymaster_utils.cpp | 34 int memcmp_s(const void* p1, const void* p2, size_t length) { in memcmp_s() argument 36 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/tools/aidl/tests/corpus/ |
D | enum_named_byte | 1 = import s;enum byte{p}enum s{p} enum oz{p2}parcelable e{e oy;oz y;}
|
/system/bt/gd/crypto_toolbox/ |
D | crypto_toolbox.cc | 196 Octet16 p2; in c1() local 197 it = p2.begin(); in c1() 203 p2[i] = p1bis[i] ^ p2[i]; in c1() 206 return aes_128(k, p2); in c1()
|
D | aes.cc | 208 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() 219 n2 = hibit(p2); /* add into result */ in gf_inv() 227 p1 ^= p2 * n1; in gf_inv()
|
/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 | 290 Octet16 p2{0}; in smp_gen_p2_4_confirm() local 291 uint8_t* p = p2.data(); in smp_gen_p2_4_confirm() 305 smp_debug_print_nbyte_little_endian(p2, "p2 = ra || ia || padding", 16); in smp_gen_p2_4_confirm() 306 return p2; in smp_gen_p2_4_confirm() 341 Octet16 p2 = smp_gen_p2_4_confirm(p_cb, remote_bda); in smp_calculate_comfirm() local 343 smp_xor_128(&p2, e1); in smp_calculate_comfirm() 344 smp_debug_print_nbyte_little_endian(p2, "p2' = p2 XOR e1", 16); in smp_calculate_comfirm() 346 *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 | 167 Octet16 p2 = smp_gen_p2_4_confirm(&p_cb_, remote_bda); in TEST_F() local 171 dump_uint128_reverse(p2, p2_str); in TEST_F()
|
/system/bt/btif/src/ |
D | bluetooth.cc | 143 static bool is_profile(const char* p1, const char* p2) { in is_profile() argument 145 CHECK(p2); in is_profile() 146 return strlen(p1) == strlen(p2) && strncmp(p1, p2, strlen(p2)) == 0; in is_profile()
|
/system/core/fs_mgr/libsnapshot/ |
D | snapuserd.h | 253 std::pair<sector_t, const CowOperation*> p2) { in compare() argument 254 return p1.first < p2.first; in compare()
|
/system/bt/bta/hf_client/ |
D | bta_hf_client_at.cc | 1574 char *p1, *p2; in bta_hf_client_dump_at() local 1577 p2 = dump; in bta_hf_client_dump_at() 1581 strlcpy(p2, "<cr>", 4); in bta_hf_client_dump_at() 1582 p2 += 4; in bta_hf_client_dump_at() 1584 strlcpy(p2, "<lf>", 4); in bta_hf_client_dump_at() 1585 p2 += 4; in bta_hf_client_dump_at() 1587 *p2 = *p1; in bta_hf_client_dump_at() 1588 p2++; in bta_hf_client_dump_at() 1593 *p2 = '\0'; in bta_hf_client_dump_at()
|
/system/keymaster/include/keymaster/ |
D | mem.h | 116 int memcmp_s(const void* p1, const void* p2, size_t length);
|
/system/bt/bta/hh/ |
D | bta_hh_le.cc | 1090 const uint8_t* p2; in bta_hh_gatt_open() local 1095 p2 = p_data->remote_bda.address; in bta_hh_gatt_open() 1099 ((p2[0]) << 24) + ((p2[1]) << 16) + ((p2[2]) << 8) + (p2[3]), in bta_hh_gatt_open() 1100 ((p2[4]) << 8) + p2[5], p_data->status); in bta_hh_gatt_open()
|
/system/tools/hidl/c2hal/test/ |
D | test.h | 280 void (*p2)(struct framebuffer_device_t* dev, char *buff, int buff_len); member
|
/system/extras/simpleperf/ |
D | cmd_trace_sched.cpp | 310 auto sort_process = [](const ProcessInfo& p1, const ProcessInfo& p2) { in BuildProcessInfo() argument 311 return p1.total_runtime_in_ns > p2.total_runtime_in_ns; in BuildProcessInfo()
|
/system/tools/aidl/tests/java/src/android/aidl/tests/ |
D | TestServiceClient.java | 574 StructuredParcelable p2 = new StructuredParcelable(); in testStructurecParcelableEquality() local 575 p2.shouldContainThreeFs = new int[] {1, 2, 3}; in testStructurecParcelableEquality() 576 p2.shouldBeJerry = "Jerry"; in testStructurecParcelableEquality() 577 shouldBeTheSame(p, p2); in testStructurecParcelableEquality()
|
/system/bt/test/mock/ |
D | mock_stack_l2cap_utils.cc | 226 uint16_t p1, uint16_t p2) { in l2cu_send_peer_cmd_reject() argument
|
/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()
|