Home
last modified time | relevance | path

Searched refs:RCToken (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-rc/
DResourceScriptToken.cpp26 using Kind = RCToken::Kind;
45 RCToken::RCToken(RCToken::Kind RCTokenKind, StringRef Value) in RCToken() function in RCToken
48 uint32_t RCToken::intValue() const { in intValue()
59 bool RCToken::isLongInt() const { in isLongInt()
63 StringRef RCToken::value() const { return TokenValue; } in value()
65 Kind RCToken::kind() const { return TokenKind; } in kind()
67 bool RCToken::isBinaryOp() const { in isBinaryOp()
90 Expected<std::vector<RCToken>> run();
142 void processIdentifier(RCToken &token) const;
156 Expected<std::vector<RCToken>> Tokenizer::run() { in run()
[all …]
DResourceScriptToken.h44 class RCToken {
52 RCToken(RCToken::Kind RCTokenKind, StringRef Value);
78 Expected<std::vector<RCToken>> tokenizeRC(StringRef Input);
DResourceScriptParser.h35 using LocIter = std::vector<RCToken>::iterator;
57 explicit RCParser(std::vector<RCToken> TokenList);
66 using Kind = RCToken::Kind;
74 const RCToken &look() const;
76 const RCToken &read();
184 std::vector<RCToken> Tokens;
Dllvm-rc.cpp116 std::vector<RCToken> Tokens = ExitOnErr(tokenizeRC(FilteredContents)); in main()
125 for (const RCToken &Token : Tokens) { in main()
128 if (Token.kind() == RCToken::Kind::Int) in main()
DResourceScriptStmt.h35 RCInt(const RCToken &Token) in RCInt()
78 Data(const RCToken &Token) { in Data()
79 if (Token.kind() == RCToken::Kind::Int) in Data()
92 IntOrString(const RCToken &Token) in IntOrString()
93 : Data(Token), IsInt(Token.kind() == RCToken::Kind::Int) {} in IntOrString()
DResourceScriptParser.cpp44 RCParser::RCParser(std::vector<RCToken> TokenList) in RCParser()
100 const RCToken &RCParser::look() const { in look()
105 const RCToken &RCParser::read() { in read()
334 const RCToken &Token = look(); in parseMemoryFlags()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/WindowsResource/
DResourceScriptToken.h30 class RCToken {
40 RCToken(RCToken::Kind RCTokenKind, StringRef Value);