Lines Matching refs:value

87 void FixedArray::set(int index, Smi value) {
90 DCHECK(Object(value).IsSmi());
92 RELAXED_WRITE_FIELD(*this, offset, value);
96 void FixedArray::set(int index, Object value) {
101 RELAXED_WRITE_FIELD(*this, offset, value);
102 WRITE_BARRIER(*this, offset, value);
105 void FixedArray::set(int index, Object value, WriteBarrierMode mode) {
109 RELAXED_WRITE_FIELD(*this, offset, value);
110 CONDITIONAL_WRITE_BARRIER(*this, offset, value, mode);
114 void FixedArray::NoWriteBarrierSet(FixedArray array, int index, Object value) {
118 DCHECK(!ObjectInYoungGeneration(value));
120 RELAXED_WRITE_FIELD(array, offset, value);
134 void FixedArray::set(int index, Object value, RelaxedStoreTag,
138 RELAXED_WRITE_FIELD(*this, OffsetOfElementAt(index), value);
139 CONDITIONAL_WRITE_BARRIER(*this, OffsetOfElementAt(index), value, mode);
142 void FixedArray::set(int index, Smi value, RelaxedStoreTag tag) {
143 DCHECK(Object(value).IsSmi());
144 set(index, value, tag, SKIP_WRITE_BARRIER);
158 void FixedArray::set(int index, Object value, ReleaseStoreTag,
162 RELEASE_WRITE_FIELD(*this, OffsetOfElementAt(index), value);
163 CONDITIONAL_WRITE_BARRIER(*this, OffsetOfElementAt(index), value, mode);
166 void FixedArray::set(int index, Smi value, ReleaseStoreTag tag) {
167 DCHECK(Object(value).IsSmi());
168 set(index, value, tag, SKIP_WRITE_BARRIER);
387 void FixedDoubleArray::set(int index, double value) {
392 if (std::isnan(value)) {
395 WriteField<double>(offset, value);
444 void WeakFixedArray::Set(int index, MaybeObject value, WriteBarrierMode mode) {
445 set_objects(index, value, mode);
489 void WeakArrayList::Set(int index, MaybeObject value, WriteBarrierMode mode) {
490 set_objects(index, value, mode);
493 void WeakArrayList::Set(int index, Smi value) {
494 Set(index, MaybeObject::FromSmi(value), SKIP_WRITE_BARRIER);
551 void ArrayList::Set(int index, Smi value) {
552 DCHECK(Object(value).IsSmi());
553 Set(index, value, SKIP_WRITE_BARRIER);
569 void ByteArray::set(int index, byte value) {
572 WriteField<byte>(kHeaderSize + index * kCharSize, value);
599 void ByteArray::set_int(int index, int value) {
602 WriteField<int>(kHeaderSize + index * kIntSize, value);
611 void ByteArray::set_uint32(int index, uint32_t value) {
614 WriteField<uint32_t>(kHeaderSize + index * kUInt32Size, value);
623 void ByteArray::set_uint32_relaxed(int index, uint32_t value) {
626 RELAXED_WRITE_UINT32_FIELD(*this, kHeaderSize + index * kUInt32Size, value);
635 void ByteArray::set_uint16(int index, uint16_t value) {
638 WriteField<uint16_t>(kHeaderSize + index * kUInt16Size, value);
696 void TemplateList::set(int index, Object value) {
697 FixedArray::cast(*this).set(kFirstElementIndex + index, value);