| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/MIRParser/ |
| D | MILexer.cpp | 44 char peek(int I = 0) const { return End - Ptr <= I ? 0 : Ptr[I]; } in peek() function in __anon03e109aa0111::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 …]
|
| /openbsd/src/usr.bin/awk/ |
| D | lex.c | 105 static int peek(void) in peek() function 233 if (peek() == '\n') { in yylex() 236 } else if (peek() == '\r') { in yylex() 244 if (peek() == '&') { in yylex() 249 if (peek() == '|') { in yylex() 254 if (peek() == '=') { in yylex() 256 } else if (peek() == '~') { in yylex() 264 if (peek() == '=') { in yylex() 270 if (peek() == '=') { in yylex() 276 if (peek() == '=') { in yylex() [all …]
|
| /openbsd/src/gnu/usr.bin/perl/dist/Thread-Queue/t/ |
| D | 03_peek.t | 32 is($q->peek(3), 4, 'Peek at queue'); 33 is($q->peek(-3), 9, 'Negative peek'); 35 my $nada = $q->peek(20); 36 ok(! defined($nada), 'Big peek'); 37 $nada = $q->peek(-20); 38 ok(! defined($nada), 'Big negative peek'); 40 my $ary = $q->peek(-1);
|
| D | 04_errs.t | 33 eval { $q->peek(undef); }; 35 eval { $q->peek(3.3); }; 37 eval { $q->peek('foo'); };
|
| /openbsd/src/lib/libcurses/ |
| D | fifo_defs.h | 49 #define peek sp->_fifopeek macro 80 (peek >= FIFO_SIZE-1) \ 81 ? peek = 0 \ 82 : peek++; \ 85 #define cooked_key_in_fifo() ((head >= 0) && (peek != head)) 86 #define raw_key_in_fifo() ((head >= 0) && (peek != tail))
|
| /openbsd/src/gnu/lib/libiberty/src/ |
| D | cp-demangle.c | 984 char peek = d_peek_char (di); in d_encoding() local 986 if (peek == 'G' || peek == 'T') in d_encoding() 1023 peek = d_peek_char (di); in d_encoding() 1024 if (peek == '\0' || peek == 'E') in d_encoding() 1046 char peek = d_peek_char (di); in d_name() local 1049 switch (peek) in d_name() 1161 char peek; in d_prefix() local 1165 peek = d_peek_char (di); in d_prefix() 1166 if (peek == '\0') in d_prefix() 1174 if (IS_DIGIT (peek) in d_prefix() [all …]
|
| /openbsd/src/gnu/usr.bin/perl/dist/threads-shared/t/ |
| D | object.t | 68 sub peek 105 ok($jar->peek()->{'type'} eq $C1, 'Still have cookie'); 110 ok($jar->peek()->{'type'} eq $C1, 'Still have cookie in thread'); 114 ok($jar->peek()->{'type'} eq $C2, 'Added cookie in thread'); 118 ok($jar->peek()->{'type'} eq $C2, 'Still have added cookie after thread'); 122 ok($jar->peek()->{'type'} eq $C1, 'Cookie still in jar'); 130 ok($jar->peek()->{'type'} eq $C3, 'New cookie in jar'); 137 ok($jar->peek()->{'type'} eq $C3, 'Still have cookie in jar'); 141 ok($jar->peek()->{'type'} eq $C3, 'Still have cookie in jar'); 143 ok($jar->peek()->{'type'} eq $C3, 'Still have cookie in jar');
|
| /openbsd/src/gnu/llvm/clang/lib/AST/Interp/ |
| D | InterpStack.h | 46 auto *Ptr = &peek<T>(); in pop() 59 auto *Ptr = &peek<T>(); in discard() 65 template <typename T> T &peek() const { in peek() function 66 return *reinterpret_cast<T *>(peek(aligned_size<T>())); in peek() 70 void *top() const { return Chunk ? peek(0) : nullptr; } in top() 92 void *peek(size_t Size) const;
|
| /openbsd/src/lib/libcurses/base/ |
| D | lib_getch.c | 212 int ch = (peek >= 0) ? sp->_fifo[peek] : ERR; in fifo_peek() 213 TR(TRACE_IEVENT, ("peeking at %d", peek)); in fifo_peek() 226 if (peek == head) { in fifo_pull() 228 peek = head; in fifo_pull() 358 head = peek = tail; in fifo_push() 375 tail = peek = 0; in fifo_clear() 736 peek = head; /* the keys stay uninterpreted */ in kgetch() 741 peek = head; /* the keys stay uninterpreted */ in kgetch() 753 peek = head; in kgetch() 772 if (peek == tail) { in kgetch() [all …]
|
| D | lib_ungetch.c | 57 T(("head = %d, tail = %d, peek = %d", head, tail, peek)); in NCURSES_EXPORT() 74 peek = tail; /* no raw keys */ in safe_ungetch()
|
| /openbsd/src/gnu/lib/libstdc++/libstdc++/testsuite/27_io/ |
| D | istream_unformatted.cc | 63 VERIFY( is_04.peek() == ':' ); in test01() 80 VERIFY( is_04.peek() == ' ' ); in test01() 87 VERIFY( is_04.peek() == ' ' ); in test01() 94 VERIFY( is_04.peek() == 'j' ); in test01() 98 VERIFY( is_04.peek() == 'j' ); in test01() 105 VERIFY( is_04.peek() == traits_type::eof() ); in test01() 118 VERIFY( is_04.peek() == '|' ); in test01() 127 VERIFY( is_04.peek() == 'e' ); in test01() 478 while (infile.peek() == '\n') in test07() 549 if (istr.peek() != 'b') in test10()
|
| D | istream_extractor_char.cc | 66 std::istream::int_type int1 = is_02.peek(); // should be ' ' in test01() 72 int1 = is_02.peek(); // should be ' ' in test01() 89 int1 = is_02.peek(); // should be ' ' in test01() 103 int1 = is_02.peek(); // should be ' ' in test01()
|
| D | istream_extractor_other.cc | 124 VERIFY( is_04.peek() == ctraits_type::eof() ); // as failed in test01() 137 VERIFY( is_04.peek() == ctraits_type::eof() ); in test01()
|
| /openbsd/src/gnu/llvm/lld/ELF/ |
| D | ScriptParser.cpp | 218 while (!atEOF() && !errorCount() && peek() != "}") { in readVersionScriptCommand() 662 return StringSwitch<SortSectionPolicy>(peek()) in peekSortKind() 692 while (!errorCount() && peek() != ")") { in readInputSectionsList() 701 while (!errorCount() && peek() != ")" && peek() != "EXCLUDE_FILE" && in readInputSectionsList() 831 StringRef value = peek(); in readSectionDirective() 866 bool isDirective = readSectionDirective(cmd, peek(), peek2()); in readSectionAddressType() 872 if (peek() == "(" && !readSectionDirective(cmd, "(", peek2())) in readSectionAddressType() 910 if (peek() != ":") in readOutputSectionDescription() 945 if (peek() != "(") in readOutputSectionDescription() 946 setError("( expected, but got " + peek()); in readOutputSectionDescription() [all …]
|
| D | ScriptLexer.h | 28 StringRef peek();
|
| /openbsd/src/usr.sbin/btrace/ |
| D | bt_parse.y | 790 peek(void) in peek() function 848 if ((c == '/' && peek() == '/') || in skip() 850 peek() == '!')) { in skip() 861 if (c == '/' && peek() == '*') { in skip() 892 if (peek() == '=') { in yylex() 898 if (peek() == '=') { in yylex() 904 if (peek() == '=') { in yylex() 910 if (peek() == '&') { in yylex() 916 if (peek() == '|') { in yylex() 922 while (isspace(peek())) { in yylex() [all …]
|
| /openbsd/src/gnu/usr.bin/perl/cpan/Test-Simple/t/Test2/modules/API/ |
| D | Stack.t | 11 ok(!$stack->peek, "Nothing to peek at"); 53 is($stack->peek, $hub, "got the hub");
|
| /openbsd/src/lib/libssl/ |
| D | tls_content.c | 138 int peek) in tls_content_read_internal() argument 146 if (!peek) { in tls_content_read_internal()
|
| /openbsd/src/gnu/lib/libreadline/ |
| D | histexpand.c | 1383 int peek = string[i + 1]; local 1385 if (peek == string[i] && peek != '$') 1387 if (peek == '<' && string[i + 2] == '-') 1394 if ((peek == '&' && (string[i] == '>' || string[i] == '<')) || 1395 ((peek == '>') && (string[i] == '&')) || 1396 ((peek == '(') && (string[i] == '$')))
|
| /openbsd/src/usr.bin/rpcgen/ |
| D | rpc_parse.c | 130 peek(&tok); 216 peek(&tok); 479 peek(&tok); 605 peek(&tok);
|
| D | rpc_scan.h | 105 void peek(token *);
|
| /openbsd/src/gnu/llvm/clang/lib/AST/ |
| D | CommentParser.cpp | 72 char peek() const { in peek() function in clang::comments::TextTokenRetokenizer 123 if (isWhitespace(peek())) in consumeWhitespace() 164 const char C = peek(); in lexWord() 198 const char C = peek(); in lexDelimitedSeq() 207 C = peek(); in lexDelimitedSeq()
|
| /openbsd/src/gnu/usr.bin/gcc/gcc/cp/ |
| D | spew.c | 744 int peek; in yylex() local 747 peek = nth_token (1)->yychar; in yylex() 748 yychr = frob_id (yychr, peek, &nth_token (0)->yylval.ttype); in yylex() 863 frob_id (yyc, peek, idp) in frob_id() argument 865 int peek; 871 if (peek == SCOPE) 877 else if (peek == '<')
|
| /openbsd/src/gnu/lib/libstdc++/libstdc++/testsuite/27_io/istream_extractor_arith/ |
| D | 02.cc | 57 char c = is.peek(); in test02()
|
| /openbsd/src/gnu/usr.bin/perl/cpan/Test-Simple/lib/Test2/API/ |
| D | Stack.pm | 51 sub peek { subroutine
|