Home
last modified time | relevance | path

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

12345678910>>...20

/third_party/PyYAML/lib/yaml/
Dscanner.py169 ch = self.peek()
695 and self.peek(3) in '\0 \t\r\n\x85\u2028\u2029':
703 and self.peek(3) in '\0 \t\r\n\x85\u2028\u2029':
709 return self.peek(1) in '\0 \t\r\n\x85\u2028\u2029'
719 return self.peek(1) in '\0 \t\r\n\x85\u2028\u2029'
729 return self.peek(1) in '\0 \t\r\n\x85\u2028\u2029'
745 ch = self.peek()
747 or (self.peek(1) not in '\0 \t\r\n\x85\u2028\u2029'
772 if self.index == 0 and self.peek() == '\uFEFF':
776 while self.peek() == ' ':
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/MIRParser/
DMILexer.cpp49 char peek(int I = 0) const { return End - Ptr <= I ? 0 : Ptr[I]; } in peek() function in __anon1242fcb80111::Cursor
91 while (isblank(C.peek())) in skipWhitespace()
100 if (C.peek() != ';') in skipComment()
102 while (!isNewlineChar(C.peek()) && !C.isEOF()) in skipComment()
124 char Char = C.peek(); in unescapeQuotedString()
126 if (C.peek(1) == '\\') { in unescapeQuotedString()
132 if (isxdigit(C.peek(1)) && isxdigit(C.peek(2))) { in unescapeQuotedString()
133 Str += hexDigitValue(C.peek(1)) * 16 + hexDigitValue(C.peek(2)); in unescapeQuotedString()
146 assert(C.peek() == '"'); in lexStringConstant()
147 for (C.advance(); C.peek() != '"'; C.advance()) { in lexStringConstant()
[all …]
/third_party/node/test/parallel/
Dtest-timers-linked-list.js44 assert.strictEqual(L.peek(list), null);
48 assert.strictEqual(L.peek(list), A);
52 assert.strictEqual(L.peek(list), A);
56 assert.strictEqual(L.peek(list), A);
60 assert.strictEqual(L.peek(list), A);
67 assert.strictEqual(L.peek(list), C);
72 assert.strictEqual(L.peek(list), C);
76 assert.strictEqual(L.peek(list), D);
80 assert.strictEqual(L.peek(list), D);
84 assert.strictEqual(L.peek(list), null);
[all …]
/third_party/flutter/skia/docs/examples/
DPath_RawIter_peek.cpp12 SkPath::Verb verb, peek = iter.peek(); in draw() local
17 SkDebugf("peek %s %c= verb %s\n", verbStr[peek], peek == verb ? '=' : '!', verbStr[verb]); in draw()
18 peek = iter.peek(); in draw()
20 SkDebugf("peek %s %c= verb %s\n", verbStr[peek], peek == verb ? '=' : '!', verbStr[verb]); in draw()
/third_party/flutter/skia/src/sksl/lex/
DRegexParser.cpp22 char RegexParser::peek() { in peek() function in RegexParser
30 if (this->peek() != c) { in expect()
31 printf("expected '%c' at index %d, but found '%c'", c, (int) fIndex, this->peek()); in expect()
44 switch (this->peek()) { in term()
54 switch (this->peek()) { in quantifiedTerm()
65 switch (this->peek()) { in sequence()
89 char c = this->peek(); in literal()
92 fStack.push(this->escapeSequence(peek())); in literal()
114 if (this->peek() == '-') { in setItem()
116 if (peek() == ']') { in setItem()
[all …]
/third_party/skia/src/sksl/lex/
DRegexParser.cpp22 char RegexParser::peek() { in peek() function in RegexParser
30 if (this->peek() != c) { in expect()
31 printf("expected '%c' at index %d, but found '%c'", c, (int) fIndex, this->peek()); in expect()
44 switch (this->peek()) { in term()
54 switch (this->peek()) { in quantifiedTerm()
65 switch (this->peek()) { in sequence()
90 char c = this->peek(); in literal()
93 fStack.push(this->escapeSequence(peek())); in literal()
115 if (this->peek() == '-') { in setItem()
117 if (peek() == ']') { in setItem()
[all …]
/third_party/skia/tests/
DTDPQueueTest.cpp20 REPORTER_ASSERT(reporter, 0 == heap.peek()); in simple_test()
27 REPORTER_ASSERT(reporter, 0 == heap.peek()); in simple_test()
30 REPORTER_ASSERT(reporter, 1 == heap.peek()); in simple_test()
38 REPORTER_ASSERT(reporter, 0 == heap.peek()); in simple_test()
41 REPORTER_ASSERT(reporter, 1 == heap.peek()); in simple_test()
44 REPORTER_ASSERT(reporter, 2 == heap.peek()); in simple_test()
53 REPORTER_ASSERT(reporter, 0 == heap.peek()); in simple_test()
56 REPORTER_ASSERT(reporter, 1 == heap.peek()); in simple_test()
59 REPORTER_ASSERT(reporter, 2 == heap.peek()); in simple_test()
62 REPORTER_ASSERT(reporter, 3 == heap.peek()); in simple_test()
[all …]
/third_party/flutter/skia/tests/
DTDPQueueTest.cpp20 REPORTER_ASSERT(reporter, 0 == heap.peek()); in simple_test()
27 REPORTER_ASSERT(reporter, 0 == heap.peek()); in simple_test()
30 REPORTER_ASSERT(reporter, 1 == heap.peek()); in simple_test()
38 REPORTER_ASSERT(reporter, 0 == heap.peek()); in simple_test()
41 REPORTER_ASSERT(reporter, 1 == heap.peek()); in simple_test()
44 REPORTER_ASSERT(reporter, 2 == heap.peek()); in simple_test()
53 REPORTER_ASSERT(reporter, 0 == heap.peek()); in simple_test()
56 REPORTER_ASSERT(reporter, 1 == heap.peek()); in simple_test()
59 REPORTER_ASSERT(reporter, 2 == heap.peek()); in simple_test()
62 REPORTER_ASSERT(reporter, 3 == heap.peek()); in simple_test()
[all …]
DReader32Test.cpp14 REPORTER_ASSERT(reporter, (const char*)reader.peek() == in assert_eof()
23 REPORTER_ASSERT(reporter, reader.peek() == reader.base()); in assert_start()
39 REPORTER_ASSERT(reporter, nullptr == reader.peek()); in DEF_TEST()
54 REPORTER_ASSERT(reporter, (const void*)&data[i] == reader.peek()); in DEF_TEST()
68 REPORTER_ASSERT(reporter, (const void*)&data2[i] == reader.peek()); in DEF_TEST()
80 REPORTER_ASSERT(reporter, nullptr == reader.peek()); in DEF_TEST()
/third_party/boost/libs/graph/src/
Dread_graphviz_new.cpp563 token peek() in peek() function
574 boost::throw_exception(parse_error(str, peek())); in error()
582 if (peek().type == token::kw_strict) in parse_graph()
587 switch (peek().type) in parse_graph()
612 switch (peek().type) in parse_graph()
615 name = peek().normalized_value; in parse_graph()
623 if (peek().type == token::left_brace) in parse_graph()
628 if (peek().type == token::right_brace) in parse_graph()
632 if (peek().type == token::eof) in parse_graph()
643 if (peek().type == token::right_brace) in parse_stmt_list()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DPatternStringParser.java220 int peek() { in peek() method in PatternStringParser.ParserState
229 int codePoint = peek(); in next()
250 if (state.peek() == ';') { in consumePattern()
253 if (state.peek() != -1) { in consumePattern()
258 if (state.peek() != -1) { in consumePattern()
279 if (state.peek() != '*') { in consumePadding()
296 switch (state.peek()) { in consumeAffix()
344 if (state.peek() == -1) { in consumeLiteral()
346 } else if (state.peek() == '\'') { in consumeLiteral()
348 while (state.peek() != '\'') { in consumeLiteral()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DPatternStringParser.java226 int peek() { in peek() method in PatternStringParser.ParserState
235 int codePoint = peek(); in next()
256 if (state.peek() == ';') { in consumePattern()
259 if (state.peek() != -1) { in consumePattern()
264 if (state.peek() != -1) { in consumePattern()
285 if (state.peek() != '*') { in consumePadding()
302 switch (state.peek()) { in consumeAffix()
350 if (state.peek() == -1) { in consumeLiteral()
352 } else if (state.peek() == '\'') { in consumeLiteral()
354 while (state.peek() != '\'') { in consumeLiteral()
[all …]
/third_party/ffmpeg/tests/ref/fate/
Daudio_fifo12 peek:
53 peek:
88 peek:
129 peek:
164 peek:
205 peek:
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/lexer/
Dlexer.go48 switch l.peek(0) {
77 if l.peek(n) != '"' {
84 case l.peek(1) == '/':
94 case unicode.IsLetter(l.peek(0)) || l.peek(0) == '_':
96 case unicode.IsNumber(l.peek(0)):
130 func (l *lexer) peek(i int) rune { func
144 if !p(l.peek(i)) {
/third_party/skia/src/sksl/
DSkSLDSLParser.cpp58 fParser->error(fParser->peek(), String("exceeded max parse depth")); in increase()
150 Token DSLParser::peek() { in peek() function in SkSL::DSLParser
254 switch (this->peek().fKind) { in declarations()
263 this->error(this->peek(), String("invalid token")); in declarations()
311 Token lookahead = this->peek(); in declaration()
321 lookahead = this->peek(); in declaration()
356 Token lookahead = this->peek(); in functionDeclarationEnd()
448 int line = this->peek().fLine; in globalVarDeclarationEnd()
487 int line = this->peek().fLine; in localVarDeclarationEnd()
524 Token nextToken = this->peek(); in varDeclarationsOrExpressionStatement()
[all …]
/third_party/boost/libs/regex/build/
DJamfile.v215 local disable-icu = [ MATCH (--disable-icu) : [ modules.peek : ARGV ] ] ;
36 if [ modules.peek : ICU_LINK ]
41 if [ modules.peek : ICU_PATH ]
43 ICU_PATH = [ modules.peek : ICU_PATH ] ;
45 if [ modules.peek : ICU_ICUUC_NAME ]
47 ICU_ICUUC_NAME = [ modules.peek : ICU_ICUUC_NAME ] ;
49 if [ modules.peek : ICU_ICUDT_NAME ]
51 ICU_ICUDT_NAME = [ modules.peek : ICU_ICUDT_NAME ] ;
53 if [ modules.peek : ICU_ICUIN_NAME ]
55 ICU_ICUIN_NAME = [ modules.peek : ICU_ICUIN_NAME ] ;
/third_party/boost/tools/build/src/util/
Dos.jam23 value ?= [ modules.peek .ENVIRON : $(var-name) ] ;
24 value ?= [ modules.peek .ENVIRON : $(var-name:U) ] ;
25 value ?= [ modules.peek .ENVIRON : $(var-name:L) ] ;
31 .name = [ modules.peek : OS ] ;
32 .platform = [ modules.peek : OSPLAT ] ;
33 .version = [ modules.peek : OSVER ] ;
158 if [ modules.peek : NT ]
162 else if [ modules.peek : UNIX ]
164 switch [ modules.peek : JAMUNAME ]
179 if [ modules.peek : VMS ]
[all …]
/third_party/node/deps/npm/node_modules/asn1/lib/ber/
Dreader.js56 Reader.prototype.readByte = function (peek) { argument
62 if (!peek)
69 Reader.prototype.peek = function () { method in Reader
129 var seq = this.peek();
164 var b = this.peek();
224 var b = this.peek();
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/test/
DtestLockFreeQueue.cpp119 ASSERT_EQ(q.peek(result1), false); in TEST_F()
124 ASSERT_EQ(q.peek(result1), true); in TEST_F()
129 q.peek(result1); in TEST_F()
135 q.peek(result1); in TEST_F()
136 q.peek(result2); in TEST_F()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumber_patternstring.cpp121 UChar32 ParsedPatternInfo::ParserState::peek() { in peek() function in ParsedPatternInfo::ParserState
130 int codePoint = peek(); in next()
147 if (state.peek() == u';') { in consumePattern()
150 if (state.peek() != -1) { in consumePattern()
157 if (state.peek() != -1) { in consumePattern()
184 if (state.peek() != u'*') { in consumePadding()
204 switch (state.peek()) { in consumeAffix()
257 if (state.peek() == -1) { in consumeLiteral()
261 } else if (state.peek() == u'\'') { in consumeLiteral()
263 while (state.peek() != u'\'') { in consumeLiteral()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_patternstring.cpp122 UChar32 ParsedPatternInfo::ParserState::peek() { in peek() function in ParsedPatternInfo::ParserState
131 int codePoint = peek(); in next()
148 if (state.peek() == u';') { in consumePattern()
151 if (state.peek() != -1) { in consumePattern()
158 if (state.peek() != -1) { in consumePattern()
185 if (state.peek() != u'*') { in consumePadding()
205 switch (state.peek()) { in consumeAffix()
258 if (state.peek() == -1) { in consumeLiteral()
262 } else if (state.peek() == u'\'') { in consumeLiteral()
264 while (state.peek() != u'\'') { in consumeLiteral()
[all …]
/third_party/icu/icu4c/source/i18n/
Dnumber_patternstring.cpp122 UChar32 ParsedPatternInfo::ParserState::peek() { in peek() function in ParsedPatternInfo::ParserState
131 int codePoint = peek(); in next()
148 if (state.peek() == u';') { in consumePattern()
151 if (state.peek() != -1) { in consumePattern()
158 if (state.peek() != -1) { in consumePattern()
185 if (state.peek() != u'*') { in consumePadding()
205 switch (state.peek()) { in consumeAffix()
258 if (state.peek() == -1) { in consumeLiteral()
262 } else if (state.peek() == u'\'') { in consumeLiteral()
264 while (state.peek() != u'\'') { in consumeLiteral()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dnumber_patternstring.cpp126 UChar32 ParsedPatternInfo::ParserState::peek() { in peek() function in ParsedPatternInfo::ParserState
147 int32_t codePoint = peek(); in next()
164 if (state.peek() == u';') { in consumePattern()
167 if (state.peek() != -1) { in consumePattern()
174 if (state.peek() != -1) { in consumePattern()
201 if (state.peek() != u'*') { in consumePadding()
221 switch (state.peek()) { in consumeAffix()
274 if (state.peek() == -1) { in consumeLiteral()
278 } else if (state.peek() == u'\'') { in consumeLiteral()
280 while (state.peek() != u'\'') { in consumeLiteral()
[all …]
/third_party/boost/tools/boost_install/
Dboost-install-dirs.jam70 local layout = [ modules.peek boostcpp : layout ] ;
74 local BOOST_VERSION_TAG = [ modules.peek boostcpp : BOOST_VERSION_TAG ] ;
85 return [ path.make [ modules.peek boostcpp : BOOST_STAGE_LOCATE ] ] ;
92 local ld = [ MATCH --stage-libdir=(.*) : [ modules.peek : ARGV ] ] ;
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl.cc192 : MultiTokenSource(parser, parser->peek().source().Begin()) {} in MultiTokenSource()
311 Token ParserImpl::peek(size_t idx) { in peek() function in tint::reader::wgsl::ParserImpl
318 return peek(idx).Is(tok); in peek_is()
334 auto p = peek(); in translation_unit()
445 auto t = peek(); in expect_global_decl()
891 return add_error(peek().source(), "invalid format", use); in expect_image_storage_type()
914 auto t = peek(); in expect_variable_ident_decl()
994 return add_error(peek(), "invalid type alias"); in type_alias()
1044 auto t = peek(); in type_decl()
1099 return add_error(peek().source(), "invalid type", use); in expect_type()
[all …]

12345678910>>...20