Searched refs:diff (Results 1 - 22 of 22) sorted by relevance

/system/libufdt/tests/
H A Dcommon.sh39 diff -u <(cat "$1" | remove_overlay_stuff) <(cat "$2" | remove_overlay_stuff)
/system/libufdt/utils/tests/
H A 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"
/system/extras/tests/suspend_stress/
H A Dsuspend_stress.cpp163 long long diff = timediff_ns(&actual_time, &expected_time); local
164 if (llabs(diff) > NSEC_PER_SEC) {
166 llabs(diff) / NSEC_PER_SEC,
167 (llabs(diff) / NSEC_PER_MSEC) % MSEC_PER_SEC,
168 diff > 0 ? "late" : "early");
170 llabs(diff) / NSEC_PER_SEC,
171 (llabs(diff) / NSEC_PER_MSEC) % MSEC_PER_SEC,
172 diff > 0 ? "late" : "early");
/system/tools/hidl/test/
H A Dtest.sh19 echo " (No options) Run and diff against expected output"
59 $COMMAND 2>&1 | diff $EXPECTED -
/system/core/liblog/tests/
H A Dbenchmark_main.cpp187 int64_t diff = NanoTime() - gBenchmarkStartTimeNs; local
188 gBenchmarkTotalTimeNs += diff;
189 gBenchmarkTotalTimeNsSquared += diff * diff;
203 int64_t diff = NanoTime - gBenchmarkStartTimeNs; local
204 gBenchmarkTotalTimeNs += diff;
205 gBenchmarkTotalTimeNsSquared += diff * diff;
/system/core/toolbox/upstream-netbsd/usr.bin/grep/
H A Dfile.c147 ptrdiff_t diff; local
186 diff = p - bufpos;
187 len += diff;
190 memcpy(lnbuf + off, bufpos, diff);
191 bufrem -= diff;
/system/media/camera/docs/
H A Dmetadata-parser-sanity-check54 diff $tmp_tidy1 $tmp_tidy2
/system/core/libcutils/tests/
H A Dsched_policy_test.cpp53 auto diff = end - start; local
54 sleepTimes.push_back(diff.count());
/system/update_engine/scripts/
H A Dtest_paycheck.sh167 diff "${tmpdir}/${NEW_FULL_KERN_PART}" "${tmpdir}/${NEW_DELTA_KERN_PART}"
168 diff "${tmpdir}/${NEW_FULL_ROOT_PART}" "${tmpdir}/${NEW_DELTA_ROOT_PART}"
/system/sepolicy/tools/sepolicy-analyze/
H A Dtypecmp.c7 fprintf(stderr, "\ttypecmp [-d|--diff] [-e|--equiv]\n");
157 static int analyze_types(policydb_t * policydb, char diff, char equiv) argument
231 if (diff) {
268 char ch, diff = 0, equiv = 0; local
271 {"diff", no_argument, NULL, 'd'},
279 diff = 1;
290 if (!(diff || equiv)) {
294 return analyze_types(policydb, diff, equiv);
/system/media/audio_utils/
H A Dfifo.cpp68 int32_t audio_utils_fifo_base::diff(uint32_t rear, uint32_t front, size_t *lost, bool flush) const function in class:audio_utils_fifo_base
78 uint32_t diff = rear - front; local
99 *lost = diff - (flush ? 0 : mFrameCount) - mFudgeFactor * (genDiff/mFrameCountP2);
105 diff -= mFudgeFactor;
106 // Note is still possible for diff > mFrameCount. BCD 16 - BCD 1 shows the problem.
107 // genDiff is 16, fudge is 6, decimal diff is 15 = (22 - 1 - 6).
108 // So we need to check diff for overflow one more time. See "if" a few lines below.
112 if (diff > mFrameCount) {
114 *lost = diff - (flush ? 0 : mFrameCount);
118 return (int32_t) diff;
[all...]
/system/core/libpixelflinger/codeflinger/
H A Dblending.cpp445 integer_t diff(fragment.flags & CORRUPTIBLE ?
448 if (shift>0) RSB(AL, 0, diff.reg, fb.reg, reg_imm(fragment.reg, LSR, shift));
449 else if (shift<0) RSB(AL, 0, diff.reg, fb.reg, reg_imm(fragment.reg, LSL,-shift));
450 else RSB(AL, 0, diff.reg, fb.reg, fragment.reg);
451 mul_factor_add(temp, diff, factor, component_t(fb));
463 integer_t diff(fb.flags & CORRUPTIBLE ?
466 if (shift>0) SUB(AL, 0, diff.reg, fb.reg, reg_imm(fragment.reg, LSR, shift));
467 else if (shift<0) SUB(AL, 0, diff.reg, fb.reg, reg_imm(fragment.reg, LSL,-shift));
468 else SUB(AL, 0, diff.reg, fb.reg, fragment.reg);
469 mul_factor_add(temp, diff, facto
[all...]
/system/extras/simpleperf/
H A Dcpu_hotplug_test.cpp255 auto diff = std::chrono::duration_cast<std::chrono::seconds>( local
258 GTEST_LOG_(INFO) << "Have Tested " << (diff.count() / 60.0) << " minutes.";
311 auto diff = std::chrono::duration_cast<std::chrono::seconds>( local
314 GTEST_LOG_(INFO) << "Have Tested " << (diff.count() / 60.0) << " minutes.";
394 auto diff = std::chrono::duration_cast<std::chrono::seconds>( local
397 GTEST_LOG_(INFO) << "Have Tested " << (diff.count() / 60.0) << " minutes.";
/system/bt/stack/smp/
H A Dsmp_cmac.cc281 uint16_t len, diff; local
295 diff = len - length;
298 memcpy(&cmac_cb.text[diff], input, (int)length);
/system/libvintf/
H A DHalManifest.cpp289 std::vector<std::string> diff; local
292 std::inserter(diff, diff.begin()))
293 if (!diff.empty()) {
296 for (const auto &name : diff) {
/system/media/audio_utils/include/audio_utils/
H A Dfifo.h95 int32_t diff(uint32_t rear, uint32_t front, size_t *lost = NULL, bool flush = false) const;
/system/security/keystore/
H A Dtest-keystore62 diff $baseline_file $log_file || (log $tag FAILED && exit 1)
/system/extras/tests/workloads/
H A Ddefs.sh162 # Compute time diff given: startSeconds startNs endSeconds endNS
177 ((diff=endMs-startMs))
178 echo $diff
/system/media/audio_utils/tests/
H A Dprimitives_tests.cpp55 int diff = abs(uval - uval2); local
56 EXPECT_LE(diff, 1);
75 int diff = abs(ival - ival2); local
76 EXPECT_LE(diff, 1);
95 int diff = abs(ival - ival2); local
96 EXPECT_LE(diff, 1);
/system/update_engine/
H A Dpayload_state.cc1038 TimeDelta diff = GetUpdateDuration() - stored_delta; local
1039 if (diff < -kDurationSlack) {
1043 << utils::FormatTimeDelta(diff)
/system/bt/stack/bnep/
H A Dbnep_utils.cc500 uint16_t xx, diff = BNEP_MINIMUM_OFFSET - p_buf->offset; local
502 for (xx = 0; xx < p_buf->len; xx++, p--) p[diff] = *p;
/system/core/libbacktrace/
H A Dbacktrace_test.cpp1311 uintptr_t diff = backtrace->GetFrame(frame_num)->pc - test_func; local
1312 ASSERT_LT(diff, 200U) << DumpFrames(backtrace);

Completed in 479 milliseconds