/system/incremental_delivery/incfs/tests/util/ |
D | map_ptr_test.cpp | 95 auto p1 = map->data<uint32_t>(); in TEST_F() local 96 ASSERT_TRUE(p1); in TEST_F() 97 ASSERT_EQ(0U, p1.value()); in TEST_F() 110 auto p1 = map->data<uint32_t>(); in TEST_F() local 111 ASSERT_TRUE(p1); in TEST_F() 112 ASSERT_EQ(0U, p1.value()); in TEST_F() 114 p1 = nullptr; in TEST_F() 115 ASSERT_FALSE(p1); in TEST_F() 117 p1 = map->data<uint32_t>(); in TEST_F() 118 ASSERT_TRUE(p1); 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() 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/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 35 const uint8_t* s1 = static_cast<const uint8_t*>(p1); in memcmp_s()
|
/system/bt/stack/test/ |
D | stack_smp_test.cc | 182 Octet16 p1 = smp_gen_p1_4_confirm(&p_cb_, remote_bd_addr_type); in TEST_F() local 186 dump_uint128_reverse(p1, p1_str); in TEST_F() 188 smp_xor_128(&p1, rand_); in TEST_F() 192 dump_uint128_reverse(p1, p1_xor_r_str); in TEST_F() 194 Octet16 output = crypto_toolbox::aes_128(p_cb_.tk, p1.data(), OCTET16_LEN); in TEST_F()
|
/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/media/audio_utils/tests/ |
D | biquad_filter_tests.cpp | 83 const D p1 = (D)dis(gen); in randomFilter() local 85 return {(D)dis(gen), (D)dis(gen), (D)dis(gen), -(p1 + p2), p1 * p2}; in randomFilter() 94 const D p1 = (D)dis(gen); in randomUnstableFilter() local 100 return {(D)dis(gen), (D)dis(gen), (D)dis(gen), -(p1 + p2), p1 * p2}; in randomUnstableFilter()
|
/system/bt/gd/crypto_toolbox/ |
D | crypto_toolbox.cc | 182 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()
|
/system/extras/app-launcher/ |
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()
|
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()
|
/system/bt/stack/smp/ |
D | smp_keys.cc | 256 Octet16 p1; in smp_gen_p1_4_confirm() local 257 uint8_t* p = p1.data(); in smp_gen_p1_4_confirm() 277 smp_debug_print_nbyte_little_endian(p1, "p1 = iat' || rat' || preq || pres", in smp_gen_p1_4_confirm() 280 return p1; in smp_gen_p1_4_confirm() 332 Octet16 p1 = smp_gen_p1_4_confirm(p_cb, remote_bd_addr_type); in smp_calculate_comfirm() local 334 smp_xor_128(&p1, rand); in smp_calculate_comfirm() 335 smp_debug_print_nbyte_little_endian(p1, "p1' = p1 XOR r", 16); in smp_calculate_comfirm() 338 Octet16 e1 = aes_128(p_cb->tk, p1); in smp_calculate_comfirm()
|
/system/bt/build/dpkg/libchrome-822064/ |
D | gen-src-pkg.sh | 31 patch -p1 < "libchrome_tools/patches/${patch}"
|
/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/bt/build/dpkg/libchrome/ |
D | gen-src-pkg.sh | 31 patch -p1 < "libchrome_tools/patches/${patch}"
|
/system/bt/btif/src/ |
D | bluetooth.cc | 143 static bool is_profile(const char* p1, const char* p2) { in is_profile() argument 144 CHECK(p1); 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 | 252 static bool compare(std::pair<sector_t, const CowOperation*> p1, in compare() argument 254 return p1.first < p2.first; in compare()
|
/system/keymaster/include/keymaster/ |
D | mem.h | 116 int memcmp_s(const void* p1, const void* p2, size_t length);
|
/system/tools/hidl/c2hal/test/ |
D | test.h | 278 int (*p1)(struct framebuffer_device_t* dev); member
|
/system/bt/bta/hf_client/ |
D | bta_hf_client_at.cc | 1574 char *p1, *p2; in bta_hf_client_dump_at() local 1576 p1 = client_cb->at_cb.buf; in bta_hf_client_dump_at() 1579 while (*p1 != '\0') { in bta_hf_client_dump_at() 1580 if (*p1 == '\r') { in bta_hf_client_dump_at() 1583 } else if (*p1 == '\n') { in bta_hf_client_dump_at() 1587 *p2 = *p1; in bta_hf_client_dump_at() 1590 p1++; in bta_hf_client_dump_at()
|
/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/bt/stack/include/ |
D | btm_api_types.h | 57 typedef void(tBTM_CMPL_CB)(void* p1); 63 typedef void(tBTM_VSC_CMPL_CB)(tBTM_VSC_CMPL* p1);
|
D | btm_ble_api_types.h | 279 typedef void(tBTM_RAND_ENC_CB)(tBTM_RAND_ENC* p1);
|
/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() 275 p1 ^= p2 * n1; in gf_inv() 277 n1 = hibit(p1); in gf_inv()
|