Lines Matching refs:key
30 inline int Get(JSHClass *jsHclass, JSTaggedValue key)
32 int hash = Hash(jsHclass, key);
34 if ((prop.hclass_ == jsHclass) && (prop.key_ == key)) {
39 inline void Set(JSHClass *jsHclass, JSTaggedValue key, int index)
41 int hash = Hash(jsHclass, key);
44 prop.key_ = key;
49 for (auto &key : keys_) {
50 key.hclass_ = nullptr;
51 key.key_ = JSTaggedValue::Hole();
56 for (auto &key : keys_) {
57 if (key.hclass_ != nullptr) {
117 static inline int Hash(JSHClass *cls, JSTaggedValue key)
120 uint32_t keyHash = key.GetKeyHashCode();