/system/extras/tests/suspend_stress/ |
D | suspend_stress.cpp | 164 long long diff = timediff_ns(&actual_time, &expected_time); in main() local 165 if (llabs(diff) > NSEC_PER_SEC) { in main() 167 llabs(diff) / NSEC_PER_SEC, in main() 168 (llabs(diff) / NSEC_PER_MSEC) % MSEC_PER_SEC, in main() 169 diff > 0 ? "late" : "early"); in main() 171 llabs(diff) / NSEC_PER_SEC, in main() 172 (llabs(diff) / NSEC_PER_MSEC) % MSEC_PER_SEC, in main() 173 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/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.c | 68 int32_t diff = rear - front; in audio_utils_fifo_diff() local 74 diff -= fifo->mFudgeFactor; in audio_utils_fifo_diff() 78 ALOG_ASSERT(0 <= diff && diff <= (int32_t) fifo->mFrameCount); in audio_utils_fifo_diff() 79 return (size_t) diff; in audio_utils_fifo_diff()
|
/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/libpixelflinger/codeflinger/ |
D | blending.cpp | 444 integer_t diff(fragment.flags & CORRUPTIBLE ? in build_blendFOneMinusF() local 447 if (shift>0) RSB(AL, 0, diff.reg, fb.reg, reg_imm(fragment.reg, LSR, shift)); in build_blendFOneMinusF() 448 else if (shift<0) RSB(AL, 0, diff.reg, fb.reg, reg_imm(fragment.reg, LSL,-shift)); in build_blendFOneMinusF() 449 else RSB(AL, 0, diff.reg, fb.reg, fragment.reg); in build_blendFOneMinusF() 450 mul_factor_add(temp, diff, factor, component_t(fb)); in build_blendFOneMinusF() 462 integer_t diff(fb.flags & CORRUPTIBLE ? in build_blendOneMinusFF() local 465 if (shift>0) SUB(AL, 0, diff.reg, fb.reg, reg_imm(fragment.reg, LSR, shift)); in build_blendOneMinusFF() 466 else if (shift<0) SUB(AL, 0, diff.reg, fb.reg, reg_imm(fragment.reg, LSL,-shift)); in build_blendOneMinusFF() 467 else SUB(AL, 0, diff.reg, fb.reg, fragment.reg); in build_blendOneMinusFF() 468 mul_factor_add(temp, diff, factor, component_t(fragment)); in build_blendOneMinusFF()
|
/system/bt/stack/smp/ |
D | smp_cmac.c | 294 UINT16 len, diff; in aes_cipher_msg_auth_code() local 307 diff = len - length; in aes_cipher_msg_auth_code() 310 memcpy(&cmac_cb.text[diff] , input, (int)length); in aes_cipher_msg_auth_code()
|
/system/media/camera/docs/ |
D | metadata-parser-sanity-check | 54 diff $tmp_tidy1 $tmp_tidy2
|
/system/media/audio_utils/tests/ |
D | primitives_tests.cpp | 53 int diff = abs(uval - uval2); in testClamp8() local 54 EXPECT_LE(diff, 1); in testClamp8() 73 int diff = abs(ival - ival2); in testClamp16() local 74 EXPECT_LE(diff, 1); in testClamp16() 93 int diff = abs(ival - ival2); in testClamp24() local 94 EXPECT_LE(diff, 1); in testClamp24()
|
/system/sepolicy/ |
D | install_recovery.te | 18 # 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/security/keystore/ |
D | test-keystore | 62 diff $baseline_file $log_file || (log $tag FAILED && exit 1)
|
/system/update_engine/ |
D | payload_state.cc | 1036 TimeDelta diff = GetUpdateDuration() - stored_delta; in LoadUpdateDurationUptime() local 1037 if (diff < -kDurationSlack) { in LoadUpdateDurationUptime() 1041 << utils::FormatTimeDelta(diff) in LoadUpdateDurationUptime()
|
D | update_metadata.proto | 154 BSDIFF = 3; // The data is a bsdiff binary diff
|
/system/bt/stack/bnep/ |
D | bnep_utils.c | 535 UINT16 xx, diff = BNEP_MINIMUM_OFFSET - p_buf->offset; in bnepu_init_hdr() local 538 p[diff] = *p; in bnepu_init_hdr()
|
/system/core/libbacktrace/ |
D | backtrace_test.cpp | 1323 uintptr_t diff = backtrace->GetFrame(frame_num)->pc - test_func; in VerifyUnreadableElfFrame() local 1324 ASSERT_LT(diff, 200U) << DumpFrames(backtrace); in VerifyUnreadableElfFrame()
|