/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | ftm-initiator.c | 991 u32 curr_gp2, diff; in iwl_mvm_ftm_get_host_time() local 998 diff = curr_gp2 - gp2_ts; in iwl_mvm_ftm_get_host_time() 1000 diff = curr_gp2 + (U32_MAX - gp2_ts + 1); in iwl_mvm_ftm_get_host_time() 1002 return now_from_boot_ns - (u64)diff * 1000; in iwl_mvm_ftm_get_host_time()
|
/kernel/linux/linux-6.6/crypto/ |
H A D | skcipher.c | 338 unsigned long diff; in skcipher_next_fast() local 348 diff = walk->src.phys.offset - walk->dst.phys.offset; in skcipher_next_fast() 349 diff |= walk->src.virt.page - walk->dst.virt.page; in skcipher_next_fast() 354 if (diff) { in skcipher_next_fast()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/ |
H A D | tc358768.c | 345 u32 pll, diff, pll_in; in tc358768_calc_pll() local 356 diff = max(pll, target_pll) - min(pll, target_pll); in tc358768_calc_pll() 358 if (diff < best_diff) { in tc358768_calc_pll() 359 best_diff = diff; in tc358768_calc_pll()
|
H A D | ite-it66121.c | 1117 unsigned int diff; in it661221_set_ncts() local 1132 diff = last_cts - cts; in it661221_set_ncts() 1134 diff = cts - last_cts; in it661221_set_ncts() 1136 if (diff < 5) { in it661221_set_ncts()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_drv.h | 1333 void (*do_cpy)(struct vmw_diff_cpy *diff, u8 *dest, const u8 *src, 1353 void vmw_diff_memcpy(struct vmw_diff_cpy *diff, u8 *dest, const u8 *src, 1356 void vmw_memcpy(struct vmw_diff_cpy *diff, u8 *dest, const u8 *src, size_t n); 1363 struct vmw_diff_cpy *diff);
|
/kernel/linux/linux-6.6/drivers/iio/imu/ |
H A D | adis16480.c | 611 unsigned int diff, best_diff; in adis16480_set_filter_freq() local 633 diff = st->chip_info->filter_freqs[i] - freq; in adis16480_set_filter_freq() 634 if (diff < best_diff) { in adis16480_set_filter_freq() 635 best_diff = diff; in adis16480_set_filter_freq()
|
/third_party/ffmpeg/libavcodec/ |
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/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()
|
/third_party/openssl/crypto/evp/ |
H A D | evp_enc.c | 541 PTRDIFF_T diff = (PTRDIFF_T)ptr1-(PTRDIFF_T)ptr2; in ossl_is_partially_overlapping() local 547 int overlapped = (len > 0) & (diff != 0) & ((diff < (PTRDIFF_T)len) | in ossl_is_partially_overlapping() 548 (diff > (0 - (PTRDIFF_T)len))); in ossl_is_partially_overlapping()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/ |
H A D | vktWsiPresentIdWaitTests.cpp | 577 auto diff = std::chrono::nanoseconds(after - before).count(); in run() local 590 if (diff < timeoutRange.first || diff > timeoutRange.second) in run() 593 msg << "vkWaitForPresentKHR waited for " << diff << " nanoseconds with a timeout of " << waitOp.timeout << " nanoseconds"; in run()
|
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
H A D | yuv_sse2.c | 759 uint64_t diff = 0; in SharpYUVUpdateY_SSE2() local 781 diff = tmp[3] + tmp[2] + tmp[1] + tmp[0]; in SharpYUVUpdateY_SSE2() 786 diff += (uint64_t)abs(diff_y); in SharpYUVUpdateY_SSE2() 788 return diff; in SharpYUVUpdateY_SSE2()
|
/third_party/skia/third_party/externals/icu/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/python/Lib/test/ |
H A D | test_tracemalloc.py | 513 # stats diff per file and line 545 # stats diff per file 546 diff = snapshot2.compare_to(snapshot, 'filename') 547 self.assertEqual(diff, [ 579 # stats diff per file 580 diff = snapshot2.compare_to(snapshot, 'traceback') 581 self.assertEqual(diff, [
|
/third_party/skia/experimental/sktext/src/ |
H A D | Text.cpp | 529 auto diff = line.fTextMetrics.above() - run.fTextMetrics.above(); 530 SkRect boundingRect = SkRect::MakeXYWH(line.fOffset.fX + run.fPositions[0].fX, line.fOffset.fY + diff, run.width(), run.fTextMetrics.height()); 588 auto diff = line.fTextMetrics.above() - run.fTextMetrics.above(); 591 line.fOffset.fY + diff,
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/ |
H A D | vktWsiPresentIdWaitTests.cpp | 577 auto diff = std::chrono::nanoseconds(after - before).count(); in run() local 590 if (diff < timeoutRange.first || diff > timeoutRange.second) in run() 593 msg << "vkWaitForPresentKHR waited for " << diff << " nanoseconds with a timeout of " << waitOp.timeout << " nanoseconds"; in run()
|