/system/libufdt/tests/ |
H A D | common.sh | 39 diff -u <(cat "$1" | remove_overlay_stuff) <(cat "$2" | remove_overlay_stuff)
|
/system/libufdt/utils/tests/ |
H A 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/extras/tests/suspend_stress/ |
H A D | suspend_stress.cpp | 163 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 D | test.sh | 19 echo " (No options) Run and diff against expected output" 59 $COMMAND 2>&1 | diff $EXPECTED -
|
/system/core/liblog/tests/ |
H A D | benchmark_main.cpp | 187 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 D | file.c | 147 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 D | metadata-parser-sanity-check | 54 diff $tmp_tidy1 $tmp_tidy2
|
/system/core/libcutils/tests/ |
H A D | sched_policy_test.cpp | 53 auto diff = end - start; local 54 sleepTimes.push_back(diff.count());
|
/system/update_engine/scripts/ |
H A 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/sepolicy/tools/sepolicy-analyze/ |
H A D | typecmp.c | 7 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 D | fifo.cpp | 68 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 D | blending.cpp | 445 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 D | cpu_hotplug_test.cpp | 255 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 D | smp_cmac.cc | 281 uint16_t len, diff; local 295 diff = len - length; 298 memcpy(&cmac_cb.text[diff], input, (int)length);
|
/system/libvintf/ |
H A D | HalManifest.cpp | 289 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 D | fifo.h | 95 int32_t diff(uint32_t rear, uint32_t front, size_t *lost = NULL, bool flush = false) const;
|
/system/security/keystore/ |
H A D | test-keystore | 62 diff $baseline_file $log_file || (log $tag FAILED && exit 1)
|
/system/extras/tests/workloads/ |
H A D | defs.sh | 162 # Compute time diff given: startSeconds startNs endSeconds endNS 177 ((diff=endMs-startMs)) 178 echo $diff
|
/system/media/audio_utils/tests/ |
H A D | primitives_tests.cpp | 55 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 D | payload_state.cc | 1038 TimeDelta diff = GetUpdateDuration() - stored_delta; local 1039 if (diff < -kDurationSlack) { 1043 << utils::FormatTimeDelta(diff)
|
/system/bt/stack/bnep/ |
H A D | bnep_utils.cc | 500 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 D | backtrace_test.cpp | 1311 uintptr_t diff = backtrace->GetFrame(frame_num)->pc - test_func; local 1312 ASSERT_LT(diff, 200U) << DumpFrames(backtrace);
|