Searched refs:StringID (Results 1 – 7 of 7) sorted by relevance
73 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 …]
347 using NodeString = StringID<NodeStringPoolTraits>;355 using VariableString = StringID<VariableStringPoolTraits>;
48 t.strings.m = map[string]StringID{}189 type StringID int type193 m map[string]StringID197 func (s *Strings) index(str string) StringID {200 i = StringID(len(s.s))212 indices map[StringID]TestIndex218 indices: map[StringID]TestIndex{},227 func (t *Test) index(name StringID) (*Test, indexedTest) {
90 names := map[int]StringID{}334 id := StringID(idx)344 name := StringID(p.integer())
160 uint16_t StringID,
1250 StringTableInfo::Bundle &Bundle, uint16_t StringID, in insertStringIntoBundle() argument1252 uint16_t StringLoc = StringID & 15; in insertStringIntoBundle()1255 Twine(StringID)); in insertStringIntoBundle()
424 using StringID = SpirvID<std::string>; typedef in sw::SpirvShader805 std::unordered_map<StringID, String> strings;1124 String const &getString(StringID id) const in getString()