Home
last modified time | relevance | path

Searched refs:diff (Results 451 - 475 of 2920) sorted by relevance

1...<<11121314151617181920>>...117

/kernel/linux/linux-6.6/net/sched/
H A Dsch_htb.c521 * @diff: diff time in microseconds
523 * It computes cl's mode at time cl->t_c+diff and returns it. If mode
532 htb_class_mode(struct htb_class *cl, s64 *diff) in htb_class_mode() argument
536 if ((toks = (cl->ctokens + *diff)) < htb_lowater(cl)) { in htb_class_mode()
537 *diff = -toks; in htb_class_mode()
541 if ((toks = (cl->tokens + *diff)) >= htb_hiwater(cl)) in htb_class_mode()
544 *diff = -toks; in htb_class_mode()
552 * @diff: diff tim
561 htb_change_class_mode(struct htb_sched *q, struct htb_class *cl, s64 *diff) htb_change_class_mode() argument
657 htb_accnt_tokens(struct htb_class *cl, int bytes, s64 diff) htb_accnt_tokens() argument
670 htb_accnt_ctokens(struct htb_class *cl, int bytes, s64 diff) htb_accnt_ctokens() argument
703 s64 diff; htb_charge_class() local
758 s64 diff; htb_do_events() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dnv50.c361 u32 calc, diff; in nv50_disp_super_2_2_dp() local
366 diff = tu_valid - calc; in nv50_disp_super_2_2_dp()
367 if (diff) { in nv50_disp_super_2_2_dp()
368 if (diff >= (symbol / 2)) { in nv50_disp_super_2_2_dp()
369 VTUf = symbol / (symbol - diff); in nv50_disp_super_2_2_dp()
370 if (symbol - (VTUf * diff)) in nv50_disp_super_2_2_dp()
383 VTUf = min((int)(symbol / diff), 15); in nv50_disp_super_2_2_dp()
387 diff = calc - tu_valid; in nv50_disp_super_2_2_dp()
398 if (diff < best_diff) { in nv50_disp_super_2_2_dp()
399 best_diff = diff; in nv50_disp_super_2_2_dp()
[all...]
/third_party/mbedtls/3rdparty/p256-m/p256-m/
H A Dp256-m.c117 uint64_t diff = (uint64_t) x[i] - y[i] - carry; in u256_sub() local
118 z[i] = (uint32_t) diff; in u256_sub()
119 carry = -(uint32_t) (diff >> 32); in u256_sub()
151 uint32_t diff = 0; in u256_diff() local
153 diff |= x[i] ^ y[i]; in u256_diff()
155 return diff; in u256_diff()
166 uint32_t diff = 0; in u256_diff0() local
168 diff |= x[i]; in u256_diff0()
170 return diff; in u256_diff0()
1462 uint32_t diff in p256_ecdsa_verify() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_vblank.c239 * when drm_vblank_enable() applies the diff in drm_reset_vblank_timestamp()
279 u32 cur_vblank, diff; in drm_update_vblank_count() local
305 diff = (cur_vblank - vblank->last) & max_vblank_count; in drm_update_vblank_count()
319 diff = DIV_ROUND_CLOSEST_ULL(diff_ns, framedur_ns); in drm_update_vblank_count()
321 if (diff == 0 && in_vblank_irq) in drm_update_vblank_count()
326 diff = in_vblank_irq ? 1 : 0; in drm_update_vblank_count()
335 * in a bogus diff >> 1 which must be avoided as it would cause in drm_update_vblank_count()
338 if (diff > 1 && (vblank->inmodeset & 0x2)) { in drm_update_vblank_count()
341 " due to pre-modeset.\n", pipe, diff); in drm_update_vblank_count()
342 diff in drm_update_vblank_count()
1476 u32 cur_vblank, diff = 1; drm_vblank_restore() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_vblank.c242 * when drm_vblank_enable() applies the diff in drm_reset_vblank_timestamp()
282 u32 cur_vblank, diff; in drm_update_vblank_count() local
308 diff = (cur_vblank - vblank->last) & max_vblank_count; in drm_update_vblank_count()
322 diff = DIV_ROUND_CLOSEST_ULL(diff_ns, framedur_ns); in drm_update_vblank_count()
324 if (diff == 0 && in_vblank_irq) in drm_update_vblank_count()
329 diff = in_vblank_irq ? 1 : 0; in drm_update_vblank_count()
338 * in a bogus diff >> 1 which must be avoided as it would cause in drm_update_vblank_count()
341 if (diff > 1 && (vblank->inmodeset & 0x2)) { in drm_update_vblank_count()
344 " due to pre-modeset.\n", pipe, diff); in drm_update_vblank_count()
345 diff in drm_update_vblank_count()
1520 u32 cur_vblank, diff = 1; drm_vblank_restore() local
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A Dangletypes.h549 // Compare two packed sets of eight 4-bit values and return an 8-bit diff mask.
553 uint32_t diff = packedValue1 ^ packedValue2;
557 diff = (diff | ((diff & 0x77777777) + 0x77777777)) & 0x88888888;
559 // By this point, `diff` looks like a...b...c...d...e...f...g...h... (dots mean zeros).
562 // Multiplying the lower half of `diff` by 0x249 (0x200 + 0x40 + 0x8 + 0x1) produces:
572 diff = ((((diff & 0xFFFF0000) * 0x249) >> 24) & 0xF0) | (((diff *
[all...]
/kernel/linux/linux-5.10/sound/core/
H A Dpcm_lib.c802 int diff; in snd_interval_ratnum() local
816 diff = num - q * den; in snd_interval_ratnum()
817 if (diff < 0) in snd_interval_ratnum()
818 diff = -diff; in snd_interval_ratnum()
820 diff * best_den < best_diff * den) { in snd_interval_ratnum()
821 best_diff = diff; in snd_interval_ratnum()
841 int diff; in snd_interval_ratnum() local
857 diff = q * den - num; in snd_interval_ratnum()
858 if (diff < in snd_interval_ratnum()
918 int diff; snd_interval_ratden() local
950 int diff; snd_interval_ratden() local
[all...]
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_lens_correction.cpp242 const dng_point_real64 &diff) const in EvaluateTangential2()
245 const real64 dvdv = diff.v * diff.v; in EvaluateTangential2()
246 const real64 dhdh = diff.h * diff.h; in EvaluateTangential2()
255 diff, in EvaluateTangential2()
264 const dng_point_real64 &diff) const in EvaluateTangential3()
267 dng_point_real64 diffSqr (diff.v * diff.v, in EvaluateTangential3()
268 diff in EvaluateTangential3()
[all...]
/kernel/linux/linux-5.10/tools/perf/arch/powerpc/
H A DMakefile27 (diff -B $(sysdef) $(syskrn) >/dev/null) \
33 (diff -B $(sysdef) $(syskrn) >/dev/null) \
/third_party/mesa3d/.gitlab-ci/vkd3d-proton/
H A Drun.sh87 if diff -q ".gitlab-ci/vkd3d-proton/$VKD3D_PROTON_RESULTS.txt.baseline" "$RESULTSFILE"; then
93 quiet diff --color=always -u ".gitlab-ci/vkd3d-proton/$VKD3D_PROTON_RESULTS.txt.baseline" "$RESULTSFILE"
/third_party/ltp/testcases/commands/ln/
H A Dln_tests.sh29 if diff lname.out dname.out; then
44 if diff $fname $lname; then
/third_party/node/deps/npm/node_modules/diff/lib/diff/
H A Dline.js43 // remove one \r before \n to match GNU diff's --strip-trailing-cr behavior
73 return lineDiff.diff(oldStr, newStr, callback);
92 return lineDiff.diff(oldStr, newStr, options);
/third_party/skia/tools/timer/
H A DTimeUtils.h44 double diff = ::fabs(value - half); in PingPong() local
45 return (float)(ends + (1.0 - diff / half) * (mid - ends)); in PingPong()
/third_party/skia/docs/examples/
H A Dpong2.cpp9 double diff = ::fabs(value - half); in REG_FIDDLE_ANIMATED() local
10 return SkDoubleToScalar(ends + (1.0 - diff / half) * (mid - ends)); in REG_FIDDLE_ANIMATED()
/kernel/linux/linux-5.10/drivers/media/pci/solo6x10/
H A Dsolo6x10-core.c54 long diff; in solo_timer_sync() local
69 diff = (s32)ts.tv_sec - (s32)sec; in solo_timer_sync()
70 diff = (diff * 1000000) in solo_timer_sync()
73 if (diff > 1000 || diff < -1000) { in solo_timer_sync()
75 } else if (diff) { in solo_timer_sync()
78 usec_lsb -= diff / 4; in solo_timer_sync()
/kernel/linux/linux-5.10/fs/hfsplus/
H A Dbrec.c360 int newkeylen, diff; in hfs_brec_update_parent() local
391 diff = newkeylen - fd->keylength; in hfs_brec_update_parent()
392 if (!diff) in hfs_brec_update_parent()
394 if (diff > 0) { in hfs_brec_update_parent()
396 if (end_rec_off - end_off < diff) { in hfs_brec_update_parent()
412 hfs_bnode_write_u16(parent, rec_off, start_off + diff); in hfs_brec_update_parent()
418 hfs_bnode_write_u16(parent, rec_off, end_off + diff); in hfs_brec_update_parent()
420 hfs_bnode_move(parent, start_off + diff, start_off, in hfs_brec_update_parent()
/kernel/linux/linux-5.10/net/netfilter/
H A Dnf_conncount.c321 int diff; in insert_tree() local
325 diff = key_diff(key, rbconn->key, keylen); in insert_tree()
326 if (diff < 0) { in insert_tree()
328 } else if (diff > 0) { in insert_tree()
402 int diff; in count_tree() local
406 diff = key_diff(key, rbconn->key, keylen); in count_tree()
407 if (diff < 0) { in count_tree()
409 } else if (diff > 0) { in count_tree()
/kernel/linux/linux-5.10/fs/hfs/
H A Dbrec.c356 int newkeylen, diff; in hfs_brec_update_parent() local
386 diff = newkeylen - fd->keylength; in hfs_brec_update_parent()
387 if (!diff) in hfs_brec_update_parent()
389 if (diff > 0) { in hfs_brec_update_parent()
391 if (end_rec_off - end_off < diff) { in hfs_brec_update_parent()
406 hfs_bnode_write_u16(parent, rec_off, start_off + diff); in hfs_brec_update_parent()
412 hfs_bnode_write_u16(parent, rec_off, end_off + diff); in hfs_brec_update_parent()
414 hfs_bnode_move(parent, start_off + diff, start_off, in hfs_brec_update_parent()
/kernel/linux/linux-6.6/fs/hfs/
H A Dbrec.c356 int newkeylen, diff; in hfs_brec_update_parent() local
386 diff = newkeylen - fd->keylength; in hfs_brec_update_parent()
387 if (!diff) in hfs_brec_update_parent()
389 if (diff > 0) { in hfs_brec_update_parent()
391 if (end_rec_off - end_off < diff) { in hfs_brec_update_parent()
406 hfs_bnode_write_u16(parent, rec_off, start_off + diff); in hfs_brec_update_parent()
412 hfs_bnode_write_u16(parent, rec_off, end_off + diff); in hfs_brec_update_parent()
414 hfs_bnode_move(parent, start_off + diff, start_off, in hfs_brec_update_parent()
/kernel/linux/linux-6.6/fs/hfsplus/
H A Dbrec.c360 int newkeylen, diff; in hfs_brec_update_parent() local
391 diff = newkeylen - fd->keylength; in hfs_brec_update_parent()
392 if (!diff) in hfs_brec_update_parent()
394 if (diff > 0) { in hfs_brec_update_parent()
396 if (end_rec_off - end_off < diff) { in hfs_brec_update_parent()
412 hfs_bnode_write_u16(parent, rec_off, start_off + diff); in hfs_brec_update_parent()
418 hfs_bnode_write_u16(parent, rec_off, end_off + diff); in hfs_brec_update_parent()
420 hfs_bnode_move(parent, start_off + diff, start_off, in hfs_brec_update_parent()
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_alloc_btree.c250 int64_t diff; in xfs_cntbt_key_diff() local
252 diff = (int64_t)be32_to_cpu(kp->ar_blockcount) - rec->ar_blockcount; in xfs_cntbt_key_diff()
253 if (diff) in xfs_cntbt_key_diff()
254 return diff; in xfs_cntbt_key_diff()
279 int64_t diff; in xfs_cntbt_diff_two_keys() local
284 diff = be32_to_cpu(k1->alloc.ar_blockcount) - in xfs_cntbt_diff_two_keys()
286 if (diff) in xfs_cntbt_diff_two_keys()
287 return diff; in xfs_cntbt_diff_two_keys()
/kernel/linux/linux-6.6/drivers/media/pci/solo6x10/
H A Dsolo6x10-core.c54 long diff; in solo_timer_sync() local
69 diff = (s32)ts.tv_sec - (s32)sec; in solo_timer_sync()
70 diff = (diff * 1000000) in solo_timer_sync()
73 if (diff > 1000 || diff < -1000) { in solo_timer_sync()
75 } else if (diff) { in solo_timer_sync()
78 usec_lsb -= diff / 4; in solo_timer_sync()
/kernel/linux/linux-6.6/net/netfilter/
H A Dnf_conncount.c332 int diff; in insert_tree() local
336 diff = key_diff(key, rbconn->key, keylen); in insert_tree()
337 if (diff < 0) { in insert_tree()
339 } else if (diff > 0) { in insert_tree()
413 int diff; in count_tree() local
417 diff = key_diff(key, rbconn->key, keylen); in count_tree()
418 if (diff < 0) { in count_tree()
420 } else if (diff > 0) { in count_tree()
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/table/
H A DCsvTable.java78 * Mode to control how diffs are generated. If a diff table, rows have an additional
83 /** Include all rows in the "diff table" (unchanged, modified or exclusive). */
85 /** Include only changed rows in the "diff table" (modified or exclusive). */
87 /** Include only left-hand-side rows in the "diff table" (unchanged, modified or exclusive). */
89 /** Include only right-hand-side rows in the "diff table" (unchanged, modified or exclusive). */
278 * Creates a "diff table" based on the given left and right table inputs. The resulting table
282 public static <K> CsvTable<DiffKey<K>> diff(CsvTable<K> lhs, CsvTable<K> rhs, DiffMode mode) { in diff() method in CsvTable
283 checkArgument(lhs.getSchema().equals(rhs.getSchema()), "Cannot diff with different schemas"); in diff()
284 checkNotNull(mode, "Must specify a diff mode"); in diff()
289 Builder<DiffKey<K>> diff in diff()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/rcar-du/
H A Drcar_du_crtc.c90 unsigned long diff; in rcar_du_dpll_divider() local
146 diff = abs((long)output - (long)target); in rcar_du_dpll_divider()
147 if (best_diff > diff) { in rcar_du_dpll_divider()
148 best_diff = diff; in rcar_du_dpll_divider()
155 if (diff == 0) in rcar_du_dpll_divider()
163 "output:%u, fdpll:%u, n:%u, m:%u, diff:%lu\n", in rcar_du_dpll_divider()
170 unsigned long diff; member
178 unsigned long diff; in rcar_du_escr_divider() local
185 if (params->diff == 0) in rcar_du_escr_divider()
194 diff in rcar_du_escr_divider()
[all...]

Completed in 22 milliseconds

1...<<11121314151617181920>>...117