Home
last modified time | relevance | path

Searched refs:diff (Results 676 - 700 of 1813) sorted by relevance

1...<<21222324252627282930>>...73

/third_party/vk-gl-cts/modules/internal/
H A DditSRGB8ConversionTest.cpp78 const tcu::Vec4 diff (res - ref); in iterate()
82 log << tcu::TestLog::Message << i << ", Res: " << res << ", Ref: " << ref << ", Diff: " << diff << ", Discrete float diff: " << discreteFloatDiff << tcu::TestLog::EndMessage; in iterate()
/device/soc/rockchip/common/sdk_linux/drivers/tty/serial/8250/
H A D8250_dw.c353 unsigned int rate_temp, diff; in dw8250_set_termios() local
371 diff = rate / 0x32; in dw8250_set_termios()
377 if ((rate_temp < rate) && ((rate - rate_temp) > diff)) { in dw8250_set_termios()
378 ret = clk_set_rate(d->clk, rate + diff); in dw8250_set_termios()
380 if ((rate_temp < rate) && ((rate - rate_temp) > diff)) { in dw8250_set_termios()
382 } else if ((rate < rate_temp) && ((rate_temp - rate) > diff)) { in dw8250_set_termios()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
H A Drxe_comp.c174 s32 diff; in check_psn() local
179 diff = psn_compare(pkt->psn, wqe->last_psn); in check_psn()
180 if (diff > 0) { in check_psn()
193 diff = psn_compare(pkt->psn, qp->comp.psn); in check_psn()
194 if (diff < 0) { in check_psn()
202 } else if ((diff > 0) && (wqe->mask & WR_ATOMIC_OR_READ_MASK)) { in check_psn()
/kernel/linux/linux-5.10/net/sctp/
H A Dauth.c151 int diff; in sctp_auth_compare_vectors() local
155 diff = vector1->len - vector2->len; in sctp_auth_compare_vectors()
156 if (diff) { in sctp_auth_compare_vectors()
157 longer = (diff > 0) ? vector1->data : vector2->data; in sctp_auth_compare_vectors()
163 for (i = 0; i < abs(diff); i++) { in sctp_auth_compare_vectors()
165 return diff; in sctp_auth_compare_vectors()
/kernel/linux/linux-5.10/drivers/gpu/ipu-v3/
H A Dipu-di.c512 u32 diff; in ipu_di_adjust_videomode() local
517 diff = 2 - mode->vfront_porch; in ipu_di_adjust_videomode()
519 if (mode->vback_porch >= diff) { in ipu_di_adjust_videomode()
521 mode->vback_porch -= diff; in ipu_di_adjust_videomode()
522 } else if (mode->vsync_len > diff) { in ipu_di_adjust_videomode()
524 mode->vsync_len = mode->vsync_len - diff; in ipu_di_adjust_videomode()
/kernel/linux/linux-5.10/drivers/ptp/
H A Dptp_qoriq.c179 u64 adj, diff; in ptp_qoriq_adjfine() local
193 * Calculate diff and round() to the nearest integer in ptp_qoriq_adjfine()
195 * diff = adj * (ppb / 1000000000) in ptp_qoriq_adjfine()
198 diff = mul_u64_u64_div_u64(adj, scaled_ppm, 32768000000); in ptp_qoriq_adjfine()
199 diff = DIV64_U64_ROUND_UP(diff, 2); in ptp_qoriq_adjfine()
201 tmr_add = neg_adj ? tmr_add - diff : tmr_add + diff; in ptp_qoriq_adjfine()
/kernel/linux/linux-6.6/fs/ntfs3/
H A Drecord.c19 int diff = le32_to_cpu(left->type) - le32_to_cpu(type); in compare_attr() local
21 if (diff) in compare_attr()
22 return diff; in compare_attr()
483 int diff = compare_attr(attr, type, name, name_len, upcase); in mi_insert_attr() local
485 if (diff < 0) in mi_insert_attr()
488 if (!diff && !is_attr_indexed(attr)) in mi_insert_attr()
/kernel/linux/linux-6.6/drivers/ptp/
H A Dptp_qoriq.c204 u64 adj, diff; in ptp_qoriq_adjfine() local
218 * Calculate diff and round() to the nearest integer in ptp_qoriq_adjfine()
220 * diff = adj * (ppb / 1000000000) in ptp_qoriq_adjfine()
223 diff = mul_u64_u64_div_u64(adj, scaled_ppm, 32768000000); in ptp_qoriq_adjfine()
224 diff = DIV64_U64_ROUND_UP(diff, 2); in ptp_qoriq_adjfine()
226 tmr_add = neg_adj ? tmr_add - diff : tmr_add + diff; in ptp_qoriq_adjfine()
/kernel/linux/linux-6.6/drivers/gpu/ipu-v3/
H A Dipu-di.c508 u32 diff; in ipu_di_adjust_videomode() local
520 diff = 2 - mode->vfront_porch; in ipu_di_adjust_videomode()
522 if (mode->vback_porch >= diff) { in ipu_di_adjust_videomode()
524 mode->vback_porch -= diff; in ipu_di_adjust_videomode()
525 } else if (mode->vsync_len > diff) { in ipu_di_adjust_videomode()
527 mode->vsync_len = mode->vsync_len - diff; in ipu_di_adjust_videomode()
/kernel/linux/linux-6.6/drivers/iio/
H A Dindustrialio-gts-helper.c783 int i, diff = 0; in iio_find_closest_gain_low() local
795 if (!diff) { in iio_find_closest_gain_low()
796 diff = gain - gts->hwgain_table[i].gain; in iio_find_closest_gain_low()
801 if (tmp < diff) { in iio_find_closest_gain_low()
802 diff = tmp; in iio_find_closest_gain_low()
816 if (!diff) { in iio_find_closest_gain_low()
/kernel/linux/linux-6.6/drivers/infiniband/sw/rxe/
H A Drxe_comp.c185 s32 diff; in check_psn() local
190 diff = psn_compare(pkt->psn, wqe->last_psn); in check_psn()
191 if (diff > 0) { in check_psn()
204 diff = psn_compare(pkt->psn, qp->comp.psn); in check_psn()
205 if (diff < 0) { in check_psn()
217 } else if ((diff > 0) && (wqe->mask & WR_ATOMIC_OR_READ_MASK)) { in check_psn()
/kernel/linux/linux-6.6/net/sctp/
H A Dauth.c151 int diff; in sctp_auth_compare_vectors() local
155 diff = vector1->len - vector2->len; in sctp_auth_compare_vectors()
156 if (diff) { in sctp_auth_compare_vectors()
157 longer = (diff > 0) ? vector1->data : vector2->data; in sctp_auth_compare_vectors()
163 for (i = 0; i < abs(diff); i++) { in sctp_auth_compare_vectors()
165 return diff; in sctp_auth_compare_vectors()
/third_party/ffmpeg/libavfilter/
H A Dsrc_movie.c526 int64_t diff = frame->pts - st->last_pts; in movie_push_frame() local
527 if (diff < 0 || diff > st->discontinuity_threshold) { in movie_push_frame()
528 av_log(ctx, AV_LOG_VERBOSE, "Discontinuity in stream:%d diff:%"PRId64"\n", out_id, diff); in movie_push_frame()
529 movie->ts_offset += av_rescale_q_rnd(-diff, outlink->time_base, AV_TIME_BASE_Q, AV_ROUND_UP); in movie_push_frame()
530 frame->pts -= diff; in movie_push_frame()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DICUBinary.java371 int diff = key.charAt(i) - c2; in compareKeys()
372 if (diff != 0) { in compareKeys()
373 return diff; in compareKeys()
390 int diff = key.charAt(i) - c2; in compareKeys()
391 if (diff != 0) { in compareKeys()
392 return diff; in compareKeys()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DICUBinary.java375 int diff = key.charAt(i) - c2; in compareKeys()
376 if (diff != 0) { in compareKeys()
377 return diff; in compareKeys()
394 int diff = key.charAt(i) - c2; in compareKeys()
395 if (diff != 0) { in compareKeys()
396 return diff; in compareKeys()
/third_party/libabigail/tools/
H A Dabicompat.cc290 /// Create the context of a diff.
292 /// Create the diff context, initialize it and return a smart pointer
297 /// @return a smart pointer to the newly created diff context.
339 /// @param ctxt the context of the diff to be performed.
439 function_type_diff_sptr diff; member
448 diff(difference) in fn_change()
458 diff_sptr diff; member
467 diff(difference) in var_change()
591 i->diff->report(cout, " "); in perform_compat_check_in_weak_mode()
635 i->diff in perform_compat_check_in_weak_mode()
[all...]
/third_party/pulseaudio/sonic/
H A DSonic.java526 int diff = 0; in findPitchPeriodInRange()
530 diff += sVal >= pVal? sVal - pVal : pVal - sVal; in findPitchPeriodInRange()
532 /* Note that the highest number of samples we add into diff will be less in findPitchPeriodInRange()
533 than 256, since we skip samples. Thus, diff is a 24 bit number, and in findPitchPeriodInRange()
535 if(diff*bestPeriod < minDiff*period) { in findPitchPeriodInRange()
536 minDiff = diff; in findPitchPeriodInRange()
539 if(diff*worstPeriod > maxDiff*period) { in findPitchPeriodInRange()
540 maxDiff = diff; in findPitchPeriodInRange()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A Dangletypes_unittest.cpp119 const gl::DrawBufferMask diff = blendStateExt.compareColorMask(otherColorMask); in TEST() local
120 ASSERT_EQ(diff.to_ulong(), 23u); in TEST()
147 const gl::DrawBufferMask diff = in TEST() local
149 ASSERT_EQ(diff.to_ulong(), 40u); in TEST()
197 const gl::DrawBufferMask diff = in TEST() local
199 ASSERT_EQ(diff.to_ulong(), 169u); in TEST()
/third_party/skia/src/core/
H A DSkImageFilterTypes.h145 LayerSpace<IVector> diff = *this; in operator -() local
146 diff -= v; in operator -()
147 return diff; in operator -()
193 LayerSpace<Vector> diff = *this; in operator -() local
194 diff -= v; in operator -()
195 return diff; in operator -()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_alloc.c281 xfs_extlen_t diff; in xfs_alloc_compute_aligned() local
292 diff = args->min_agbno - bno; in xfs_alloc_compute_aligned()
293 if (len > diff) { in xfs_alloc_compute_aligned()
294 bno += diff; in xfs_alloc_compute_aligned()
295 len -= diff; in xfs_alloc_compute_aligned()
302 diff = aligned_bno - bno; in xfs_alloc_compute_aligned()
305 *reslen = diff >= len ? 0 : len - diff; in xfs_alloc_compute_aligned()
315 * Compute best start block and diff for "near" allocations.
744 xfs_extlen_t diff; /* dif member
831 xfs_extlen_t len, lena, diff = -1; xfs_alloc_cur_check() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Droqvideoenc.c203 int diff=0; in eval_sse() local
206 diff += square(*b++ - *a++); in eval_sse()
208 return diff; in eval_sse()
318 int diff = squared_diff_macroblock(cluster, cb + i*dim*dim*3, dim); in index_mb() local
319 if (diff < lDiff) { in index_mb()
320 lDiff = diff; in index_mb()
331 diff = eval_motion_dist(enc, j, i, MOTION, blocksize); \
333 if (diff < lowestdiff) { \
334 lowestdiff = diff; \
353 int diff, lowestdif in motion_search() local
[all...]
/third_party/googletest/googletest/scripts/
H A Dupload.py36 Diff options are passed to the diff command of the underlying system.
43 It is important for Git/Mercurial users to specify a tree/node/branch to diff
467 help="Branch/tree/revision to diff against (used by DVCS).")
615 """Return the current diff as a string.
618 args: Extra arguments to pass to the diff command.
647 the contents of the new file, since the diff output won't contain
657 def GetBaseFiles(self, diff):
666 for line in diff.splitlines(True):
806 cmd = ["svn", "diff"]
817 ErrorExit("No valid patches found in output from svn diff")
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Drrm.c307 struct os_reltime t, diff; in wpas_rrm_build_lci_report() local
340 os_reltime_sub(&t, &wpa_s->lci_time, &diff); in wpas_rrm_build_lci_report()
342 diff_l = diff.sec * 10 + diff.usec / 100000; in wpas_rrm_build_lci_report()
1519 struct os_reltime update_time, diff; in wpas_beacon_rep_scan_process() local
1530 &update_time, &diff); in wpas_beacon_rep_scan_process()
1533 (diff.sec || diff.usec >= 8000)) { in wpas_beacon_rep_scan_process()
1539 (unsigned int) diff.sec, in wpas_beacon_rep_scan_process()
1540 (unsigned int) diff in wpas_beacon_rep_scan_process()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Drrm.c317 struct os_reltime t, diff; in wpas_rrm_build_lci_report() local
350 os_reltime_sub(&t, &wpa_s->lci_time, &diff); in wpas_rrm_build_lci_report()
352 diff_l = diff.sec * 10 + diff.usec / 100000; in wpas_rrm_build_lci_report()
1541 struct os_reltime update_time, diff; in wpas_beacon_rep_scan_process() local
1552 &update_time, &diff); in wpas_beacon_rep_scan_process()
1555 (diff.sec || diff.usec >= 8000)) { in wpas_beacon_rep_scan_process()
1561 (unsigned int) diff.sec, in wpas_beacon_rep_scan_process()
1562 (unsigned int) diff in wpas_beacon_rep_scan_process()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/megaraid/
H A Dmegaraid_sas_fp.c386 if (le32_to_cpu(quad->diff) == 0) in MR_GetSpanBlock()
390 le32_to_cpu(quad->diff))) == 0) { in MR_GetSpanBlock()
393 blk = mega_div64_32((row-le64_to_cpu(quad->logStart)), le32_to_cpu(quad->diff)); in MR_GetSpanBlock()
448 if (le32_to_cpu(quad->diff) == 0) in mr_spanset_get_span_block()
453 le32_to_cpu(quad->diff))) == 0) { in mr_spanset_get_span_block()
458 le32_to_cpu(quad->diff)); in mr_spanset_get_span_block()
508 span_set->span_row_data_width) * span_set->diff; in get_row_from_strip()
570 le32_to_cpu(quad->diff)) == 0) { in get_strip_from_row()
574 le32_to_cpu(quad->diff)); in get_strip_from_row()
1249 span_set->diff in mr_update_span_set()
[all...]

Completed in 31 milliseconds

1...<<21222324252627282930>>...73