Searched refs:SymbolKey (Results 1 – 2 of 2) sorted by relevance
119 [&fn](const SymbolKey& key, const Symbol* symbol) { fn(key.fName, symbol); }); in foreach()146 struct SymbolKey { struct150 bool operator==(const SymbolKey& that) const { return fName == that.fName; } argument151 bool operator!=(const SymbolKey& that) const { return fName != that.fName; }153 uint32_t operator()(const SymbolKey& key) const { return key.fHash; } in operator() argument157 static SymbolKey MakeSymbolKey(skstd::string_view name) { in MakeSymbolKey()158 return SymbolKey{name, SkOpts::hash_fn(name.data(), name.size(), 0)}; in MakeSymbolKey()161 const Symbol* lookup(SymbolTable* writableSymbolTable, const SymbolKey& key);168 SkTHashMap<SymbolKey, const Symbol*, SymbolKey::Hash> fSymbols;
32 const Symbol* SymbolTable::lookup(SymbolTable* writableSymbolTable, const SymbolKey& key) { in lookup()