Home
last modified time | relevance | path

Searched refs:EmbedderDataSlot (Results 1 – 12 of 12) sorted by relevance

/external/v8/src/objects/
Dembedder-data-slot-inl.h22 EmbedderDataSlot::EmbedderDataSlot(EmbedderDataArray array, int entry_index) in EmbedderDataSlot() function
26 EmbedderDataSlot::EmbedderDataSlot(JSObject object, int embedder_field_index) in EmbedderDataSlot() function
30 void EmbedderDataSlot::AllocateExternalPointerEntry(Isolate* isolate) { in AllocateExternalPointerEntry()
43 Object EmbedderDataSlot::load_tagged() const { in load_tagged()
47 void EmbedderDataSlot::store_smi(Smi value) { in store_smi()
56 void EmbedderDataSlot::store_tagged(EmbedderDataArray array, int entry_index, in store_tagged()
70 void EmbedderDataSlot::store_tagged(JSObject object, int embedder_field_index, in store_tagged()
84 bool EmbedderDataSlot::ToAlignedPointer(IsolateRoot isolate_root, in ToAlignedPointer()
111 bool EmbedderDataSlot::ToAlignedPointerSafe(IsolateRoot isolate_root, in ToAlignedPointerSafe()
129 bool EmbedderDataSlot::store_aligned_pointer(Isolate* isolate, void* ptr) { in store_aligned_pointer()
[all …]
Dembedder-data-slot.h32 class EmbedderDataSlot
33 : public SlotBase<EmbedderDataSlot, Address, kTaggedSize> {
35 EmbedderDataSlot() : SlotBase(kNullAddress) {} in EmbedderDataSlot() function
36 V8_INLINE EmbedderDataSlot(EmbedderDataArray array, int entry_index);
37 V8_INLINE EmbedderDataSlot(JSObject object, int embedder_field_index);
Djs-objects-inl.h290 EmbedderDataSlot(*this, index).AllocateExternalPointerEntry(isolate); in InitializeEmbedderField()
294 return EmbedderDataSlot(*this, index).load_tagged(); in GetEmbedderField()
298 EmbedderDataSlot::store_tagged(*this, index, value); in SetEmbedderField()
302 EmbedderDataSlot(*this, index).store_smi(value); in SetEmbedderField()
Dobjects-body-descriptors-inl.h55 EmbedderDataSlot::kTaggedPayloadOffset; in IsValidJSObjectSlotImpl()
91 for (int offset = header_size + EmbedderDataSlot::kTaggedPayloadOffset; in IterateJSObjectBodyImpl()
851 EmbedderDataSlot::kTaggedPayloadOffset); in IsValidSlot()
867 EmbedderDataSlot::kTaggedPayloadOffset; in IterateBody()
/external/v8/src/snapshot/
Dcontext-serializer.cc220 std::vector<EmbedderDataSlot::RawData> original_embedder_values; in SerializeJSObjectWithEmbedderFields()
228 EmbedderDataSlot embedder_data_slot(*js_obj, i); in SerializeJSObjectWithEmbedderFields()
257 EmbedderDataSlot(*js_obj, i).store_raw(isolate(), kNullAddress, no_gc); in SerializeJSObjectWithEmbedderFields()
277 EmbedderDataSlot(*js_obj, i) in SerializeJSObjectWithEmbedderFields()
Ddeserializer.cc549 CHECK(EmbedderDataSlot(js_obj, i).ToAlignedPointerSafe(isolate(), in ReadObject()
555 EmbedderDataSlot start(array, 0); in ReadObject()
556 EmbedderDataSlot end(array, array.length()); in ReadObject()
557 for (EmbedderDataSlot slot = start; slot < end; ++slot) { in ReadObject()
/external/v8/src/heap/
Dembedder-tracing.cc97 if (EmbedderDataSlot(js_object, 0) in ExtractWrapperInfo()
100 EmbedderDataSlot(js_object, 1) in ExtractWrapperInfo()
Dfactory.cc456 EmbedderDataSlot(*array, i).AllocateExternalPointerEntry(isolate()); in NewEmbedderDataArray()
/external/v8/src/diagnostics/
Dobjects-printer.cc428 EmbedderDataSlot slot) { in PrintEmbedderData()
542 PrintEmbedderData(isolate, os, EmbedderDataSlot(obj, i)); in JSObjectPrintBody()
735 EmbedderDataSlot start(*this, 0); in EmbedderDataArrayPrint()
736 EmbedderDataSlot end(*this, length()); in EmbedderDataArrayPrint()
737 for (EmbedderDataSlot slot = start; slot < end; ++slot) { in EmbedderDataArrayPrint()
Dobjects-debug.cc522 EmbedderDataSlot start(*this, 0); in EmbedderDataArrayVerify()
523 EmbedderDataSlot end(*this, length()); in EmbedderDataArrayVerify()
524 for (EmbedderDataSlot slot = start; slot < end; ++slot) { in EmbedderDataArrayVerify()
/external/v8/src/handles/
Dglobal-handles.cc387 if (EmbedderDataSlot(jsobject, i).ToAlignedPointer(isolate, &pointer)) { in ExtractInternalFields()
/external/v8/src/api/
Dapi.cc1275 i::Handle<i::Object> result(i::EmbedderDataSlot(*data, index).load_tagged(), in SlowGetEmbedderData()
1286 i::EmbedderDataSlot::store_tagged(*data, index, *val); in SetEmbedderData()
1300 i::EmbedderDataSlot(*data, index).ToAlignedPointer(isolate, &result), in SlowGetAlignedPointerFromEmbedderData()
1311 i::EmbedderDataSlot(*data, index).store_aligned_pointer(isolate, value); in SetAlignedPointerInEmbedderData()
5692 Utils::ApiCheck(i::EmbedderDataSlot(i::JSObject::cast(*obj), index) in SlowGetAlignedPointerFromInternalField()
5702 Utils::ApiCheck(i::EmbedderDataSlot(i::JSObject::cast(*obj), index) in SetAlignedPointerInInternalField()
5722 Utils::ApiCheck(i::EmbedderDataSlot(js_obj, index) in SetAlignedPointerInInternalFields()