Home
last modified time | relevance | path

Searched refs:p2 (Results 1 – 23 of 23) sorted by relevance

/system/incremental_delivery/incfs/tests/util/
Dmap_ptr_test.cpp99 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/media/audio_utils/tests/
Dbiquad_filter_tests.cpp86 const D p2 = (D)dis(gen); in randomFilter() local
87 return {(D)dis(gen), (D)dis(gen), (D)dis(gen), -(p1 + p2), p1 * p2}; in randomFilter()
97 D p2; in randomUnstableFilter() local
99 p2 = (D)dis(gen); in randomUnstableFilter()
100 if (fabs(p2) > 1.1) break; in randomUnstableFilter()
102 return {(D)dis(gen), (D)dis(gen), (D)dis(gen), -(p1 + p2), p1 * p2}; in randomUnstableFilter()
Dmetadata_tests.cpp282 ASSERT_EQ(4, arbitrary.p2.first); in TEST()
/system/keymaster/android_keymaster/
Dandroid_keymaster_utils.cpp34 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/
Dgatekeeper_utils.h47 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/libvintf/test/
Dvintf_object_tests.cpp1095 auto p2 = get(); in TEST_F() local
1096 ASSERT_NE(nullptr, p2); in TEST_F()
1097 ASSERT_NE(p, p2); in TEST_F()
1098 EXPECT_TRUE(containsVendorEtcManifest(p2)); in TEST_F()
1099 EXPECT_TRUE(vendorEtcManifestOverridden(p2)); in TEST_F()
1100 EXPECT_TRUE(containsOdmManifest(p2)); in TEST_F()
1101 EXPECT_FALSE(containsVendorManifest(p2)); in TEST_F()
1103 EXPECT_TRUE(containsApexManifest(p2)); in TEST_F()
1107 ASSERT_EQ(p2,p3); in TEST_F()
1126 auto p2 = get(); in TEST_F() local
[all …]
/system/extras/app-launcher/
Dcomputestats.c23 compare_long(const void *p1, const void *p2) in compare_long() argument
26 u_int64_t val2 = *(u_int64_t *)p2; in compare_long()
Dcomputestatsf.c23 compare_double(const void *p1, const void *p2) in compare_double() argument
26 double val2 = *(u_int64_t *)p2; in compare_double()
/system/tools/aidl/tests/
Daidl_test_client_ndk_parcelables.cpp207 IntParcelable p1, p2, p3; in TEST_F() local
209 p2.value = 2; 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
696 p2.value = 2; in TEST_F()
699 (std::array<IntParcelable, 3>{p1, p2, p3})); in TEST_F()
710 Make2dArray<IntParcelable>({p1, p2, p3})); in TEST_F()
/system/tools/aidl/tests/java/src/android/aidl/tests/
DTestServiceClient.java699 StructuredParcelable p2 = new StructuredParcelable(); in testStructuredParcelableEquality() local
700 p2.shouldContainThreeFs = new int[] {1, 2, 3}; in testStructuredParcelableEquality()
701 p2.shouldBeJerry = "Jerry"; in testStructuredParcelableEquality()
702 shouldBeTheSame(p, p2); in testStructuredParcelableEquality()
1046 IntParcelable p2 = new IntParcelable(); in testFixedSizeArrayOverBinder() local
1047 p2.value = 1; in testFixedSizeArrayOverBinder()
1050 IntParcelable[][] input = new IntParcelable[][] {{p1, p2, p3}, {p1, p2, p3}}; in testFixedSizeArrayOverBinder()
/system/core/fs_mgr/libsnapshot/snapuserd/dm-snapshot-merge/
Dsnapuserd.h238 std::pair<sector_t, const CowOperation*> p2) { 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.h332 std::pair<sector_t, const CowOperation*> p2) { in compare() argument
333 return p1.first < p2.first; in compare()
/system/tools/hidl/c2hal/test/
Dtest.h280 void (*p2)(struct framebuffer_device_t* dev, char *buff, int buff_len); 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/rust/
Dtest_client.rs1229 let p2 = IntParcelable { value: 2 }; 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/chre/host/msm/daemon/generated/
Dchre_slpi_skel.c294 const uintptr_t p2;\
Dchre_slpi_stub.c294 const uintptr_t p2;\
/system/media/camera/src/
Dcamera_metadata.c727 static int compare_entry_tags(const void *p1, const void *p2) { in compare_entry_tags() argument
729 uint32_t tag2 = ((camera_metadata_buffer_entry_t*)p2)->tag; in compare_entry_tags()
/system/libcppbor/tests/
Dcppbor_test.cpp279 const pair<string::iterator, string::iterator> p2 = p1; in TEST() local
281 EXPECT_EQ("\x65\x68\x65\x6c\x6c\x6f"s, details::makeItem(p2)->toString()); in TEST()
305 const pair<iter, iter> p2 = make_pair(v1.begin(), v1.end()); in TEST() local
307 EXPECT_EQ("\x43\x00\x01\x02"s, details::makeItem(p2)->toString()); in TEST()
/system/core/debuggerd/
Ddebuggerd_test.cpp1692 char* volatile p2 = reinterpret_cast<char* volatile>(malloc(params.alloc_size)); in TEST_P() local
1694 free(static_cast<void*>(const_cast<char*>(p2))); in TEST_P()
1696 *p2 = 42; in TEST_P()
/system/media/audio_utils/include/audio_utils/
DMetadata.h236 std::pair<int, int> p2;