HomeSort by: relevance | last modified time | path
    Searched defs:shuffle (Results 1 - 10 of 10) sorted by relevancy

  /src/games/cribbage/
cards.c 70 * Given a deck of cards, shuffle it -- i.e. randomize it
74 shuffle(CARD d[]) function in typeref:typename:void
  /src/games/mille/
init.c 92 shuffle(void) function in typeref:typename:void
100 warnx("shuffle: card no. error: %d", r);
  /src/usr.bin/shuffle/
shuffle.c 1 /* $NetBSD: shuffle.c,v 1.22 2017/02/06 02:26:44 dholland Exp $ */
36 __RCSID("$NetBSD: shuffle.c,v 1.22 2017/02/06 02:26:44 dholland Exp $");
57 * Construct a random shuffle array of t elements
62 size_t *shuffle; local in function:get_shuffle
65 shuffle = emalloc(t * sizeof(size_t));
68 shuffle[i] = i;
77 temp = shuffle[j];
78 shuffle[j] = shuffle[k];
79 shuffle[k] = temp
163 size_t *shuffle = NULL; local in function:main
    [all...]
  /src/sys/dev/tc/
cfb.c 198 static const uint8_t shuffle[256] = { variable in typeref:typename:const uint8_t[256]
567 REGWRITE32(vdac, bt_reg, shuffle[u]);
569 REGWRITE32(vdac, bt_reg, shuffle[u]);
xcfb.c 166 static const uint8_t shuffle[256] = { variable in typeref:typename:const uint8_t[256]
736 bits = shuffle[u];
738 bits = (shuffle[u] << 8) | bits;
sfb.c 211 static const uint8_t shuffle[256] = { variable in typeref:typename:const uint8_t[256]
619 REGWRITE32(vdac, bt_reg, shuffle[u]);
621 REGWRITE32(vdac, bt_reg, shuffle[u]);
stic.c 199 static const uint8_t shuffle[256] = { variable in typeref:typename:const uint8_t[256]
1203 REG(vdac, bt_reg) = DUPBYTE0(shuffle[u]);
1206 REG(vdac, bt_reg) = DUPBYTE0(shuffle[u]);
sfbplus.c 202 static const uint8_t shuffle[256] = { variable in typeref:typename:const uint8_t[256]
928 REG(hw, bt_reg) = shuffle[u]; tc_wmb();
930 REG(hw, bt_reg) = shuffle[u]; tc_wmb();
  /src/usr.bin/cdplay/
cdplay.c 118 { CMD_SHUFFLE, "shuffle", 2, NULL },
144 static int shuffle; variable in typeref:typename:int
414 if (shuffle == 1)
488 if (shuffle)
525 "`shuffle' valid only in interactive mode");
526 if (shuffle == 0) {
534 shuffle = 1;
538 shuffle = -atoi(arg);
542 shuffle = cmd == CMD_SINGLE ? -atoi(arg) : 1;
544 if (shuffle)
    [all...]
  /src/games/canfield/canfield/
canfield.c 227 static void shuffle(struct cardtype *[]);
529 * procedure to shuffle the deck
532 shuffle(struct cardtype *ideck[]) function in typeref:typename:void
732 shuffle(deck);

Completed in 25 milliseconds