Home
last modified time | relevance | path

Searched refs:diff (Results 1 – 25 of 65) sorted by relevance

123

/system/memory/libmeminfo/
Dshowmap_test.sh10 diff $OUT1 $OUT2 > /dev/null
20 diff $OUT1 $OUT2 > /dev/null
30 diff $OUT1 $OUT2 > /dev/null
40 diff $OUT1 $OUT2 > /dev/null
54 diff $OUT1 $OUT2 > /dev/null
64 diff $OUT1 $OUT2 > /dev/null
78 diff $OUT1 $OUT2 > /dev/null
/system/extras/tests/suspend_stress/
Dsuspend_stress.cpp163 long long diff = timediff_ns(&actual_time, &expected_time); in main() local
164 if (llabs(diff) > NSEC_PER_SEC) { in main()
166 llabs(diff) / NSEC_PER_SEC, in main()
167 (llabs(diff) / NSEC_PER_MSEC) % MSEC_PER_SEC, in main()
168 diff > 0 ? "late" : "early"); in main()
170 llabs(diff) / NSEC_PER_SEC, in main()
171 (llabs(diff) / NSEC_PER_MSEC) % MSEC_PER_SEC, in main()
172 diff > 0 ? "late" : "early"); in main()
/system/core/init/
Dinterface_utils.cpp75 std::set<FQName> diff; in CheckInterfaceInheritanceHierarchy() local
78 std::inserter(diff, diff.begin())); in CheckInterfaceInheritanceHierarchy()
79 if (!diff.empty()) { in CheckInterfaceInheritanceHierarchy()
82 << "interfaces: [" << FQNamesToString(diff) << "]"; in CheckInterfaceInheritanceHierarchy()
/system/libufdt/utils/tests/
Dmkdtimg_acpi_testdata.sh50 diff ${OUTDIR}/${AML_LIST[$index]} ${OUTDTB_CFG}.$index
58 diff ${OUTDIR}/${AML_LIST[$index]} ${OUTDTB}.$index
61 diff "${OUTDIR}/cfg_create_acpi.dump" "${OUTDIR}/create_acpi.dump"
Dmkdtimg_testdata.sh48 diff ${OUTDIR}/${DTB_LIST[$index]} ${OUTDTB_CFG}.$index
60 diff ${OUTDIR}/${DTB_LIST[$index]} ${OUTDTB}.$index
63 diff "${OUTDIR}/cfg_create.dump" "${OUTDIR}/create.dump"
Dmkdtboimg_acpi_testdata.sh81 diff $x ${MKDTBOIMG_OUTCREATE}/$file
94 diff $x ${MKDTBOIMG_OUTCFG}/$file
Dmkdtboimg_testdata.sh92 diff $x ${MKDTBOIMG_OUTCREATE}/$file
105 diff $x ${MKDTBOIMG_OUTCFG}/$file
/system/netd/server/
DTcpSocketMonitor.cpp284 TcpStats diff = { in updateSocketStats() local
298 .sent = diff.sent, in updateSocketStats()
299 .lost = diff.lost, in updateSocketStats()
305 diff.sent -= previous.sent; in updateSocketStats()
306 diff.lost -= previous.lost; in updateSocketStats()
312 stats.sent += diff.sent; in updateSocketStats()
313 stats.lost += diff.lost; in updateSocketStats()
314 stats.rttUs += diff.rttUs; in updateSocketStats()
315 stats.sentAckDiffMs += diff.sentAckDiffMs; in updateSocketStats()
316 stats.nSockets += diff.nSockets; in updateSocketStats()
/system/core/debuggerd/libdebuggerd/
Dgwp_asan.cpp129 uintptr_t diff; in DumpCause() local
135 diff = alloc_address - crash_address_; in DumpCause()
139 diff = crash_address_ - alloc_address; in DumpCause()
144 diff = crash_address_ - alloc_address; in DumpCause()
146 diff -= alloc_size; in DumpCause()
152 if (diff == 1) { in DumpCause()
157 error_string_, diff, byte_suffix, location_str, alloc_size, alloc_address); in DumpCause()
Dscudo.cpp111 uintptr_t diff; in DumpReport() local
117 diff = report->allocation_address - untagged_fault_addr_; in DumpReport()
121 diff = untagged_fault_addr_ - report->allocation_address; in DumpReport()
125 diff = untagged_fault_addr_ - report->allocation_address - report->allocation_size; in DumpReport()
130 if (diff == 1) { in DumpReport()
135 error_type_str, diff, byte_suffix, location_str, report->allocation_size, in DumpReport()
/system/apex/apexer/
Druntests.sh109 sudo diff ${manifest_file} ${output_dir}/mnt/apex_manifest.pb
110 sudo diff ${manifest_file} ${output_dir}/apex_manifest.pb
111 sudo diff ${input_dir}/file1 ${output_dir}/mnt/file1
112 sudo diff ${input_dir}/file2 ${output_dir}/mnt/file2
113 sudo diff ${input_dir}/sub/file3 ${output_dir}/mnt/sub/file3
/system/media/audio_utils/include/audio_utils/
DTimestampVerifier.h257 const auto diff = sub(current, last); in computeJitterMs() local
258 const double frameDifferenceNs = diff.first * 1e9 / sampleRate; in computeJitterMs()
259 const double jitterNs = diff.second - frameDifferenceNs; // actual - expected in computeJitterMs()
310 const auto diff = sub(current, last); in computeRatio() local
311 const double frameDifferenceNs = diff.first * 1e9 / sampleRate; in computeRatio()
312 return frameDifferenceNs / diff.second; in computeRatio()
/system/core/debuggerd/
Ddebuggerd_benchmark.cpp55 auto diff = now - last; in GetMaximumPause() local
56 if (diff > max_diff) { in GetMaximumPause()
57 max_diff = diff; in GetMaximumPause()
/system/media/audio_utils/
Dfifo.cpp69 int32_t audio_utils_fifo_base::diff(uint32_t rear, uint32_t front, size_t *lost, bool flush) const in diff() function in audio_utils_fifo_base
79 uint32_t diff = rear - front; in diff() local
100 *lost = diff - (flush ? 0 : mFrameCount) - mFudgeFactor * (genDiff/mFrameCountP2); in diff()
106 diff -= mFudgeFactor; in diff()
113 if (diff > mFrameCount) { in diff()
115 *lost = diff - (flush ? 0 : mFrameCount); in diff()
119 return (int32_t) diff; in diff()
210 int32_t filled = mFifo.diff(mLocalRear, front); in obtain()
316 int32_t filled = mFifo.diff(mLocalRear, front); in release()
474 int32_t filled = mFifo.diff(rear, mLocalFront); in release()
[all …]
/system/core/adb/fdevent/
Dfdevent_test.cpp302 auto diff = std::chrono::duration_cast<std::chrono::milliseconds>(after - before); in TEST_F() local
303 time_deltas.push_back(diff.count()); in TEST_F()
312 std::vector<int> diff; in TEST_F() local
315 diff.push_back(std::abs(time_deltas[i] - expected[i])); in TEST_F()
318 ASSERT_LT(diff[0], delta.count() * 0.5); in TEST_F()
319 ASSERT_LT(diff[1], delta.count() * 0.5); in TEST_F()
320 ASSERT_LT(diff[2], delta.count() * 0.5); in TEST_F()
/system/sepolicy/tools/sepolicy-analyze/
Dtypecmp.c157 static int analyze_types(policydb_t * policydb, char diff, char equiv) in analyze_types() argument
238 if (diff) { in analyze_types()
275 char ch, diff = 0, equiv = 0; in typecmp_func() local
286 diff = 1; in typecmp_func()
297 if (!(diff || equiv)) { in typecmp_func()
301 return analyze_types(policydb, diff, equiv); in typecmp_func()
/system/teeui/libteeui/src/
Devdev.cpp65 auto diff = now - current.next; in runTimers() local
66 current.next += ((diff / current.duration) + 1) * current.duration; in runTimers()
74 auto diff = next.next - now; in runTimers() local
75 if (diff > 60s) { in runTimers()
78 return std::chrono::duration_cast<std::chrono::milliseconds>(diff).count(); in runTimers()
/system/update_engine/scripts/
Dtest_paycheck.sh161 diff "${tmpdir}/${NEW_FULL_KERN_PART}" "${tmpdir}/${NEW_DELTA_KERN_PART}"
162 diff "${tmpdir}/${NEW_FULL_ROOT_PART}" "${tmpdir}/${NEW_DELTA_ROOT_PART}"
/system/apex/tools/
Dupdate_allowed_list.sh13 diff \
/system/core/libpixelflinger/codeflinger/
Dblending.cpp446 integer_t diff(fragment.flags & CORRUPTIBLE ? in build_blendFOneMinusF() local
449 if (shift>0) RSB(AL, 0, diff.reg, fb.reg, reg_imm(fragment.reg, LSR, shift)); in build_blendFOneMinusF()
450 else if (shift<0) RSB(AL, 0, diff.reg, fb.reg, reg_imm(fragment.reg, LSL,-shift)); in build_blendFOneMinusF()
451 else RSB(AL, 0, diff.reg, fb.reg, fragment.reg); in build_blendFOneMinusF()
452 mul_factor_add(temp, diff, factor, component_t(fb)); in build_blendFOneMinusF()
464 integer_t diff(fb.flags & CORRUPTIBLE ? in build_blendOneMinusFF() local
467 if (shift>0) SUB(AL, 0, diff.reg, fb.reg, reg_imm(fragment.reg, LSR, shift)); in build_blendOneMinusFF()
468 else if (shift<0) SUB(AL, 0, diff.reg, fb.reg, reg_imm(fragment.reg, LSL,-shift)); in build_blendOneMinusFF()
469 else SUB(AL, 0, diff.reg, fb.reg, fragment.reg); in build_blendOneMinusFF()
470 mul_factor_add(temp, diff, factor, component_t(fragment)); in build_blendOneMinusFF()
/system/bt/gd/crypto_toolbox/
Daes_cmac.cc170 uint16_t len, diff; in aes_cmac() local
180 diff = len - length; in aes_cmac()
183 memcpy(&cmac_cb.text[diff], input, (int)length); in aes_cmac()
/system/core/libcutils/
Dsched_policy_test.cpp53 auto diff = end - start; in medianSleepTime() local
54 sleepTimes.push_back(diff.count()); in medianSleepTime()
/system/libufdt/tests/
Dcommon.sh39 diff -u <(cat "$1" | remove_overlay_stuff) <(cat "$2" | remove_overlay_stuff)
/system/bt/stack/crypto_toolbox/
Daes_cmac.cc184 uint16_t diff; in aes_cmac() local
197 diff = len - length; in aes_cmac()
200 memcpy(&cmac_cb.text[diff], input, (int)length); in aes_cmac()
/system/extras/simpleperf/
Dcpu_hotplug_test.cpp252 auto diff = std::chrono::duration_cast<std::chrono::seconds>( in TEST() local
255 GTEST_LOG_(INFO) << "Have Tested " << (diff.count() / 60.0) << " minutes."; in TEST()
309 auto diff = std::chrono::duration_cast<std::chrono::seconds>( in TEST() local
312 GTEST_LOG_(INFO) << "Have Tested " << (diff.count() / 60.0) << " minutes."; in TEST()
393 auto diff = std::chrono::duration_cast<std::chrono::seconds>( in TEST() local
396 GTEST_LOG_(INFO) << "Have Tested " << (diff.count() / 60.0) << " minutes."; in TEST()

123