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

12

/freebsd-9.3-release/contrib/ncurses/ncurses/
H A Dfifo_defs.h45 /* peek points to next uninterpreted character */
46 #define peek sp->_fifopeek macro
52 #define p_inc() { peek == FIFO_SIZE-1 ? peek = 0 : peek++;}
54 #define cooked_key_in_fifo() ((head != -1) && (peek != head))
55 #define raw_key_in_fifo() ((head != -1) && (peek != tail))
/freebsd-9.3-release/contrib/tcp_wrappers/
H A Dtli-sequent.c59 struct strpeek peek; local
93 peek.ctlbuf.maxlen = tli_state_ptr->ti_ctlsize;
94 peek.ctlbuf.len = 0;
95 peek.ctlbuf.buf = tli_state_ptr->ti_ctlbuf;
97 peek.databuf.maxlen = -1;
98 peek.databuf.len = 0;
99 peek.databuf.buf = 0;
100 peek.flags = 0;
102 switch (ioctl(request->fd, I_PEEK, &peek)) {
104 tcpd_warn("can't peek a
[all...]
/freebsd-9.3-release/contrib/one-true-awk/
H A Dlex.c94 int peek(void) function
214 if (peek() == '\n') {
216 } else if (peek() == '\r') {
224 if (peek() == '&') {
229 if (peek() == '|') {
234 if (peek() == '=') {
236 } else if (peek() == '~') {
244 if (peek() == '=') {
250 if (peek() == '=') {
256 if (peek()
[all...]
/freebsd-9.3-release/contrib/ncurses/ncurses/base/
H A Dlib_ungetch.c53 T(("head = %d, tail = %d, peek = %d", head, tail, peek));
68 peek = tail; /* no raw keys */
H A Dlib_getch.c121 int ch = sp->_fifo[peek];
122 TR(TRACE_IEVENT, ("peeking at %d", peek));
135 if (peek == head) {
137 peek = head;
236 head = peek = tail;
253 tail = peek = 0;
582 ** (that is head==-1 || peek==head)
603 peek = head; /* the keys stay uninterpreted */
608 peek = head; /* the keys stay uninterpreted */
620 peek
[all...]
/freebsd-9.3-release/contrib/groff/src/preproc/pic/
H A Dpic.h75 virtual int peek() = 0;
92 int peek();
H A Dlex.cpp39 int peek();
52 int peek();
116 int file_input::peek() function in class:file_input
149 int macro_input::peek() function in class:macro_input
213 int argument_macro_input::peek() function in class:argument_macro_input
304 int c = current_input->peek();
321 int peek();
335 int char_input::peek() function in class:char_input
1342 int peek();
1389 int for_input::peek() function in class:for_input
1556 int copy_thru_input::peek() function in class:copy_thru_input
1651 int simple_file_input::peek() function in class:simple_file_input
[all...]
H A Dmain.cpp55 int peek();
146 int top_input::peek() function in class:top_input
/freebsd-9.3-release/contrib/binutils/libiberty/
H A Dcp-demangle.c1030 char peek = d_peek_char (di); local
1032 if (peek == 'G' || peek == 'T')
1069 peek = d_peek_char (di);
1070 if (dc == NULL || peek == '\0' || peek == 'E')
1092 char peek = d_peek_char (di); local
1095 switch (peek)
1210 char peek; local
1214 peek
1269 char peek; local
1324 char peek; local
1775 char peek; local
1945 char peek; local
2015 char peek; local
2086 char peek; local
2284 char peek; local
2600 char peek; local
[all...]
/freebsd-9.3-release/contrib/gcclibs/libiberty/
H A Dcp-demangle.c984 char peek = d_peek_char (di); local
986 if (peek == 'G' || peek == 'T')
1023 peek = d_peek_char (di);
1024 if (dc == NULL || peek == '\0' || peek == 'E')
1046 char peek = d_peek_char (di); local
1049 switch (peek)
1164 char peek; local
1168 peek
1223 char peek; local
1278 char peek; local
1729 char peek; local
1899 char peek; local
1969 char peek; local
2040 char peek; local
2238 char peek; local
2554 char peek; local
[all...]
/freebsd-9.3-release/usr.bin/hexdump/
H A Dhexdump.h101 size_t peek(u_char *, size_t);
H A Dconv.c113 * Incomplete character; peek ahead and see if we
117 bufsize = peek(p = peekbuf, MB_CUR_MAX);
H A Ddisplay.c313 peek(u_char *buf, size_t nbytes) function
/freebsd-9.3-release/usr.bin/rpcgen/
H A Drpc_scan.h134 void peek(token *tokp);
H A Drpc_scan.c127 peek(token *tokp) function
139 peek(tokp);
H A Drpc_parse.c132 peek(&tok);
218 peek(&tok);
311 /* now peek at next token */
485 peek(&tok);
609 peek(&tok);
/freebsd-9.3-release/contrib/groff/src/preproc/eqn/
H A Dlex.cpp287 virtual int peek() = 0;
307 int peek();
319 int peek();
342 int peek();
409 int file_input::peek() function in class:file_input
442 int macro_input::peek() function in class:macro_input
527 int argument_macro_input::peek() function in class:argument_macro_input
574 int c = current_input->peek();
/freebsd-9.3-release/contrib/libreadline/
H A Dhistexpand.c1425 int peek = string[i + 1]; local
1427 if (peek == string[i] && peek != '$')
1429 if (peek == '<' && string[i + 2] == '-')
1431 else if (peek == '<' && string[i + 2] == '<')
1438 if ((peek == '&' && (string[i] == '>' || string[i] == '<')) ||
1439 (peek == '>' && string[i] == '&') ||
1440 (peek == '(' && (string[i] == '>' || string[i] == '<')) || /* ) */
1441 (peek == '(' && string[i] == '$')) /* ) */
/freebsd-9.3-release/contrib/groff/src/utils/indxbib/
H A Dindxbib.cpp489 int peek = getc(fp);
490 if (peek == '\n') {
492 c = peek;
495 ungetc(peek, fp);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/
H A DCommentParser.cpp73 char peek() const { function in class:clang::comments::TextTokenRetokenizer
124 if (isWhitespace(peek()))
165 const char C = peek();
199 const char C = peek();
208 C = peek();
/freebsd-9.3-release/crypto/openssl/ssl/
H A Dd1_pkt.c126 int len, int peek);
735 int dtls1_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek) argument
749 (peek && (type != SSL3_RT_APPLICATION_DATA))) {
757 if ((ret = have_handshake_fragment(s, type, buf, len, peek)))
847 * 'peek' mode)
877 if (!peek) {
1325 int len, int peek)
1335 /* peek == 0 */
1324 have_handshake_fragment(SSL *s, int type, unsigned char *buf, int len, int peek) argument
H A Ds2_pkt.c128 static int ssl2_read_internal(SSL *s, void *buf, int len, int peek) argument
159 if (!peek) {
/freebsd-9.3-release/usr.bin/usbhidaction/
H A Dusbhidaction.c266 peek(FILE *f) function
300 while (p && isspace(peek(f))) {
/freebsd-9.3-release/contrib/sendmail/mail.local/
H A Dmail.local.c825 int peek; local
860 peek = fgetc(stdin);
861 if (peek == '\n')
867 (void) ungetc(peek, stdin);
/freebsd-9.3-release/contrib/libstdc++/include/std/
H A Dstd_istream.h458 peek();

Completed in 273 milliseconds

12