Searched refs:relative_index (Results 1 – 3 of 3) sorted by relevance
/external/v8/src/objects/ |
D | ordered-hash-table.h | 399 void SetDataEntry(int entry, int relative_index, Object* value); 447 Object* GetDataEntry(int entry, int relative_index) { in GetDataEntry() argument 449 DCHECK_LE(static_cast<unsigned>(relative_index), Derived::kEntrySize); in GetDataEntry() 450 Offset entry_offset = GetDataEntryOffset(entry, relative_index); in GetDataEntry() 521 Offset GetDataEntryOffset(int entry, int relative_index) const { in GetDataEntryOffset() argument 524 int offset_in_entry = relative_index * kPointerSize; in GetDataEntryOffset()
|
/external/v8/src/builtins/ |
D | builtins-array.cc | 158 double relative_index = init_if_undefined; in GetRelativeIndex() local 164 relative_index = relative_index_obj->Number(); in GetRelativeIndex() 167 if (relative_index < 0) { in GetRelativeIndex() 168 return Just(std::max(length + relative_index, 0.0)); in GetRelativeIndex() 171 return Just(std::min(relative_index, length)); in GetRelativeIndex()
|
/external/v8/src/ |
D | objects-inl.h | 2490 void SmallOrderedHashTable<Derived>::SetDataEntry(int entry, int relative_index, in SetDataEntry() argument 2492 Address entry_offset = GetDataEntryOffset(entry, relative_index); in SetDataEntry()
|