Home
last modified time | relevance | path

Searched refs:StrRange (Results 1 – 6 of 6) sorted by relevance

/external/angle/third_party/vulkan_memory_allocator/src/VmaReplay/
DCommon.h72 struct StrRange struct
77 StrRange() { } in StrRange() function
78 StrRange(const char* beg, const char* end) : beg(beg), end(end) { } in StrRange() function
79 explicit StrRange(const char* sz) : beg(sz), end(sz + strlen(sz)) { } in StrRange() function
80 explicit StrRange(const std::string& s) : beg(s.data()), end(s.data() + s.length()) { } in StrRange() argument
86 inline bool StrRangeEq(const StrRange& lhs, const char* rhsSz) in StrRangeEq() argument
93 inline bool StrRangeToUint(const StrRange& s, uint32_t& out) in StrRangeToUint()
99 inline bool StrRangeToUint(const StrRange& s, uint64_t& out) in StrRangeToUint()
105 inline bool StrRangeToPtr(const StrRange& s, uint64_t& out) in StrRangeToPtr()
111 inline bool StrRangeToFloat(const StrRange& s, float& out) in StrRangeToFloat()
[all …]
DVmaReplay.cpp702 static bool ParseFileVersion(const StrRange& s) in ParseFileVersion()
1112 const StrRange& str);
1144 StrRange line; in Parse()
1167 const StrRange optionName = csvSplit.GetRange(0); in Parse()
1170 …SetOption(currLineNumber, OPTION::VulkanApiVersion, StrRange{csvSplit.GetRange(1).beg, csvSplit.Ge… in Parse()
1176 const StrRange subOptionName = csvSplit.GetRange(1); in Parse()
1188 …SetOption(currLineNumber, OPTION::PhysicalDevice_deviceName, StrRange(csvSplit.GetRange(2).beg, li… in Parse()
1199 const StrRange subOptionName = csvSplit.GetRange(1); in Parse()
1216 const StrRange subOptionName = csvSplit.GetRange(1); in Parse()
1237 const StrRange subOptionName = csvSplit.GetRange(1); in Parse()
[all …]
DCommon.cpp25 bool StrRangeToPtrList(const StrRange& s, std::vector<uint64_t>& out) in StrRangeToPtrList()
28 StrRange currRange = { s.beg, nullptr }; in StrRangeToPtrList()
52 bool LineSplit::GetNextLine(StrRange& out) in GetNextLine()
77 void CsvSplit::Set(const StrRange& line, size_t maxCount) in Set()
/external/llvm/lib/CodeGen/MIRParser/
DMILexer.cpp544 auto StrRange = C; in maybeLexEscapedIRValue() local
555 StringRef Value = StrRange.upto(C); in maybeLexEscapedIRValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/MIRParser/
DMILexer.cpp669 auto StrRange = C; in maybeLexEscapedIRValue() local
680 StringRef Value = StrRange.upto(C); in maybeLexEscapedIRValue()
/external/llvm-project/llvm/lib/CodeGen/MIRParser/
DMILexer.cpp684 auto StrRange = C; in maybeLexEscapedIRValue() local
695 StringRef Value = StrRange.upto(C); in maybeLexEscapedIRValue()