Home
last modified time | relevance | path

Searched refs:CARD (Results 1 – 25 of 36) sorted by relevance

12

/netbsd-src/games/cribbage/
H A Dcribbage.h34 extern CARD deck[ CARDS ]; /* a deck */
35 extern CARD phand[ FULLHAND ]; /* player's hand */
36 extern CARD chand[ FULLHAND ]; /* computer's hand */
37 extern CARD crib[ CINHAND ]; /* the crib */
38 extern CARD turnover; /* the starter */
40 extern CARD known[ CARDS ]; /* cards we have seen */
61 int adjust(const CARD [], CARD);
62 int anymove(const CARD [], int, int);
64 int cchose(const CARD [], int, int);
67 int comphand(const CARD [], const char *);
[all …]
H A Dcards.c54 makedeck(CARD d[]) in makedeck()
74 shuffle(CARD d[]) in shuffle()
77 CARD c; in shuffle()
91 eq(CARD a, CARD b) in eq()
100 is_one(CARD a, const CARD b[], int n) in is_one()
114 cremove(CARD a, CARD d[], int n) in cremove()
130 sorthand(CARD h[], int n) in sorthand()
132 CARD *cp, *endp; in sorthand()
133 CARD c; in sorthand()
H A Dscore.c49 static int fifteens(const CARD [], int);
50 static int pairuns(const CARD [], int);
111 scorehand(const CARD hand[], CARD starter, int n, BOOLEAN crb, in scorehand()
117 CARD h[(CINHAND + 1)]; in scorehand()
184 fifteens(const CARD hand[], int n) in fifteens()
188 const CARD *endp; in fifteens()
225 pairuns(const CARD h[], int n) in pairuns()
292 pegscore(CARD crd, const CARD tbl[], unsigned n, int sum) in pegscore()
346 adjust(const CARD cb[], CARD tnv __unused) in adjust()
H A Dextern.c62 CARD chand[FULLHAND]; /* computer's hand */
63 CARD crib[CINHAND]; /* the crib */
64 CARD deck[CARDS]; /* a deck */
65 CARD known[CARDS]; /* cards we have seen */
66 CARD phand[FULLHAND]; /* player's hand */
67 CARD turnover; /* the starter */
H A Dsupport.c54 static int anysumto(const CARD[], int, int, int);
56 static int numofval(const CARD[], int, int);
63 cchose(const CARD h[], int n, int s) in cchose()
134 plyrhand(const CARD hand[], const char *s) in plyrhand()
168 comphand(const CARD h[], const char *s) in comphand()
245 CARD d[CARDS], h[FULLHAND], cb[2]; in cdiscard()
295 anymove(const CARD hand[], int n, int sum) in anymove()
314 anysumto(const CARD hand[], int n, int s, int t) in anysumto()
329 numofval(const CARD h[], int n, int v) in numofval()
345 makeknown(const CARD h[], int n) in makeknown()
H A Dio.c61 static int msgcrd(CARD, BOOLEAN, const char *, BOOLEAN);
62 static void printcard(WINDOW *, unsigned, CARD, BOOLEAN);
63 static int incard(CARD *);
89 msgcard(CARD c, BOOLEAN brief) in msgcard()
102 msgcrd(CARD c, BOOLEAN brfrank, const char *mid, BOOLEAN brfsuit) in msgcrd()
124 printcard(WINDOW *win, unsigned cardno, CARD c, BOOLEAN blank) in printcard()
134 prcard(WINDOW *win, int y, int x, CARD c, BOOLEAN blank) in prcard()
157 prhand(const CARD h[], unsigned n, WINDOW *win, BOOLEAN blank) in prhand()
173 infrom(const CARD hand[], int n, const char *prompt) in infrom()
176 CARD crd; in infrom()
[all …]
H A Dcrib.c374 CARD crd; in discard()
468 static CARD Table[14];
474 static CARD ch[CINHAND], ph[CINHAND]; in peg()
479 CARD crd; in peg()
H A Ddeck.h80 } CARD; typedef
/netbsd-src/games/mille/
H A Dmille.h55 #define CARD short macro
177 CARD hand[HAND_SZ];
178 CARD sh_hand[HAND_SZ];
179 CARD battle;
180 CARD sh_battle;
181 CARD speed;
182 CARD sh_speed;
222 extern CARD Deck[DECK_SZ], Discard, Sh_discard, *Topcard;
223 extern const CARD Opposite[NUM_CARDS];
235 void account(CARD);
[all …]
H A Dprint.c50 static void show_card(int, int, CARD, CARD *);
109 show_card(int y, int x, CARD c, CARD *lc) in show_card()
H A Dmove.c178 CARD card; in check_go()
210 CARD card; in playcard()
512 account(CARD card) in account()
514 CARD oppos; in account()
568 sort(CARD *hand) in sort()
570 CARD *cp, *tp; in sort()
571 CARD temp; in sort()
H A Dextern.c136 CARD Discard, /* Top of discard pile */
139 const CARD Opposite[NUM_CARDS] = { /* Opposites of each card */
144 CARD Deck[DECK_SZ] = { /* Current deck */
H A Dtypes.c48 is_repair(CARD card) in is_repair()
56 safety(CARD card) in safety()
H A Dcomp.c52 CARD card; in calcmove()
59 CARD safe, oppos; in calcmove()
408 CARD bat, spd, card; in onecard()
439 canplay(const PLAY *pp, const PLAY *op, CARD card) in canplay()
H A Dinit.c52 CARD card; in init()
95 CARD temp; in shuffle()
H A Dmisc.c73 CARD
/netbsd-src/sys/arch/hpc/conf/
H A Dplatid.def398 CARD "CARD+"
/netbsd-src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/amlogic/
H A Dmeson-gxl-s905x-khadas-vim.dts186 /* Bank CARD */
H A Dmeson-gxl-s805x-libretech-ac.dts251 /* Bank CARD */
H A Dmeson-gxl-s905x-libretech-cc.dts273 /* Bank CARD */
H A Dmeson-gxbb-nanopi-k2.dts262 /* Bank CARD */
H A Dmeson-gxbb-odroidc2.dts318 /* Bank CARD */
/netbsd-src/share/doc/papers/px/
H A Dfig2.3.raw43 CARD s 2.11 Cardinality of set
/netbsd-src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
H A Dmeson8b-odroidc1.dts257 /* Bank CARD */
/netbsd-src/sys/dev/pcmcia/
H A Dpcmciadevs390 product SHARP PALDIO611S 0x0000 PALDIO 611S PC CARD
521 product GENIUS ME3000II { "PCMCIA", "PCMCIA-ETHERNET-CARD", "UE2216", NULL }
527 product LINKSYS ECARD_2 { "LINKSYS", "E-CARD", NULL, NULL } Linksys E-Card

12