| /external/skqp/src/core/ |
| SkColorSpaceXformPriv.h | 21 float diff = index - sk_float_floor2int(index); local 22 return table[(int) sk_float_floor2int(index)] * (1.0f - diff) + 23 table[(int) sk_float_ceil2int(index)] * diff; 73 const float diff = input - inTable[inIndex - 1]; local 75 const float normalizedIndex = (inIndex - 1) + diff / distance;
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/ |
| clockres.py | 30 diff = values[i+1] - values[i]
31 if diff < min_diff:
32 min_diff = diff
|
| /external/elfutils/src/ |
| sectionhash.c | 41 GElf_Sxword diff = (SH_FLAGS_IMPORTANT (one->flags) local 43 result = diff < 0 ? -1 : diff == 0 ? 0 : 1;
|
| /external/libvpx/libvpx/vp8/common/ |
| invtrans.h | 27 static void eob_adjust(char *eobs, short *diff) { 31 if ((eobs[js] == 0) && (diff[0] != 0)) eobs[js]++; 32 diff += 16;
|
| /external/libvpx/libvpx/vp9/encoder/arm/neon/ |
| vp9_error_neon.c | 26 const int16x8_t diff = vsubq_s16(c, d); local 27 const int16x4_t diff_lo = vget_low_s16(diff); 28 const int16x4_t diff_hi = vget_high_s16(diff); 29 // diff is 15-bits, the squares 30, so we can store 2 in 31-bits before
|
| /external/python/cpython2/Tools/pybench/ |
| clockres.py | 30 diff = values[i+1] - values[i] 31 if diff < min_diff: 32 min_diff = diff
|
| /external/python/cpython3/Tools/pybench/ |
| clockres.py | 29 diff = values[i+1] - values[i] 30 if diff < min_diff: 31 min_diff = diff
|
| /external/tensorflow/tensorflow/tools/graph_transforms/ |
| compare_graphs.cc | 64 string diff; local 65 if (EqualGraphDef(a, b, &diff)) { 69 std::cout << diff << std::endl;
|
| /external/webrtc/webrtc/base/ |
| versionparsing.cc | 49 int diff = version1[i] - version2[i]; local 50 if (diff != 0) { 51 return diff;
|
| /frameworks/av/media/libmedia/include/media/ |
| LinearMap.h | 157 // The value should be monotonic increasing (e.g. diff >= 0); 239 // returns false if the diff is out of int32_t bounds or negative. 241 static inline bool checkedDiff(int32_t *diff, T x2, T x1, const char *coord) { 244 *diff = (int32_t)diff64; // intentionally lose precision 246 ALOGW("LinearMap: %s overflow diff(%lld) from %llu - %llu exceeds INT32_MAX", 251 ALOGW("LinearMap: %s negative diff(%lld) from %llu - %llu", 260 *diff = x2 - x1; 261 if (*diff < 0) { 262 ALOGW("LinearMap: %s negative diff(%d) from %u - %u", 263 coord, *diff, (unsigned)x2, (unsigned)x1) 310 int32_t diff = 0; local [all...] |
| /frameworks/base/media/mca/filterfw/native/core/ |
| statistics.cpp | 52 const float diff = value - mean_; local 53 return expf(-diff * diff / exp_denom_) / pdf_denom_;
|
| /frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
| Result.java | 58 float diff = time - avg; local 59 sumSqDiff += diff * diff;
|
| /bionic/libc/dns/nameser/ |
| ns_samedomain.c | 57 int diff, escaped; local 109 diff = (int)(la - lb); 116 if (diff < 2) 124 if (a[diff - 1] != '.') 132 for (i = diff - 1; i > 0; i--) 144 cp = a + diff;
|
| /cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
| BitmapUtils.java | 80 double diff = 0; local 85 diff += Math.abs(Color.red(aPix) - Color.red(bPix)); // red 86 diff += Math.abs(Color.green(aPix) - Color.green(bPix)); // green 87 diff += Math.abs(Color.blue(aPix) - Color.blue(bPix)); // blue 89 diff /= (aPixels.length * 3); 90 return diff;
|
| /packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
| NameNormalizer.java | 89 int diff = getComplexityCollator().compare(clean1, clean2); local 90 if (diff != 0) { 91 return diff; 96 diff = -clean1.compareTo(clean2); 97 if (diff != 0) { 98 return diff;
|
| /bionic/tools/ |
| update_notice.sh | 6 git diff --exit-code HEAD libc/NOTICE
|
| /bionic/tools/versioner/tests/slow_preprocessor_idempotence/ |
| run.sh | 6 diff -qrwB out/initial out/second
|
| /dalvik/dx/tests/133-source-debug-extension/ |
| run | 30 diff $test_class.output $test_dex.output
|
| /device/linaro/bootloader/edk2/MdePkg/Library/BaseMemoryLibOptDxe/AArch64/ |
| CompareMem.S | 46 #define diff x6
define 71 eor diff, data1, data2 // Non-zero if differences found.
72 csinv endloop, diff, xzr, ne // Last Dword or differences.
76 // Not reached the limit, must have found a diff.
89 orr diff, diff, mask
92 rev diff, diff
96 // The MS-non-zero bit of DIFF marks either the first bit
100 clz pos, diff
[all...] |
| /device/linaro/bootloader/edk2/MdePkg/Library/BaseMemoryLibOptDxe/Arm/ |
| CompareMem.S | 39 #define diff r6
define 67 eor diff, data1, data2 // Non-zero if differences found.
68 cbnz diff, 0f
72 // Not reached the limit, must have found a diff.
85 orr diff, diff, mask
88 rev diff, diff
92 // The MS-non-zero bit of DIFF marks either the first bit
96 clz pos, diff
[all...] |
| /external/curl/lib/ |
| timeval.c | 166 timediff_t diff = newer.tv_sec-older.tv_sec; local 167 if(diff >= (TIME_MAX/1000)) 169 else if(diff <= (TIME_MIN/1000)) 171 return diff * 1000 + (newer.tv_usec-older.tv_usec)/1000; 180 timediff_t diff = newer.tv_sec-older.tv_sec; local 181 if(diff >= (TIME_MAX/1000000)) 183 else if(diff <= (TIME_MIN/1000000)) 185 return diff * 1000000 + newer.tv_usec-older.tv_usec;
|
| /external/desugar/test/java/com/google/devtools/build/android/desugar/ |
| testdata_desugared_jar_test.sh | 44 diff <(sort "$2") <(sort "${output}/actual_toc.txt")
|
| /external/google-breakpad/src/processor/ |
| minidump_stackwalk_machine_readable_test | 36 diff -u $testdata_dir/minidump2.stackwalk.machine_readable.out -
|
| minidump_stackwalk_test | 36 diff -u $testdata_dir/minidump2.stackwalk.out -
|
| /external/libunwind/scripts/ |
| kernel-diff.sh | 9 diff -up $left $right
|