Home
last modified time | relevance | path

Searched refs:last (Results 1 – 25 of 272) sorted by relevance

1234567891011

/original-bsd/usr.sbin/mtree/
H A Dspec.c32 register NODE *centry, *last; in spec() local
100 if (last->type != F_DIR || last->flags & F_DONE) { in spec()
101 if (last == root) in spec()
103 last = last->parent; in spec()
105 last->flags |= F_DONE; in spec()
121 last = root = centry; in spec()
123 } else if (last->type == F_DIR && !(last->flags & F_DONE)) { in spec()
124 centry->parent = last; in spec()
125 last = last->child = centry; in spec()
128 centry->prev = last; in spec()
[all …]
/original-bsd/games/hack/
H A Dhack.o_init.c19 register int i, j, first, last, sum, end; in init_objects() local
27 last = first+1; in init_objects()
28 while(last < end && objects[last].oc_olet == let in init_objects()
29 && objects[last].oc_name != NULL) in init_objects()
30 last++; in init_objects()
42 for(j = first; j < last; j++) in init_objects()
43 objects[j].oc_prob = (100+j-first)/(last-first); in init_objects()
51 while(last < end && objects[last].oc_olet == let) in init_objects()
52 last++; in init_objects()
53 j = last; in init_objects()
[all …]
/original-bsd/usr.bin/make/lst.lib/
H A DlstConcat.c48 register ListNode last; /* the last element in the list. Keeps local
108 for (last = list1->lastPtr, ln = list2->firstPtr;
114 if (last != NilListNode) {
115 last->nextPtr = nln;
119 nln->prevPtr = last;
121 last = nln;
128 list1->lastPtr = last;
140 last->nextPtr = NilListNode;
/original-bsd/usr.bin/pascal/pdx/symtab/
H A Dsymtab.c153 SYM *first, *last; local
156 last = first + symtab->symindex - 1;
157 for (s = first; s <= last; s++) {
202 SYM *first, *last; local
212 last = first + table->symindex - 1;
213 for (s = first; s <= last; s++) {
234 SYM *first, *last; local
243 s = search(t, first, last);
253 LOCAL SYM *search(t, first, last) in search() argument
255 register SYM *first, *last;
[all …]
/original-bsd/usr.bin/pascal/pdx/breakpoint/
H A Dfixbps.c25 register BPINFO *p, *last, *next; in fixbps() local
27 last = NIL; in fixbps()
60 if (last == NIL) { in fixbps()
63 last->bpnext = next; in fixbps()
69 last = p; in fixbps()
H A Dbp.c85 register BPINFO *p, *last; local
87 last = NIL;
92 last = p;
114 if (last == NIL) {
117 last->bpnext = p->bpnext;
H A Dtrcond.c56 register TR_COND_LIST *c, *last; local
61 last = NIL;
70 if (last == NIL) {
73 last->next_condition = c->next_condition;
/original-bsd/usr.sbin/sendmail/src/
H A Dtrace.c61 unsigned int first, last; local
82 last = i;
96 if (last >= tTsize)
97 last = tTsize - 1;
100 while (first <= last)
/original-bsd/lib/libc/stdlib/
H A Dmerge.c40 #define ICOPY_LIST(src, dst, last) \ argument
43 while(src < last)
49 #define CCOPY_LIST(src, dst, last) \ argument
52 while (src < last)
101 last = list2 + nmemb * size;
103 while (*EVAL(list2) != last) {
110 if (p2 != last)
196 last = list2 + nmemb*size;
238 u_char *f1, *f2, *s, *l2, *last, *p2; local
252 last = list1 + size * (n - i);
[all …]
/original-bsd/lib/libc/string/
H A Dstrtok.c23 static char *last; local
26 if (s == NULL && (s = last) == NULL)
40 last = NULL;
58 last = s;
/original-bsd/sys/vax/stand/
H A Ddrtest.c74 static caddr_t last = 0; local
77 if (last == 0)
78 last = (caddr_t)(((int)&end + 511) & ~0x1ff);
80 result = (char *)last;
81 last += size;
/original-bsd/sys/net/
H A Draw_usrreq.c51 struct socket *last; local
53 last = 0;
74 if (last) {
77 if (sbappendaddr(&last->so_rcv, src,
82 sorwakeup(last);
87 last = rp->rcb_socket;
89 if (last) {
90 if (sbappendaddr(&last->so_rcv, src,
94 sorwakeup(last);
/original-bsd/local/ditroff/ditroff.okeeffe/chem/
H A Dchem.awk.src21 last = OTHER
127 last = BOND
154 printf("%s from last [].sw+(%g,0) to last [].sw to last [].nw to last [].nw+(%g,0)\n",
156 printf("%s from last [].se-(%g,0) to last [].se to last [].ne to last [].ne-(%g,0)\n",
185 last = type
188 labsave(n, last, dir)
240 last = typeint
349 function leave(last, d, c, c1) { # return vertex of last in dir d
350 if (last == BOND)
355 if (last == MOL) {
[all …]
H A Dchem.macros.src25 V1: last line.start; V2: last line.end; dx = V2.x-V1.x; dy = V2.y-V1.y
35 V1: last line.start; V2: last line.end; dx = V2.x-V1.x; dy = V2.y-V1.y
46 V1: last line.start; V2: last line.end; dx = V2.x-V1.x; dy = V2.y-V1.y
59 V1: last line.start; V2: last line.end; dx = V2.x-V1.x; dy = V2.y-V1.y
/original-bsd/sys/hp300/include/
H A Dstdarg.h18 #define va_start(ap, last) \ argument
19 (ap = ((char *)&(last) + __va_promote(last)))
/original-bsd/sys/pmax/include/
H A Dstdarg.h18 #define va_start(ap, last) \ argument
19 (ap = ((char *)&(last) + __va_promote(last)))
/original-bsd/sys/deprecated/bbnnet/
H A Dtcp_procs.c160 last = tp->snd_una;
162 last++; /* don't forget SYN */
163 last += sosnd->sb_cc;
600 register sequence last; local
625 tp->rcv_urpend = last;
677 register sequence last; local
679 last = firstempty(tp);
693 tp->rcv_nxt = last + 1;
743 sequence last; local
812 last -= m->m_len;
[all …]
/original-bsd/lib/libc/gen/
H A Dpopen.c112 register struct pid *cur, *last; local
118 for (last = NULL, cur = pidlist; cur; last = cur, cur = cur->next)
131 if (last == NULL)
134 last->next = cur->next;
/original-bsd/libexec/talkd/
H A Dtable.c44 TABLE_ENTRY *last; member
148 ptr->next->last = ptr;
149 ptr->last = NIL;
202 else if (ptr->last != NIL)
203 ptr->last->next = ptr->next;
205 ptr->next->last = ptr->last;
/original-bsd/old/talk/talkd/
H A Dtable.c39 TABLE_ENTRY *last; member
153 ptr->next->last = ptr;
154 ptr->last = NIL;
212 else if (ptr->last != NIL)
213 ptr->last->next = ptr->next;
215 ptr->next->last = ptr->last;
/original-bsd/local/ukc/restore/
H A Dinteractive.c256 if (ap->head != ap->last) {
446 ap->last = ap->head + 1;
513 sindex = ap->last - ap->head;
527 lindex = ap->last - ap->head;
542 ap->last -= lindex - sindex;
658 alist.last = alist.head + 1;
706 ap->head = ap->last = ap->base;
707 fp = ap->last;
722 ap->last = fp;
738 if (ap->head == ap->last)
[all …]
/original-bsd/local/ditroff/ditroff.okeeffe/psfig/patches/
H A Dpsdit.c.patch40 int last;
47 last = strlen(largebuf) - 1;
48 if (last >= 0 && largebuf[last] == '\n') {
50 largebuf[last] = ' ';
/original-bsd/lib/libc/db/btree/
H A Dbt_overflow.c116 PAGE *h, *last; local
126 for (last = NULL, p = dbt->data, sz = dbt->size;;
127 p = (char *)p + plen, last = h) {
139 if (last) {
140 last->nextpg = h->pgno;
141 mpool_put(t->bt_mp, last, MPOOL_DIRTY);
/original-bsd/usr.sbin/iostat/
H A Diostat.c88 } cur, last; variable
164 last.dk_time = calloc(dk_ndrive, sizeof(long));
165 last.dk_wds = calloc(dk_ndrive, sizeof(long));
166 last.dk_seek = calloc(dk_ndrive, sizeof(long));
167 last.dk_xfer = calloc(dk_ndrive, sizeof(long));
263 #define X(fld) tmp = cur.fld[i]; cur.fld[i] -= last.fld[i]; last.fld[i] = tmp
270 cur.tk_nin -= last.tk_nin;
271 last.tk_nin = tmp;
273 cur.tk_nout -= last.tk_nout;
274 last.tk_nout = tmp;
/original-bsd/sys/deprecated/netpup/
H A Draw_pup.c51 register struct mbuf *n, *last; local
70 for (len = 0, n = last = m; n; last = n, n = n->m_next)
105 pc = (u_short *)(mtod(last, caddr_t) + last->m_len - sizeof (short));

1234567891011