Home
last modified time | relevance | path

Searched refs:relative_index (Results 1 – 4 of 4) sorted by relevance

/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/
Dfile_process.py68 def get_preceding_line(self, relative_index=-1): argument
70 if relative_index >= 0:
73 if relative_index + self.line_number <= 0:
76 return self._lines[self.line_number + relative_index - 1]
/third_party/node/deps/v8/src/objects/
Dordered-hash-table-inl.h70 int relative_index) { in GetDataEntry() argument
72 DCHECK_LE(static_cast<unsigned>(relative_index), Derived::kEntrySize); in GetDataEntry()
73 Offset entry_offset = GetDataEntryOffset(entry, relative_index); in GetDataEntry()
205 void SmallOrderedHashTable<Derived>::SetDataEntry(int entry, int relative_index, in SetDataEntry() argument
208 int entry_offset = GetDataEntryOffset(entry, relative_index); in SetDataEntry()
Dordered-hash-table.h510 void SetDataEntry(int entry, int relative_index, Object value);
558 V8_INLINE Object GetDataEntry(int entry, int relative_index);
625 Offset GetDataEntryOffset(int entry, int relative_index) const { in GetDataEntryOffset() argument
628 int offset_in_entry = relative_index * kTaggedSize; in GetDataEntryOffset()
/third_party/node/deps/v8/src/builtins/
Dbuiltins-array.cc135 double relative_index = init_if_undefined; in GetRelativeIndex() local
141 relative_index = relative_index_obj->Number(); in GetRelativeIndex()
144 if (relative_index < 0) { in GetRelativeIndex()
145 return Just(std::max(length + relative_index, 0.0)); in GetRelativeIndex()
148 return Just(std::min(relative_index, length)); in GetRelativeIndex()