Home
last modified time | relevance | path

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

123

/system/core/libmeminfo/testdata1/
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/toolbox/upstream-netbsd/usr.bin/grep/
Dfile.c148 ptrdiff_t diff; in grep_fgetln() local
189 diff = p - bufpos; in grep_fgetln()
190 len += diff; in grep_fgetln()
192 memcpy(lnbuf + off, bufpos, diff); in grep_fgetln()
193 lnbuf[off + diff] = '\0'; in grep_fgetln()
194 bufrem -= diff; in grep_fgetln()
/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.cpp283 TcpStats diff = { in updateSocketStats() local
297 .sent = diff.sent, in updateSocketStats()
298 .lost = diff.lost, in updateSocketStats()
304 diff.sent -= previous.sent; in updateSocketStats()
305 diff.lost -= previous.lost; in updateSocketStats()
311 stats.sent += diff.sent; in updateSocketStats()
312 stats.lost += diff.lost; in updateSocketStats()
313 stats.rttUs += diff.rttUs; in updateSocketStats()
314 stats.sentAckDiffMs += diff.sentAckDiffMs; in updateSocketStats()
315 stats.nSockets += diff.nSockets; in updateSocketStats()
/system/apex/apexer/
Druntests.sh106 sudo diff ${manifest_file} ${output_dir}/mnt/apex_manifest.json
107 sudo diff ${manifest_file} ${output_dir}/apex_manifest.json
108 sudo diff ${input_dir}/file1 ${output_dir}/mnt/file1
109 sudo diff ${input_dir}/file2 ${output_dir}/mnt/file2
110 sudo diff ${input_dir}/sub/file3 ${output_dir}/mnt/sub/file3
/system/media/audio_utils/include/audio_utils/
DTimestampVerifier.h248 const auto diff = sub(current, last); in computeJitterMs() local
249 const double frameDifferenceNs = diff.first * 1e9 / sampleRate; in computeJitterMs()
250 const double jitterNs = diff.second - frameDifferenceNs; // actual - expected in computeJitterMs()
301 const auto diff = sub(current, last); in computeRatio() local
302 const double frameDifferenceNs = diff.first * 1e9 / sampleRate; in computeRatio()
303 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/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/core/adb/
Dfdevent_test.cpp340 auto diff = std::chrono::duration_cast<std::chrono::milliseconds>(after - before); in TEST_F() local
341 time_deltas.push_back(diff.count()); in TEST_F()
350 std::vector<int> diff; in TEST_F() local
353 diff.push_back(std::abs(time_deltas[i] - expected[i])); in TEST_F()
356 ASSERT_LT(diff[0], delta.count() * 0.5); in TEST_F()
357 ASSERT_LT(diff[1], delta.count() * 0.5); in TEST_F()
358 ASSERT_LT(diff[2], delta.count() * 0.5); in TEST_F()
/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/core/libcutils/
Dsched_policy_test.cpp53 auto diff = end - start; in medianSleepTime() local
54 sleepTimes.push_back(diff.count()); in medianSleepTime()
/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/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()
308 auto diff = std::chrono::duration_cast<std::chrono::seconds>( in TEST() local
311 GTEST_LOG_(INFO) << "Have Tested " << (diff.count() / 60.0) << " minutes."; in TEST()
391 auto diff = std::chrono::duration_cast<std::chrono::seconds>( in TEST() local
394 GTEST_LOG_(INFO) << "Have Tested " << (diff.count() / 60.0) << " minutes."; in TEST()
/system/media/camera/docs/
Dmetadata-parser-sanity-check54 diff $tmp_tidy1 $tmp_tidy2
/system/core/logd/
DLogStatistics.cpp114 log_time diff = stamp - mNewest[log_id]; in add() local
117 if (diff.tv_sec > hourSec) { in add()
119 diff += mOldest[log_id]; in add()
120 if ((diff > stamp) && ((diff - stamp).tv_sec < hourSec)) { in add()
121 diff = stamp; in add()
123 if (diff <= stamp) { in add()
124 mOldest[log_id] = diff; in add()
125 if (mNewestDropped[log_id] < diff) { in add()
126 mNewestDropped[log_id] = diff; in add()
/system/sepolicy/prebuilts/api/28.0/public/
Dinstall_recovery.te17 # Update the recovery block device based off a diff of the boot block device
/system/sepolicy/prebuilts/api/26.0/public/
Dinstall_recovery.te17 # Update the recovery block device based off a diff of the boot block device
/system/sepolicy/public/
Dinstall_recovery.te17 # Update the recovery block device based off a diff of the boot block device

123