Home
last modified time | relevance | path

Searched refs:balance (Results 1 – 25 of 51) sorted by relevance

123

/freebsd/lib/libc/stdlib/
H A Dtdelete.c38 if ((*leaf)->balance == 0 || \
39 ((*leaf)->balance < 0 && (*leaf)->rlink->balance == 0)) { \
57 if ((*leaf)->balance == 0 || \
58 ((*leaf)->balance > 0 && (*leaf)->llink->balance == 0)) { \
134 if (x->balance < 0) { in tdelete()
136 if (y->balance > 0) { in tdelete()
145 x->balance = z->balance < 0 ? 1 : 0; in tdelete()
146 y->balance = z->balance > 0 ? -1 : 0; in tdelete()
147 z->balance = 0; in tdelete()
154 if (y->balance < 0) { in tdelete()
[all …]
H A Dtsearch.c53 if ((*leaf)->balance != 0) { in tsearch()
84 result->balance = 0; in tsearch()
94 n->balance += 1; in tsearch()
97 n->balance -= 1; in tsearch()
108 if (x->balance > 1) { in tsearch()
110 if (y->balance < 0) { in tsearch()
129 x->balance = z->balance > 0 ? -1 : 0; in tsearch()
130 y->balance = z->balance < 0 ? 1 : 0; in tsearch()
131 z->balance = 0; in tsearch()
146 x->balance = 0; in tsearch()
[all …]
/freebsd/lib/libc/tests/stdlib/
H A Dtsearch_test.c41 int balance; in tnode_assert() local
47 balance = (int)height_left - (int)height_right; in tnode_assert()
48 ATF_CHECK(balance >= -1); in tnode_assert()
49 ATF_CHECK(balance <= 1); in tnode_assert()
50 ATF_CHECK_EQ(balance, n->balance); in tnode_assert()
/freebsd/tests/sys/geom/class/mirror/
H A D6_test.sh7 balance="split"
20 gmirror label -b $balance -s `expr $ddbs / 2` $name /dev/${us0} /dev/${us1} || exit 1
H A D2_test.sh7 balance="round-robin"
20 gmirror label -b $balance $name /dev/${us0} /dev/${us1} /dev/${us2} || exit 1
H A D3_test.sh7 balance="round-robin"
20 gmirror label -b $balance $name /dev/${us0} /dev/${us1} /dev/${us2} || exit 1
H A D4_test.sh7 balance="load"
20 gmirror label -b $balance $name /dev/${us0} /dev/${us1} /dev/${us2} || exit 1
H A D5_test.sh7 balance="split"
20 gmirror label -b $balance -s `expr $ddbs / 2` $name /dev/${us0} /dev/${us1} /dev/${us2} || exit 1
H A D7_test.sh7 balance="prefer"
20 gmirror label -b $balance $name /dev/${us0} /dev/${us1} /dev/${us2} || exit 1
/freebsd/sys/contrib/openzfs/module/avl/
H A Davl.c295 avl_rotation(avl_tree_t *tree, avl_node_t *node, int balance) in avl_rotation() argument
297 int left = !(balance < 0); /* when balance = -2, left will be 0 */ in avl_rotation()
299 int left_heavy = balance >> 1; in avl_rotation()
436 balance = AVL_XBALANCE(gchild); in avl_rotation()
438 AVL_SETBALANCE(child, (balance == right_heavy ? left_heavy : 0)); in avl_rotation()
443 AVL_SETBALANCE(node, (balance == left_heavy ? right_heavy : 0)); in avl_rotation()
/freebsd/sys/geom/mirror/
H A Dg_mirror.h410 balance_name(u_int balance) in balance_name() argument
421 if (balance > G_MIRROR_BALANCE_MAX) in balance_name()
422 balance = G_MIRROR_BALANCE_MAX + 1; in balance_name()
424 return (algorithms[balance]); in balance_name()
H A Dg_mirror_ctl.c152 uint8_t balance; in g_mirror_ctl_configure() local
249 balance = sc->sc_balance; in g_mirror_ctl_configure()
256 balance = balance_id(balancep); in g_mirror_ctl_configure()
276 if (sc->sc_balance == balance && sc->sc_slice == slice && !*autosync && in g_mirror_ctl_configure()
294 sc->sc_balance = balance; in g_mirror_ctl_configure()
/freebsd/include/
H A Dsearch.h39 signed char balance; member
/freebsd/contrib/file/magic/Magdir/
H A Druby41 # Looks for function definition to balance python magic
/freebsd/contrib/tcsh/
H A Dsh.set.c53 static void balance (struct varent *, int, int);
745 balance(p, f, 0); in setq()
890 balance(pp, f, 1); in unsetv1()
1004 balance(struct varent *p, int f, int d) in balance() function
/freebsd/sys/contrib/v4l/
H A Dvideodev.h136 __u16 balance; /* Stereo balance */ member
/freebsd/contrib/ntp/libntp/
H A Daudio.c513 "audio: samples %d, eof %d, pause %d, error %d, waiting %d, balance %d\n", in audio_show()
516 info.record.waiting, info.record.balance); in audio_show()
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/
H A DThreading.inc280 // data. This class offers a balance between responsiveness, performance, and
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Features.td598 def FeatureBalanceFPOps : SubtargetFeature<"balance-fp-ops", "BalanceFPOps",
600 "balance mix of odd and even D-registers for fp multiply(-accumulate) ops">;
/freebsd/contrib/llvm-project/lld/docs/
H A DNewLLD.rst29 We believe that these high-level design choices achieved a right balance
/freebsd/share/dict/
H A Dweb2a1112 alloy balance
1558 ampere balance
2696 assay balance
3125 back balance
3384 balance adjuster
3385 balance arm
3386 balance beam
3387 balance bob
3388 balance bridge
3389 balance clerk
[all …]
/freebsd/contrib/unbound/
H A Dconfig.sub336 balance)
/freebsd/contrib/libpcap/
H A Dconfig.sub263 balance)
/freebsd/contrib/ncurses/
H A Dconfig.sub263 balance)
/freebsd/contrib/byacc/
H A Dconfig.sub263 balance)

123