/freebsd-current/contrib/ncurses/ncurses/ |
H A D | fifo_defs.h | 46 /* peek points to next uninterpreted character */ 47 #define peek sp->_fifopeek macro 78 (peek >= FIFO_SIZE-1) \ 79 ? peek = 0 \ 80 : peek++; \ 83 #define cooked_key_in_fifo() ((head >= 0) && (peek != head)) 84 #define raw_key_in_fifo() ((head >= 0) && (peek != tail))
|
/freebsd-current/contrib/tcp_wrappers/ |
H A D | tli-sequent.c | 57 struct strpeek peek; local 91 peek.ctlbuf.maxlen = tli_state_ptr->ti_ctlsize; 92 peek.ctlbuf.len = 0; 93 peek.ctlbuf.buf = tli_state_ptr->ti_ctlbuf; 95 peek.databuf.maxlen = -1; 96 peek.databuf.len = 0; 97 peek.databuf.buf = 0; 98 peek.flags = 0; 100 switch (ioctl(request->fd, I_PEEK, &peek)) { 102 tcpd_warn("can't peek a [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/ |
H A D | MILexer.cpp | 44 char peek(int I = 0) const { return End - Ptr <= I ? 0 : Ptr[I]; } function in class:__anon1888::Cursor 86 while (isblank(C.peek())) 95 if (C.peek() != ';') 97 while (!isNewlineChar(C.peek()) && !C.isEOF()) 105 if (C.peek() != '/' || C.peek(1) != '*') 108 while (C.peek() != '*' || C.peek(1) != '/') 133 char Char = C.peek(); 135 if (C.peek( [all...] |
/freebsd-current/contrib/one-true-awk/ |
H A D | lex.c | 103 static int peek(void) function 236 if (peek() == '\n') { 239 } else if (peek() == '\r') { 247 if (peek() == '&') { 252 if (peek() == '|') { 257 if (peek() == '=') { 259 } else if (peek() == '~') { 267 if (peek() == '=') { 273 if (peek() == '=') { 279 if (peek() [all...] |
/freebsd-current/contrib/ncurses/ncurses/base/ |
H A D | lib_ungetch.c | 55 T(("head = %d, tail = %d, peek = %d", head, tail, peek)); 72 peek = tail; /* no raw keys */
|
H A D | lib_getch.c | 210 int ch = (peek >= 0) ? sp->_fifo[peek] : ERR; 211 TR(TRACE_IEVENT, ("peeking at %d", peek)); 224 if (peek == head) { 226 peek = head; 367 head = peek = tail; 384 tail = peek = 0; 714 ** (that is head==-1 || peek==head) 735 peek = head; /* the keys stay uninterpreted */ 740 peek [all...] |
/freebsd-current/lib/libthr/thread/ |
H A D | thr_join.c | 39 static int join_common(pthread_t, void **, const struct timespec *, bool peek); 85 const struct timespec *abstime, bool peek) 113 /* Only peek into status, do not gc the thread. */ 114 if (peek) { 84 join_common(pthread_t pthread, void **thread_return, const struct timespec *abstime, bool peek) argument
|
/freebsd-current/tests/sys/netinet/ |
H A D | udp_io.c | 99 ATF_TC_WITHOUT_HEAD(peek); variable 100 ATF_TC_BODY(peek, tc) 136 ATF_TP_ADD_TC(tp, peek);
|
/freebsd-current/contrib/llvm-project/libcxx/src/ |
H A D | tz.cpp | 55 while (chrono::__is_whitespace(__input.peek()))
|
/freebsd-current/contrib/llvm-project/lld/ELF/ |
H A D | ScriptLexer.h | 28 StringRef peek();
|
H A D | ScriptParser.cpp | 221 while (!atEOF() && !errorCount() && peek() != "}") { 680 return StringSwitch<SortSectionPolicy>(peek()) 711 while (!errorCount() && peek() != ")") { 720 while (!errorCount() && peek() != ")" && peek() != "EXCLUDE_FILE" && 850 StringRef value = peek(); 885 bool isDirective = readSectionDirective(cmd, peek(), peek2()); 891 if (peek() == "(" && !readSectionDirective(cmd, "(", peek2())) 931 if (peek() != ":") 966 if (peek() ! [all...] |
H A D | ScriptLexer.cpp | 267 StringRef ScriptLexer::peek() { function in class:ScriptLexer 285 if (peek() == tok) {
|
/freebsd-current/libexec/nuageinit/ |
H A D | yaml.lua | 245 Parser.peek = function (self, offset) 267 error(msg .. context(self:peek()[1].input)) 271 return self:accept("dedent") or (self:peek() == nil) or 272 error(msg .. context(self:peek()[2].input)) 276 return self:peek(offset) and self:peek(offset)[1] == val 303 if self:peekType("string") and not self:peek().force_text then 304 local char = self:peek()[2][1]:sub(1,1) 306 ref = self:peek()[2][1]:sub(2) 310 ref = self:peek()[ [all...] |
/freebsd-current/usr.bin/hexdump/ |
H A D | hexdump.h | 101 size_t peek(u_char *, size_t);
|
H A D | conv.c | 121 * Incomplete character; peek ahead and see if we 126 bufsize = peek(p = peekbuf, MB_CUR_MAX);
|
/freebsd-current/usr.bin/rpcgen/ |
H A D | rpc_scan.h | 129 void peek(token *tokp);
|
H A D | rpc_scan.c | 117 peek(token *tokp) function 129 peek(tokp);
|
/freebsd-current/usr.bin/dtc/ |
H A D | input_buffer.cc | 744 switch (peek()) 765 switch (peek()) 787 if (peek() != '=') 795 if (peek() != '=') 804 if (peek() == '&') 814 if (peek() == '|') 1007 if (*self == '/' && peek() == '*') 1025 if ((*self == '/' && peek() == '/')) 1231 text_input_buffer::peek() function in class:dtc::text_input_buffer
|
/freebsd-current/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | InterpBuiltin.cpp | 57 T Val = Stk.peek<T>(Offset); 382 const Floating &Arg = S.Stk.peek<Floating>(); 391 const Floating &Arg = S.Stk.peek<Floating>(); 400 const Floating &Arg = S.Stk.peek<Floating>(); 413 const Floating &Arg = S.Stk.peek<Floating>(); 422 const Floating &Arg = S.Stk.peek<Floating>(); 431 const Floating &Arg = S.Stk.peek<Floating>(); 440 const Floating &Arg = S.Stk.peek<Floating>(); 455 S.Stk.peek<Floating>(align(primSize(FPClassArgT) + primSize(PT_Float))); 468 const Floating &Val = S.Stk.peek<Floatin [all...] |
H A D | InterpStack.cpp | 103 const T &V = peek<T>(Offset);
|
H A D | InterpStack.h | 68 template <typename T> T &peek() const { function in class:clang::interp::final 76 template <typename T> T &peek(size_t Offset) const { function in class:clang::interp::final 104 /// Like the public peek(), but without the debug type checks.
|
/freebsd-current/tests/sys/netlink/ |
H A D | netlink_socket.c | 146 ATF_TC_WITHOUT_HEAD(peek); variable 147 ATF_TC_BODY(peek, tc) 336 ATF_TP_ADD_TC(tp, peek);
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | RecordSerialization.h | 107 while (!Reader.empty() && Reader.peek() < LF_PAD0) { 127 while (Reader.peek() != 0) {
|
/freebsd-current/crypto/openssl/ssl/record/ |
H A D | record.h | 219 unsigned char *buf, size_t len, int peek, 239 unsigned char *buf, size_t len, int peek,
|
/freebsd-current/tests/atf_python/sys/netpfil/ipfw/ |
H A D | ipfw.py | 95 data = sys.stdin.buffer.peek(sizeof(DebugHeader))
|