/system/extras/tests/suspend_stress/ |
D | suspend_stress.cpp | 163 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/liblog/tests/ |
D | benchmark_main.cpp | 187 int64_t diff = NanoTime() - gBenchmarkStartTimeNs; in StopBenchmarkTiming() local 188 gBenchmarkTotalTimeNs += diff; in StopBenchmarkTiming() 189 gBenchmarkTotalTimeNsSquared += diff * diff; in StopBenchmarkTiming() 203 int64_t diff = NanoTime - gBenchmarkStartTimeNs; in StopBenchmarkTiming() local 204 gBenchmarkTotalTimeNs += diff; in StopBenchmarkTiming() 205 gBenchmarkTotalTimeNsSquared += diff * diff; in StopBenchmarkTiming()
|
/system/libufdt/utils/tests/ |
D | mkdtimg_testdata.sh | 48 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"
|
/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
D | file.c | 147 ptrdiff_t diff; in grep_fgetln() local 186 diff = p - bufpos; in grep_fgetln() 187 len += diff; in grep_fgetln() 190 memcpy(lnbuf + off, bufpos, diff); in grep_fgetln() 191 bufrem -= diff; in grep_fgetln()
|
/system/media/audio_utils/ |
D | fifo.cpp | 68 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 78 uint32_t diff = rear - front; in diff() local 99 *lost = diff - (flush ? 0 : mFrameCount) - mFudgeFactor * (genDiff/mFrameCountP2); in diff() 105 diff -= mFudgeFactor; in diff() 112 if (diff > mFrameCount) { in diff() 114 *lost = diff - (flush ? 0 : mFrameCount); in diff() 118 return (int32_t) diff; in diff() 209 int32_t filled = mFifo.diff(mLocalRear, front); in obtain() 315 int32_t filled = mFifo.diff(mLocalRear, front); in release() 473 int32_t filled = mFifo.diff(rear, mLocalFront); in release() [all …]
|
/system/sepolicy/tools/sepolicy-analyze/ |
D | typecmp.c | 157 static int analyze_types(policydb_t * policydb, char diff, char equiv) in analyze_types() argument 231 if (diff) { in analyze_types() 268 char ch, diff = 0, equiv = 0; in typecmp_func() local 279 diff = 1; in typecmp_func() 290 if (!(diff || equiv)) { in typecmp_func() 294 return analyze_types(policydb, diff, equiv); in typecmp_func()
|
/system/core/libcutils/tests/ |
D | sched_policy_test.cpp | 53 auto diff = end - start; in medianSleepTime() local 54 sleepTimes.push_back(diff.count()); in medianSleepTime()
|
/system/core/libpixelflinger/codeflinger/ |
D | blending.cpp | 445 integer_t diff(fragment.flags & CORRUPTIBLE ? in build_blendFOneMinusF() local 448 if (shift>0) RSB(AL, 0, diff.reg, fb.reg, reg_imm(fragment.reg, LSR, shift)); in build_blendFOneMinusF() 449 else if (shift<0) RSB(AL, 0, diff.reg, fb.reg, reg_imm(fragment.reg, LSL,-shift)); in build_blendFOneMinusF() 450 else RSB(AL, 0, diff.reg, fb.reg, fragment.reg); in build_blendFOneMinusF() 451 mul_factor_add(temp, diff, factor, component_t(fb)); in build_blendFOneMinusF() 463 integer_t diff(fb.flags & CORRUPTIBLE ? in build_blendOneMinusFF() local 466 if (shift>0) SUB(AL, 0, diff.reg, fb.reg, reg_imm(fragment.reg, LSR, shift)); in build_blendOneMinusFF() 467 else if (shift<0) SUB(AL, 0, diff.reg, fb.reg, reg_imm(fragment.reg, LSL,-shift)); in build_blendOneMinusFF() 468 else SUB(AL, 0, diff.reg, fb.reg, fragment.reg); in build_blendOneMinusFF() 469 mul_factor_add(temp, diff, factor, component_t(fragment)); in build_blendOneMinusFF()
|
/system/update_engine/scripts/ |
D | test_paycheck.sh | 167 diff "${tmpdir}/${NEW_FULL_KERN_PART}" "${tmpdir}/${NEW_DELTA_KERN_PART}" 168 diff "${tmpdir}/${NEW_FULL_ROOT_PART}" "${tmpdir}/${NEW_DELTA_ROOT_PART}"
|
/system/bt/stack/smp/ |
D | smp_cmac.cc | 282 uint16_t diff; in aes_cipher_msg_auth_code() local 296 diff = len - length; in aes_cipher_msg_auth_code() 299 memcpy(&cmac_cb.text[diff], input, (int)length); in aes_cipher_msg_auth_code()
|
/system/libufdt/tests/ |
D | common.sh | 39 diff -u <(cat "$1" | remove_overlay_stuff) <(cat "$2" | remove_overlay_stuff)
|
/system/extras/simpleperf/ |
D | cpu_hotplug_test.cpp | 255 auto diff = std::chrono::duration_cast<std::chrono::seconds>( in TEST() local 258 GTEST_LOG_(INFO) << "Have Tested " << (diff.count() / 60.0) << " minutes."; in TEST() 311 auto diff = std::chrono::duration_cast<std::chrono::seconds>( in TEST() local 314 GTEST_LOG_(INFO) << "Have Tested " << (diff.count() / 60.0) << " minutes."; in TEST() 394 auto diff = std::chrono::duration_cast<std::chrono::seconds>( in TEST() local 397 GTEST_LOG_(INFO) << "Have Tested " << (diff.count() / 60.0) << " minutes."; in TEST()
|
/system/core/logd/ |
D | LogStatistics.cpp | 114 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/libvintf/ |
D | HalManifest.cpp | 290 std::vector<std::string> diff; in checkCompatibility() local 293 std::inserter(diff, diff.begin())) in checkCompatibility() 294 if (!diff.empty()) { in checkCompatibility() 297 for (const auto &name : diff) { in checkCompatibility()
|
/system/media/camera/docs/ |
D | metadata-parser-sanity-check | 54 diff $tmp_tidy1 $tmp_tidy2
|
/system/media/audio_utils/tests/ |
D | primitives_tests.cpp | 55 int diff = abs(uval - uval2); in testClamp8() local 56 EXPECT_LE(diff, 1); in testClamp8() 75 int diff = abs(ival - ival2); in testClamp16() local 76 EXPECT_LE(diff, 1); in testClamp16() 95 int diff = abs(ival - ival2); in testClamp24() local 96 EXPECT_LE(diff, 1); in testClamp24()
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | install_recovery.te | 17 # Update the recovery block device based off a diff of the boot block device
|
/system/sepolicy/public/ |
D | install_recovery.te | 17 # Update the recovery block device based off a diff of the boot block device
|
/system/extras/tests/workloads/ |
D | defs.sh | 177 ((diff=endMs-startMs)) 178 echo $diff
|
/system/sepolicy/prebuilts/api/26.0/private/ |
D | untrusted_app_25.te | 44 # https://github.com/strazzere/anti-emulator/blob/master/AntiEmulator/src/diff/strazzere/anti/emula…
|
/system/sepolicy/private/ |
D | untrusted_app_25.te | 44 # https://github.com/strazzere/anti-emulator/blob/master/AntiEmulator/src/diff/strazzere/anti/emula…
|
/system/media/audio_utils/include/audio_utils/ |
D | fifo.h | 95 int32_t diff(uint32_t rear, uint32_t front, size_t *lost = NULL, bool flush = false) const;
|
/system/security/keystore/ |
D | test-keystore | 62 diff $baseline_file $log_file || (log $tag FAILED && exit 1)
|
/system/update_engine/ |
D | payload_state.cc | 1073 TimeDelta diff = GetUpdateDuration() - stored_delta; in LoadUpdateDurationUptime() local 1074 if (diff < -kDurationSlack) { in LoadUpdateDurationUptime() 1078 << utils::FormatTimeDelta(diff) in LoadUpdateDurationUptime()
|
/system/bt/stack/bnep/ |
D | bnep_utils.cc | 498 uint16_t xx, diff = BNEP_MINIMUM_OFFSET - p_buf->offset; in bnepu_init_hdr() local 500 for (xx = 0; xx < p_buf->len; xx++, p--) p[diff] = *p; in bnepu_init_hdr()
|