Home
last modified time | relevance | path

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

12

/system/incremental_delivery/incfs/tests/util/
Dmap_ptr_test.cpp95 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/
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/keymaster/android_keymaster/
Dandroid_keymaster_utils.cpp34 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/
Dstack_smp_test.cc182 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/
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/media/audio_utils/tests/
Dbiquad_filter_tests.cpp83 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/
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()
/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/stack/smp/
Dsmp_keys.cc256 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/
Dgen-src-pkg.sh31 patch -p1 < "libchrome_tools/patches/${patch}"
/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/build/dpkg/libchrome/
Dgen-src-pkg.sh31 patch -p1 < "libchrome_tools/patches/${patch}"
/system/bt/btif/src/
Dbluetooth.cc143 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/
Dsnapuserd.h252 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/
Dmem.h116 int memcmp_s(const void* p1, const void* p2, size_t length);
/system/tools/hidl/c2hal/test/
Dtest.h278 int (*p1)(struct framebuffer_device_t* dev); member
/system/bt/bta/hf_client/
Dbta_hf_client_at.cc1574 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/
Dcmd_trace_sched.cpp310 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/
Dbtm_api_types.h57 typedef void(tBTM_CMPL_CB)(void* p1);
63 typedef void(tBTM_VSC_CMPL_CB)(tBTM_VSC_CMPL* p1);
Dbtm_ble_api_types.h279 typedef void(tBTM_RAND_ENC_CB)(tBTM_RAND_ENC* p1);
/system/bt/test/mock/
Dmock_stack_l2cap_utils.cc226 uint16_t p1, uint16_t p2) { in l2cu_send_peer_cmd_reject() argument
/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()

12