Home
last modified time | relevance | path

Searched refs:first (Results 1 – 25 of 351) sorted by relevance

12345678910>>...15

/original-bsd/games/hack/
H A Dhack.o_init.c24 first = 0; in init_objects()
25 while( first < end ) { in init_objects()
27 last = first+1; in init_objects()
34 bases[i] = first; in init_objects()
43 objects[j].oc_prob = (100+j-first)/(last-first); in init_objects()
55 i = first + rn2(j+1-first); in init_objects()
61 first = last; in init_objects()
76 register int j,first; in setgemprobs() local
83 first += j; in setgemprobs()
84 if(first >= LAST_GEM || first >= SIZE(objects) || in setgemprobs()
[all …]
H A Dhack.save.c177 register struct obj *first = 0; local
187 if(!first) first = otmp;
193 if(first && otmp2->nobj){
197 return(first);
205 register struct monst *first = 0; local
222 if(!first) first = mtmp;
233 if(first && mtmp2->nmon){
237 return(first);
/original-bsd/usr.bin/pascal/pdx/symtab/
H A Dsymtab.c153 SYM *first, *last; local
155 first = symtab->symarray;
202 SYM *first, *last; local
211 first = table->symarray;
213 for (s = first; s <= last; s++) {
234 SYM *first, *last; local
237 first = symtab->symarray;
240 lower = first;
243 s = search(t, first, last);
253 LOCAL SYM *search(t, first, last) in search() argument
[all …]
/original-bsd/usr.sbin/sendmail/src/
H A Dtrace.c61 unsigned int first, last; local
73 first = i;
94 if (first >= tTsize)
95 first = tTsize - 1;
100 while (first <= last)
101 tTvect[first++] = i;
/original-bsd/games/quiz/
H A Drxp.c67 rxp__compile(s, first) in rxp__compile() argument
69 int first;
78 if (first) {
131 if (first) {
147 if (!first) {
174 int first;
185 if (first) {
241 rxp__expand(first) in rxp__expand() argument
242 int first; in rxp__expand()
250 if (first) {
[all …]
/original-bsd/games/robots/
H A Dinit_field.c24 static bool first = TRUE; in init_field() local
68 if (first) in init_field()
78 if (first) in init_field()
84 if (first) in init_field()
86 first = FALSE; in init_field()
/original-bsd/old/dbx/
H A Dlists.c211 public List list_concat(first, second) in list_concat() argument
212 List first, second; in list_concat()
216 if (first == nil) {
219 r = first;
221 second->head->prev = first->tail;
222 first->tail->next = second->head;
223 first->tail = second->tail;
224 first->nitems = first->nitems + second->nitems;
225 r = first;
/original-bsd/games/number/
H A Dnumber.c65 int ch, first; local
82 for (first = 1;
83 fgets(line, sizeof(line), stdin) != NULL; first = 0) {
86 if (!first)
91 for (first = 1; *argv != NULL; first = 0, ++argv) {
92 if (!first)
/original-bsd/bin/mkdir/
H A Dmkdir.c94 int first; local
100 for (first = 1;; ++p) {
106 if (first) {
122 first = 0;
133 if (!first)
/original-bsd/usr.bin/diction/style1/
H A Dstyle1.l28 int first = 1; variable
48 first = 1;
53 if(first == 0){
57 first = 0;
273 first=0;
288 first = dot=0;
336 first=1;
/original-bsd/local/ditroff/ditroff.old.okeeffe/driver/
H A Dx2ch.c24 #define first FH.firstChar macro
85 if (first < 0 || last >= DIRSIZ || last <= first)
86 error("font boundaries (%d,%d) out of range", first, last);
102 i = (last - first + 2) * sizeof (short);
107 if (read(FID, &bitmapindex[first], i) != i)
110 for (i = first + 1; i <= last + 1; i++)
119 for (i = first; i <= last; i++) {
/original-bsd/sys/kern/
H A Dsubr_rmap.c99 swblk_t first, rest; local
115 (first = dmmax - bp->m_addr%dmmax) < size) {
116 if (bp->m_size - first < size)
118 addr = bp->m_addr + first;
119 rest = bp->m_size - first - size;
120 bp->m_size = first;
/original-bsd/contrib/sort/
H A Dtmp.c35 static int first = 0; in ftmp() local
40 if (!first && !envtmp) { in ftmp()
42 first = 1; in ftmp()
/original-bsd/usr.bin/netstat/
H A Dinet.c66 static int first = 1; local
93 if (first) {
105 first = 0;
318 register int i, first; local
333 if (first) {
335 first = 0;
346 if (first) {
348 first = 0;
429 static int first = 1; local
431 if (first && !nflag) {
[all …]
/original-bsd/old/dbx/tests/cc/
H A Dstruct.c27 typedef struct first *First;
35 struct first { struct
42 struct first b, *p; in UseRecurStructs() argument
/original-bsd/local/ukc/restore/
H A Drestore.c525 ino_t first; local
534 first = lowerbnd(ROOTINO);
537 first = lowerbnd(first);
545 while (first < curfile.ino) {
546 ep = lookupino(first);
551 first = lowerbnd(first);
560 if (first != curfile.ino) {
562 first, curfile.ino);
611 first = lowerbnd(ROOTINO); in createfiles()
614 first = lowerbnd(first); in createfiles()
[all …]
/original-bsd/games/fortune/strfile/
H A Dstrfile.c81 char first; member
124 register int first, cnt; local
151 first = Oflag;
167 first = Oflag;
169 else if (first) {
175 fp->first = tolower(*nsp);
177 fp->first = *nsp;
179 first = FALSE;
366 c1 = p1->first;
367 c2 = p2->first;
/original-bsd/sbin/restore/
H A Drestore.c575 ino_t first; local
584 first = lowerbnd(ROOTINO);
587 first = lowerbnd(first);
595 while (first < curfile.ino) {
596 ep = lookupino(first);
601 first = lowerbnd(first);
610 if (first != curfile.ino) {
612 first, curfile.ino);
662 first = lowerbnd(ROOTINO); in createfiles()
665 first = lowerbnd(first); in createfiles()
[all …]
/original-bsd/usr.bin/head/
H A Dhead.c47 int first, linecnt; local
67 for (first = 1; *argv; ++argv) {
74 first ? "" : "\n", *argv);
75 first = 0;
/original-bsd/usr.bin/find/
H A Dmisc.c62 int ch, first, nl; local
70 first = ch = getchar();
85 return (first == 'y');
/original-bsd/usr.bin/ar/
H A Dmisc.c37 static int first; in tmp() local
41 if (!first && !envtmp) { in tmp()
43 first = 1; in tmp()
/original-bsd/sbin/startslip/
H A Dstartslip.c77 int first = 1, tries = 0; local
172 if (first)
201 if (first)
250 if (first)
271 if (first)
355 if (first && debug == 0) {
365 if (!first)
367 first = 0;
/original-bsd/usr.sbin/config/
H A Dmkmakefile.c227 if (first == 1) { in read_files()
229 first++; in read_files()
232 if (first == 2) { in read_files()
234 first++; in read_files()
255 if (first == 3 && (tp = fltail_lookup(this)) != 0) in read_files()
539 register int first; local
542 for (first = 1, fl = conf_list; fl; first = 0)
544 do_systemspec(f, fl, first) : fl->f_next;
553 do_systemspec(f, fl, first) in do_systemspec() argument
556 int first;
[all …]
/original-bsd/old/tp/
H A Dtp3.c49 int first, size; in update() local
59 first = ndentb; in update()
60 toosmall: ++first; in update()
61 if ((last = first + size) >= tapsiz) maperr(); in update()
62 for (b = first; b < last; ++b) in update()
64 first = b; in update()
67 d->d_tapea = first; in update()
/original-bsd/usr.bin/struct/struct/
H A D4.form.c28 int c, blank, first,count; in comprint() local
30 first = 1; in comprint()
42 first = 0; in comprint()

12345678910>>...15