/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/media/audio_utils/tests/ |
D | biquad_filter_tests.cpp | 86 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()
|
D | metadata_tests.cpp | 282 ASSERT_EQ(4, arbitrary.p2.first); in TEST()
|
/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/libvintf/test/ |
D | vintf_object_tests.cpp | 1095 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/ |
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()
|
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()
|
/system/tools/aidl/tests/ |
D | aidl_test_client_ndk_parcelables.cpp | 207 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()
|
D | aidl_test_client_parcelables.cpp | 694 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/ |
D | TestServiceClient.java | 699 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/ |
D | snapuserd.h | 238 std::pair<sector_t, const CowOperation*> p2) { in compare() argument 239 return p1.first < p2.first; in compare()
|
/system/keymaster/include/keymaster/ |
D | mem.h | 113 int memcmp_s(const void* p1, const void* p2, size_t length);
|
/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/ |
D | snapuserd_core.h | 332 std::pair<sector_t, const CowOperation*> p2) { in compare() argument 333 return p1.first < p2.first; in compare()
|
/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 | 311 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/ |
D | test_client.rs | 1229 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/ |
D | chre_slpi_skel.c | 294 const uintptr_t p2;\
|
D | chre_slpi_stub.c | 294 const uintptr_t p2;\
|
/system/media/camera/src/ |
D | camera_metadata.c | 727 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/ |
D | cppbor_test.cpp | 279 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/ |
D | debuggerd_test.cpp | 1692 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/ |
D | Metadata.h | 236 std::pair<int, int> p2;
|