Home
last modified time | relevance | path

Searched refs:arrayIndex (Results 1 – 7 of 7) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/ic/
Dproto_change_details.cpp26 uint32_t arrayIndex = array->PushBack(thread, weakValue); in Add() local
27 if (arrayIndex != TaggedArray::MAX_ARRAY_INDEX) { in Add()
29 *index = arrayIndex; in Add()
49 uint32_t arrayIndex = newArray->PushBack(thread, weakValue); in Add() local
50 ASSERT(arrayIndex != TaggedArray::MAX_ARRAY_INDEX); in Add()
52 *index = arrayIndex; in Add()
/arkcompiler/ets_runtime/ecmascript/
Dtagged_dictionary.cpp67 int arrayIndex = 0; in GetAllKeys() local
80 keyArray->Set(thread, arrayIndex + offset, entry.first); in GetAllKeys()
81 arrayIndex++; in GetAllKeys()
117 uint32_t arrayIndex = 0; in GetAllEnumKeys() local
132 keyArray->Set(thread, arrayIndex + static_cast<uint32_t>(offset), entry.first); in GetAllEnumKeys()
133 arrayIndex++; in GetAllEnumKeys()
135 *keys += arrayIndex; in GetAllEnumKeys()
230 int arrayIndex = 0; in GetAllKeys() local
244 keyArray->Set(thread, arrayIndex + offset, str.GetTaggedValue()); in GetAllKeys()
245 arrayIndex++; in GetAllKeys()
[all …]
Dglobal_dictionary-inl.h104 int arrayIndex = 0; in GetAllKeys() local
119 keyArray->Set(thread, arrayIndex + offset, nameKey); in GetAllKeys()
120 arrayIndex++; in GetAllKeys()
163 int arrayIndex = 0; in GetEnumAllKeys() local
180 keyArray->Set(thread, arrayIndex + offset, nameKey); in GetEnumAllKeys()
181 arrayIndex++; in GetEnumAllKeys()
183 *keys += arrayIndex; in GetEnumAllKeys()
Dtagged_hash_table.h196 int arrayIndex = 0; in GetAllKeys() local
201 keyArray->Set(thread, arrayIndex + offset, key); in GetAllKeys()
202 arrayIndex++; in GetAllKeys()
/arkcompiler/ets_frontend/es2panda/typescript/extractor/
DtypeRecorder.cpp254 void TypeRecorder::SetArrayType(int64_t contentIndex, int64_t arrayIndex) in SetArrayType() argument
256 arrayType_[contentIndex] = arrayIndex; in SetArrayType()
257 ASSERT(GetArrayType(contentIndex) == arrayIndex); in SetArrayType()
DtypeRecorder.h91 void SetArrayType(int64_t contentIndex, int64_t arrayIndex);
/arkcompiler/ets_runtime/ecmascript/compiler/
Dstub_builder.cpp2099 GateRef arrayIndex = in GetAttributesFromDictionary() local
2103 Int32Add(arrayIndex, Int32(DictionaryT::ENTRY_DETAILS_INDEX)); in GetAttributesFromDictionary()
2111 GateRef arrayIndex = in GetValueFromDictionary() local
2115 Int32Add(arrayIndex, Int32(DictionaryT::ENTRY_VALUE_INDEX)); in GetValueFromDictionary()
2133 GateRef arrayIndex = in GetKeyFromDictionary() local
2136 Branch(Int32LessThan(arrayIndex, Int32(0)), &ltZero, &notLtZero); in GetKeyFromDictionary()
2140 Branch(Int32GreaterThan(arrayIndex, dictionaryLength), &gtLength, &notGtLength); in GetKeyFromDictionary()
2144 result = GetValueFromTaggedArray(elements, arrayIndex); in GetKeyFromDictionary()
2155 GateRef arrayIndex = in UpdateValueAndAttributes() local
2159 Int32Add(arrayIndex, Int32(NameDictionary::ENTRY_VALUE_INDEX)); in UpdateValueAndAttributes()
[all …]