Searched refs:loop (Results 1 - 15 of 15) sorted by relevance

/ast/src/lib/libast/stdio/
H A Dfcloseall.c36 int loop; local
40 for(loop = 0; loop < MAXLOOP; ++loop)
/ast/src/cmd/tests/
H A Dopt.c156 int loop; local
223 loop = strncmp(usage, "[-1c", 4) ? 0 : 3;
241 if (loop)
242 sfprintf(sfstdout, "[%d] ", loop);
270 if (loop)
271 sfprintf(sfstdout, "[%d] ", loop);
274 if (--loop <= 0)
/ast/src/lib/libast/path/
H A Dpathcanon.c71 int loop; local
78 dots = loop = 0;
159 if ((flags & PATH_PHYSICAL) && loop < 32 && (t - 1) > path)
170 loop++;
/ast/src/cmd/pzip/
H A Drectify.c268 Loop_t loop[64]; local
287 if (++nest >= elementsof(loop))
288 error(3, "%c: nesting too deep -- %d max", op, elementsof(loop));
290 loop[nest].offset = sfseek(dp, (Sfoff_t)0, SEEK_CUR);
291 loop[nest].count = count;
293 sfprintf(sfstdout, "=== %I*d === loop %d %lu %I*d === %-.*s\n", sizeof(offset), offset, nest, loop[nest].count, sizeof(loop[nest].offset), loop[nest].offset, t - s, s);
298 if (loop[nes
[all...]
/ast/src/lib/libast/sfio/
H A Dsfsync.c39 reg int nsync, count, loop; local
42 for(loop = 0; loop < MAXLOOP; ++loop)
/ast/src/lib/libcoshell/
H A Dcowait.c142 int loop; local
219 loop = 0;
224 loop++;
225 errormsg(state.lib, 2, "coshell %d wait %lu.%d timeout=%d outstanding=<%d,%d> running=<%d,%d>", co->index, serial, loop, timeout, co->outstanding, co->svc_outstanding, co->running, co->svc_running);
/ast/src/cmd/pax/
H A Dpax-mime.c89 int loop; local
158 loop = 0;
164 if (loop++)
/ast/src/cmd/ksh93/
H A DMakefile42 SHOPT_OPTIMIZE == 1 /* optimize loop invariants */
/ast/src/cmd/nmake/
H A Dparse.c56 #define CON_stash (1<<2) /* file loop body lines stashed */
62 #define CON_for (1<<7) /* for loop block */
63 #define CON_while (1<<8) /* while loop block */
66 #define CON_break (1<<10) /* loop break */
67 #define CON_continue (2<<10) /* loop continue */
100 char* buffer; /* loop body buffer */
101 size_t offset; /* loop body ip offset */
103 int line; /* loop line number */
108 char* test; /* while loop test */
113 Var_t* var; /* for loop variabl
118 } loop; member in struct:Control_s
[all...]
/ast/src/lib/libast/misc/
H A Dmagic.c67 typedef struct /* loop info */
72 int count; /* dynamic loop count */
86 Loop_t* loop; member in union:Entry::__anon285
808 if (!ep->value.loop->count)
810 ep->value.loop->count = num;
811 ep->value.loop->offset = off;
812 off = ep->value.loop->start;
814 else if (!--ep->value.loop->count)
816 off = ep->value.loop->offset;
820 off += ep->value.loop
[all...]
/ast/src/cmd/html/
H A Dtroff2html.h115 Sfio_t* loop; /* loop body stream */ member in struct:Pushin_s
H A Dtroff2html.c706 if (pp->loop)
708 state.in = (unsigned char*)sfstrbase(pp->loop);
2247 if (pp->loop)
2249 sfclose(pp->loop);
2250 pp->loop = 0;
2253 error(1, "%s: outside of loop", tp->name);
2295 if (pp->loop)
2297 pp->in = (unsigned char*)sfstrbase(pp->loop);
2300 error(1, "%s: outside of loop", tp->name);
2421 state.in_top->loop
[all...]
/ast/src/cmd/ie/
H A Deditlib.c128 static int loop; local
135 * runtime linker which may get us into a loop if
145 if (loop++)
/ast/src/lib/libast/uwin/
H A Dsupport.c471 loop:
484 if(nx!=0) {t=1.0; pt[n0]+=nx; x*=t; nx=0; goto loop;}
/ast/src/lib/libvcodex/
H A Dvcsfio.c435 int indi, head, loop; local
448 for(loop = 0;; ++loop)
451 if(loop > 0 && (sfdc->endb - sfdc->base) >= sfdc->bssz &&
457 if(loop > 0 || sz <= 0)

Completed in 51 milliseconds