Home
last modified time | relevance | path

Searched refs:ParseToken (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/
DLLParser.cpp352 if (ParseToken(lltok::kw_asm, "expected 'module asm'") || in ParseModuleAsm()
369 if (ParseToken(lltok::equal, "expected '=' after target triple") || in ParseTargetDefinition()
376 if (ParseToken(lltok::equal, "expected '=' after target datalayout") || in ParseTargetDefinition()
390 if (ParseToken(lltok::equal, "expected '=' after source_filename") || in ParseSourceFileName()
405 if (ParseToken(lltok::equal, "expected '=' after deplibs") || in ParseDepLibs()
406 ParseToken(lltok::lsquare, "expected '=' after deplibs")) in ParseDepLibs()
417 return ParseToken(lltok::rsquare, "expected ']' at end of list"); in ParseDepLibs()
427 if (ParseToken(lltok::equal, "expected '=' after name") || in ParseUnnamedType()
428 ParseToken(lltok::kw_type, "expected 'type' after '='")) in ParseUnnamedType()
453 if (ParseToken(lltok::equal, "expected '=' after name") || in ParseNamedType()
[all …]
DLLParser.h213 bool ParseToken(lltok::Kind T, const char *ErrMsg);
/external/swiftshader/third_party/LLVM/lib/AsmParser/
DLLParser.cpp239 if (ParseToken(lltok::kw_asm, "expected 'module asm'") || in ParseModuleAsm()
256 if (ParseToken(lltok::equal, "expected '=' after target triple") || in ParseTargetDefinition()
263 if (ParseToken(lltok::equal, "expected '=' after target datalayout") || in ParseTargetDefinition()
277 if (ParseToken(lltok::equal, "expected '=' after deplibs") || in ParseDepLibs()
278 ParseToken(lltok::lsquare, "expected '=' after deplibs")) in ParseDepLibs()
293 return ParseToken(lltok::rsquare, "expected ']' at end of list"); in ParseDepLibs()
303 if (ParseToken(lltok::equal, "expected '=' after name") || in ParseUnnamedType()
304 ParseToken(lltok::kw_type, "expected 'type' after '='")) in ParseUnnamedType()
333 if (ParseToken(lltok::equal, "expected '=' after name") || in ParseNamedType()
334 ParseToken(lltok::kw_type, "expected 'type' after name")) in ParseNamedType()
[all …]
DLLParser.h150 bool ParseToken(lltok::Kind T, const char *ErrMsg);
/external/llvm/lib/AsmParser/
DLLParser.cpp286 if (ParseToken(lltok::kw_asm, "expected 'module asm'") || in ParseModuleAsm()
303 if (ParseToken(lltok::equal, "expected '=' after target triple") || in ParseTargetDefinition()
310 if (ParseToken(lltok::equal, "expected '=' after target datalayout") || in ParseTargetDefinition()
324 if (ParseToken(lltok::equal, "expected '=' after source_filename") || in ParseSourceFileName()
338 if (ParseToken(lltok::equal, "expected '=' after deplibs") || in ParseDepLibs()
339 ParseToken(lltok::lsquare, "expected '=' after deplibs")) in ParseDepLibs()
350 return ParseToken(lltok::rsquare, "expected ']' at end of list"); in ParseDepLibs()
360 if (ParseToken(lltok::equal, "expected '=' after name") || in ParseUnnamedType()
361 ParseToken(lltok::kw_type, "expected 'type' after '='")) in ParseUnnamedType()
387 if (ParseToken(lltok::equal, "expected '=' after name") || in ParseNamedType()
[all …]
DLLParser.h180 bool ParseToken(lltok::Kind T, const char *ErrMsg);
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_parser.cc312 bool ParseToken(TokKind kind, const string& msg);
597 if (!ParseToken(TokKind::kLbrace, in ParseInstructionList()
607 if (!ParseToken(TokKind::kRbrace, in ParseInstructionList()
642 !ParseToken(TokKind::kEqual, "expects '=' in instruction")) { in ParseInstruction()
688 if (!ParseToken(TokKind::kLparen, in ParseInstructionRhs()
697 if (!ParseToken(TokKind::kRparen, "expects ')' after parameter number") || in ParseInstructionRhs()
707 if (!ParseToken(TokKind::kLparen, in ParseInstructionRhs()
710 !ParseToken(TokKind::kRparen, "expects ')' after constant literal") || in ParseInstructionRhs()
1762 if (!ParseToken(TokKind::kLbrace, in ParseSharding()
1784 return ParseToken(TokKind::kRbrace, "expected '}' to end sharding attribute"); in ParseSharding()
[all …]
/external/googletest/googletest/scripts/
Dpump.py243 def ParseToken(lines, pos, regex, token_type): function
328 id_token = ParseToken(lines, found.end, ID_REGEX, 'id')
332 eq_token = ParseToken(lines, pos, EQ_REGEX, '=')
337 exp_token = ParseToken(lines, pos, REST_OF_LINE_REGEX, 'exp')
344 id_token = ParseToken(lines, found.end, ID_REGEX, 'id')
351 id_token = ParseToken(lines, found.end, ID_REGEX, 'id')
/external/google-breakpad/src/testing/gtest/scripts/
Dpump.py243 def ParseToken(lines, pos, regex, token_type): function
328 id_token = ParseToken(lines, found.end, ID_REGEX, 'id')
332 eq_token = ParseToken(lines, pos, EQ_REGEX, '=')
337 exp_token = ParseToken(lines, pos, REST_OF_LINE_REGEX, 'exp')
344 id_token = ParseToken(lines, found.end, ID_REGEX, 'id')
351 id_token = ParseToken(lines, found.end, ID_REGEX, 'id')
/external/libchrome/base/json/
Djson_parser.cc305 return ParseToken(GetNextToken()); in ParseNextToken()
308 Optional<Value> JSONParser::ParseToken(Token token) { in ParseToken() function in base::internal::JSONParser
408 Optional<Value> item = ParseToken(token); in ConsumeList()
Djson_parser.h163 Optional<Value> ParseToken(Token token);