Searched refs:inp (Results 1 - 6 of 6) sorted by relevance

/ast/src/cmd/builtin/
H A Dstrings.c132 register unsigned char* inp; local
152 while ((inp = (unsigned char*)sfgetr(in, sep, 0)) || (inp = (unsigned char*)sfgetr(in, sep, -1)))
155 inend = inp+c;
159 if (inp >= inend || !(c = *inp++) || !isprint(c) && (!(flags & MULTILINE) || !special(c)))
167 if (sfprintf(out, fmt, sizeof(offset), offset - (inend - inp) - n) < 0)
169 n = outstring(out, (char*)inp - ((flags & MULTIBYTE) + 1) * n - 1, n, flags);
172 n = sfprintf(out, fmt, sizeof(offset), offset - (inend - inp) - n, n, inp
[all...]
H A Dtr.c430 register unsigned char* inp = 0; local
450 inend = (inp = inbuff) + c;
456 while (inp < inend)
479 c = code[*inp++];
486 sfread(ip, inbuff, inp - inbuff);
487 inp = inbuff;
489 if (inbuff && (c = inp - inbuff) > 0)
/ast/src/lib/libast/sfio/
H A Dsfvscanf.c63 int inp; /* last input character read */ member in struct:_scan_s
72 #define SCinit(sc,ds) ((sc)->inp = (sc)->error = -1, (sc)->f = f, \
76 #define SCend(sc,ds) (inp = (sc)->inp, f = (sc)->f, \
98 { sc->inp = -1;
113 { sc->inp = -1;
119 return (sc->inp = (int)(*sc->d++));
308 reg int inp, shift, base, width; local
361 n_assign = n_input = 0; inp = -1;
381 { if(SFgetc(f,inp) <
[all...]
/ast/src/cmd/pack/
H A Dhuffdecode.c32 #define fillbuff(b,left,bit,inp) while(left<(bit))\
34 if(inp>=inend && !(inp=getbuff())) \
37 b = (b<<CHAR_BIT)|*inp++; \
70 register unsigned char *inp; local
95 if(!(inp=inbuff=(unsigned char*)sfreserve(infile,SF_UNBOUND,0)))
97 inend = inp + sfvalue(infile);
105 fillbuff(buffer,left,hp->maxlev,inp);
145 sfread(infile, inbuff,inp-inbuff);
/ast/src/lib/libpp/
H A Dppcall.c447 struct ppinstk* inp; local
449 for (inp = pp.in; inp->type != IN_FILE && inp->prev; inp = inp->prev);
450 sfsprintf(pp.hidebuf, MAXTOKEN, "_%d_%s_hIDe", inp->index, sym->name);
H A Dppcontrol.c276 struct ppinstk* inp; member in union:__anon362
942 for (var.inp = pp.in; var.inp->type != IN_FILE && var.inp->prev; var.inp = var.inp->prev);
943 p += sfsprintf(p, MAXTOKEN, "_%d_%s_hIDe", var.inp->hide, pp.token);

Completed in 15 milliseconds