Home
last modified time | relevance | path

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

/external/swiftshader/third_party/subzero/src/
DIceStringPool.h73 template <typename Traits> class StringID {
77 StringID() = default; // Create a default, invalid StringID.
78 StringID(const StringID &) = default;
79 StringID &operator=(const StringID &) = default;
83 static StringID createWithoutString(const typename Traits::OwnerType *Owner) { in createWithoutString()
84 return StringID(Owner); in createWithoutString()
88 static StringID createWithString(const typename Traits::OwnerType *Owner, in createWithString()
90 return StringID(Owner, Value); in createWithString()
113 bool operator==(const StringID &Other) const { return ID == Other.ID; }
114 bool operator!=(const StringID &Other) const { return !(*this == Other); }
[all …]
DIceCfg.h347 using NodeString = StringID<NodeStringPoolTraits>;
355 using VariableString = StringID<VariableStringPoolTraits>;
/external/swiftshader/tests/regres/cov/
Dtree.go48 t.strings.m = map[string]StringID{}
189 type StringID int type
193 m map[string]StringID
197 func (s *Strings) index(str string) StringID {
200 i = StringID(len(s.s))
212 indices map[StringID]TestIndex
218 indices: map[StringID]TestIndex{},
227 func (t *Test) index(name StringID) (*Test, indexedTest) {
Dserialization.go90 names := map[int]StringID{}
334 id := StringID(idx)
344 name := StringID(p.integer())
/external/llvm-project/llvm/tools/llvm-rc/
DResourceFileWriter.h160 uint16_t StringID,
DResourceFileWriter.cpp1250 StringTableInfo::Bundle &Bundle, uint16_t StringID, in insertStringIntoBundle() argument
1252 uint16_t StringLoc = StringID & 15; in insertStringIntoBundle()
1255 Twine(StringID)); in insertStringIntoBundle()
/external/swiftshader/src/Pipeline/
DSpirvShader.hpp424 using StringID = SpirvID<std::string>; typedef in sw::SpirvShader
805 std::unordered_map<StringID, String> strings;
1124 String const &getString(StringID id) const in getString()