/system/extras/simpleperf/ |
D | record_equal_test.h | 19 static void CheckRecordDataEqual(const MmapRecord& r1, const MmapRecord& r2) { in CheckRecordDataEqual() argument 20 ASSERT_EQ(0, memcmp(r1.data, r2.data, sizeof(*r1.data))); in CheckRecordDataEqual() 21 ASSERT_STREQ(r1.filename, r2.filename); in CheckRecordDataEqual() 24 static void CheckRecordDataEqual(const CommRecord& r1, const CommRecord& r2) { in CheckRecordDataEqual() argument 25 ASSERT_EQ(0, memcmp(r1.data, r2.data, sizeof(*r1.data))); in CheckRecordDataEqual() 26 ASSERT_STREQ(r1.comm, r2.comm); in CheckRecordDataEqual() 29 static void CheckRecordDataEqual(const BuildIdRecord& r1, const BuildIdRecord& r2) { in CheckRecordDataEqual() argument 30 ASSERT_EQ(r1.pid, r2.pid); in CheckRecordDataEqual() 31 ASSERT_EQ(r1.build_id, r2.build_id); in CheckRecordDataEqual() 32 ASSERT_STREQ(r1.filename, r2.filename); in CheckRecordDataEqual() [all …]
|
D | record_test.cpp | 75 SampleRecord r2; in TEST_F() local 77 r2.Parse(event_attr, r1.BinaryForTestingOnly(), r1.BinaryForTestingOnly() + r1.size())); in TEST_F() 79 ASSERT_EQ(2u, r2.callchain_data.ip_nr); in TEST_F() 80 ASSERT_EQ(PERF_CONTEXT_USER, r2.callchain_data.ips[0]); in TEST_F() 81 ASSERT_EQ(2u, r2.callchain_data.ips[1]); in TEST_F() 184 SampleRecord r2(event_attr, 0, 1, 2, 3, 4, 5, 6, read_data, {}, {}, 0); in TEST_F() local 185 ASSERT_EQ(read_data.time_enabled, r2.read_data.time_enabled); in TEST_F() 186 ASSERT_EQ(read_data.time_running, r2.read_data.time_running); in TEST_F() 187 ASSERT_TRUE(read_data.counts == r2.read_data.counts); in TEST_F() 188 ASSERT_TRUE(read_data.ids == r2.read_data.ids); in TEST_F() [all …]
|
D | RecordReadThread.cpp | 460 static bool CompareRecordTime(KernelRecordReader* r1, KernelRecordReader* r2) { in CompareRecordTime() argument 461 return r1->RecordTime() > r2->RecordTime(); in CompareRecordTime()
|
/system/media/audio_utils/include/audio_utils/ |
D | intrinsic_utils.h | 156 auto &[r1, r2] = retval; in vadd() 160 r2 = vadd(a2, b2); in vadd() 233 auto &[r1, r2] = retval; in vdupn() 235 using r2_type = std::decay_t<decltype(r2)>; in vdupn() 237 r2 = vdupn<r2_type>(f); in vdupn() 273 auto &[r1, r2] = retval; in vld1() 275 using r2_type = std::decay_t<decltype(r2)>; in vld1() 278 r2 = vld1<r2_type>(f); in vld1() 332 auto &[r1, r2] = retval; in vmla() 336 r2 = vmla(a2, b2, c); in vmla() [all …]
|
D | TimestampVerifier.h | 225 double a, b, r2; // sample rate is the slope b. in toString() local 226 estimateSampleRate(a, b, r2); in toString() 230 ss << " localSR(" << b << ", " << (1. - r2) << ")"; in toString() 246 constexpr void estimateSampleRate(double &a, double &b, double &r2) const { in estimateSampleRate() argument 247 mTimestampEstimator.computeYLine(a, b, r2); in estimateSampleRate()
|
D | Statistics.h | 569 T &a, T& b, T &r2, 579 r2 = cov_xy * cov_xy / (var_x * var_y); 631 constexpr void computeYLine(T &a, T &b, T &r2) const { 632 computeYLineFromStatistics(a, b, r2, 647 constexpr void computeXLine(T &a, T &b, T &r2) const { 649 computeYLineFromStatistics(a, b, r2,
|
/system/media/audio_utils/tests/ |
D | timestampverifier_tests.cpp | 72 double a, b, r2; in TEST() local 73 tv2.estimateSampleRate(a, b, r2); in TEST() 76 EXPECT_NEAR(1., r2, std::numeric_limits<double>::epsilon()); in TEST() 97 tv3.estimateSampleRate(a, b, r2); in TEST() 100 EXPECT_NEAR(1., r2, std::numeric_limits<double>::epsilon()); in TEST()
|
D | statistics_tests.cpp | 457 double a, b, r2; in TEST() local 458 fit.computeYLine(a, b, r2); in TEST() 459 printf("y line - a:%lf b:%lf r2:%lf\n", a, b, r2); in TEST() 462 PRINT_AND_EXPECT_NEAR(1.0, r2); // correlation coefficient. in TEST() 475 EXPECT_EQ(r2, r2c); in TEST() 484 double a, b, r2; in TEST() local 485 fit.computeXLine(a, b, r2); in TEST() 486 printf("x line - a:%lf b:%lf r2:%lf\n", a, b, r2); in TEST() 489 PRINT_AND_EXPECT_NEAR(1.0, r2); // correlation coefficient. in TEST() 522 double a, b, r2; in TEST() local [all …]
|
/system/netd/server/ |
D | UidRanges.cpp | 43 bool isOverlapped(const UidRangeParcel& r1, const UidRangeParcel& r2) { in isOverlapped() argument 44 return (r1.stop >= r2.start) && (r1.start <= r2.stop); in isOverlapped()
|
/system/unwinding/libunwindstack/offline_files/jit_debug_arm/ |
D | regs.txt | 3 r2: 0
|
/system/unwinding/libunwindstack/offline_files/zlib_compress_arm/ |
D | regs.txt | 3 r2: de6
|
/system/unwinding/libunwindstack/offline_files/debug_frame_load_bias_arm/ |
D | regs.txt | 3 r2: ffd4a658
|
/system/unwinding/libunwindstack/offline_files/zstd_compress_arm/ |
D | regs.txt | 3 r2: ffffffff
|
/system/unwinding/libunwindstack/offline_files/invalid_elf_offset_arm/ |
D | regs.txt | 3 r2: 00000000
|
/system/unwinding/libunwindstack/offline_files/offset_arm/ |
D | regs.txt | 3 r2: 4
|
/system/unwinding/libunwindstack/offline_files/jit_map_arm/ |
D | regs.txt | 3 r2: 1a90df75
|
/system/unwinding/libunwindstack/offline_files/art_quick_osr_stub_arm/ |
D | regs.txt | 3 r2: 1a90df75
|
/system/unwinding/libunwindstack/offline_files/signal_load_bias_arm/ |
D | regs.txt | 3 r2: 1
|
/system/core/debuggerd/crasher/arm/ |
D | crashglue.S | 26 ldr r2, =0xa5a50002
|
/system/security/keystore2/watchdog/src/ |
D | lib.rs | 133 overdue_records.sort_unstable_by(|(_, r1), (_, r2)| r1.started.cmp(&r2.started)); in log_report()
|
/system/extras/tests/icachetest/ |
D | icache.S | 16 subs r2, r2, #1 ; \ 59 mov r2, r1
|