Home
last modified time | relevance | path

Searched refs:field_address (Results 1 – 21 of 21) sorted by relevance

/third_party/node/deps/v8/src/sandbox/
Dexternal-pointer-inl.h29 V8_INLINE void InitExternalPointerField(Address field_address, Isolate* isolate, in InitExternalPointerField() argument
31 InitExternalPointerField(field_address, isolate, kNullExternalPointer, tag); in InitExternalPointerField()
34 V8_INLINE void InitExternalPointerField(Address field_address, Isolate* isolate, in InitExternalPointerField() argument
40 base::Memory<ExternalPointer_t>(field_address) = index; in InitExternalPointerField()
47 base::WriteUnalignedValue<ExternalPointer_t>(field_address, encoded_value); in InitExternalPointerField()
49 base::Memory<ExternalPointer_t>(field_address) = encoded_value; in InitExternalPointerField()
54 V8_INLINE ExternalPointer_t ReadRawExternalPointerField(Address field_address) { in ReadRawExternalPointerField() argument
59 return base::ReadUnalignedValue<ExternalPointer_t>(field_address); in ReadRawExternalPointerField()
61 return base::Memory<ExternalPointer_t>(field_address); in ReadRawExternalPointerField()
65 V8_INLINE Address ReadExternalPointerField(Address field_address, in ReadExternalPointerField() argument
[all …]
Dsandboxed-pointer-inl.h16 V8_INLINE Address ReadSandboxedPointerField(Address field_address, in ReadSandboxedPointerField() argument
20 base::ReadUnalignedValue<SandboxedPointer_t>(field_address); in ReadSandboxedPointerField()
26 return ReadMaybeUnalignedValue<Address>(field_address); in ReadSandboxedPointerField()
30 V8_INLINE void WriteSandboxedPointerField(Address field_address, in WriteSandboxedPointerField() argument
39 base::WriteUnalignedValue<SandboxedPointer_t>(field_address, in WriteSandboxedPointerField()
42 WriteMaybeUnalignedValue<Address>(field_address, pointer); in WriteSandboxedPointerField()
Dexternal-pointer.h23 V8_INLINE void InitExternalPointerField(Address field_address, Isolate* isolate,
30 V8_INLINE void InitExternalPointerField(Address field_address, Isolate* isolate,
34 V8_INLINE ExternalPointer_t ReadRawExternalPointerField(Address field_address);
38 V8_INLINE Address ReadExternalPointerField(Address field_address,
43 V8_INLINE void WriteExternalPointerField(Address field_address,
Dsandboxed-pointer.h13 V8_INLINE Address ReadSandboxedPointerField(Address field_address,
16 V8_INLINE void WriteSandboxedPointerField(Address field_address,
/third_party/node/deps/v8/src/wasm/
Dwasm-objects-inl.h334 Address field_address = obj->GetFieldAddress(offset); in ReadValueAt() local
337 int8_t value = base::Memory<int8_t>(field_address); in ReadValueAt()
341 int16_t value = base::Memory<int16_t>(field_address); in ReadValueAt()
345 int32_t value = base::Memory<int32_t>(field_address); in ReadValueAt()
349 int64_t value = base::ReadUnalignedValue<int64_t>(field_address); in ReadValueAt()
353 float value = base::Memory<float>(field_address); in ReadValueAt()
357 double value = base::ReadUnalignedValue<double>(field_address); in ReadValueAt()
366 ObjectSlot slot(field_address); in ReadValueAt()
441 Address field_address = obj->GetFieldAddress(offset); in WriteValueAt() local
445 base::Memory<int8_t>(field_address) = scalar_value; in WriteValueAt()
[all …]
Dwasm-objects.cc1569 Address field_address = GetFieldAddress(field_offset); in GetFieldValue() local
1574 return wasm::WasmValue(base::ReadUnalignedValue<ctype>(field_address)); in GetFieldValue()
/third_party/node/deps/v8/src/objects/
Dembedder-data-array-inl.h24 return field_address(OffsetOfElementAt(0)); in TQ_OBJECT_CONSTRUCTORS_IMPL()
28 return field_address(OffsetOfElementAt(length())); in slots_end()
Dheap-number-inl.h27 reinterpret_cast<base::Atomic8*>(field_address(kValueOffset)), in TQ_OBJECT_CONSTRUCTORS_IMPL()
35 reinterpret_cast<base::Atomic8*>(field_address(kValueOffset)), in set_value_as_bits()
Dobjects-inl.h159 reinterpret_cast<AtomicT*>(field_address(offset)))); in Relaxed_ReadField()
173 reinterpret_cast<AtomicT*>(field_address(offset)), in Relaxed_WriteField()
664 return i::ReadSandboxedPointerField(field_address(offset), cage_base); in ReadSandboxedPointerField()
670 i::WriteSandboxedPointerField(field_address(offset), cage_base, value); in WriteSandboxedPointerField()
675 i::WriteSandboxedPointerField(field_address(offset), in WriteSandboxedPointerField()
681 i::InitExternalPointerField(field_address(offset), isolate, tag); in InitExternalPointerField()
686 i::InitExternalPointerField(field_address(offset), isolate, value, tag); in InitExternalPointerField()
691 return i::ReadExternalPointerField(field_address(offset), isolate, tag); in ReadExternalPointerField()
696 i::WriteExternalPointerField(field_address(offset), isolate, value, tag); in WriteExternalPointerField()
700 return ObjectSlot(field_address(byte_offset)); in RawField()
[all …]
Djs-array-buffer-inl.h118 Address location = field_address(kExtensionOffset); in extension_location()
124 Address location = field_address(kExtensionOffset); in extension_lo()
129 Address location = field_address(kExtensionOffset) + sizeof(uint32_t); in extension_hi()
Dfixed-array-inl.h375 return base::ReadUnalignedValue<uint64_t>(field_address(offset)); in get_representation()
409 base::WriteUnalignedValue<uint64_t>(field_address(offset), kHoleNanInt64); in set_the_hole()
424 double* data_start = reinterpret_cast<double*>(field_address(kHeaderSize)); in MoveElements()
580 Address dst_addr = field_address(kHeaderSize + index * kCharSize); in copy_in()
589 Address src_addr = field_address(kHeaderSize + index * kCharSize); in copy_out()
Doddball-inl.h30 base::WriteUnalignedValue<uint64_t>(field_address(kToNumberRawOffset), bits); in TQ_CPP_OBJECT_DEFINITION_ASSERTS()
Dswiss-name-dictionary.cc137 reinterpret_cast<void*>(table->field_address(DataTableStartOffset())); in ShallowCopy()
139 new_table->field_address(DataTableStartOffset())); in ShallowCopy()
Dobjects.h694 return ReadMaybeUnalignedValue<T>(field_address(offset)); in ReadField()
701 return WriteMaybeUnalignedValue<T>(field_address(offset), value); in WriteField()
779 inline Address field_address(size_t offset) const { in field_address() function
Dstring-inl.h96 reinterpret_cast<const int32_t*>(field_address(kLengthOffset))); in length()
101 reinterpret_cast<int32_t*>(field_address(kLengthOffset)), value); in set_length()
1005 reinterpret_cast<void*>(field_address(kHeaderSize + index * kCharSize)); in SeqOneByteStringSetChars()
1010 return field_address(kHeaderSize); in GetCharsAddress()
1029 return field_address(kHeaderSize); in GetCharsAddress()
Dswiss-name-dictionary-inl.h34 field_address(CtrlTableStartOffset(Capacity()))); in OBJECT_CONSTRUCTORS_IMPL()
39 field_address(PropertyDetailsTableStartOffset(Capacity()))); in PropertyDetailsTable()
Dordered-hash-table.h521 return field_address(DataTableStartOffset() + DataTableSizeFor(capacity)); in GetHashTableStartAddress()
Dshared-function-info-inl.h69 Address dst_addr = field_address(kDataStartOffset + index * kByteSize); in copy_in()
Dcode-inl.h392 return field_address(kHeaderSize); in raw_instruction_start()
Dordered-hash-table.cc681 memset(reinterpret_cast<void*>(field_address(PaddingOffset())), 0, in Initialize()
/third_party/node/deps/v8/src/diagnostics/
Dobjects-printer.cc1816 Address field_address = RawFieldAddress(field_offset); in WasmStructPrint() local
1819 os << base::ReadUnalignedValue<int32_t>(field_address); in WasmStructPrint()
1822 os << base::ReadUnalignedValue<int64_t>(field_address); in WasmStructPrint()
1825 os << base::ReadUnalignedValue<float>(field_address); in WasmStructPrint()
1828 os << base::ReadUnalignedValue<double>(field_address); in WasmStructPrint()
1831 os << base::ReadUnalignedValue<int8_t>(field_address); in WasmStructPrint()
1834 os << base::ReadUnalignedValue<int16_t>(field_address); in WasmStructPrint()
1839 Tagged_t raw = base::ReadUnalignedValue<Tagged_t>(field_address); in WasmStructPrint()