Searched refs:peek (Results 1 - 25 of 34) sorted by relevance

12

/ast/src/lib/libexpr/
H A Dexrewind.c47 if (ex->input->peek)
49 ex->input->pushback[n++] = ex->input->peek;
50 ex->input->peek = 0;
H A Dexlib.h42 int peek; /* 1 char peek */ member in struct:Exinput_s
122 #define exunlex(p,c) ((p)->linep--,(p)->input->peek=(c))
H A Dextoken.c231 if (c = ex->input->peek)
232 ex->input->peek = 0;
/ast/src/cmd/3d/
H A Dpeek.c29 * peek siz chars from fd into buf
34 peek(int fd, void* buf, size_t siz) function
H A Dlib_3d.h74 #define peek _3d_peek macro
H A DMakefile40 pathcanon.c pathnext.c pathreal.c peek.c \
H A D3d.h161 #include "FEATURE/peek"
559 extern ssize_t peek(int, void*, size_t);
H A Dlib.c69 if (peek(state.table.fd, tmp, sizeof(tmp) - 1) == siz && !memcmp(tmp, buf, siz))
/ast/src/cmd/std/
H A Dsplit.c382 register char* peek = 0; local
409 if (peek)
411 if ((n = sfputr(out, peek, delim)) <= 0)
413 peek = 0;
428 if (peek)
430 if (out && (n = sfputr(out, peek, delim)) <= 0)
433 peek = 0;
448 if (!(peek = s))
/ast/src/lib/libast/sfio/
H A Dsfvscanf.c39 static void _sfbuf(Sfio_t* f, int* peek) argument
41 static void _sfbuf(f, peek)
43 int* peek;
47 { if(*peek) /* try peeking for a share stream if possible */
53 *peek = 0; /* can't peek, back to normal reads */
67 int peek; /* != 0 if unseekable/share stream */ member in struct:_scan_s
75 (sc)->peek = peek, (sc)->n_input = n_input)
79 peek
339 int peek; local
[all...]
/ast/src/cmd/builtin/
H A Dtr.c253 Tr_t peek; local
255 peek = *tr;
256 peek.count = 0;
257 peek.last = -1;
258 while (nextchar(&peek) >= 0)
259 peek.dst++;
260 tr->count = tr->src - peek.dst;
H A Dod.c250 } peek; member in struct:State_s
983 if (!(state->peek.data = sfreserve(ip, SF_UNBOUND, 0)))
989 state->peek.size = sfvalue(ip);
990 if (state->peek.size < state->skip)
991 state->skip -= state->peek.size;
994 state->peek.data += state->skip;
995 state->peek.size -= state->skip;
1115 if (s = state->peek.data)
1117 state->peek.data = 0;
1118 n = state->peek
[all...]
/ast/src/lib/libcmd/
H A Dcksum.c183 register int peek; local
199 peek = 0;
203 if (peek)
205 peek = 0;
214 peek = 1;
222 if (peek)
/ast/src/lib/libast/misc/
H A Dfindlib.h64 int peek; member in struct:__anon278
H A Dfastfind.c484 if ((fp->decode.peek = sfgetc(fp->fp)) != FF_OFF)
702 c = fp->decode.peek;
745 fp->decode.peek = c;
890 fp->decode.peek = c;
902 fp->decode.peek = c;
/ast/src/lib/libpz/
H A Dpzdeflate.c47 int peek; local
118 peek = 0;
142 if (peek)
143 peek = 0;
218 peek = 1;
/ast/src/lib/libjcl/
H A Djcllib.h87 char* peek; \
H A Dparse.c100 jcl->peekpeek = jcl->peek;
101 jcl->peek = tok;
106 jcl->peek = jcl->peekpeek = 0;
521 if (s = jcl->peek)
523 jcl->peek = jcl->peekpeek;
/ast/src/lib/libcodex/
H A Dcode-uu.c69 unsigned char peek[UUIN]; member in struct:State_s
251 state->pb = state->pp = state->peek;
274 state->pb = state->pp = state->peek;
/ast/src/cmd/pax/
H A Dpax-slt.c51 int peek; /* buf (size peek) already read */ member in struct:Slt_s
113 if (c = slt->peek)
115 slt->peek = 0;
243 slt->peek = lab;
H A Dformat.c211 if (ap->peek && (ap->checkdelta || ap->delta) && deltacheck(ap, f))
212 ap->peek = 0;
624 if (!ap->peek)
633 if (ap->peek)
634 ap->peek = 0;
H A Dpax.h449 Paxvalue_t peek; /* peek file */ \
453 int peek; /* already peeked at file entry */ \
587 char* peekfile; /* stdin file list peek */ \
H A Dmisc.c243 if (bp->peek)
244 bp->peek = 0;
256 bp->peek = 1;
/ast/src/cmd/html/
H A Dmm2twiki.sh62 integer fd=0 head=2 line=0 lists=0 nest=0 peek=0 pp=0 so=0 soff=4
302 if (( peek ))
303 then (( peek = 0 ))
1415 *) (( peek = 1 ))
H A Dmm2bb.sh63 integer fd=0 head=2 line=0 lists=0 nest=0 peek=0 pp=0 so=0 soff=4
312 if (( peek ))
313 then (( peek = 0 ))
1575 *) (( peek = 1 ))

Completed in 56 milliseconds

12