| /system/extras/simpleperf/ |
| 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/libvintf/ |
| 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/ |
| 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/media/audio_utils/tests/ |
| 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);
|
| /toolchain/binutils/binutils-2.25/bfd/ |
| coff-m68k.c | 271 symvalue diff; 289 diff = symbol->value + reloc_entry->addend; 297 diff = reloc_entry->addend; 301 x = ((x & ~howto->dst_mask) | (((x & howto->src_mask) + diff) & howto->dst_mask)) 303 if (diff != 0) 270 symvalue diff; local
|
| pe-mips.c | 63 symvalue diff; local 82 diff = symbol->value + reloc_entry->addend; 85 diff = reloc_entry->addend; 93 diff = reloc_entry->addend; 96 x = ((x & ~howto->dst_mask) | (((x & howto->src_mask) + (diff >> howto->rightshift)) & howto->dst_mask)) 98 if (diff != 0)
|
| /toolchain/binutils/binutils-2.25/gas/ |
| ehopt.c | 473 offsetT diff; local 477 diff = resolve_symbol_value (frag->fr_symbol); 480 diff /= ca; 481 if (diff < 0x40) 483 else if (diff < 0x100) 485 else if (diff < 0x10000) 516 offsetT diff; local 523 diff = resolve_symbol_value (frag->fr_symbol); 527 diff /= ca; 531 gas_assert (diff < 0x40) [all...] |
| /bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
| misc.c | 548 diff function
|
| /bionic/tools/versioner/src/ |
| versioner.cpp | 615 auto diff = (end - start) / 1.0ms; local 616 printf("Compiled headers for %zu targets in %0.2LFms\n", compilation_types.size(), diff);
|
| /cts/hostsidetests/sustainedperf/src/android/SustainedPerformance/cts/ |
| SustainedPerformanceHostTest.java | 147 double diff = (max - min)*100/max; local 151 appResultsWithMode.add(2, diff); 155 appResultsWithoutMode.add(2, diff); 214 double diff = (dhryMax - dhryMin)*100/dhryMax; local 217 dhrystoneResultsWithMode.add(2, diff);
|
| /cts/tests/tests/os/src/android/os/cts/ |
| WorkSourceTest.java | 411 private void doTestRemoveUids(int[] lhs, int[] rhs, int[] result, boolean diff) throws Exception { 415 if (diffres != diff) { 417 sb.append("Expected diff "); 418 sb.append(diff); 431 String[] resultnames, boolean diff) throws Exception { 438 if (diffres != diff) { 440 sb.append("Expected diff "); 441 sb.append(diff); 454 int[] result, String[] resultnames, boolean diff) throws Exception { 458 if (diffres != diff) { 480 makeStringArray(result), diff); local [all...] |
| /development/samples/ApiDemos/src/com/example/android/apis/view/ |
| ContentBrowserActivity.java | 103 int diff = mLastSystemUiVis ^ visibility; local 105 if ((diff&SYSTEM_UI_FLAG_LOW_PROFILE) != 0
|
| ContentBrowserNavActivity.java | 104 int diff = mLastSystemUiVis ^ visibility; local 106 if ((diff&SYSTEM_UI_FLAG_LOW_PROFILE) != 0
|
| VideoPlayerActivity.java | 117 int diff = mLastSystemUiVis ^ visibility; local 119 if ((diff&SYSTEM_UI_FLAG_HIDE_NAVIGATION) != 0
|
| /device/google/marlin/camera/usbcamcore/src/ |
| QCameraMjpegDecode.cpp | 478 int diff; local 480 if (mjpegd_timer_get_elapsed(&os_timer, &diff, 0) < 0) { 485 ALOGI("%s: decoder_test: decoding aborted successfully after %d ms", __func__, diff); 491 "decode time: %d ms", __func__, diff); 496 total_time += diff; 498 __func__, diff, i+1, total_time, total_time/(i+1)); 665 long diff; local 671 diff = (long)(now.tv_sec - p_timer->tv_sec) * 1000; 672 diff += (long)(now.tv_nsec - p_timer->tv_nsec) / 1000000; 673 *elapsed_in_ms = (int)diff; [all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
| timemodule.c | 106 double diff;
local 118 diff = x - (double)result;
119 if (diff <= -1.0 || diff >= 1.0) {
170 double diff;
local 184 diff = (double)(now.QuadPart - ctrStart.QuadPart);
185 return PyFloat_FromDouble(diff / divisor);
[all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
| timemodule.c | 106 double diff;
local 118 diff = x - (double)result;
119 if (diff <= -1.0 || diff >= 1.0) {
170 double diff;
local 184 diff = (double)(now.QuadPart - ctrStart.QuadPart);
185 return PyFloat_FromDouble(diff / divisor);
[all...] |
| /device/linaro/bootloader/edk2/StdLib/LibC/gdtoa/ |
| misc.c | 548 diff
function
|
| /external/aac/libFDK/src/ |
| qmf.cpp | 1165 int diff; local [all...] |
| /external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
| XYPlotZoomPan.java | 300 final float diff = newX.y - newX.x; local 305 newX.y = newX.x + diff; 309 newX.x = newX.y - diff; 314 newX.y = newX.x + diff; 318 newX.x = newX.y - diff;
|
| /external/autotest/client/tests/signaltest/src/ |
| signaltest.c | 82 long diff; local 83 diff = USEC_PER_SEC * ((int) t1.tv_sec - (int) t2.tv_sec); 84 diff += ((int) t1.tv_nsec - (int) t2.tv_nsec) / 1000; 85 return diff; 142 long diff; local 168 diff = calcdiff(after, before); 170 if (diff < stat->min) 171 stat->min = diff; 172 if (diff > stat->max) 173 stat->max = diff; 306 long diff = stat->values[stat->cyclesread & par->bufmsk]; local [all...] |
| /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
| WNafUtil.java | 31 BigInteger diff = _3k.xor(k); local 36 if (!diff.testBit(i)) 197 BigInteger diff = _3k.xor(k); local 201 if (diff.testBit(i)) 295 BigInteger diff = _3k.xor(k); local 297 return diff.bitCount();
|
| /external/deqp/modules/gles2/functional/ |
| es2fShaderBuiltinVarTests.cpp | 182 float diff = zFar - zNear; local 183 c.color.xyz() = tcu::Vec3(zNear, zFar, diff*0.5f + 0.5f); 224 src << "\t" << (m_isVertexCase ? "v_color" : "gl_FragColor") << " = vec4(gl_DepthRange.near, gl_DepthRange.far, gl_DepthRange.diff*0.5 + 0.5, 1.0);\n";
|
| /external/deqp/modules/gles3/functional/ |
| es3fASTCDecompressionCases.cpp | 176 const IVec4 diff = tcu::abs(refPix - resPix); local 177 const bool isOk = tcu::boolAll(tcu::lessThanEqual(diff, threshold)); 179 maxDiffDst = tcu::max(maxDiffDst, diff);
|
| /external/dng_sdk/source/ |
| dng_pixel_buffer.cpp | 1656 real64 diff = fabs ((real64)src1 [col] - src2 [col]); local 1658 if (diff > result) 1659 result = diff; 1716 real64 diff = fabs ((real64)src1 [col * s1ColStep] - src2 [col * s2ColStep]); local 1718 if (diff > result) 1719 result = diff; [all...] |