Home
last modified time | relevance | path

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

/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/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/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.cpp85 const D p1 = (D)dis(gen); in randomFilter() local
87 return {(D)dis(gen), (D)dis(gen), (D)dis(gen), -(p1 + p2), p1 * p2}; in randomFilter()
96 const D p1 = (D)dis(gen); in randomUnstableFilter() local
102 return {(D)dis(gen), (D)dis(gen), (D)dis(gen), -(p1 + p2), p1 * p2}; in randomUnstableFilter()
/system/extras/app-launcher/
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()
Dcomputestatsf.c23 compare_double(const void *p1, const void *p2) in compare_double() argument
25 double val1 = *(u_int64_t *)p1; in compare_double()
/system/tools/aidl/tests/
Daidl_test_client_ndk_parcelables.cpp207 IntParcelable p1, p2, p3; in TEST_F() local
208 p1.value = 1; in TEST_F()
212 (std::array<IntParcelable, 3>{p1, p2, p3})); in TEST_F()
223 Make2dArray<IntParcelable>({p1, p2, p3})); in TEST_F()
Daidl_test_client_parcelables.cpp694 IntParcelable p1, p2, p3; in TEST_F() local
695 p1.value = 1; in TEST_F()
699 (std::array<IntParcelable, 3>{p1, p2, p3})); in TEST_F()
710 Make2dArray<IntParcelable>({p1, p2, p3})); in TEST_F()
/system/core/fs_mgr/libsnapshot/snapuserd/dm-snapshot-merge/
Dsnapuserd.h237 static bool compare(std::pair<sector_t, const CowOperation*> p1, in compare() argument
239 return p1.first < p2.first; in compare()
/system/keymaster/include/keymaster/
Dmem.h113 int memcmp_s(const void* p1, const void* p2, size_t length);
/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/
Dsnapuserd_core.h331 static bool compare(std::pair<sector_t, const CowOperation*> p1, in compare() argument
333 return p1.first < p2.first; in compare()
/system/tools/hidl/c2hal/test/
Dtest.h278 int (*p1)(struct framebuffer_device_t* dev); member
/system/extras/simpleperf/
Dcmd_trace_sched.cpp311 auto sort_process = [](const ProcessInfo& p1, const ProcessInfo& p2) { in BuildProcessInfo() argument
312 return p1.total_runtime_in_ns > p2.total_runtime_in_ns; in BuildProcessInfo()
/system/tools/aidl/tests/java/src/android/aidl/tests/
DTestServiceClient.java1044 IntParcelable p1 = new IntParcelable(); in testFixedSizeArrayOverBinder() local
1045 p1.value = 1; in testFixedSizeArrayOverBinder()
1050 IntParcelable[][] input = new IntParcelable[][] {{p1, p2, p3}, {p1, p2, p3}}; in testFixedSizeArrayOverBinder()
/system/tools/aidl/tests/rust/
Dtest_client.rs1228 let p1 = IntParcelable { value: 1 }; in test_fixed_size_array_over_binder() localVariable
1231 test_repeat_fixed_size_array!(service, RepeatParcelables, [p1, p2, p3]); in test_fixed_size_array_over_binder()
1242 test_repeat_fixed_size_array!(service, Repeat2dParcelables, [[p1, p2, p3], [p1, p2, p3]]); in test_fixed_size_array_over_binder()
/system/libcppbor/tests/
Dcppbor_test.cpp277 pair<string::iterator, string::iterator> p1 = make_pair(s1.begin(), s1.end()); in TEST() local
279 const pair<string::iterator, string::iterator> p2 = p1; in TEST()
280 EXPECT_EQ("\x65\x68\x65\x6c\x6c\x6f"s, details::makeItem(p1)->toString()); in TEST()
304 pair<iter, iter> p1 = make_pair(v1.begin(), v1.end()); in TEST() local
306 EXPECT_EQ("\x43\x00\x01\x02"s, details::makeItem(p1)->toString()); in TEST()
328 Uint* p1 = new Uint(0); in TEST() local
329 EXPECT_EQ("\x00"s, details::makeItem(p1)->toString()); in TEST()
/system/chre/host/msm/daemon/generated/
Dchre_slpi_skel.c293 const uintptr_t p1;\
Dchre_slpi_stub.c293 const uintptr_t p1;\
/system/media/camera/src/
Dcamera_metadata.c727 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()