Lines Matching refs:index

105   inline Object get(int index) const;
106 inline Object get(PtrComprCageBase cage_base, int index) const;
108 static inline Handle<Object> get(FixedArray array, int index,
111 // Return a grown copy if the index is bigger than the array's length.
113 Isolate* isolate, Handle<FixedArray> array, int index,
117 inline Object get(int index, RelaxedLoadTag) const;
118 inline Object get(PtrComprCageBase cage_base, int index,
120 inline void set(int index, Object value, RelaxedStoreTag,
122 inline void set(int index, Smi value, RelaxedStoreTag);
125 inline Object get(int index, AcquireLoadTag) const;
126 inline Object get(PtrComprCageBase cage_base, int index,
128 inline void set(int index, Object value, ReleaseStoreTag,
130 inline void set(int index, Smi value, ReleaseStoreTag);
133 inline void set(int index, Object value);
134 inline bool is_the_hole(Isolate* isolate, int index);
138 inline void set(int index, Smi value);
140 inline void set(int index, Smi value) {
144 DCHECK_LT(static_cast<unsigned>(index), static_cast<unsigned>(length()));
146 int offset = OffsetOfElementAt(index);
152 inline void set(int index, Object value, WriteBarrierMode mode);
155 inline void set_undefined(int index);
156 inline void set_undefined(Isolate* isolate, int index);
157 inline void set_undefined(ReadOnlyRoots ro_roots, int index);
158 inline void set_null(int index);
159 inline void set_null(Isolate* isolate, int index);
160 inline void set_null(ReadOnlyRoots ro_roots, int index);
161 inline void set_the_hole(int index);
162 inline void set_the_hole(Isolate* isolate, int index);
163 inline void set_the_hole(ReadOnlyRoots ro_roots, int index);
197 static constexpr int OffsetOfElementAt(int index) {
199 return SizeFor(index);
203 inline ObjectSlot RawFieldOfElementAt(int index);
228 static inline void NoWriteBarrierSet(FixedArray array, int index,
247 inline double get_scalar(int index);
248 inline uint64_t get_representation(int index);
249 static inline Handle<Object> get(FixedDoubleArray array, int index,
251 inline void set(int index, double value);
252 inline void set_the_hole(Isolate* isolate, int index);
253 inline void set_the_hole(int index);
256 inline bool is_the_hole(Isolate* isolate, int index);
257 inline bool is_the_hole(int index);
270 static int OffsetOfElementAt(int index) { return SizeFor(index); }
294 inline MaybeObject Get(int index) const;
295 inline MaybeObject Get(PtrComprCageBase cage_base, int index) const;
298 int index, MaybeObject value,
313 inline MaybeObjectSlot RawFieldOfElementAt(int index);
330 static int OffsetOfElementAt(int index) {
332 return SizeFor(index);
375 inline MaybeObject Get(int index) const;
376 inline MaybeObject Get(PtrComprCageBase cage_base, int index) const;
378 // Set the element at index to obj. The underlying array must be large enough.
381 inline void Set(int index, MaybeObject value,
383 inline void Set(int index, Smi value);
427 static int OffsetOfElementAt(int index) {
428 return kHeaderSize + index * kTaggedSize;
477 inline Object Get(int index) const;
478 inline Object Get(PtrComprCageBase cage_base, int index) const;
479 inline ObjectSlot Slot(int index);
481 // Set the element at index to obj. The underlying array must be large enough.
483 inline void Set(int index, Object obj,
486 inline void Set(int index, Smi obj);
488 // Set the element at index to undefined. This does not change the Length().
489 inline void Clear(int index, Object undefined);
523 inline byte get(int index) const;
524 inline void set(int index, byte value);
527 inline void copy_out(int index, byte* buffer, int slice_length);
528 inline void copy_in(int index, const byte* buffer, int slice_length);
531 inline int get_int(int index) const;
532 inline void set_int(int index, int value);
534 inline uint32_t get_uint32(int index) const;
535 inline void set_uint32(int index, uint32_t value);
537 inline uint32_t get_uint32_relaxed(int index) const;
538 inline void set_uint32_relaxed(int index, uint32_t value);
540 inline uint16_t get_uint16(int index) const;
541 inline void set_uint16(int index, uint16_t value);
597 void copy_out(int index, T* result, int length) {
598 ByteArray::copy_out(index * sizeof(T), reinterpret_cast<byte*>(result),
602 void copy_in(int index, const T* buffer, int length) {
603 ByteArray::copy_in(index * sizeof(T), reinterpret_cast<const byte*>(buffer),
619 T get(int index) {
621 copy_out(index, &result, 1);
625 void set(int index, const T& value) { copy_in(index, &value, 1); }
638 inline Object get(int index) const;
639 inline Object get(PtrComprCageBase cage_base, int index) const;
640 inline void set(int index, Object value);