Searched refs:balance (Results 1 - 25 of 84) sorted by relevance

1234

/netbsd-current/usr.bin/menuc/
H A Davl.c42 * short balance; / * For the balanced tree. * /
102 new_id->balance = 0;
113 (*root)->balance--;
115 switch ((*root)->balance)
124 if (B->balance <= 0)
130 A->balance = 0;
131 B->balance = 0;
141 switch ((*root)->balance)
144 A->balance = 1;
145 B->balance
[all...]
H A Dmdb.h48 short balance; /* For the balanced tree. */ member in struct:id_rec
/netbsd-current/usr.bin/msgc/
H A Dmsgdb.h47 short balance; member in struct:id_rec
/netbsd-current/external/bsd/bc/dist/
H A Dutil.c407 new_id->balance = 0;
418 (*root)->balance --;
420 switch ((*root)->balance)
429 if (B->balance <= 0)
435 A->balance = 0;
436 B->balance = 0;
446 switch ((*root)->balance)
449 A->balance = 1;
450 B->balance = 0;
453 A->balance
[all...]
H A Dbcdefs.h181 short balance; /* For the balanced tree. */ member in struct:id_rec
/netbsd-current/external/bsd/openldap/dist/libraries/libldap/
H A Dfilter.c157 int balance, escape; local
159 balance = 1;
161 while ( *s && balance ) {
164 balance++;
166 balance--;
172 if ( balance ) s++;
335 int parens, balance, escape; local
433 balance = 1;
437 while ( *next && balance ) {
440 balance
779 int parens, balance, escape; local
[all...]
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/libgrep/
H A Dkwset.c58 char balance; /* Difference in depths of subtrees. */ member in struct:tree
188 link->balance = 0;
196 /* Back up the tree fixing the balance flags. */
197 while (depth && !links[depth]->balance)
200 --links[depth]->balance;
202 ++links[depth]->balance;
207 if (depth && ((dirs[depth] == L && --links[depth]->balance)
208 || (dirs[depth] == R && ++links[depth]->balance)))
210 switch (links[depth]->balance)
218 t->balance
[all...]
/netbsd-current/external/gpl2/grep/dist/src/
H A Dkwset.c58 char balance; /* Difference in depths of subtrees. */ member in struct:tree
188 link->balance = 0;
196 /* Back up the tree fixing the balance flags. */
197 while (depth && !links[depth]->balance)
200 --links[depth]->balance;
202 ++links[depth]->balance;
207 if (depth && ((dirs[depth] == L && --links[depth]->balance)
208 || (dirs[depth] == R && ++links[depth]->balance)))
210 switch (links[depth]->balance)
218 t->balance
[all...]
/netbsd-current/usr.bin/audio/record/
H A Drecord.c65 static int balance; variable
108 decode_int(optarg, &balance);
109 if (balance < 0 || balance > 63)
110 errx(1, "balance must be between 0 and 63");
282 SETINFO2 (balance, balance)
421 "-b balance (0-63)\n\t"
/netbsd-current/usr.bin/audio/play/
H A Dplay.c65 static int balance; variable
94 decode_int(optarg, &balance);
95 if (balance < 0 || balance > 64)
96 errx(1, "balance must be between 0 and 63");
530 if (balance)
531 info.play.balance = balance;
598 "-b balance (0-63)\n\t"
/netbsd-current/lib/libossaudio/
H A Doss_dsp.c393 INTARG = get_vol(tmpinfo.play.gain, tmpinfo.play.balance);
402 INTARG = get_vol(tmpinfo.record.gain, tmpinfo.record.balance);
455 get_vol(u_int gain, u_char balance) argument
459 if (balance == AUDIO_MID_BALANCE) {
461 } else if (balance < AUDIO_MID_BALANCE) {
463 r = (balance * gain) / AUDIO_MID_BALANCE;
466 l = ((AUDIO_RIGHT_BALANCE - balance) * gain)
488 prinfo->balance = AUDIO_MID_BALANCE;
491 prinfo->balance = AUDIO_RIGHT_BALANCE -
495 prinfo->balance
[all...]
/netbsd-current/external/cddl/osnet/dist/common/avl/
H A Davl.c108 * Small arrays to translate between balance (or diff) values and child indices.
289 * Perform a rotation to restore balance at the subtree given by depth.
299 * On input balance is the "new" balance at "node". This value is either
303 avl_rotation(avl_tree_t *tree, avl_node_t *node, int balance) argument
305 int left = !(balance < 0); /* when balance = -2, left will be 0 */
307 int left_heavy = balance >> 1;
341 * we detect this situation by noting that child's balance is not
348 * compute new balance o
[all...]
/netbsd-current/sys/compat/sunos/
H A Dsunos.h141 u_char balance; member in struct:sunos_audio_prinfo
/netbsd-current/usr.bin/audio/ctl/
H A Dctl.c109 { "play.balance", &info.play.balance, UCHAR, 0 },
128 { "record.balance", &info.record.balance, UCHAR, 0 },
/netbsd-current/tests/dev/audio/
H A Daudiotest.c1550 /* balance */
1568 /* balance */
1638 /* balance */
1656 /* balance */
5658 * Look if there are any balance values that can be changed.
5659 * If any balance value can be set, it is set to balance[0].
5660 * If another balance value can be set, it is set to balance[1],
5661 * otherwise balance[
5665 get_changeable_balance(int fd, int *balance, const char *dir, int offset) argument
[all...]
/netbsd-current/sys/dev/audio/
H A Daudio.c7151 * ai.{play,record}.balance (R/W)
7152 * It specifies the left-right balance of HW mixer in 0-64.
7154 * It is historical reason that the balance is connected to HW mixer.
7301 if (SPECIFIED_CH(ai->play.balance))
7302 SPRINTF(buf, ",play.balance=%d", ai->play.balance);
7303 if (SPECIFIED_CH(ai->record.balance))
7304 SPRINTF(buf, ",record.balance=%d", ai->record.balance);
7618 * The parameters handled here are *.port, *.gain, *.balance an
8750 au_set_gain(struct audio_softc *sc, struct au_mixer_ports *ports, int gain, int balance) argument
9145 u_char balance; local
9176 u_char balance; local
9201 u_char balance; local
[all...]
/netbsd-current/sys/sys/
H A Daudioio.h67 u_char balance; /* stereo channel balance */ member in struct:audio_prinfo
/netbsd-current/bin/csh/
H A Dset.c60 static void balance(struct varent *, int, int);
532 balance(p, f, 0);
660 balance(pp, f, 1);
749 balance(struct varent *p, int f, int d) function
/netbsd-current/external/mpl/dhcp/bind/dist/lib/dns/
H A Drrl.c512 int balance, rate; local
521 balance = e->responses + age * rate;
522 if (balance > rate) {
523 balance = rate;
525 return (balance);
/netbsd-current/external/mpl/bind/dist/lib/dns/
H A Drrl.c512 int balance, rate; local
521 balance = e->responses + age * rate;
522 if (balance > rate) {
523 balance = rate;
525 return (balance);
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/allocator/building_blocks/
H A Dkernighan_ritchie.d398 immutable balance = root.size - actualBytes;
399 if (balance >= Node.sizeof)
403 newRoot.size = balance;
807 // for 64 bit systems (leftover balance = 8 bytes < 16)
810 // for 32 bit systems (leftover balance < 8)
/netbsd-current/external/gpl3/gcc/dist/libphobos/src/std/experimental/allocator/building_blocks/
H A Dkernighan_ritchie.d413 immutable balance = root.size - actualBytes;
414 if (balance >= Node.sizeof)
418 newRoot.size = balance;
833 // for 64 bit systems (leftover balance = 8 bytes < 16)
836 // for 32 bit systems (leftover balance < 8)
/netbsd-current/external/bsd/ntp/dist/libntp/
H A Daudio.c515 "audio: samples %d, eof %d, pause %d, error %d, waiting %d, balance %d\n",
518 info.record.waiting, info.record.balance);
/netbsd-current/external/gpl3/gcc.old/dist/gcc/
H A Dggc-common.c913 size_t balance = get_balance ();
918 SIZE_AMOUNT (balance), get_percent (balance, total.get_balance ()),
945 /* Get balance which is GGC allocation leak. */
912 size_t balance = get_balance (); local
/netbsd-current/external/gpl3/gcc/dist/gcc/
H A Dggc-common.cc1186 size_t balance = get_balance ();
1191 SIZE_AMOUNT (balance), get_percent (balance, total.get_balance ()),
1218 /* Get balance which is GGC allocation leak. */
1185 size_t balance = get_balance (); local

Completed in 253 milliseconds

1234