Home
last modified time | relevance | path

Searched refs:keys_ (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/ic/
Dproperties_cache.h32 PropertyKey &prop = keys_[hash]; in Get()
34 return keys_[hash].results_; in Get()
41 PropertyKey &prop = keys_[hash]; in Set()
44 keys_[hash].results_ = index; in Set()
48 for (auto &key : keys_) { in Clear()
59 keys_[i].hclass_ = nullptr; in PropertiesCache()
60 keys_[i].key_ = JSTaggedValue::Hole(); in PropertiesCache()
61 keys_[i].results_ = NOT_FOUND; in PropertiesCache()
83 std::array<PropertyKey, CACHE_LENGTH> keys_{};
/arkcompiler/runtime_core/libpandabase/utils/
Djson_parser.h135 ASSERT(values_map_.size() == keys_.size()); in GetSize()
142 auto it = std::find(keys_.begin(), keys_.end(), key); in GetIndexByKey()
143 if (it != keys_.end()) { in GetIndexByKey()
144 return it - keys_.begin(); in GetIndexByKey()
151 return keys_[idx]; in GetKeyByIndex()
189 std::vector<Key> keys_; variable
Djson_parser.cpp111 obj->keys_.push_back(key); in InsertKeyValuePairIn()