games/adventure/done.c
108
printf("\n\n\nYou scored %d out of a ", (sc = score()));
games/adventure/extern.h
41
int score(void);
games/adventure/main.c
375
printf(" %d out of a possible ", score());
games/atc/log.c
140
SCORE score[100], thisscore;
games/atc/log.c
155
score[num_scores].name,
games/atc/log.c
156
score[num_scores].host,
games/atc/log.c
157
score[num_scores].game,
games/atc/log.c
158
&score[num_scores].planes,
games/atc/log.c
159
&score[num_scores].time,
games/atc/log.c
160
&score[num_scores].real_time);
games/atc/log.c
189
if (strcmp(thisscore.name, score[i].name) == 0 &&
games/atc/log.c
190
strcmp(thisscore.host, score[i].host) == 0 &&
games/atc/log.c
191
strcmp(thisscore.game, score[i].game) == 0) {
games/atc/log.c
192
if (thisscore.time > score[i].time) {
games/atc/log.c
193
score[i].time = thisscore.time;
games/atc/log.c
194
score[i].planes = thisscore.planes;
games/atc/log.c
195
score[i].real_time =
games/atc/log.c
205
if (thisscore.time > score[i].time) {
games/atc/log.c
208
bcopy(&score[i],
games/atc/log.c
209
&score[num_scores - 1],
games/atc/log.c
210
sizeof (score[i]));
games/atc/log.c
211
bcopy(&thisscore, &score[i],
games/atc/log.c
212
sizeof (score[i]));
games/atc/log.c
219
bcopy(&thisscore, &score[num_scores],
games/atc/log.c
220
sizeof (score[num_scores]));
games/atc/log.c
230
qsort(score, num_scores, sizeof (*score), compar);
games/atc/log.c
234
score[i].name, score[i].host,
games/atc/log.c
235
score[i].game, score[i].planes,
games/atc/log.c
236
score[i].time, score[i].real_time);
games/atc/log.c
260
cp = index(score[i].host, '.');
games/atc/log.c
264
score[i].name, score[i].host, score[i].game,
games/atc/log.c
265
score[i].time, timestr(score[i].real_time),
games/atc/log.c
266
score[i].planes);
games/battlestar/command6.c
139
int score;
games/battlestar/command6.c
141
score = max(max(pleasure, power), ego);
games/battlestar/command6.c
142
if (score == pleasure) {
games/battlestar/command6.c
143
if (score < 5)
games/battlestar/command6.c
145
else if (score < 20)
games/battlestar/command6.c
147
else if (score < 35)
games/battlestar/command6.c
151
} else if (score == power) {
games/battlestar/command6.c
152
if (score < 5)
games/battlestar/command6.c
154
else if (score < 8)
games/battlestar/command6.c
156
else if (score < 13)
games/battlestar/command6.c
158
else if (score < 22)
games/battlestar/command6.c
163
if (score < 5)
games/battlestar/command6.c
165
else if (score < 10)
games/battlestar/command6.c
167
else if (score < 20)
games/cribbage/crib.c
586
prtable(int score)
games/cribbage/crib.c
589
mvwprintw(Tablewin, (Tcnt + 2) * 2, Tcnt + 1, "%2d", score);
games/cribbage/score.c
108
int score;
games/cribbage/score.c
114
score = 0;
games/cribbage/score.c
121
score++;
games/cribbage/score.c
132
score += 5;
games/cribbage/score.c
137
score += 4;
games/cribbage/score.c
149
score += i;
games/cribbage/score.c
158
score += i;
games/cribbage/score.c
167
return (score);
games/cribbage/support.c
196
prpeg(int score, int peg, bool myturn)
games/cribbage/support.c
205
if (score <= 0 || score >= glimit) {
games/cribbage/support.c
208
if (score == 0)
games/cribbage/support.c
215
x = (score - 1) % 30;
games/cribbage/support.c
216
if (score > 90 || (score > 30 && score <= 60)) {
games/cribbage/support.c
224
mvprintw(SCORE_Y + (myturn ? 7 : 1), SCORE_X + 10, "%3d", score);
games/hunt/huntd/execute.c
493
PLAYER *owner, IDENT *score, int expl, char over)
games/hunt/huntd/execute.c
510
bp->b_score = score;
games/larn/global.c
24
extern int score[], dropflag;
games/larn/scores.c
152
winr[i].taxes = winr[i].score = sco[i].score = 0;
games/larn/scores.c
179
if (winr[i].score > 0) {
games/larn/scores.c
205
if (winr[i].score > 0) {
games/larn/scores.c
230
if (winr[i].score != 0) {
games/larn/scores.c
242
if (p->score) {
games/larn/scores.c
245
(long)p->score, (long)p->hardlev, (long)p->timeused, p->who);
games/larn/scores.c
268
if (sco[i].score != 0) {
games/larn/scores.c
278
if (sco[j].score) {
games/larn/scores.c
281
(long)sco[j].score, (long)sco[j].hardlev, sco[j].who);
games/larn/scores.c
32
long score; /* the score of the player */
games/larn/scores.c
377
if ((sco[i].order < 0) && (sco[i].score >= jdat)) {
games/larn/scores.c
379
jdat = sco[i].score;
games/larn/scores.c
387
if ((winr[i].order < 0) && (winr[i].score >= jdat)) {
games/larn/scores.c
389
jdat = winr[i].score;
games/larn/scores.c
406
newscore(long score, char *whoo, int whyded, int winner)
games/larn/scores.c
418
sco[i].score = 0;
games/larn/scores.c
419
taxes = score * TAXRATE;
games/larn/scores.c
42
long score; /* the score of the player */
games/larn/scores.c
420
score += 100000 * c[HARDGAME]; /* bonus for winning */
games/larn/scores.c
424
new1sub(score, i, whoo, taxes);
games/larn/scores.c
430
new1sub(score, i, whoo, taxes);
games/larn/scores.c
437
new2sub(score, i, whoo, whyded);
games/larn/scores.c
443
new2sub(score, i, whoo, whyded);
games/larn/scores.c
460
new1sub(long score, int i, char *whoo, long taxes)
games/larn/scores.c
465
if ((score >= p->score) || (c[HARDGAME] > p->hardlev)) {
games/larn/scores.c
467
p->score = score;
games/larn/scores.c
484
new2sub(long score, int i, char *whoo, int whyded)
games/larn/scores.c
489
if ((score >= p->score) || (c[HARDGAME] > p->hardlev)) {
games/larn/scores.c
491
p->score = score;
games/larn/scores.c
52
long score; /* the players score */
games/larn/scores.c
623
logg.score = c[GOLD];
games/larn/scores.c
719
lprintf("Score: %d, Diff: %d, %s %s on %d at %s", (long)(logg.score), (long)(logg.diff), logg.who, logg.what, (long)(logg.cavelev), p + 4);
games/quiz/quiz.c
258
score(rights, wrongs, guesses);
games/quiz/quiz.c
279
score(rights, wrongs, guesses);
games/quiz/quiz.c
62
void score (u_int, u_int, u_int);
games/robots/main.c
131
score();
games/robots/robots.h
110
void score(void);
games/rogue/score.c
545
nickize(char *buf, const char *score, const char *n_name)
games/rogue/score.c
550
strcpy(buf, score);
games/rogue/score.c
552
strncpy(buf, score, 16);
games/rogue/score.c
554
while (score[i] != ':') {
games/rogue/score.c
561
while (score[i]) {
games/rogue/score.c
562
buf[j++] = score[i++];
games/sail/dr_2.c
262
new = score(f, t, temp, tempmax, rakeme);
games/sail/dr_2.c
275
new = score(f, t, temp, tempmax, rakeme);
games/sail/dr_2.c
290
new = score(f, t, temp, tempmax, rakeme);
games/sail/dr_2.c
51
static int score(struct ship *, struct ship *, char *, size_t, int);
games/snake/snake/snake.c
497
short score = iscore;
games/snake/snake/snake.c
527
return (score > oldbest ? 1 : 0);
games/snake/snake/snake.c
531
if (score > oldbest) {
games/snake/snake/snake.c
533
write(rawscores, &score, sizeof(short));
games/snake/snake/snake.c
540
if (score > allbscore) {
games/snake/snake/snake.c
542
write(rawscores, &score, sizeof(short));
games/snake/snscore/snscore.c
58
short uid, score;
games/snake/snscore/snscore.c
80
if(fread(&score, sizeof(short), 1, fd) == 0)
games/snake/snscore/snscore.c
82
if (score > 0) {
games/snake/snscore/snscore.c
88
players[noplayers].scores = score;
games/tetris/scores.c
167
if (score > sp->hs_score) {
games/tetris/scores.c
171
sp->hs_score = score; /* new score */
games/tetris/scores.c
174
} else if (score == sp->hs_score) {
games/tetris/scores.c
185
sp->hs_score = score;
games/tetris/scores.c
425
sp->hs_score == score &&
games/tetris/screen.c
375
if (score != curscore) {
games/tetris/screen.c
380
printf("Score: %d", score);
games/tetris/screen.c
381
curscore = score;
games/tetris/tetris.c
117
score += 10;
games/tetris/tetris.c
120
score += 30;
games/tetris/tetris.c
123
score += 70;
games/tetris/tetris.c
126
score += 150;
games/tetris/tetris.c
249
score++;
games/tetris/tetris.c
312
score++;
games/tetris/tetris.c
327
score, score == 1 ? "" : "s", level, score * level);
games/tetris/tetris.c
330
score, score == 1 ? "" : "s", level, (double)PRE_PENALTY,
games/tetris/tetris.c
331
(int)(score * level * PRE_PENALTY));
games/tetris/tetris.c
332
score = score * PRE_PENALTY;
games/tetris/tetris.c
60
int score;
games/tetris/tetris.h
169
extern int score; /* the obvious thing */
games/trek/computer.c
212
score();
games/trek/lose.c
77
score();
games/trek/trek.h
489
long score(void);
games/trek/win.c
65
s = score();
games/worm/worm.c
247
score += growing;
games/worm/worm.c
250
wprintw(stw, "Score: %3d", score);
games/worm/worm.c
276
printf("Your final score was %d\n", score);
games/worm/worm.c
64
static int score = 0;
sys/dev/drm/drm_edid.c
1344
int i, score = 0;
sys/dev/drm/drm_edid.c
1348
score++;
sys/dev/drm/drm_edid.c
1350
return score;
sys/dev/drm/drm_edid.c
1405
int score = drm_edid_header_is_valid(raw_edid);
sys/dev/drm/drm_edid.c
1406
if (score == 8) {
sys/dev/drm/drm_edid.c
1409
} else if (score >= edid_fixup) {
sys/dev/drm/drm_fb_helper.c
2429
int my_score, best_score, score;
sys/dev/drm/drm_fb_helper.c
2483
score = my_score + drm_pick_crtcs(fb_helper, crtcs, modes, n + 1,
sys/dev/drm/drm_fb_helper.c
2485
if (score > best_score) {
sys/dev/drm/drm_fb_helper.c
2486
best_score = score;
sys/dev/drm/i915/i915_gem.c
3348
unsigned int score;
sys/dev/drm/i915/i915_gem.c
3352
score = I915_CLIENT_SCORE_CONTEXT_BAN;
sys/dev/drm/i915/i915_gem.c
3354
score = 0;
sys/dev/drm/i915/i915_gem.c
3358
score += I915_CLIENT_SCORE_HANG_FAST;
sys/dev/drm/i915/i915_gem.c
3360
if (score) {
sys/dev/drm/i915/i915_gem.c
3361
atomic_add(score, &file_priv->ban_score);
sys/dev/drm/i915/i915_gem.c
3364
ctx->name, score,
sys/dev/drm/i915/i915_gem.c
3371
unsigned int score;
sys/dev/drm/i915/i915_gem.c
3377
score = atomic_add_return(CONTEXT_SCORE_GUILTY, &ctx->ban_score);
sys/dev/drm/i915/i915_gem.c
3378
banned = score >= CONTEXT_SCORE_BAN_THRESHOLD;
sys/dev/drm/i915/i915_gem.c
3387
score);
sys/dev/drm/i915/i915_gem_gtt.c
3156
unsigned int score;
sys/dev/drm/i915/i915_gem_gtt.c
3158
score = ppat->match(ppat->entries[i].value, value);
sys/dev/drm/i915/i915_gem_gtt.c
3159
if (score > best_score) {
sys/dev/drm/i915/i915_gem_gtt.c
3161
if (score == INTEL_PPAT_PERFECT_MATCH) {
sys/dev/drm/i915/i915_gem_gtt.c
3165
best_score = score;
sys/dev/drm/i915/i915_gem_gtt.c
3240
unsigned int score = 0;
sys/dev/drm/i915/i915_gem_gtt.c
3251
score |= CA_MATCH;
sys/dev/drm/i915/i915_gem_gtt.c
3254
score |= TC_MATCH;
sys/dev/drm/i915/i915_gem_gtt.c
3257
score |= AGE_MATCH;
sys/dev/drm/i915/i915_gem_gtt.c
3259
if (score == (AGE_MATCH | TC_MATCH | CA_MATCH))
sys/dev/drm/i915/i915_gem_gtt.c
3262
return score;
sys/dev/drm/radeon/radeon_uvd.c
1002
score = vclk - (vco_freq / vclk_div) + dclk - (vco_freq / dclk_div);
sys/dev/drm/radeon/radeon_uvd.c
1005
if (score < optimal_score) {
sys/dev/drm/radeon/radeon_uvd.c
1009
optimal_score = score;
sys/dev/drm/radeon/radeon_uvd.c
979
unsigned vclk_div, dclk_div, score;
sys/dev/sound/pcm/feeder.c
351
u_int32_t best, score, score2, oldscore;
sys/dev/sound/pcm/feeder.c
361
score = snd_fmtscore(fmt);
sys/dev/sound/pcm/feeder.c
365
if (cheq && !score_cheq(score, score2) &&
sys/dev/sound/pcm/feeder.c
366
(score_chlt(score2, score) ||
sys/dev/sound/pcm/feeder.c
370
(score_val(score2) == score_val(score)) ||
sys/dev/sound/pcm/feeder.c
373
score_val(score2) < score_val(score)) ||
sys/dev/sound/pcm/feeder.c
375
score_val(score2) > score_val(score)) ||
sys/dev/sound/pcm/feeder.c
376
(score_val(oldscore) < score_val(score) &&
sys/dev/sound/pcm/feeder.c
379
score_cse(score) == score_cse(score2) ||
sys/dev/sound/pcm/feeder.c
380
((score_cse(oldscore) != score_cse(score) &&
sys/dev/sound/pcm/feeder.c
381
!score_endianeq(score, oldscore) &&
sys/dev/sound/pcm/feeder.c
382
(score_endianeq(score, score2) ||
sys/dev/sound/pcm/feeder.c
383
(!score_signeq(score, oldscore) &&
sys/dev/sound/pcm/feeder.c
384
score_signeq(score, score2)))))) {
sys/dev/sound/pcm/feeder.c
409
u_int32_t score, score1, score2;
sys/dev/sound/pcm/feeder.c
422
score = score_val(snd_fmtscore(fmt));
sys/dev/sound/pcm/feeder.c
425
if (score1 == score2 || score1 == score)
sys/dev/sound/pcm/feeder.c
427
else if (score2 == score)
usr.bin/window/compress.c
106
#define score_adjust(score, p) \
usr.bin/window/compress.c
112
(score) -= _length - tt.tt_put_token_cost; \
usr.bin/window/compress.c
114
(score) += cc_score_adjustments[_length][_ccount]; \
usr.bin/window/compress.c
761
int score;
usr.bin/window/compress.c
773
score = 0;
usr.bin/window/compress.c
778
score = - tt.tt_set_token_cost;
usr.bin/window/compress.c
781
score = initial_scores[ccount];
usr.bin/window/compress.c
829
score += score0;
usr.bin/window/compress.c
837
if (score > 0) {