Home
last modified time | relevance | path

Searched refs:r2 (Results 1 – 25 of 26) sorted by relevance

12

/system/extras/simpleperf/
Drecord_equal_test.h17 static void CheckMmapRecordDataEqual(const MmapRecord& r1, const MmapRecord& r2) { in CheckMmapRecordDataEqual() argument
18 ASSERT_EQ(0, memcmp(r1.data, r2.data, sizeof(*r1.data))); in CheckMmapRecordDataEqual()
19 ASSERT_STREQ(r1.filename, r2.filename); in CheckMmapRecordDataEqual()
22 static void CheckCommRecordDataEqual(const CommRecord& r1, const CommRecord& r2) { in CheckCommRecordDataEqual() argument
23 ASSERT_EQ(0, memcmp(r1.data, r2.data, sizeof(*r1.data))); in CheckCommRecordDataEqual()
24 ASSERT_STREQ(r1.comm, r2.comm); in CheckCommRecordDataEqual()
27 static void CheckBuildIdRecordDataEqual(const BuildIdRecord& r1, const BuildIdRecord& r2) { in CheckBuildIdRecordDataEqual() argument
28 ASSERT_EQ(r1.pid, r2.pid); in CheckBuildIdRecordDataEqual()
29 ASSERT_EQ(r1.build_id, r2.build_id); in CheckBuildIdRecordDataEqual()
30 ASSERT_STREQ(r1.filename, r2.filename); in CheckBuildIdRecordDataEqual()
[all …]
Drecord_test.cpp70 SampleRecord r2(event_attr, r1.BinaryForTestingOnly()); in TEST_F() local
72 ASSERT_EQ(2u, r2.callchain_data.ip_nr); in TEST_F()
73 ASSERT_EQ(PERF_CONTEXT_USER, r2.callchain_data.ips[0]); in TEST_F()
74 ASSERT_EQ(2u, r2.callchain_data.ips[1]); in TEST_F()
DRecordReadThread.cpp407 static bool CompareRecordTime(KernelRecordReader* r1, KernelRecordReader* r2) { in CompareRecordTime() argument
408 return r1->RecordTime() > r2->RecordTime(); in CompareRecordTime()
/system/core/libcutils/arch-arm/
Dmemset32.S41 cmp r2, #1
51 subne r2, r2, #2
67 cmp r3, r2
68 andhi r3, r2, #0x1C
69 sub r2, r2, r3
81 1: subs r2, r2, #32
85 add r2, r2, #32
88 movs r2, r2, lsl #28
91 movs r2, r2, lsl #2
/system/core/libpixelflinger/
Dt32cb16blend.S149 subs r2, r2, #1
160 subs r2, r2, #2
183 subs r2, r2, #2
196 7: subs r2, r2, #2
200 9: adds r2, r2, #1
Dcol32cb16blend.S56 subs r2, r2, #1 // decrement loop counter
Dcol32cb16blend_neon.S47 movs r3, r2, lsr #4 // calc. sixteens iterations
115 ands r3, r2, #15 // calc. single iterations
/system/media/audio_utils/tests/
Dtimestampverifier_tests.cpp72 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()
Dstatistics_tests.cpp457 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/media/audio_utils/include/audio_utils/
DTimestampVerifier.h212 double a, b, r2; // sample rate is the slope b. in toString() local
213 estimateSampleRate(a, b, r2); in toString()
217 ss << " localSR(" << b << ", " << (1. - r2) << ")"; in toString()
233 constexpr void estimateSampleRate(double &a, double &b, double &r2) const { in estimateSampleRate() argument
234 mTimestampEstimator.computeYLine(a, b, r2); in estimateSampleRate()
DStatistics.h567 T &a, T& b, T &r2,
577 r2 = cov_xy * cov_xy / (var_x * var_y);
629 constexpr void computeYLine(T &a, T &b, T &r2) const {
630 computeYLineFromStatistics(a, b, r2,
645 constexpr void computeXLine(T &a, T &b, T &r2) const {
647 computeYLineFromStatistics(a, b, r2,
/system/core/libpixelflinger/codeflinger/
DMIPS64Assembler.cpp186 cond.r2 = R2; in set_condition()
340 if (cond.type == CMP_COND && Rd == cond.r2) { in protectConditionalOperands()
341 mMips->MOVE(R_cmp2, cond.r2); in protectConditionalOperands()
342 cond.r2 = R_cmp2; in protectConditionalOperands()
558 cond.r2 = src; in dataProcessing()
561 cond.r2 = R_cmp2; in dataProcessing()
690 if (cond.type == SBIT_COND) { cond.r2 = R_zero; } in B()
693 case EQ: mMips->BEQ(cond.r1, cond.r2, label); break; in B()
694 case NE: mMips->BNE(cond.r1, cond.r2, label); break; in B()
695 case HS: mMips->BGEU(cond.r1, cond.r2, label); break; in B()
[all …]
DMIPSAssembler.cpp355 if (cond.type == CMP_COND && Rd == cond.r2) { in protectConditionalOperands()
356 mMips->MOVE(R_cmp2, cond.r2); in protectConditionalOperands()
357 cond.r2 = R_cmp2; in protectConditionalOperands()
571 cond.r2 = src; in dataProcessing()
574 cond.r2 = R_cmp2; in dataProcessing()
702 if (cond.type == SBIT_COND) { cond.r2 = R_zero; } in B()
705 case EQ: mMips->BEQ(cond.r1, cond.r2, label); break; in B()
706 case NE: mMips->BNE(cond.r1, cond.r2, label); break; in B()
707 case HS: mMips->BGEU(cond.r1, cond.r2, label); break; in B()
708 case LO: mMips->BLTU(cond.r1, cond.r2, label); break; in B()
[all …]
DMIPS64Assembler.h235 int r2; member
/system/core/libunwindstack/tests/files/offline/jit_debug_arm/
Dregs.txt3 r2: 0
/system/core/libunwindstack/tests/files/offline/debug_frame_load_bias_arm/
Dregs.txt3 r2: ffd4a658
/system/core/libunwindstack/tests/files/offline/offset_arm/
Dregs.txt3 r2: 4
/system/core/libunwindstack/tests/files/offline/art_quick_osr_stub_arm/
Dregs.txt3 r2: 1a90df75
/system/core/libunwindstack/tests/files/offline/jit_map_arm/
Dregs.txt3 r2: 1a90df75
/system/core/debuggerd/crasher/arm/
Dcrashglue.S6 ldr r2, =0xa5a50002
/system/ca-certificates/files/
D111e6273.067 URI:http://crl.globalsign.net/root-r2.crl
/system/ca-certificates/google/files/
D111e6273.067 URI:http://crl.globalsign.net/root-r2.crl
/system/extras/tests/icachetest/
Dicache.S16 subs r2, r2, #1 ; \
59 mov r2, r1
/system/netd/resolv/
Ddns_tls_test.cpp868 auto r2 = f2->result.get(); in TEST() local
872 EXPECT_EQ(DnsTlsQueryMap::Response::success, r2.code); in TEST()
876 const bytevec& d2 = r2.response; in TEST()
/system/core/adb/client/
Dfile_sync_client.cpp1115 int r2 = chmod(lpath.c_str(), mode & ~mask); in set_time_and_mode() local
1117 return r1 ? r1 : r2; in set_time_and_mode()

12