| /src/games/adventure/ |
| done.c | 54 score(void) function 116 printf("\n\n\nYou scored %d out of a ", (sc = score()));
|
| /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 77 printf("\n*** Your score:\n");
|
| /src/games/robots/ |
| score.c | 1 /* $NetBSD: score.c,v 1.25 2025/12/16 12:37:09 nia Exp $ */ 35 static char sccsid[] = "@(#)score.c 8.1 (Berkeley) 5/31/93"; 37 __RCSID("$NetBSD: score.c,v 1.25 2025/12/16 12:37:09 nia Exp $"); 57 static SCORE Top[MAXSCORES]; 62 static void set_name(SCORE *); 66 * Read the score file in MI format 71 SCORE *scp; 92 * Write the score file in MI format 97 SCORE *scp; 116 * score 121 score(int score_wfd) function [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/external/gpl3/gcc/dist/libsanitizer/asan/ |
| asan_scariness_score.h | 18 // redzone), etc. Every such feature has an int score and a string description. 19 // The overall score is the sum of all feature scores and the description 39 score = 0; 45 score += add_to_score; 47 int GetScore() const { return score; } 50 if (score && flags()->print_scariness) 51 Printf("SCARINESS: %d (%s)\n", score, descr); 53 static void PrintSimple(int score, const char *descr) { 56 SSB.Scare(score, descr); 61 int score; member in struct:__asan::ScarinessScoreBase [all...] |
| /src/external/gpl3/gcc.old/dist/libsanitizer/asan/ |
| asan_scariness_score.h | 18 // redzone), etc. Every such feature has an int score and a string description. 19 // The overall score is the sum of all feature scores and the description 39 score = 0; 45 score += add_to_score; 47 int GetScore() const { return score; } 50 if (score && flags()->print_scariness) 51 Printf("SCARINESS: %d (%s)\n", score, descr); 53 static void PrintSimple(int score, const char *descr) { 56 SSB.Scare(score, descr); 61 int score; member in struct:__asan::ScarinessScoreBase [all...] |
| /src/games/battlestar/ |
| command6.c | 147 int score; local 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/dab/ |
| 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/snake/snscore/ |
| snscore.c | 71 short uid, score; local 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 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 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/external/bsd/zstd/dist/lib/dictBuilder/ |
| cover.h | 38 * A segment is a range in the source as well as the score of the segment. 43 U32 score; member in struct:__anon8690
|
| /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 171 warnx("no score file available"); 187 score[num_scores].name, 188 score[num_scores].host, 189 score[num_scores].game [all...] |
| /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
|
| /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 359 (void)printf(" score %d%%\n", (r + w + g) ? r * 100 / (r + w + g) : 0);
|
| /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 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/tetris/ |
| tetris.c | 72 int score; /* the obvious thing */ variable 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/games/worm/ |
| worm.c | 78 static int score = 0; variable 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/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 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/crypto/external/apache2/openssl/dist/crypto/encode_decode/ |
| encoder_local.h | 113 int score; /* For ordering decoders wrt proqs */ member in struct:ossl_decoder_instance_st
|
| /src/external/ibm-public/postfix/dist/src/qmgr/ |
| qmgr_job.c | 490 double score, best_score = 0.0; local 522 * score. In addition to jobs which don't meet the max_slots limit, skip 547 score = (double) delay / max_total_entries; 548 if (score > best_score) { 549 best_score = score; 555 * Stop early if the best score is as good as it can get.
|
| /src/external/lgpl3/mpc/dist/tools/bench/ |
| mpcbench.c | 76 /* number of operations to score*/ 81 /* list of functions to compute the score */ 181 /* compute the score for the operation arrayfunc[op] */ 255 /* compute the score for all groups */ 279 /* compute the global score */ 296 double score[NB_BENCH_OP]; local 305 compute_score (&(score[i]), i, randstate); 306 compute_globalscore (&globalscore, NB_BENCH_OP, score); 307 compute_groupscore (groupscore, NB_BENCH_OP, score); 322 printf (" score for %4s ", arrayfunc[i].name) [all...] |
| /src/external/lgpl3/mpfr/dist/tools/bench/ |
| mpfrbench.c | 75 /* number of operations to score */ 80 /* list of functions to compute the score */ 146 /* compute the score for the operation arrayfunc[op] */ 214 /* compute the score for all groups */ 238 /* compute the global score */ 257 mpz_t score[NB_BENCH_OP]; local 265 compute_score (score[i], i, randstate); 267 compute_globalscore (globalscore, NB_BENCH_OP, score); 268 compute_groupscore (groupscore, NB_BENCH_OP, score); 282 gmp_printf ("\tscore for %5s : %12Zd\n", arrayfunc[i].name, score[i]) [all...] |
| /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...] |