/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/liblog/ |
D | log_read_kern.c | 463 int diff; in android_logger_list_flush() local 471 diff = sizeof(firstentry->entry.entry_v3) - ret; in android_logger_list_flush() 472 if (diff < 0) { in android_logger_list_flush() 473 diff = 0; in android_logger_list_flush() 474 } else if (diff > 0) { in android_logger_list_flush() 475 memset(log_msg->buf + ret, 0, diff); in android_logger_list_flush() 477 memcpy(log_msg->buf + ret + diff, firstentry->entry.buf + ret, in android_logger_list_flush() 479 ret += diff; in android_logger_list_flush() 608 int diff; in android_logger_list_read() local 646 diff = sizeof(logger_list->entry.entry_v3) - hdr_size; in android_logger_list_read() [all …]
|
/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/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 | 297 UINT16 len, diff; in aes_cipher_msg_auth_code() local 313 diff = len - length; in aes_cipher_msg_auth_code() 317 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/extras/tests/workloads/ |
D | defs.sh | 157 ((diff=endMs-startMs)) 158 echo $diff
|
/system/security/keystore/ |
D | test-keystore | 62 diff $baseline_file $log_file || (log $tag FAILED && exit 1)
|
/system/bt/stack/bnep/ |
D | bnep_utils.c | 557 UINT16 xx, diff = BNEP_MINIMUM_OFFSET - p_buf->offset; in bnepu_init_hdr() local 560 p[diff] = *p; in bnepu_init_hdr()
|
/system/core/libbacktrace/ |
D | backtrace_test.cpp | 1290 uintptr_t diff = backtrace->GetFrame(frame_num)->pc - test_func; in VerifyUnreadableElfFrame() local 1291 ASSERT_LT(diff, 200U) << DumpFrames(backtrace); in VerifyUnreadableElfFrame()
|