| /external/python/cpython3/Modules/ |
| cmathmodule.c | 1195 double diff; local [all...] |
| /external/python/cpython3/Objects/ |
| rangeobject.c | 157 PyObject *diff = NULL; local 189 if ((diff = PyNumber_Subtract(tmp1, _PyLong_One)) == NULL) 192 if ((tmp2 = PyNumber_FloorDivide(diff, step)) == NULL) 199 Py_DECREF(diff); 207 Py_XDECREF(diff); 1088 PyObject *sum, *diff, *product; local [all...] |
| /external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
| loop_descriptor.cpp | 738 // We retrieve the number of iterations using the following formula, diff / 739 // |step_value| where diff is calculated differently according to the 740 // |condition| and uses the |condition_value| and |init_value|. If diff / 744 int64_t diff = 0; local 752 diff = condition_value - init_value; 754 // If the operation is a less then operation then the diff and step must 757 if ((diff < 0 && step_value > 0) || (diff > 0 && step_value < 0)) { 768 diff = init_value - condition_value; 770 // If the operation is a greater than operation then the diff and ste [all...] |
| /external/tensorflow/tensorflow/compiler/jit/ |
| encapsulate_subgraphs_pass_test.cc | 72 const string& map_name, string* diff) { 76 if (diff) { 77 *diff = absl::StrCat(map_name, " expected: contains element with key '", 84 if (diff) { 85 *diff = absl::StrCat(map_name, " expected: element with key '", 96 if (diff) { 97 *diff = absl::StrCat(map_name, " got: contains element with key '", 108 const string& diff_preamble, string* diff) { 110 if (diff) { 111 *diff = absl::StrCat(diff_preamble, " mismatch for node ", a.name() 182 absl::StrCat(diff_preamble, " attr mismatch for node ", a.name()), diff); member in namespace:tensorflow::__anon44065 [all...] |
| /external/tensorflow/tensorflow/contrib/tensor_forest/kernels/ |
| tree_utils.cc | 409 double diff = (lambda1 + 2.0 * mu1[i]) / (2.0 - 2.0 * lambda3) - mu1[i]; local 410 dist += diff * diff; 411 diff = (lambda2 + 2.0 * mu2[i]) / (2.0 + 2.0 * lambda3) - mu2[i]; 412 dist += diff * diff;
|
| /external/tensorflow/tensorflow/examples/android/jni/object_tracking/ |
| optical_flow.cc | 318 int32_t diff = static_cast<int32_t>(extract_row[x]) - local 325 jtr[0] += dx * diff; 326 jtr[1] += dy * diff; 328 sum_diff += diff;
|
| /external/tensorflow/tensorflow/lite/kernels/internal/ |
| common.h | 171 std::int32_t diff = a32 - b32; local 174 std::max(static_cast<int32_t>(-32768), diff))); 181 std::int64_t diff = a64 - b64; local 186 diff)));
|
| /external/toybox/toys/pending/ |
| diff.c | 0 /* diff.c - compare files line by line 8 USE_DIFF(NEWTOY(diff, "<2>2(color)B(ignore-blank-lines)d(minimal)b(ignore-space-change)ut(expand-tabs)w(ignore-all-space)i(ignore-case)T(initial-tab)s(report-identical-files)q(brief)a(text)L(label)*S(starting-file):N(new-file)r(recursive)U(unified)#<0=3", TOYFLAG_USR|TOYFLAG_BIN|TOYFLAG_ARGFAIL(2))) 10 config DIFF 11 bool "diff" 14 usage: diff [-abBdiNqrTstw] [-L LABEL] [-S FILE] [-U LINES] FILE1 FILE2 61 struct diff { struct 369 static int *diff(char **files) function 375 TT.is_binary = 0; //loop calls to diff 535 struct diff *d; 540 J = diff(files) [all...] |
| /external/u-boot/drivers/usb/musb-new/ |
| musb_host.c | 1818 int diff; local [all...] |
| /external/u-boot/drivers/video/ |
| console_truetype.c | 175 int i, diff; local 182 diff = (rowsrc - rowdst) * priv->font_size; 184 priv->pos[i].ypos -= diff;
|
| /external/webp/src/dsp/ |
| yuv_neon.c | 189 uint64_t diff; local 203 diff = vgetq_lane_u64(sum, 0) + vgetq_lane_u64(sum, 1); 208 diff += (uint64_t)(abs(diff_y)); 210 return diff;
|
| /external/webrtc/webrtc/common_audio/vad/ |
| vad_core.c | 133 int16_t diff; local 411 // |diff| = "global" speech mean - "global" noise mean. 413 diff = (int16_t) (speech_global_mean >> 9) - 415 if (diff < kMinimumDifference[channel]) { 416 tmp_s16 = kMinimumDifference[channel] - diff; 418 // |tmp1_s16| = ~0.8 * (kMinimumDifference - diff) in Q7. 419 // |tmp2_s16| = ~0.2 * (kMinimumDifference - diff) in Q7.
|
| /external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
| bwe_test_framework.h | 119 T diff = (sample - mean); local 120 variance_ += diff * diff;
|
| /external/wpa_supplicant_8/wpa_supplicant/ |
| rrm.c | 307 struct os_reltime t, diff; local 340 os_reltime_sub(&t, &wpa_s->lci_time, &diff); 342 diff_l = diff.sec * 10 + diff.usec / 100000; 1519 struct os_reltime update_time, diff; local [all...] |
| /frameworks/av/media/libaudioclient/ |
| AudioTrackShared.cpp | 43 int32_t diff = (int32_t) self - (int32_t) other; local 44 if (diff >= 0 && diff < INT32_MAX) { [all...] |
| /frameworks/av/media/mtp/ |
| MtpServer.cpp | 815 std::chrono::duration<double> diff = end - start; local 820 diff.count(), finalsize, ((double) finalsize) / diff.count()); 1261 std::chrono::duration<double> diff = end - start; local [all...] |
| /external/cldr/tools/java/org/unicode/cldr/tool/ |
| ChartDelta.java | 305 Set<PathDiff> diff = new TreeSet<>(); local 395 addPathDiff(sourceDir, old, current, locale, ph, diff); 397 addValueDiff(sourceDir, oldValue, currentValue, locale, ph, diff, diffAll); 401 writeDiffs(anchors, base, diff, tsvFile, counts); 402 diff.clear(); 541 private void addValueDiff(File sourceDir, String valueOld, String valueCurrent, String locale, PathHeader ph, Set<PathDiff> diff, 567 diff.add(row); 672 private void writeDiffs(Anchors anchors, String file, Set<PathDiff> diff, PrintWriter tsvFile, Counter<PathHeader> counts) { 673 if (diff.isEmpty()) { 686 for (PathDiff row : diff) { [all...] |
| /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
| MapsTest.java | 287 MapDifference<Integer, Integer> diff = Maps.difference(EMPTY, EMPTY); local 288 assertTrue(diff.areEqual()); 289 assertEquals(EMPTY, diff.entriesOnlyOnLeft()); 290 assertEquals(EMPTY, diff.entriesOnlyOnRight()); 291 assertEquals(EMPTY, diff.entriesInCommon()); 292 assertEquals(EMPTY, diff.entriesDiffering()); 293 assertEquals("equal", diff.toString()); 297 MapDifference<Integer, Integer> diff = Maps.difference(EMPTY, SINGLETON); local 298 assertFalse(diff.areEqual()); 299 assertEquals(EMPTY, diff.entriesOnlyOnLeft()) 307 MapDifference<Integer, Integer> diff = Maps.difference(SINGLETON, EMPTY); local 419 SortedMapDifference<Integer, Integer> diff = local 430 SortedMapDifference<Integer, Integer> diff = local 441 SortedMapDifference<Integer, Integer> diff = local [all...] |
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
| AlphabeticIndexTest.java | 695 Collection<String> diff = new TreeSet<String>(firstCharacters); local [all...] |
| /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
| AlphabeticIndexTest.java | 692 Collection<String> diff = new TreeSet<String>(firstCharacters); local [all...] |
| /art/dex2oat/linker/arm/ |
| relative_patcher_thumb2_test.cc | 124 return 0xffffffffu; // Fails code diff later. 128 return 0xffffffffu; // Fails code diff later. 130 uint32_t diff = target_offset - bne_offset - kPcAdjustment; local 131 DCHECK_ALIGNED(diff, 2u); 132 if ((diff >> 20) != 0 && (diff >> 20) != 0xfffu) { 133 LOG(ERROR) << "Target out of range: " << diff; 134 return 0xffffffffu; // Fails code diff later. 136 return kBneWPlus0 | ((diff >> 1) & 0x7ffu) // imm11 137 | (((diff >> 12) & 0x3fu) << 16) // imm 382 uint32_t diff = target_offset - pc_base_offset; local 454 uint32_t diff = kTrampolineOffset - (method1_offset + 4u); local 487 uint32_t diff = local 582 uint32_t diff = thunk_offset - (method1_offset + bl_offset_in_method1 + 4u \/* PC adjustment *\/); local 615 uint32_t diff = local [all...] |
| /bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
| gdtoaimp.h | 537 #define diff __diff_D2A macro 588 extern Bigint *diff ANSI((Bigint*, Bigint*));
|
| /cts/tests/camera/src/android/hardware/camera2/cts/ |
| BurstCaptureRawTest.java | 414 double diff = deltaList.get(i) - average; local 415 stddev += diff * diff;
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
| lstrlib.c | 920 lua_Number diff = n - (lua_Number)ni;
local 921 luaL_argcheck(L, -1 < diff && diff < 1, arg,
930 lua_Number diff = n - (lua_Number)ni;
local 931 luaL_argcheck(L, -1 < diff && diff < 1, arg,
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
| intobject.c | 551 const double diff = doubled_longprod - doubleprod;
local 552 const double absdiff = diff >= 0.0 ? diff : -diff;
[all...] |