Home
last modified time | relevance | path

Searched refs:peekToken (Results 1 – 15 of 15) sorted by relevance

/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/preprocessor/
DPpTokens.cpp122 if (peekToken('#')) { in getToken()
145 while (peekToken(' ')) in peekTokenizedPasting()
147 if (peekToken(PpAtomPaste)) { in peekTokenizedPasting()
164 if (!peekToken(' ')) { in peekTokenizedPasting()
182 while (peekToken(' ')) in peekUntokenizedPasting()
187 if (peekToken('#')) { in peekUntokenizedPasting()
189 if (peekToken('#')) in peekUntokenizedPasting()
DPpContext.h282 bool peekToken(int atom) { return !atEnd() && stream[currentPos].isAtom(atom); } in peekToken() function
/external/deqp-deps/glslang/glslang/MachineIndependent/preprocessor/
DPpTokens.cpp122 if (peekToken('#')) { in getToken()
145 while (peekToken(' ')) in peekTokenizedPasting()
147 if (peekToken(PpAtomPaste)) { in peekTokenizedPasting()
164 if (!peekToken(' ')) { in peekTokenizedPasting()
182 while (peekToken(' ')) in peekUntokenizedPasting()
187 if (peekToken('#')) { in peekUntokenizedPasting()
189 if (peekToken('#')) in peekUntokenizedPasting()
DPpContext.h282 bool peekToken(int atom) { return !atEnd() && stream[currentPos].isAtom(atom); } in peekToken() function
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/parser/
DParserImpl.java196 Token token = scanner.peekToken(); in produce()
220 Token token = scanner.peekToken(); in produce()
225 + scanner.peekToken().getTokenId(), scanner.peekToken().getStartMark()); in produce()
252 Token token = scanner.peekToken(); in produce()
273 event = processEmptyScalar(scanner.peekToken().getStartMark()); in produce()
420 startMark = scanner.peekToken().getStartMark(); in parseNode()
426 endMark = scanner.peekToken().getEndMark(); in parseNode()
446 endMark = scanner.peekToken().getEndMark(); in parseNode()
451 endMark = scanner.peekToken().getEndMark(); in parseNode()
456 endMark = scanner.peekToken().getStartMark(); in parseNode()
[all …]
/external/owasp/sanitizer/src/main/org/owasp/html/
DHtmlLexer.java172 (next= peekToken(0)) != null && next.type == token.type; in collapseSubsequent()
188 for (HtmlToken t; (t = peekToken(nToMerge)) != null;) { in collapseAttributeName()
190 HtmlToken tok = peekToken(nToMerge + 1); in collapseAttributeName()
196 HtmlToken eq = peekToken(nToMerge + 2); in collapseAttributeName()
198 eq = peekToken(nToMerge + 3); in collapseAttributeName()
233 private HtmlToken peekToken(int i) { in peekToken() method in HtmlLexer
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/
DOpsBuilder.java268 public final Optional<String> peekToken() { in peekToken() method in OpsBuilder
269 return peekToken(0); in peekToken()
273 public final Optional<String> peekToken(int skip) { in peekToken() method in OpsBuilder
301 if (token.equals(peekToken().orElse(null))) { // Found the input token. Output it. in token()
318 peekToken().orElse(null), token))); in token()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/scanner/
DScanner.java53 Token peekToken(); in peekToken() method
DScannerImpl.java247 public Token peekToken() { in peekToken() method in ScannerImpl
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DJavaInputAstVisitor.java387 if (builder.peekToken().equals(Optional.of(";"))) { in dropEmptyDeclarations()
388 while (builder.peekToken().equals(Optional.of(";"))) { in dropEmptyDeclarations()
482 if (builder.peekToken().equals(Optional.of(","))) { in visitArrayInitializer()
848 if (builder.peekToken().equals(Optional.of(";"))) { in visitEnumDeclaration()
882 if (builder.peekToken().orElse("").equals(",")) { in visitEnumDeclaration()
888 if (builder.peekToken().equals(Optional.of(";"))) { in visitEnumDeclaration()
1201 boolean parens = builder.peekToken().equals(Optional.of("("));
1282 } else if (builder.peekToken().equals(Optional.of("("))) {
1417 name = builder.peekToken().get();
1899 if (builder.peekToken().equals(Optional.of(";"))) {
[all …]
/external/snakeyaml/src/test/java/org/pyyaml/
DPyCanonicalTest.java53 while (scanner.peekToken() != null) { in canonicalScan()
DCanonicalScanner.java82 public Token peekToken() { in peekToken() method in CanonicalScanner
/external/icu/icu4c/source/tools/genrb/
Dparse.cpp217 peekToken(ParseState* state, uint32_t lookaheadCount, struct UString **tokenValue, uint32_t *linenu… in peekToken() function
1118 token = peekToken(state, 0, &tokenValue, &line, &comment, status); in parseCollationElements()
1137 token = peekToken(state, 1, &tokenValue, &line, &comment, status); in parseCollationElements()
1311 token = peekToken(state, 0, &tokenValue, NULL, &memberComments, status); in parseArray()
1351 token = peekToken(state, 0, NULL, NULL, NULL, status); in parseArray()
1397 token = peekToken(state, 0, NULL, NULL,&memberComments, status); in parseIntVector()
1427 token = peekToken(state, 0, NULL, NULL, NULL, status); in parseIntVector()
1909 token = peekToken(state, 0, NULL, &line, NULL,status); in parseResource()
1922 token = peekToken(state, 1, NULL, &line, NULL, status); in parseResource()
/external/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp1444 AsmToken peekToken();
2262 return isRegister(getToken(), peekToken()); in isRegister()
2572 const auto& NextTok = peekToken(); in parseImm()
2761 if (isToken(AsmToken::Minus) && peekToken().is(AsmToken::Minus)) { in parseRegOrImmWithFPInputMods()
5233 !peekToken().is(AsmToken::Comma)) { in parseDfmtNfmt()
5440 if (isId("format") && peekToken().is(AsmToken::Colon)) { in parseFORMAT()
5652 if (isToken(AsmToken::Identifier) && peekToken().is(AsmToken::LParen)) { in parseSWaitCntOps()
6057 if (isId(Id) && peekToken().is(Kind)) { in trySkipId()
6151 AMDGPUAsmParser::peekToken() { in peekToken() function in AMDGPUAsmParser
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp1350 AsmToken peekToken();
2109 return isRegister(getToken(), peekToken()); in isRegister()
2345 const auto& NextTok = peekToken(); in parseImm()
2534 if (isToken(AsmToken::Minus) && peekToken().is(AsmToken::Minus)) { in parseRegOrImmWithFPInputMods()
4971 if (isToken(AsmToken::Identifier) && peekToken().is(AsmToken::LParen)) { in parseSWaitCntOps()
5353 if (isId(Id) && peekToken().is(Kind)) { in trySkipId()
5420 AMDGPUAsmParser::peekToken() { in peekToken() function in AMDGPUAsmParser