/third_party/python/Lib/test/ |
H A D | test_unparse.py | 161 diff = len1 - len2 164 diff = len2 - len1 165 msg = f"{what} list contains {diff} additional elements."
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fShaderMetamorphicTests.cpp | 285 tcu::Vec4 diff = abs(RGBA - sanPix.m_RGBA); in sanityComparePixels() local 287 if (diff[j] >= threshold[j]) in sanityComparePixels()
|
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglSwapBuffersTests.cpp | 253 const tcu::Vec4 diff(abs(pixel - color)); in checkColor() 255 if (!boolAll(lessThanEqual(diff, threshold))) in checkColor()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | dpp_hostapd.c | 328 struct os_reltime now, diff; in hostapd_dpp_reply_wait_timeout() local 337 os_reltime_sub(&now, &hapd->dpp_last_init, &diff); in hostapd_dpp_reply_wait_timeout() 338 diff_ms = diff.sec * 1000 + diff.usec / 1000; in hostapd_dpp_reply_wait_timeout() 448 struct os_reltime now, diff; in hostapd_dpp_auth_init_next() local 481 os_reltime_sub(&now, &hapd->dpp_init_iter_start, &diff); in hostapd_dpp_auth_init_next() 482 used = diff.sec * 1000 + diff.usec / 1000; in hostapd_dpp_auth_init_next()
|
H A D | ieee802_11_shared.c | 1006 int diff; in get_tx_parameters() local 1009 diff = abs((int) in get_tx_parameters() 1014 != 0 && diff > 16; in get_tx_parameters()
|
/third_party/ffmpeg/libavcodec/ |
H A D | mss2.c | 139 int diff = (c->high >> 16) - (c->low >> 16); in arith2_get_consumed_bytes() local 143 while (!(diff & 0x80)) { in arith2_get_consumed_bytes() 145 diff <<= 1; in arith2_get_consumed_bytes()
|
H A D | mfenc.c | 559 int diff = (int)t - avctx->bit_rate / 8; in mf_enca_output_score() local 560 if (diff >= 0) { in mf_enca_output_score() 561 score |= (1LL << 31) - diff; // prefer lower bitrate in mf_enca_output_score() 563 score |= (1LL << 30) + diff; // prefer higher bitrate in mf_enca_output_score()
|
H A D | vc2enc.c | 691 int bits, bytes, diff, prev_bytes, new_idx; in calc_slice_sizes() local 701 diff = bytes - prev_bytes; in calc_slice_sizes() 702 if ((bytes_left - diff) > 0) { in calc_slice_sizes() 705 bytes_left -= diff; in calc_slice_sizes()
|
/third_party/libabigail/tools/ |
H A D | abidw.cc | 442 // standpoint, from the diff output. in set_diff_context() 752 corpus_diff_sptr diff = compute_diff(corp, corp2, ctxt); in load_corpus_and_write_abixml() local 756 << "computed diff in: " << t << "\n"; in load_corpus_and_write_abixml() 758 bool has_error = diff->has_changes(); in load_corpus_and_write_abixml() 762 diff->report(cerr); in load_corpus_and_write_abixml()
|
/third_party/node/lib/internal/readline/ |
H A D | interface.js | 515 const diff = lineRows - cursorPos.rows; 516 if (diff > 0) { 517 moveCursor(this.output, 0, -diff);
|
/third_party/node/deps/v8/src/bigint/ |
H A D | mul-fft.cc | 75 // Sets {sum} := {a} + {b} and {diff} := {a} - {b}, which is more efficient 78 void SumDiff(digit_t* sum, digit_t* diff, const digit_t* a, const digit_t* b, in SumDiff() argument 87 diff[i] = digit_sub2(ai, bi, borrow, &borrow); in SumDiff() 90 ModFn(diff, len); in SumDiff()
|
/third_party/python/Lib/ |
H A D | statistics.py | 1203 diff = x - self._mu 1204 return exp(diff * diff / (-2.0 * variance)) / sqrt(tau * variance)
|
/third_party/vk-gl-cts/external/vulkan-docs/src/ |
H A D | Makefile | 343 diff_html: $(HTMLDIR)/diff.html $(SPECSRC) $(COMMONDOCS) 345 $(HTMLDIR)/diff.html: KATEXDIR = ../katex 346 $(HTMLDIR)/diff.html: $(SPECSRC) $(COMMONDOCS) $(KATEXINSTDIR)
|
/third_party/spirv-tools/test/opt/ |
H A D | local_ssa_elim_test.cpp | 4402 float3 diff = NdotL.xxx; in TEST_F() local 4409 fragcolor += float3((diff + spec) * spotEffect * heightAttenuation) * ubo.lights[i].color.rgb * albedo.rgb; in TEST_F() 4451 %193 = OpString "diff" in TEST_F()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | ieee802_11_shared.c | 961 int diff; in get_tx_parameters() local 964 diff = abs((int) in get_tx_parameters() 969 != 0 && diff > 16; in get_tx_parameters()
|
/third_party/f2fs-tools/include/ |
H A D | f2fs_fs.h | 1623 double reserved, ovp, candidate, end, diff, space; in get_best_overprovision() local 1630 diff = 5; in get_best_overprovision() 1634 diff = 0.01; in get_best_overprovision() 1637 for (; candidate <= end; candidate += diff) { in get_best_overprovision()
|
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_dmix.c | 393 snd_pcm_sframes_t diff; in snd_pcm_dmix_sync_ptr0() local 397 diff = pcm_frame_diff(slave_hw_ptr, old_slave_hw_ptr, dmix->slave_boundary); in snd_pcm_dmix_sync_ptr0() 398 if (diff == 0) /* fast path */ in snd_pcm_dmix_sync_ptr0() 404 dmix->hw_ptr += diff; in snd_pcm_dmix_sync_ptr0()
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | tzfmttst.cpp | 326 int32_t diff = outOffset - inOffset; in TestTimeZoneRoundTrip() local 328 diff = (diff / 60000) * 60000; in TestTimeZoneRoundTrip() 330 if (diff != 0) { in TestTimeZoneRoundTrip() 694 + ", text=" + text + ", time=" + testTimes[testidx] + ", restime=" + parsedDate + ", diff=" + (parsedDate - testTimes[testidx]); in RunTimeRoundTripTests()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | TimeZoneFormatTest.java | 264 int diff = outOffset - inOffset; in TestTimeZoneRoundTrip() 266 diff = (diff / 60000) * 60000; in TestTimeZoneRoundTrip() 268 if (diff != 0) { in TestTimeZoneRoundTrip() 487 .append(", diff=").append(timeDiff); in TestTimeRoundTrip()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | TimeZoneFormatTest.java | 267 int diff = outOffset - inOffset; in TestTimeZoneRoundTrip() 269 diff = (diff / 60000) * 60000; in TestTimeZoneRoundTrip() 271 if (diff != 0) { in TestTimeZoneRoundTrip() 490 .append(", diff=").append(timeDiff); in TestTimeRoundTrip()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | number_decimalquantity.cpp | 41 int32_t diff = static_cast<int32_t>(static_cast<uint32_t>(a) - static_cast<uint32_t>(b)); in safeSubtract() local 42 if (b < 0 && diff < a) { return INT32_MAX; } in safeSubtract() 43 if (b > 0 && diff > a) { return INT32_MIN; } in safeSubtract() 44 return diff; in safeSubtract()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | number_decimalquantity.cpp | 41 int32_t diff = static_cast<int32_t>(static_cast<uint32_t>(a) - static_cast<uint32_t>(b)); in safeSubtract() local 42 if (b < 0 && diff < a) { return INT32_MAX; } in safeSubtract() 43 if (b > 0 && diff > a) { return INT32_MIN; } in safeSubtract() 44 return diff; in safeSubtract()
|
/third_party/littlefs/scripts/ |
H A D | perf.py | 85 diff = new - old 86 if diff == +m.inf: 88 elif diff == -m.inf: 91 return '%+7d' % diff 705 # sort again, now with diff info, note that python's sort is stable 1087 if args.get('diff'): 1090 with openio(args['diff']) as f: 1121 diff_results if args.get('diff') else None, 1175 '-d', '--diff', 1176 help="Specify CSV file to diff agains [all...] |
H A D | perfbd.py | 76 diff = new - old 77 if diff == +m.inf: 79 elif diff == -m.inf: 82 return '%+7d' % diff 671 # sort again, now with diff info, note that python's sort is stable 1067 if args.get('diff'): 1070 with openio(args['diff']) as f: 1103 diff_results if args.get('diff') else None, 1147 '-d', '--diff', 1148 help="Specify CSV file to diff agains [all...] |
/third_party/node/deps/openssl/openssl/crypto/evp/ |
H A D | evp_enc.c | 546 PTRDIFF_T diff = (PTRDIFF_T)ptr1-(PTRDIFF_T)ptr2; in ossl_is_partially_overlapping() local 552 int overlapped = (len > 0) & (diff != 0) & ((diff < (PTRDIFF_T)len) | in ossl_is_partially_overlapping() 553 (diff > (0 - (PTRDIFF_T)len))); in ossl_is_partially_overlapping()
|