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

123

/freebsd-current/contrib/ncurses/ncurses/
H A Dfifo_defs.h46 /* 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 Dtli-sequent.c57 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 DMILexer.cpp44 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 Dlex.c103 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 Dlib_ungetch.c55 T(("head = %d, tail = %d, peek = %d", head, tail, peek));
72 peek = tail; /* no raw keys */
H A Dlib_getch.c210 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 Dthr_join.c39 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 Dudp_io.c99 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 Dtz.cpp55 while (chrono::__is_whitespace(__input.peek()))
/freebsd-current/contrib/llvm-project/lld/ELF/
H A DScriptLexer.h28 StringRef peek();
H A DScriptParser.cpp221 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 DScriptLexer.cpp267 StringRef ScriptLexer::peek() { function in class:ScriptLexer
285 if (peek() == tok) {
/freebsd-current/libexec/nuageinit/
H A Dyaml.lua245 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 Dhexdump.h101 size_t peek(u_char *, size_t);
H A Dconv.c121 * Incomplete character; peek ahead and see if we
126 bufsize = peek(p = peekbuf, MB_CUR_MAX);
/freebsd-current/usr.bin/rpcgen/
H A Drpc_scan.h129 void peek(token *tokp);
H A Drpc_scan.c117 peek(token *tokp) function
129 peek(tokp);
/freebsd-current/usr.bin/dtc/
H A Dinput_buffer.cc744 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 DInterpBuiltin.cpp57 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 DInterpStack.cpp103 const T &V = peek<T>(Offset);
H A DInterpStack.h68 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 Dnetlink_socket.c146 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 DRecordSerialization.h107 while (!Reader.empty() && Reader.peek() < LF_PAD0) {
127 while (Reader.peek() != 0) {
/freebsd-current/crypto/openssl/ssl/record/
H A Drecord.h219 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 Dipfw.py95 data = sys.stdin.buffer.peek(sizeof(DebugHeader))

Completed in 365 milliseconds

123