HomeSort by: relevance | last modified time | path
    Searched defs:score (Results 1 - 25 of 30) sorted by relevancy

1 2

  /src/games/adventure/
done.c 54 score(void) function in typeref:typename:int
116 printf("\n\n\nYou scored %d out of a ", (sc = score()));
  /src/games/dab/
player.cc 67 int score; local in function:PLAYER::domove
75 switch (score = b.domove(y, x, dir, _who)) {
87 _score += score;
ttyscrn.cc 171 void TTYSCRN::score(size_t s, const PLAYER& p) function in class:TTYSCRN
board.cc 209 // Post the score in the current game for player i
210 void BOARD::score(size_t i, const PLAYER& p) function in class:BOARD
214 _scrn->score(i, p);
225 // Post the total score for player i
233 // Post the total score for player i
  /src/games/trek/
score.c 1 /* $NetBSD: score.c,v 1.11 2009/05/25 00:39:45 dholland Exp $ */
35 static char sccsid[] = "@(#)score.c 8.1 (Berkeley) 5/31/93";
37 __RCSID("$NetBSD: score.c,v 1.11 2009/05/25 00:39:45 dholland Exp $");
47 ** PRINT OUT THE CURRENT SCORE
70 score(void) function in typeref:typename:long
77 printf("\n*** Your score:\n");
  /src/games/robots/
score.c 1 /* $NetBSD: score.c,v 1.24 2021/04/13 01:50:46 mrg Exp $ */
35 static char sccsid[] = "@(#)score.c 8.1 (Berkeley) 5/31/93";
37 __RCSID("$NetBSD: score.c,v 1.24 2021/04/13 01:50:46 mrg Exp $");
56 static SCORE Top[MAXSCORES];
61 static void set_name(SCORE *);
65 * Read the score file in MI format
70 SCORE *scp;
91 * Write the score file in MI format
96 SCORE *scp;
115 * score
120 score(int score_wfd) function in typeref:typename:void
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/asan/
asan_scariness_score.h 19 // redzone), etc. Every such feature has an int score and a string description.
20 // The overall score is the sum of all feature scores and the description
40 score = 0;
46 score += add_to_score;
48 int GetScore() const { return score; }
51 if (score && flags()->print_scariness)
52 Printf("SCARINESS: %d (%s)\n", score, descr);
54 static void PrintSimple(int score, const char *descr) {
57 SSB.Scare(score, descr);
62 int score; member in struct:__asan::ScarinessScoreBase
    [all...]
  /src/games/battlestar/
command6.c 147 int score; local in function:rate
149 score = max(max(pleasure, power), ego);
150 if (score == pleasure) {
151 if (score < 5)
153 else if (score < 20)
155 else if (score < 35)
159 } else if (score == power) {
160 if (score < 5)
162 else if (score < 8)
164 else if (score < 13
    [all...]
  /src/games/snake/snscore/
snscore.c 71 short uid, score; local in function:main
93 if(fread(&score, sizeof(short), 1, fd) == 0)
95 if (score > 0) {
101 players[noplayers].scores = score;
  /src/games/warp/
score.c 1 /* Header: /usr/src/games/warp/RCS/score.c,v 1.1 87/07/03 02:13:26 games Exp */
3 /* Log: score.c,v
29 #include "score.h"
180 printf("\r\nSaved game: SCORE DIFF CUMDIFF ENTERPRISES BASES WAVE");
213 printf("RANK WHO AKA SCORE DIFF CUMDIFF WHEN\r\n");
222 printf("RANK WHO AKA SCORE DIFF CUMDIFF WHEN\r\n");
231 printf("RANK WHO AKA SCORE DIFF CUMDIFF WHEN\r\n");
240 printf("WHO SCORE DF CDF E B WV FLAGS\r\n");
521 score(void) function in typeref:typename:void
565 mvaddstr(20,21, "You did not better your previous score");
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/
nouveau_nvkm_subdev_bios_shadow.c 40 int score; member in struct:shadow
61 int score = 1; local in function:shadow_image
96 score += 1;
97 score += 1;
101 score += 3;
105 score += 3;
110 score += shadow_image(bios, idx + 1, offset + image.size, mthd);
111 return score;
128 mthd->score = shadow_image(bios, 0, 0, mthd);
131 nvkm_debug(subdev, "scored %d\n", mthd->score);
    [all...]
  /src/games/atc/
log.c 75 const SCORE *a, *b;
77 a = (const SCORE *)va;
78 b = (const SCORE *)vb;
136 * rather than leave the score file open to tampering. */
160 SCORE score[100], thisscore; local in function:log_score
171 warnx("no score file available");
187 score[num_scores].name,
188 score[num_scores].host,
189 score[num_scores].game
    [all...]
  /src/games/sail/
dr_2.c 51 static int score(struct ship *, struct ship *, char *, size_t, int);
176 score(struct ship *ship, struct ship *to, char *movement, size_t movementmax, function in typeref:typename:int
262 new = score(f, t, temp, tempmax, rakeme);
275 new = score(f, t, temp, tempmax, rakeme);
290 new = score(f, t, temp, tempmax, rakeme);
  /src/games/quiz/
quiz.c 73 static void score(unsigned, unsigned, unsigned);
281 score(rights, wrongs, guesses);
302 score(rights, wrongs, guesses);
354 score(unsigned r, unsigned w, unsigned g) function in typeref:typename:void
359 (void)printf(" score %d%%\n", (r + w + g) ? r * 100 / (r + w + g) : 0);
  /src/games/cribbage/
crib.c 69 static int score(BOOLEAN);
185 "| Score: 0 YOU |");
197 "| Score: 0 ME |");
205 * Print out the current game score
340 if (score(mycrib))
519 /* maximize score */
628 * Print out the table with the current score
639 * score:
643 score(BOOLEAN mycrib) function in typeref:typename:int
  /src/games/tetris/
tetris.c 72 int score; /* the obvious thing */ variable in typeref:typename:int
240 * bump score, and elide any full rows.
243 score++;
305 score++;
313 score++;
326 (void)printf("Your score: %d point%s x level %d = %d\n",
327 score, score == 1 ? "" : "s", level, score * level);
  /src/sys/netinet/
in_selsrc.c 158 * Score by address preference: prefer addresses with higher preference
169 * Score by address "index": prefer addresses nearer the head of
244 in_score(const in_score_src_t *score_src, int *score, int *scorelenp,
251 score[i] = (*score_src[i])(src, preference, idx, dst);
271 in_score_println(int *score, int scorelen)
277 printf("%s%d", delim, score[i]);
304 int best_score[IN_SCORE_SRC_MAX], score[IN_SCORE_SRC_MAX]; local in function:in_getifa
339 printf("%s: enter dst %#" PRIx32 " src %#" PRIx32 " score ",
357 in_score(score_src, score, NULL, &src->sin_addr,
362 printf("%s: src %#" PRIx32 " score ", __func__
    [all...]
  /src/games/worm/
worm.c 78 static int score = 0; variable in typeref:typename:int
132 * score if fewer than 18 columns; insufficient room for
214 printf("Your final score was %d\n\n", score);
240 printf("Your final score was %d\n\n", score);
328 score += growing;
331 wprintw(stw, "Score: %3d", score);
  /src/games/larn/
scores.c 17 * unction to sort the scoreboard newscore(score, whoo, whyded, winner)
18 * Function to add entry to scoreboard new1sub(score,i,whoo,taxes)
19 * Subroutine to put player into a new2sub(score,i,whoo,whyded)
21 * played larn, and what the score was diedsub(x) Subroutine to print out a
42 long score; /* the score of the player */ member in struct:scofmt
55 long score; /* the score of the player */ member in struct:wscofmt
66 long score; /* the players score */ member in struct:log_fmt
    [all...]
  /src/games/snake/snake/
snake.c 145 /* Open score files then revoke setgid privileges */
512 short score = iscore; local in function:post
542 return (score > oldbest ? 1 : 0);
546 if (score > oldbest) {
548 write(rawscores, &score, sizeof(short));
555 if (score > allbscore) {
557 write(rawscores, &score, sizeof(short));
  /src/sys/external/bsd/drm2/dist/include/drm/
gpu_scheduler.h 273 * @score: score to help loadbalancer pick a idle sched
294 atomic_t score; member in struct:drm_gpu_scheduler
  /src/sys/external/bsd/drm2/dist/drm/
drm_client_modeset.c 499 int my_score, best_score, score; local in function:drm_client_pick_crtcs
552 score = my_score + drm_client_pick_crtcs(client, connectors, connector_count,
554 if (score > best_score) {
555 best_score = score;
  /src/sys/external/bsd/drm2/dist/drm/radeon/
radeon_uvd.c 986 unsigned vclk_div, dclk_div, score; local in function:radeon_uvd_calc_upll_dividers
1008 /* calc score with current vco freq */
1009 score = vclk - (vco_freq / vclk_div) + dclk - (vco_freq / dclk_div);
1012 if (score < optimal_score) {
1016 optimal_score = score;
  /src/sys/dev/usb/
uchcom.c 647 uint32_t score, try; local in function:calc_divider_settings
654 score = abs((int)rate4x - rates4x[i] / try);
655 if (score < best) {
656 best = score;
  /src/sys/external/bsd/drm2/dist/drm/i915/gt/
intel_reset.c 66 unsigned int score; local in function:client_mark_guilty
71 score = 0;
73 score = I915_CLIENT_SCORE_CONTEXT_BAN;
77 score += I915_CLIENT_SCORE_HANG_FAST;
79 if (score) {
80 atomic_add(score, &file_priv->ban_score);
82 DRM_DEBUG_DRIVER("client %s: gained %u ban score, now %u\n",
83 ctx->name, score,

Completed in 23 milliseconds

1 2