• Home
  • Raw
  • Download

Lines Matching full:index

77     uint32_t index = queue->GetFront();  in GetFirst()  local
81 return elements->Get(index); in GetFirst()
104 JSTaggedValue JSAPIQueue::Get(JSThread *thread, const uint32_t index) in Get() argument
107 if (index >= length) { in Get()
109 oss << "The value of \"Get property index\" is out of range. It must be >= 0 && <= " in Get()
110 << (length - 1) << ". Received value is: " << index; in Get()
119 uint32_t curIndex = (front + index) % capacity; in Get()
123 JSTaggedValue JSAPIQueue::Set(JSThread *thread, const uint32_t index, JSTaggedValue value) in Set() argument
125 if (index < 0 || index >= GetLength().GetArrayLength()) { in Set()
127 oss << "The value of \"Set property index\" is out of range. It must be >= 0 && <= " in Set()
128 << (GetLength().GetArrayLength() - 1) << ". Received value is: " << index; in Set()
134 elements->Set(thread, index, value); in Set()
145 uint32_t index = begin; in Has() local
146 while (index != end) { in Has()
147 if (JSTaggedValue::SameValue(elements->Get(index), value)) { in Has()
151 index = (index + 1) % capacity; in Has()
172 uint32_t index = 0; in GetOwnProperty() local
173 if (UNLIKELY(!JSTaggedValue::ToElementIndex(key.GetTaggedValue(), &index))) { in GetOwnProperty()
176 "The type of \"index\" can not obtain attributes of no-number type. Received value is: " in GetOwnProperty()
183 if (index >= length) { in GetOwnProperty()
185 oss << "The value of \"index\" is out of range. It must be > " << (length - 1) in GetOwnProperty()
186 << ". Received value is: " << index; in GetOwnProperty()
191 obj->Get(thread, index); in GetOwnProperty()
200 int index = key->GetInt(); in GetProperty() local
201 if (index < 0 || index >= length) { in GetProperty()
203 oss << "The value of \"index\" is out of range. It must be >= 0 && <= " << (length - 1) in GetProperty()
204 << ". Received value is: " << index; in GetProperty()
211 return OperationResult(thread, obj->Get(thread, index), PropertyMetaData(false)); in GetProperty()
219 int index = key->GetInt(); in SetProperty() local
220 if (index < 0 || index >= length) { in SetProperty()
224 obj->Set(thread, index, value.GetTaggedValue()); in SetProperty()