Lines Matching full:index
99 JSTaggedValue JSAPIStack::Get(const uint32_t index) in Get() argument
101 ASSERT(static_cast<int>(index) <= GetTop()); in Get()
103 return elements->Get(index); in Get()
106 JSTaggedValue JSAPIStack::Set(JSThread *thread, const uint32_t index, JSTaggedValue value) in Set() argument
109 elements->Set(thread, index, value); in Set()
145 uint32_t index = 0; in GetOwnProperty() local
146 if (UNLIKELY(!JSTaggedValue::ToElementIndex(key.GetTaggedValue(), &index))) { in GetOwnProperty()
149 "The type of \"index\" can not obtain attributes of no-number type. Received value is: " in GetOwnProperty()
156 if (index >= length) { in GetOwnProperty()
158 oss << "The value of \"index\" is out of range. It must be > " << (length - 1) in GetOwnProperty()
159 << ". Received value is: " << index; in GetOwnProperty()
164 obj->Get(index); in GetOwnProperty()
172 int index = key->GetInt(); in GetProperty() local
173 if (index < 0 || index >= length) { in GetProperty()
175 oss << "The value of \"index\" is out of range. It must be >= 0 && <= " << (length - 1) in GetProperty()
176 << ". Received value is: " << index; in GetProperty()
183 return OperationResult(thread, obj->Get(index), PropertyMetaData(false)); in GetProperty()
191 int index = key->GetInt(); in SetProperty() local
192 if (index < 0 || index >= length) { in SetProperty()
196 obj->Set(thread, index, value.GetTaggedValue()); in SetProperty()