Searched refs:prev (Results 1 - 25 of 77) sorted by relevance

1234

/ast/src/lib/libast/misc/
H A Ddebug.c49 static double prev; local
54 return prev = tm;
55 return tm - prev;
H A Dstack.c61 b->prev = 0;
127 b->prev = stack->position.block;
155 if (!stack->position.block->prev) return(0);
156 stack->position.block = stack->position.block->prev;
H A Dstk.c70 char *prev; /* address of previous frame */ member in struct:frame
165 if(fp->prev)
167 cp = fp->prev;
248 fp->prev = 0;
327 for(fp=(struct frame*)sp->stkbase; fp; fp=(struct frame*)fp->prev)
370 if(fp->prev)
372 sp->stkbase = fp->prev;
373 sp->stkend = ((struct frame*)(fp->prev))->end;
520 sp->stkbase = ((struct frame*)dp)->prev;
540 fp->prev
[all...]
/ast/src/lib/libast/tm/
H A Dtmzone.c52 register char* prev; local
69 prev = 0;
73 prev = zp->type;
74 if (!type || type == prev || !prev)
/ast/src/cmd/html/
H A Dbb2tok.c77 Header_t* prev; member in struct:State_s
93 if (state->prev)
95 sfprintf(op, "%s<%s%s>\n", (!state->push && (state->prev->lex == HEADER || state->prev->lex == CODE && state->last != '\n')) ? "\n" : "", state->push ? "" : "/", state->prev->out);
96 state->prev = 0;
103 if (state->prev)
105 if (head->lex == LINK && state->prev->lex == NAME && state->push)
107 if (head->lex == LINE && state->prev->lex == HEADER && !state->push)
109 if (head->lex == HEADER && push && state->prev
[all...]
/ast/src/cmd/mailx/port/
H A Ddtlist.c88 reg Dtlink_t *r, *t, *prev, *renew; local
127 prev = NIL(Dtlink_t*);
129 { for(t = dt->data->head; t; prev = t->left, t = prev->right)
142 /* make sure prev is just before the equivalence class of t */
143 if(!prev && (r = dt->data->head->left) != t->left)
144 while((prev = r) )
145 if((r = prev->right->left) == t->left)
149 { if(prev) /* move the whole class to the front */
150 { t = prev
[all...]
H A Ddthash.c135 reg Dtlink_t *t, *prev, *r = NIL(Dtlink_t*); local
190 prev = NIL(Dtlink_t*);
197 for(; t; prev = t, t = t->right)
245 { if(prev) /* move to front heuristic */
246 { prev->right = t->right;
277 { if(!prev && t != *slot)
278 for(prev = *slot; prev->right != t; prev = prev
[all...]
/ast/src/lib/libmam/
H A Dmamlib.h34 struct frame* prev; /* prev in list */ member in struct:frame
/ast/src/lib/libpp/
H A Dppincref.c42 for (sp = pp.in; sp; sp = sp->prev)
H A Dppbuiltin.c180 for (in = pp.in; in; in = in->prev)
214 for (in = pp.in; in->prev; in = in->prev)
215 if (in->prev->type == IN_FILE && in->file)
/ast/src/lib/libast/comp/
H A Dregexp.h83 static const char* prev; local
97 if (!re->re_sed && !prev)
102 prev = 0;
123 prev = endbuf;
124 RETURN((char*)prev);
/ast/src/cmd/ksh93/include/
H A Dfault.h97 sigjmp_buf *prev; member in struct:checkpt
109 (bp)->topfd=shp->topfd, (bp)->prev=shp->jmplist, \
113 #define sh_popcontext(shp,bp) (shp->jmplist=(bp)->prev, errorpop(&((bp)->err)))
/ast/src/cmd/pax/
H A Dnocomment.c51 if (line > prev && line > directive) \
53 if (sfsprintf(buf, sizeof(buf), "\n#%s %d\n", sync <= 0 ? "line" : "", line + 1) <= line - prev) \
56 prev = line; \
58 else while (prev < line) \
60 prev++; \
132 unsigned long prev = 0; local
151 if (line != prev)
166 prev = ++line;
275 prev = line;
338 prev
[all...]
/ast/src/lib/libdss/
H A Ddsstags.c47 if (fp->prev->data)
53 if (!(fp->prev->data = cxvariable(state->meth->cx, data, NiL, state->disc)))
64 if (!fp->prev->data)
72 ((Cxvariable_t*)fp->prev->data)->format.map = map;
82 if (!fp->prev->data)
94 ((Cxvariable_t*)fp->prev->data)->format.constraint = con;
189 if (!(((Cxitem_t*)fp->prev->data)->name = (const char*)strdup(data)))
203 ((Cxitem_t*)fp->prev->data)->mask = strtoul(data, &e, 0);
220 if (r.type = ((Cxpart_t*)fp->prev->prev
[all...]
H A Dtag.h61 Tagframe_t* prev; /* previous in stack */ member in struct:Tagframe_s
/ast/src/cmd/builtin/
H A Dtr.c103 #define setchar(p,s,t) ((p)->type=(t),(p)->prev=(p)->last=(-1),(p)->isit=0,(p)->count=0,(p)->base=(p)->next=(s))
110 int prev; member in struct:__anon47
151 return tr->prev;
161 while (++tr->prev <= tr->last)
162 if (!tr->isit || (*tr->isit)(tr->prev))
163 return (!tr->type || !tr->convert) ? tr->prev : tr->convert == 'l' ? tolower(tr->prev) : toupper(tr->prev);
171 c = tr->level ? -2 : tr->type && !tr->truncate ? tr->prev : -1;
210 tr->prev
[all...]
/ast/src/lib/libast/include/
H A Dstack.h39 struct stackblock* prev; /* previous block in list */ member in struct:stackblock
/ast/src/lib/libast/sfio/
H A Dsfdisc.c76 Sfdisc_t *prev; local
83 for(prev = f->disc; prev; prev = prev->disc)
84 if(prev->disc == disc)
86 if(!prev)
99 { prev->disc = disc->disc;
/ast/src/cmd/mam/
H A Dmamold.sh57 make|prev) rule=${target[level]}
61 [[ $op == prev ]] && continue
/ast/src/lib/libast/hash/
H A Dhashlook.c43 Hash_bucket_t* prev; local
100 for (prev = 0, b = tab->table[n]; b; prev = b, b = b->next)
137 prev = 0;
146 if (prev && !tab->frozen)
152 prev->next = b->next;
262 if (tab == top) prev = 0;
265 if (prev = b)
304 if (!prev && (tab->flags & HASH_ALLOCATE))
/ast/src/lib/libtk/library/
H A Dconsole.tcl108 # cmd - Which action to take: prev, next, reset.
115 prev {
281 foreach prev {Control-p Up} {
282 bind $win <$prev> {
283 tkConsoleHistory prev
287 foreach prev {Control-n Down} {
288 bind $win <$prev> {
/ast/src/lib/libjcl/
H A Djcllib.h57 Include_t* prev; member in struct:Include_s
79 Ie_t* prev; member in struct:Ie_s
/ast/src/lib/librecsort/
H A Drskeyhdr.h95 Rskeyfield_t* prev; /* previous field list tail */ \
/ast/src/cmd/mailx/
H A Dnames.c292 Dt_t* prev; member in struct:__anon149
304 if (!dictsearch(&wm->prev, name, LOOKUP)) {
366 wm.prev = 0;
369 wm.next = wm.prev;
370 wm.prev = hp->h_names;
378 (np = dictsearch(&wm.prev, hp->h_first, LOOKUP)) &&
/ast/src/cmd/tw/
H A Dtw.c442 if (!state.snapshot.prev)
448 if (!(k = urlcmp(state.snapshot.prev, s, state.snapshot.format.delim)))
451 if (!(k = memcmp(state.snapshot.prev + i, s + i, j - i) || state.snapshot.prev[j] != state.snapshot.format.delim))
453 if ((n = (int)sfvalue(sfstdin)) > 4 && state.snapshot.prev[n-2] == state.snapshot.format.delim)
455 sfwrite(sfstdout, state.snapshot.prev, n - 4);
459 sfwrite(sfstdout, state.snapshot.prev, n);
464 else if (k < 0 && (n = (int)sfvalue(sfstdin)) > 4 && (state.snapshot.prev[n-2] != state.snapshot.format.delim || state.snapshot.prev[n-3] != SNAPSHOT_deleted))
466 sfwrite(sfstdout, state.snapshot.prev,
[all...]

Completed in 284 milliseconds

1234