Searched refs:scores (Results 1 – 10 of 10) sorted by relevance
/openbsd/games/tetris/ |
H A D | scores.c | 74 static struct highscore scores[NUMSPOTS]; variable 120 nscores = fread(scores, sizeof(scores[0]), MAXHISCORES, sf); in getscores() 124 if (scores[i].hs_level < MINLEVEL || in getscores() 125 scores[i].hs_level > MAXLEVEL) in getscores() 154 for (i = 0, sp = &scores[0]; i < nscores; i++, sp++) { in savescore() 185 nscores = checkscores(scores, nscores); in savescore() 188 if (fwrite(scores, sizeof(*sp), nscores, sf) != nscores || in savescore() 205 static char u[sizeof(scores[0].hs_name)]; in thisuser() 350 for (i = 0, sp = scores; i < nscores; i++, sp++) { in showscores() 362 for (i = 0, sp = scores; i < nscores; sp += n) { in showscores()
|
H A D | Makefile | 4 SRCS= input.c screen.c shapes.c scores.c tetris.c
|
/openbsd/games/snake/ |
H A D | snake.c | 96 } scores[SCORES_ENTRIES]; variable 515 return (iscore > scores[nscores - 1].score); in post() 521 oldbest = scores[0].score; in post() 522 scores[nscores].score = iscore; in post() 527 scores[0].score = iscore; in post() 534 memcpy(&scores[rank], &scores[rank + 1], in post() 547 if (fwrite(scores, sizeof(scores[0]), nscores, sf) < (u_int)nscores) in post() 929 printf("%2d.\t$%d\t%s\n", i+1, scores[i].score, scores[i].name); in snscore() 981 nscores = fread(scores, sizeof(scores[0]), TOPN, sf); in readscores() 995 strlcpy(scores[nscores].name, name, sizeof(scores[nscores].name)); in readscores() [all …]
|
/openbsd/gnu/llvm/llvm/utils/Reviewing/ |
H A D | find_interesting_reviews.py | 424 for reviewer, scores in matched_reviewers: 427 "(" + "/".join(["{0:.1f}%".format(s) for s in scores]) + ")")) 430 reviewer2reviews_and_scores[reviewer].append((review, scores)) 438 for review, scores in reviews_and_scores: 440 "/".join(["{0:.1f}%".format(s) for s in scores]), review.id,
|
/openbsd/games/cribbage/ |
H A D | cribbage.n | 126 fifteen scores 2. 128 Each pair of cards of the same rank scores 2. 132 scores 1 for each card in the run. 139 scores 1. 180 around," the scores must be pegged strictly in order: his heels, pegging
|
/openbsd/gnu/usr.bin/perl/ |
H A D | regcomp.c | 236 UV *scores; in S_edit_distance() local 242 Newx(scores, ( (x + 2) * (y + 2)), UV); in S_edit_distance() 243 scores[0] = score_ceil; in S_edit_distance() 244 scores[1 * (y + 2) + 0] = score_ceil; in S_edit_distance() 245 scores[0 * (y + 2) + 1] = score_ceil; in S_edit_distance() 246 scores[1 * (y + 2) + 1] = 0; in S_edit_distance() 255 scores[(i+1) * (y + 2) + 1] = i; in S_edit_distance() 256 scores[(i+1) * (y + 2) + 0] = score_ceil; in S_edit_distance() 271 …scores[(i+1) * (y + 2) + (j + 1)] = MIN(swapScore,(MIN(scores[i * (y + 2) + j], MIN(scores[(i+1) *… in S_edit_distance() 275 scores[(i+1) * (y + 2) + (j + 1)] = MIN(scores[i * (y + 2) + j], swapScore); in S_edit_distance() [all …]
|
/openbsd/usr.bin/file/magdir/ |
H A D | macintosh | 148 #>65 string SCFL (Defender scores)
|
/openbsd/gnu/usr.bin/texinfo/util/ |
H A D | dir-example | 222 * ly2dvi: (lilypond)Invoking ly2dvi:: Titling LilyPond scores.
|
/openbsd/games/fortune/datfiles/ |
H A D | limerick | 1971 She was rogered by scores
|
H A D | fortunes2-o | 8714 (And Esposito scores on the rebound!) 12012 Your mother scores more than Wayne Gretzky!
|