Lines Matching refs:find
72 // set(), find() and foreach() all allow mutable access to table entries.
78 // The pointers returned by set() and find() are valid only until the next call to set().
91 T* find(const K& key) const {
109 // This only works for pointer type T, and cannot be used to find an nullptr entry.
111 if (T* p = this->find(key)) {
119 SkASSERT(this->find(key));
425 // N.B. The pointers returned by set() and find() are valid only until the next call to set().
436 V* find(const K& key) const {
437 if (Pair* p = fTable.find(key)) {
444 if (V* val = this->find(key)) {
452 SkASSERT(this->find(key));
509 bool contains(const T& item) const { return SkToBool(this->find(item)); }
513 const T* find(const T& item) const { return fTable.find(item); }