Home
last modified time | relevance | path

Searched refs:peek (Results 1 – 25 of 61) sorted by relevance

123

/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
HDMILexer.cpp44 char peek(int I = 0) const { return End - Ptr <= I ? 0 : Ptr[I]; } in peek() function in __anon190bf2270111::Cursor
86 while (isblank(C.peek())) in skipWhitespace()
95 if (C.peek() != ';') in skipComment()
97 while (!isNewlineChar(C.peek()) && !C.isEOF()) in skipComment()
105 if (C.peek() != '/' || C.peek(1) != '*') in skipMachineOperandComment()
108 while (C.peek() != '*' || C.peek(1) != '/') in skipMachineOperandComment()
133 char Char = C.peek(); in unescapeQuotedString()
135 if (C.peek(1) == '\\') { in unescapeQuotedString()
141 if (isxdigit(C.peek(1)) && isxdigit(C.peek(2))) { in unescapeQuotedString()
142 Str += hexDigitValue(C.peek(1)) * 16 + hexDigitValue(C.peek(2)); in unescapeQuotedString()
[all …]
/freebsd-13-stable/contrib/tcp_wrappers/
HDtli-sequent.c57 struct strpeek peek; in tli_host() local
91 peek.ctlbuf.maxlen = tli_state_ptr->ti_ctlsize; in tli_host()
92 peek.ctlbuf.len = 0; in tli_host()
93 peek.ctlbuf.buf = tli_state_ptr->ti_ctlbuf; in tli_host()
95 peek.databuf.maxlen = -1; in tli_host()
96 peek.databuf.len = 0; in tli_host()
97 peek.databuf.buf = 0; in tli_host()
98 peek.flags = 0; in tli_host()
100 switch (ioctl(request->fd, I_PEEK, &peek)) { in tli_host()
113 if (peek.ctlbuf.len < sizeof(long)) { in tli_host()
[all …]
/freebsd-13-stable/contrib/one-true-awk/
HDlex.c103 static int peek(void) in peek() function
236 if (peek() == '\n') { in yylex()
239 } else if (peek() == '\r') { in yylex()
247 if (peek() == '&') { in yylex()
252 if (peek() == '|') { in yylex()
257 if (peek() == '=') { in yylex()
259 } else if (peek() == '~') { in yylex()
267 if (peek() == '=') { in yylex()
273 if (peek() == '=') { in yylex()
279 if (peek() == '=') { in yylex()
[all …]
/freebsd-13-stable/contrib/ncurses/ncurses/
HDfifo_defs.h47 #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-13-stable/contrib/llvm-project/libcxx/src/experimental/
HDtzdb.cpp65 while (chrono::__is_whitespace(__input.peek())) in __skip_optional_whitespace()
79 while (!chrono::__is_eol(__input.peek())) { in __skip_line()
86 if (std::tolower(__input.peek()) == __suffix) in __skip()
92 if (std::tolower(__input.peek()) == __c) in __skip()
140 if (__input.peek() < '0' || __input.peek() > '9') in __parse_integral()
285 bool __negative = __input.peek() == '-'; in __parse_year_value()
301 if (std::tolower(__input.peek()) != 'm') [[likely]] in __parse_year()
305 switch (std::tolower(__input.peek())) { in __parse_year()
329 if (std::tolower(__input.peek()) != 'o') in __parse_to()
351 if (std::isdigit(__input.peek())) in __parse_on()
[all …]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
HDDIExpressionOptimizer.cpp118 auto Op = Cursor.peek(); in canonicalizeDwarfOperations()
127 consumeOneOperator(Cursor, Loc, *Cursor.peek()); in canonicalizeDwarfOperations()
134 consumeOneOperator(Cursor, Loc, *Cursor.peek()); in canonicalizeDwarfOperations()
138 consumeOneOperator(Cursor, Loc, *Cursor.peek()); in canonicalizeDwarfOperations()
153 auto Op1 = Cursor.peek(); in optimizeDwarfOperations()
161 consumeOneOperator(Cursor, Loc, *Cursor.peek()); in optimizeDwarfOperations()
169 consumeOneOperator(Cursor, Loc, *Cursor.peek()); in optimizeDwarfOperations()
178 consumeOneOperator(Cursor, Loc, *Cursor.peek()); in optimizeDwarfOperations()
179 consumeOneOperator(Cursor, Loc, *Cursor.peek()); in optimizeDwarfOperations()
183 consumeOneOperator(Cursor, Loc, *Cursor.peek()); in optimizeDwarfOperations()
[all …]
/freebsd-13-stable/contrib/ncurses/ncurses/base/
HDlib_getch.c195 int ch = (peek >= 0) ? sp->_fifo[peek] : ERR; in fifo_peek()
196 TR(TRACE_IEVENT, ("peeking at %d", peek)); in fifo_peek()
209 if (peek == head) { in fifo_pull()
211 peek = head; in fifo_pull()
329 head = peek = tail; in fifo_push()
346 tail = peek = 0; in fifo_clear()
697 peek = head; /* the keys stay uninterpreted */ in kgetch()
702 peek = head; /* the keys stay uninterpreted */ in kgetch()
714 peek = head; in kgetch()
733 if (peek == tail) { in kgetch()
[all …]
HDlib_ungetch.c55 T(("head = %d, tail = %d, peek = %d", head, tail, peek)); in NCURSES_EXPORT()
72 peek = tail; /* no raw keys */ in safe_ungetch()
/freebsd-13-stable/lib/libthr/thread/
HDthr_join.c39 static int join_common(pthread_t, void **, const struct timespec *, bool peek);
85 const struct timespec *abstime, bool peek) in join_common() argument
114 if (peek) { in join_common()
/freebsd-13-stable/usr.bin/dtc/
HDinput_buffer.cc741 switch (peek()) in parse_binary_expression()
762 switch (peek()) in parse_binary_expression()
784 if (peek() != '=') in parse_binary_expression()
792 if (peek() != '=') in parse_binary_expression()
801 if (peek() == '&') in parse_binary_expression()
811 if (peek() == '|') in parse_binary_expression()
1004 if (*self == '/' && peek() == '*') in next_token()
1022 if ((*self == '/' && peek() == '/')) in next_token()
1228 text_input_buffer::peek() in peek() function in dtc::text_input_buffer
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/Interp/
HDInterpBuiltin.cpp68 INT_TYPE_SWITCH(T, R = Stk.peek<T>(Offset).toAPSInt()); in peekToAPSInt()
368 const Floating &Arg = S.Stk.peek<Floating>(); in interp__builtin_isnan()
378 const Floating &Arg = S.Stk.peek<Floating>(); in interp__builtin_issignaling()
387 const Floating &Arg = S.Stk.peek<Floating>(); in interp__builtin_isinf()
400 const Floating &Arg = S.Stk.peek<Floating>(); in interp__builtin_isfinite()
409 const Floating &Arg = S.Stk.peek<Floating>(); in interp__builtin_isnormal()
419 const Floating &Arg = S.Stk.peek<Floating>(); in interp__builtin_issubnormal()
428 const Floating &Arg = S.Stk.peek<Floating>(); in interp__builtin_iszero()
443 S.Stk.peek<Floating>(align(primSize(FPClassArgT) + primSize(PT_Float))); in interp__builtin_isfpclass()
457 const Floating &Val = S.Stk.peek<Floating>(); in interp__builtin_fpclassify()
[all …]
HDInterpStack.h68 template <typename T> T &peek() const { in peek() function
76 template <typename T> T &peek(size_t Offset) const { in peek() function
HDInterp.h428 const Pointer &Result = S.Stk.peek<Pointer>(); in Mulc()
483 const Pointer &Result = S.Stk.peek<Pointer>(); in Divc()
1074 const Pointer &P = S.Stk.peek<Pointer>(); in CMP3()
1151 S.Stk.push<T>(S.Stk.peek<T>()); in Dup()
1212 const Pointer &Obj = S.Stk.peek<Pointer>(); in GetField()
1227 const Pointer &Obj = S.Stk.peek<Pointer>(); in SetField()
1334 const T Value = S.Stk.peek<T>(); in InitGlobalTemp()
1355 const Pointer &P = S.Stk.peek<Pointer>(); in InitGlobalTempComp()
1421 const Pointer &Field = S.Stk.peek<Pointer>().atField(I); in InitField()
1432 const Pointer &Field = S.Stk.peek<Pointer>().atField(F->Offset); in InitBitField()
[all …]
/freebsd-13-stable/contrib/llvm-project/lld/ELF/
HDScriptParser.cpp228 while (!atEOF() && !errorCount() && peek() != "}") { in readVersionScriptCommand()
711 return StringSwitch<SortSectionPolicy>(peek()) in peekSortKind()
742 while (!errorCount() && peek() != ")") { in readInputSectionsList()
752 StringRef s = peek(); in readInputSectionsList()
886 StringRef value = peek(); in readSectionDirective()
922 if (readSectionDirective(cmd, peek())) in readSectionAddressType()
932 StringRef tok = peek(); in readSectionAddressType()
974 if (peek() != ":") in readOutputSectionDescription()
1009 if (peek() != "(") in readOutputSectionDescription()
1010 setError("( expected, but got " + peek()); in readOutputSectionDescription()
[all …]
HDScriptLexer.h28 StringRef peek();
/freebsd-13-stable/contrib/serf/
HDdesign-guide.txt70 The bucket reading and peek functions must not block. Each read
75 The peek function does not take a requested length because it is
77 peek function. Thus, peek should operate like SERF_READ_ALL_AVAIL.
128 until the next read or peek occurs.
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
HDCommentParser.cpp72 char peek() const { in peek() function in clang::comments::TextTokenRetokenizer
96 const char C = peek(); in lexTemplate()
148 if (isWhitespace(peek())) in consumeWhitespace()
193 const char C = peek(); in lexType()
259 WordText.push_back(peek()); in lexParHeading()
294 const char C = peek(); in lexWord()
328 const char C = peek(); in lexDelimitedSeq()
337 C = peek(); in lexDelimitedSeq()
/freebsd-13-stable/crypto/openssl/ssl/record/
HDrecord.h213 unsigned char *buf, size_t len, int peek,
230 unsigned char *buf, size_t len, int peek,
/freebsd-13-stable/usr.bin/rpcgen/
HDrpc_parse.c131 peek(&tok); in def_struct()
217 peek(&tok); in def_program()
474 peek(&tok); in get_prog_declaration()
598 peek(&tok); in unsigned_dec()
HDrpc_scan.h133 void peek(token *tokp);
HDrpc_scan.c125 peek(token *tokp) in peek() function
137 peek(tokp); in peekscan()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/Disassembler/
HDX86Disassembler.cpp190 static bool peek(struct InternalInstruction *insn, uint8_t &byte) { in peek() function
239 if ((byte == 0xf2 || byte == 0xf3) && !peek(insn, nextByte)) { in readPrefixes()
266 if (peek(insn, nnextByte)) in readPrefixes()
279 if (peek(insn, nextByte)) in readPrefixes()
317 if (peek(insn, nextByte)) in readPrefixes()
345 if (peek(insn, byte2)) { in readPrefixes()
392 if (peek(insn, byte1)) { in readPrefixes()
423 if (peek(insn, byte1)) { in readPrefixes()
455 if (peek(insn, byte1)) { in readPrefixes()
494 if (peek(insn, byte1)) { in readPrefixes()
[all …]
/freebsd-13-stable/usr.bin/hexdump/
HDhexdump.h103 size_t peek(u_char *, size_t);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
HDRecordSerialization.h107 while (!Reader.empty() && Reader.peek() < LF_PAD0) { in deserialize()
127 while (Reader.peek() != 0) { in deserialize()
/freebsd-13-stable/sys/contrib/device-tree/src/arm/
HDkeystone-k2hk-netcp.dtsi31 reg-names = "peek", "status", "config",
43 reg-names = "peek", "status", "config",

123