Home
last modified time | relevance | path

Searched refs:getToken (Results 1 – 25 of 259) sorted by relevance

1234567891011

/external/llvm-project/mlir/lib/Parser/
DLocationParser.cpp42 if (getToken().isNot(Token::bare_identifier) || in parseCallSiteLocation()
43 getToken().getSpelling() != "at") in parseCallSiteLocation()
97 auto str = getToken().getStringValue(); in parseNameOrFileLineColLocation()
103 if (getToken().isNot(Token::integer)) in parseNameOrFileLineColLocation()
105 auto line = getToken().getUnsignedIntegerValue(); in parseNameOrFileLineColLocation()
115 if (getToken().isNot(Token::integer)) in parseNameOrFileLineColLocation()
117 auto column = getToken().getUnsignedIntegerValue(); in parseNameOrFileLineColLocation()
130 auto childSourceLoc = getToken().getLoc(); in parseNameOrFileLineColLocation()
156 if (getToken().is(Token::string)) in parseLocationInstance()
160 if (!getToken().is(Token::bare_identifier)) in parseLocationInstance()
[all …]
DTypeParser.cpp23 switch (getToken().getKind()) { in parseOptionalType()
51 if (getToken().is(Token::l_paren)) in parseType()
62 if (getToken().is(Token::l_paren)) in parseFunctionResultTypes()
97 if (getToken().is(Token::r_paren)) in parseTypeListParens()
117 llvm::SMLoc elementTypeLoc = getToken().getLoc(); in parseComplexType()
134 assert(getToken().is(Token::l_paren)); in parseFunctionType()
155 auto maybeOffset = getToken().getUnsignedIntegerValue(); in parseStridedLayout()
156 bool question = getToken().is(Token::question); in parseStridedLayout()
214 auto typeLoc = getToken().getLoc(); in parseMemRefType()
231 if (getToken().is(Token::integer)) { in parseMemRefType()
[all …]
DAttributeParser.cpp44 switch (getToken().getKind()) { in parseAttribute()
113 if (getToken().is(Token::integer)) in parseAttribute()
115 if (getToken().is(Token::floatliteral)) in parseAttribute()
144 auto val = getToken().getStringValue(); in parseAttribute()
156 std::string nameStr = getToken().getSymbolReference(); in parseAttribute()
161 while (getToken().is(Token::colon)) { in parseAttribute()
163 const char *curPointer = getToken().getLoc().getPointer(); in parseAttribute()
171 auto curLoc = getToken().getLoc(); in parseAttribute()
172 if (getToken().isNot(Token::at_identifier)) { in parseAttribute()
177 std::string nameStr = getToken().getSymbolReference(); in parseAttribute()
[all …]
DAffineParser.cpp161 switch (getToken().getKind()) { in consumeIfLowPrecOp()
176 switch (getToken().getKind()) { in consumeIfHighPrecOp()
211 auto opLoc = getToken().getLoc(); in parseAffineHighPrecOpExpr()
237 if (getToken().is(Token::r_paren)) in parseParentheticalExpr()
271 if (getToken().isNot(Token::bare_identifier)) in parseBareIdExpr()
289 if (getToken().isNot(Token::percent_identifier)) in parseSSAIdExpr()
325 auto val = getToken().getUInt64IntegerValue(); in parseIntegerExpr()
343 switch (getToken().getKind()) { in parseAffineOperandExpr()
411 auto opLoc = getToken().getLoc(); in parseAffineLowPrecOpExpr()
460 if (getToken().isNot(Token::bare_identifier)) in parseIdentifierDefinition()
[all …]
DParser.cpp63 if (getToken().is(rightToken)) { in parseCommaSeparatedListUntil()
83 if (getToken().is(Token::error)) in emitError()
463 if (getToken().isNot(Token::percent_identifier)) in parseOptionalSSAUseList()
481 result.loc = getToken().getLoc(); in parseSSAUse()
486 if (getToken().is(Token::hash_identifier)) { in parseSSAUse()
487 if (auto value = getToken().getHashIdentifierNumber()) in parseSSAUse()
633 auto loc = getToken().getLoc(); in parseOperation()
636 if (getToken().is(Token::percent_identifier)) { in parseOperation()
640 if (!getToken().is(Token::percent_identifier)) in parseOperation()
643 Token nameTok = getToken(); in parseOperation()
[all …]
DDialectSymbolParser.cpp33 : fullSpec(fullSpec), nameLoc(parser.getToken().getLoc()), in CustomDialectAsmParser()
49 return parser.getToken().getLoc(); in getCurrentLocation()
67 Token curTok = parser.getToken(); in parseFloat()
85 Token curToken = parser.getToken(); in parseOptionalInteger()
90 Token curTok = parser.getToken(); in parseOptionalInteger()
242 if (!parser.getToken().is(Token::string)) in parseOptionalString()
253 return parser.getToken().is(Token::bare_identifier) || in isCurrentTokenAKeyword()
254 parser.getToken().isKeyword(); in isCurrentTokenAKeyword()
409 auto loc = p.getToken().getLoc(); in parseExtendedSymbol()
414 if (p.getToken().isNot(Token::less) && !identifier.contains('.')) { in parseExtendedSymbol()
[all …]
/external/snakeyaml/src/test/java/org/pyyaml/
DCanonicalParser.java53 scanner.getToken(Token.ID.StreamStart); in parseStream()
62 scanner.getToken(Token.ID.StreamEnd); in parseStream()
69 scanner.getToken(Token.ID.Directive); in parseDocument()
71 scanner.getToken(Token.ID.DocumentStart); in parseDocument()
80 AliasToken token = (AliasToken) scanner.getToken(); in parseNode()
85 AnchorToken token = (AnchorToken) scanner.getToken(); in parseNode()
90 TagToken token = (TagToken) scanner.getToken(); in parseNode()
94 ScalarToken token = (ScalarToken) scanner.getToken(); in parseNode()
112 scanner.getToken(Token.ID.FlowSequenceStart); in parseSequence()
116 scanner.getToken(Token.ID.FlowEntry); in parseSequence()
[all …]
/external/robolectric-shadows/shadows/playservices/src/main/java/org/robolectric/shadows/gms/
DShadowGoogleAuthUtil.java65 public static synchronized String getToken(Context context, Account account, String scope) in getToken() method in ShadowGoogleAuthUtil
67 return googleAuthUtilImpl.getToken(context, account, scope); in getToken()
71 public static synchronized String getToken(Context context, Account account, String scope, in getToken() method in ShadowGoogleAuthUtil
73 return googleAuthUtilImpl.getToken(context, account, scope, extras); in getToken()
77 public static synchronized String getToken(Context context, String accountName, String scope) in getToken() method in ShadowGoogleAuthUtil
79 return googleAuthUtilImpl.getToken(context, accountName, scope); in getToken()
83 public static synchronized String getToken(Context context, String accountName, String scope, in getToken() method in ShadowGoogleAuthUtil
85 return googleAuthUtilImpl.getToken(context, accountName, scope, extras); in getToken()
156 public String getToken(Context context, Account account, String scope) in getToken() method in ShadowGoogleAuthUtil.GoogleAuthUtilImpl
161 public String getToken(Context context, Account account, String scope, Bundle extras) in getToken() method in ShadowGoogleAuthUtil.GoogleAuthUtilImpl
[all …]
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/parser/
DParserImpl.java183 StreamStartToken token = (StreamStartToken) scanner.getToken(); in produce()
215 scanner.getToken(); in produce()
227 token = scanner.getToken(); in produce()
235 StreamEndToken token = (StreamEndToken) scanner.getToken(); in produce()
257 token = scanner.getToken(); in produce()
289 DirectiveToken token = (DirectiveToken) scanner.getToken(); in processDirectives()
376 AliasToken token = (AliasToken) scanner.getToken(); in parseNode()
383 AnchorToken token = (AnchorToken) scanner.getToken(); in parseNode()
388 TagToken tagToken = (TagToken) scanner.getToken(); in parseNode()
394 TagToken tagToken = (TagToken) scanner.getToken(); in parseNode()
[all …]
/external/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/
DBreakpadRecords.cpp82 std::tie(Token, Str) = getToken(Str); in consume()
179 std::tie(Str, Line) = getToken(Line); in parse()
203 std::tie(Str, Line) = getToken(Line); in parse()
226 std::tie(Str, Line) = getToken(Line); in parse()
255 std::tie(Str, Line) = getToken(Line); in parsePublicOrFunc()
259 std::tie(Str, Line) = getToken(Line); in parsePublicOrFunc()
264 std::tie(Str, Line) = getToken(Line); in parsePublicOrFunc()
269 std::tie(Str, Line) = getToken(Line); in parsePublicOrFunc()
305 std::tie(Str, Line) = getToken(Line); in parse()
310 std::tie(Str, Line) = getToken(Line); in parse()
[all …]
/external/deqp/framework/opengl/
DgluVarTypeUtil.cpp93 TCU_CHECK(tokenizer.getToken() == VarTokenizer::TOKEN_IDENTIFIER); in parseVariableName()
101 if (tokenizer.getToken() == VarTokenizer::TOKEN_IDENTIFIER) in parseTypePath()
105 while (tokenizer.getToken() != VarTokenizer::TOKEN_END) in parseTypePath()
109 if (tokenizer.getToken() == VarTokenizer::TOKEN_PERIOD) in parseTypePath()
112 TCU_CHECK(tokenizer.getToken() == VarTokenizer::TOKEN_IDENTIFIER); in parseTypePath()
128 else if (tokenizer.getToken() == VarTokenizer::TOKEN_LEFT_BRACKET) in parseTypePath()
131 TCU_CHECK(tokenizer.getToken() == VarTokenizer::TOKEN_NUMBER); in parseTypePath()
154 TCU_CHECK(tokenizer.getToken() == VarTokenizer::TOKEN_RIGHT_BRACKET); in parseTypePath()
/external/llvm-project/llvm/lib/Target/BPF/AsmParser/
DBPFAsmParser.cpp158 StringRef getToken() const { in getToken() function
173 OS << "'" << getToken() << "'"; in print()
273 && Op1.getToken() == "=" in PreMatchCheck()
274 && (Op2.getToken() == "-" || Op2.getToken() == "be16" in PreMatchCheck()
275 || Op2.getToken() == "be32" || Op2.getToken() == "be64" in PreMatchCheck()
276 || Op2.getToken() == "le16" || Op2.getToken() == "le32" in PreMatchCheck()
277 || Op2.getToken() == "le64") in PreMatchCheck()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/AsmParser/
DBPFAsmParser.cpp156 StringRef getToken() const { in getToken() function
171 OS << "'" << getToken() << "'"; in print()
271 && Op1.getToken() == "=" in PreMatchCheck()
272 && (Op2.getToken() == "-" || Op2.getToken() == "be16" in PreMatchCheck()
273 || Op2.getToken() == "be32" || Op2.getToken() == "be64" in PreMatchCheck()
274 || Op2.getToken() == "le16" || Op2.getToken() == "le32" in PreMatchCheck()
275 || Op2.getToken() == "le64") in PreMatchCheck()
/external/nist-sip/java/gov/nist/javax/sip/header/ims/
DPMediaAuthorization.java89 public String getToken() in getToken() method in PMediaAuthorization
130 return this.getToken().equals(o.getToken()); in equals()
/external/llvm/lib/Support/
DStringExtras.cpp37 std::pair<StringRef, StringRef> llvm::getToken(StringRef Source, in getToken() function in llvm
53 std::pair<StringRef, StringRef> S = getToken(Source, Delimiters); in SplitString()
56 S = getToken(S.second, Delimiters); in SplitString()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DStringExtras.cpp37 std::pair<StringRef, StringRef> llvm::getToken(StringRef Source, in getToken() function in llvm
53 std::pair<StringRef, StringRef> S = getToken(Source, Delimiters); in SplitString()
56 S = getToken(S.second, Delimiters); in SplitString()
/external/swiftshader/src/OpenGL/compiler/preprocessor/
DMacroExpander.cpp124 getToken(token); in lex()
137 getToken(token); in lex()
141 getToken(token); in lex()
154 getToken(token); in lex()
200 void MacroExpander::getToken(Token *token) in getToken() function in pp::MacroExpander
244 getToken(&token); in isNextTokenLeftParen()
361 getToken(&token); in collectMacroArgs()
374 getToken(&token); in collectMacroArgs()
/external/angle/src/compiler/preprocessor/
DMacroExpander.cpp114 getToken(token); in lex()
131 getToken(token); in lex()
135 getToken(token); in lex()
148 getToken(token); in lex()
194 void MacroExpander::getToken(Token *token) in getToken() function in angle::pp::MacroExpander
238 getToken(&token); in isNextTokenLeftParen()
355 getToken(&token); in collectMacroArgs()
368 getToken(&token); in collectMacroArgs()
/external/antlr/runtime/ObjC/Framework/test/runtime/TestRewriteRuleTokenStream/
DTestRewriteRuleTokenStream.m105 …STAssertEqualObjects([tree getToken], token1, @"return token from stream should be token1, but isn…
118 STAssertEqualObjects([tree1 getToken], [tree2 getToken],
133 STAssertEqualObjects([tree1 getToken], token1,
139 STAssertEqualObjects([tree2 getToken], token2,
145 STAssertEqualObjects([tree3 getToken], token3,
164 STAssertEqualObjects([tree1 getToken], token1,
170 STAssertEqualObjects([tree2 getToken], token2,
/external/adhd/scripts/audio_tuning/frontend/
Dgoogle_drive_picker.js37 if (gapi.auth.getToken()) {
57 var accessToken = gapi.auth.getToken().access_token;
79 var accessToken = gapi.auth.getToken().access_token;
/external/robolectric-shadows/shadows/playservices/src/test/java/org/robolectric/shadows/gms/
DShadowGoogleAuthUtilTest.java84 assertNotNull(GoogleAuthUtil.getToken(RuntimeEnvironment.application, "name", "scope")); in getToken_defaultNotNull()
85 assertNotNull(GoogleAuthUtil.getToken(RuntimeEnvironment.application, "name", "scope", in getToken_defaultNotNull()
87 assertNotNull(GoogleAuthUtil.getToken(RuntimeEnvironment.application, new Account("name", in getToken_defaultNotNull()
89 assertNotNull(GoogleAuthUtil.getToken(RuntimeEnvironment.application, new Account("name", in getToken_defaultNotNull()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DStringExtras.cpp37 std::pair<StringRef, StringRef> llvm::getToken(StringRef Source, in getToken() function in llvm
53 std::pair<StringRef, StringRef> S = getToken(Source, Delimiters); in SplitString()
56 S = getToken(S.second, Delimiters); in SplitString()
/external/antlr/tool/src/main/java/org/antlr/tool/
DGrammarSanity.java202 argsAST.getToken(), in checkRuleReference()
213 refAST.getToken(), in checkRuleReference()
225 refAST.getToken(), in checkRuleReference()
237 argsAST.getToken(), in checkRuleReference()
248 refAST.getToken(), in checkRuleReference()
/external/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/
DDefineGrammarItemsWalker.g133 AttributeScope scope = grammar.defineGlobalScope($name.text,$attrs.getToken());
226 grammar.defineLexerRuleFoundInParser($id.getToken(), $start);
231 grammar.defineRule($id.getToken(), $modifier.mod, opts, $start, $args, numAlts);
235 r.parameterScope = grammar.createParameterScope(name,$args.getToken());
240 r.returnScope = grammar.createReturnScope(name,$ret.getToken());
271 $mod = $start.getToken().getText();
296 r.ruleScope = grammar.createRuleScope(r.name,$attrs.getToken());
308 $uses.getToken(),
402 grammar.defineRuleRefLabel(currentRuleName,$id.getToken(),e);
406 grammar.defineWildcardTreeLabel(currentRuleName,$id.getToken(),e);
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
DSyntaxTreeBuilder.java118 throw new JSilverBadSyntaxException(exception.getMessage(), exception.getToken().getText(), in parse()
119 templateName, exception.getToken().getLine(), exception.getToken().getPos(), exception); in parse()

1234567891011