Home
last modified time | relevance | path

Searched refs:k (Results 201 – 225 of 572) sorted by relevance

12345678910>>...23

/original-bsd/old/pti/
H A Dpti.c35 register char *k; local
157 if(railmag != 03)k = asctab[i];
158 else k = spectab[i];
159 if(!lflg)printf("%s\n",k);
/original-bsd/local/ditroff/ditroff.okeeffe/devnver/Sort/
H A Dnvsort.c168 register int k; local
173 k = 0;
180 k = 10 * k - ((*op++ = c) - '0');
184 k = 10 * k + (*op++ = c) - '0';
188 return (k);
201 k = 0;
205 k = 10 * k - (c - '0');
209 k = 10 * k + c - '0';
213 return (k);
951 k = ++i;
[all …]
/original-bsd/local/ditroff/ditroff.okeeffe/devver/
H A Dvsort.c168 register int k; local
173 k = 0;
180 k = 10 * k - ((*op++ = c) - '0');
184 k = 10 * k + (*op++ = c) - '0';
188 return (k);
201 k = 0;
205 k = 10 * k - (c - '0');
209 k = 10 * k + c - '0';
213 return (k);
968 k = ++i;
[all …]
/original-bsd/contrib/dungeon/
H A DPDP.doc9 We thought that a program which would run in 28k on an
10 RSX system would have fit just fine in 64k, especially
13 The first link indicated about 130 k (text only) was needed
15 integers brought this down to about 100k. Throwing out
16 the game debug package (9k) and the save and restore code (3k)
17 got us to within 20k.
19 was being used was about 25k (A HA !!). If we could just
/original-bsd/usr.bin/pascal/pdx/
H A Dlibrary.c323 private errmsg(errname, shouldquit, s, a, b, c, d, e, f, g, h, i, j, k, l, m) in errmsg() argument
341 fprintf(stderr, s, a, b, c, d, e, f, g, h, i, j, k, l, m);
357 public error(s, a, b, c, d, e, f, g, h, i, j, k, l, m) in error() argument
362 errmsg(nil(String), FALSE, s, a, b, c, d, e, f, g, h, i, j, k, l, m);
371 public fatal(s, a, b, c, d, e, f, g, h, i, j, k, l, m) in fatal() argument
374 errmsg("fatal error", TRUE, s, a, b, c, d, e, f, g, h, i, j, k, l, m);
382 public panic(s, a, b, c, d, e, f, g, h, i, j, k, l, m) in panic() argument
385 errmsg("panic", TRUE, s, a, b, c, d, e, f, g, h, i, j, k, l, m);
/original-bsd/games/larn/
H A Dmonster.c118 register int x,y,k,i; local
124 for (k=rnd(8), i= -8; i<0; i++,k++) /* choose direction, then try all */
126 if (k>8) k=1; /* wraparound the diroff arrays */
127 x = playerx + diroffx[k]; y = playery + diroffy[k];
178 for (k=rnd(8), i= -8; i<0; i++,k++) /* choose direction, then try all */
180 if (k>8) k=1; /* wraparound the diroff arrays */
181 x = playerx + diroffx[k]; y = playery + diroffy[k];
1091 m = iven[k];
1224 register long k; in annihilate() local
1239 if (k>0) in annihilate()
[all …]
/original-bsd/old/cb/
H A Dcb.c291 int l,kk,k,i; local
297 for(k=kk;(r = tab[i][l++]) == string[k] && r != '\0';k++);
298 if(r == '\0' && (string[k] < 'a' || string[k] > 'z' || k >= j))return(1);
/original-bsd/usr.bin/bc/
H A Dbc.library171 auto a,b,c,d,e,g,i,s,k,t
174 k = 1.36*x + 1.16*t - n
175 k = length(k) - scale(k)
176 if(k>0) scale = scale + k
/original-bsd/old/roff/common_source/
H A Dn8.c104 register i, k; in casehw() local
107 k = 0; in casehw()
124 k = 0200; in casehw()
127 *j++ = maplow(i) | k; in casehw()
128 k = 0; in casehw()
/original-bsd/old/refer/NOTUSED/whatabout/
H A Dwhat4.c92 int k = 0, c = 0, i = 0; local
94 k ^= (c << (i++%5) );
95 return (k>0 ? k : -k);
/original-bsd/contrib/sort/TEST/
H A Dstests185 xsort C -k 2,2
187 xsort D -k 2,2 -k 3r
189 xsort E -k 2,2.0
191 xsort F -k 2,2 -k 1,1 -k 3
368 xsort B -k 1,1r -k 1
428 xsort B -df -k 1 -k 1d
445 xsort B -k 1,1
469 xsort A -i -k 2
488 xsort B -d -k 2
504 xsort C -f -k 2
[all …]
/original-bsd/usr.bin/yacc/
H A Dreader.c951 register int c, k; in read_declarations() local
1601 v[i]->index = k; in pack_symbols()
1602 ++k; in pack_symbols()
1606 k = 1; in pack_symbols()
1611 v[i]->value = k; in pack_symbols()
1612 ++k; in pack_symbols()
1616 k = 0; in pack_symbols()
1664 k = v[i]->index; in pack_symbols()
1742 k = 1; in print_grammar()
1762 ++k; in print_grammar()
[all …]
/original-bsd/old/dbx/tests/pc/
H A Dnested.p7 i, k : integer;
11 j, k : integer;
H A Dnestedf.p7 i, k : integer;
11 j, k : integer;
/original-bsd/old/dbx/tests/mod/
H A Dnested.mod7 i, k : integer;
11 j, k : integer;
/original-bsd/old/as.tahoe/
H A Dasparse.c93 int j, k; in yyparse() local
150 k = LHEAD+j; in yyparse()
157 while (k < length) in yyparse()
162 k++; in yyparse()
168 if(j == k) in yyparse()
171 j -= k; in yyparse()
173 k += j; in yyparse()
175 k = 0; in yyparse()
177 layout[k++] = '\0'; in yyparse()
616 int k; in yyparse() local
[all …]
/original-bsd/games/rogue/
H A Dinventory.c245 short i, j, k; in id_com() local
265 k = 0; in id_com()
279 if (((i + i) < COMS) && ((i+i+k) < COMS)) { in id_com()
280 mvaddstr(i, 0, com_id_tab[i+i+k].com_desc); in id_com()
282 if (((i + i + 1) < COMS) && ((i+i+k+1) < COMS)) { in id_com()
284 com_id_tab[i+i+k+1].com_desc); in id_com()
293 k += ((rows-1) * 2); in id_com()
387 short i, j, k; in mix_colors() local
392 k = get_rand(0, (POTIONS - 1)); in mix_colors()
394 id_potions[j].title = id_potions[k].title; in mix_colors()
[all …]
/original-bsd/sbin/fsck/
H A Dutilities.c337 register int i, j, k; local
345 for (k = 1; k < frags; k++)
346 if (testbmap(i + j + k))
348 if (k < frags) {
349 j += k;
352 for (k = 0; k < frags; k++)
353 setbmap(i + j + k);
/original-bsd/old/berknet/
H A Dchktroff.c55 register char *k; local
191 if(railmag != 03)k = asctab[i];
192 else k = spectab[i];
193 if(!lflg)printf("%s\n",k);
/original-bsd/old/yacc/
H A Dy4.c28 register i, *p, j, k, *q; in callopt() local
80 k = 32000; in callopt()
85 if( *p < k ) k = *p; in callopt()
87 if( k <= j ){ /* nontrivial situation */ in callopt()
90 if( k > maxoff ) maxoff = k; in callopt()
/original-bsd/bin/ps/
H A Dps.c392 #define VSIZE(k) (KI_EPROC(k)->e_vm.vm_dsize + KI_EPROC(k)->e_vm.vm_ssize + \ argument
393 KI_EPROC(k)->e_vm.vm_tsize)
395 #define VSIZE(k) ((k)->ki_p->p_dsize + (k)->ki_p->p_ssize + (k)->ki_e->e_xsize) argument
/original-bsd/sys/vax/bi/
H A Dkdb.c1488 register struct kdb_regs *k; local
1516 bi_reset(&k->kdb_bi);
1519 k->kdb_sw = KDB_ERR;
1528 k->kdb_sw = KDB_GO;
1596 kdbdumpwait(k, bits) in kdbdumpwait() argument
1597 register struct kdb_regs *k; in kdbdumpwait()
1603 if (k->kdb_sa & KDB_ERR) {
1619 kdbdumpcmd(op, k, kd, ctlr) in kdbdumpcmd() argument
1621 register struct kdb_regs *k;
1633 if (k->kdb_sa & KDB_ERR) {
[all …]
/original-bsd/local/ditroff/ditroff.old.okeeffe/driver/
H A Ddvar.c416 k = 0;
418 k = 10 * k + c - '0';
421 hgoto(k);
426 k = 0;
428 k = 10 * k + c - '0';
431 hmot(k);
953 for (j=0; j++ <= nfonts; k = (k+1) % (nfonts+1)) {
959 setfont(k);
1507 register int k; local
1515 k = ++i;
[all …]
/original-bsd/local/ditroff/ditroff.okeeffe/pic/
H A Dprint.c11 int i, j, k, m; in print() local
99 for (k=0, j=5; k < p->o_val[4]; k++, j += 2) { in print()
113 for (k = 0, j = 5; k < p->o_val[4] - 1; k++, j += 2) { in print()
/original-bsd/sbin/ncheck/
H A Dncheck.c267 int k; local
279 for(k = 0; ilist[k].ino != 0; k++)
280 if(ilist[k].ino == dp->d_ino)
282 if (ilist[k].ino == 0)
286 ilist[k].mode, ilist[k].uid, ilist[k].gid);

12345678910>>...23