Lines Matching defs:Key
115 typedef SkTArray<uint32_t, true> Key;
117 static const Key& GetKey(const TextBlob* blob) { return blob->key(); }
119 static uint32_t Hash(const Key& key) {
120 SkASSERT(key.count() > 1); // 1-length keys should be using the blob-id hash map.
121 return SkChecksum::Murmur3(key.begin(), sizeof(uint32_t) * key.count());
127 TextBlob(const Key& key, const SkTextBlob* skBlob, const SkPaint& skPaint)
128 : fKey(key) {
134 const Key& key() const { return fKey; }
152 SkTHashTable<TextBlob*, const TextBlob::Key&, TextBlob> fBlobKeyCache;