Lines Matching full:index
40 inline uint32_t LayoutInfo::GetKeyIndex(int index) const in GetKeyIndex() argument
42 return static_cast<uint32_t>(index) << ELEMENTS_INDEX_LOG2; in GetKeyIndex()
45 inline uint32_t LayoutInfo::GetAttrIndex(int index) const in GetAttrIndex() argument
47 return (static_cast<uint32_t>(index) << ELEMENTS_INDEX_LOG2) + ATTR_INDEX_OFFSET; in GetAttrIndex()
50 inline void LayoutInfo::SetPropertyInit(const JSThread *thread, int index, const JSTaggedValue &key, in SetPropertyInit() argument
53 uint32_t fixed_idx = GetKeyIndex(index); in SetPropertyInit()
58 inline void LayoutInfo::SetNormalAttr(const JSThread *thread, int index, const PropertyAttributes &… in SetNormalAttr() argument
60 uint32_t fixed_idx = GetAttrIndex(index); in SetNormalAttr()
66 inline JSTaggedValue LayoutInfo::GetKey(int index) const in GetKey() argument
68 uint32_t fixed_idx = GetKeyIndex(index); in GetKey()
72 inline PropertyAttributes LayoutInfo::GetAttr(int index) const in GetAttr() argument
74 uint32_t fixed_idx = GetAttrIndex(index); in GetAttr()
78 inline JSTaggedValue LayoutInfo::GetSortedKey(int index) const in GetSortedKey() argument
80 uint32_t fixed_idx = GetSortedIndex(index); in GetSortedKey()
84 inline uint32_t LayoutInfo::GetSortedIndex(int index) const in GetSortedIndex() argument
86 return GetAttr(index).GetSortedIndex(); in GetSortedIndex()
89 inline void LayoutInfo::SetSortedIndex(const JSThread *thread, int index, int sortedIndex) in SetSortedIndex() argument
91 uint32_t fixed_idx = GetAttrIndex(index); in SetSortedIndex()
113 int index = cache->Get(cls, key); in FindElementWithCache() local
114 if (index == PropertiesCache::NOT_FOUND) { in FindElementWithCache()
115 index = BinarySearch(key, propertiesNumber); in FindElementWithCache()
116 cache->Set(cls, key, index); in FindElementWithCache()
118 return index; in FindElementWithCache()