Home
last modified time | relevance | path

Searched refs:RCInt (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-rc/
DResourceScriptStmt.h30 class RCInt {
35 RCInt(const RCToken &Token) in RCInt() function
37 RCInt(uint32_t Value) : Val(Value), Long(false) {} in RCInt() function
38 RCInt(uint32_t Value, bool IsLong) : Val(Value), Long(IsLong) {} in RCInt() function
42 RCInt &operator+=(const RCInt &Rhs) {
47 RCInt &operator-=(const RCInt &Rhs) {
52 RCInt &operator|=(const RCInt &Rhs) {
57 RCInt &operator&=(const RCInt &Rhs) {
62 RCInt operator-() const { return {-Val, Long}; }
63 RCInt operator~() const { return {~Val, Long}; }
[all …]
DResourceScriptParser.h84 Expected<RCInt> readInt(); // Parse an integer.
92 Expected<RCInt> parseIntExpr1();
93 Expected<RCInt> parseIntExpr2();
107 Expected<SmallVector<RCInt, 8>> readIntsWithCommas(size_t MinCount,
DResourceScriptParser.cpp142 Expected<RCInt> RCParser::readInt() { return parseIntExpr1(); } in readInt()
144 Expected<RCInt> RCParser::parseIntExpr1() { in parseIntExpr1()
147 RCInt Result = *FirstResult; in parseIntExpr1()
178 Expected<RCInt> RCParser::parseIntExpr2() { in parseIntExpr2()
199 return RCInt(read()); in parseIntExpr2()
273 Expected<SmallVector<RCInt, 8>> RCParser::readIntsWithCommas(size_t MinCount, in readIntsWithCommas()
277 SmallVector<RCInt, 8> Result; in readIntsWithCommas()
280 [&](llvm::Error Err) -> Expected<SmallVector<RCInt, 8>> { in readIntsWithCommas()
DResourceFileWriter.h199 void writeRCInt(RCInt);
DResourceFileWriter.cpp86 static Error checkRCInt(RCInt Number, const Twine &FieldName) { in checkRCInt()
395 void ResourceFileWriter::writeRCInt(RCInt Value) { in writeRCInt()