Searched defs:peek (Results 1 - 17 of 17) sorted by relevance

/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
/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/libast/misc/
H A Dfindlib.h64 int peek; member in struct:__anon278
/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/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/lib/libexpr/
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))
/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/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 Dpty.c56 "[p \atext\a?peek input until \atext\a is found at the beginning "
435 char* peek; /* peek buffer pointer */ member in struct:Master_s
441 char* prompt; /* peek prompt */
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/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/lib/libdss/
H A Dcxcomp.c153 * peek next input character
157 peek(Cx_t* cx, int span) function
1924 if (peek(cx, 1) != ':' && !(fp->pass = compose(cx, cc, c)))
1926 if (peek(cx, 1) == ':')
2088 if (!(c = peek(cx, !cx->interactive)))
/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;
/ast/src/cmd/ksh93/sh/
H A Dmacro.c1378 int cc=fcmbget(&LEN),peek=LEN; local
1382 peek++;
1387 peek++;
1389 fcseek(-peek);
/ast/src/cmd/INIT/
H A Dmamake.c238 int peek; /* next line already in input */ member in struct:__anon22
1123 if (state.peek)
1124 state.peek = 0;
/ast/src/cmd/codexlib/lzh/
H A Dlzh.c131 getbits(register State_t* state, int n, int peek) argument
139 if (peek)

Completed in 87 milliseconds