Home
last modified time | relevance | path

Searched refs:WasmMemoryObject (Results 1 – 20 of 20) sorted by relevance

/external/v8/src/objects/
Dbacking-store.h19 class WasmMemoryObject; variable
103 Handle<WasmMemoryObject> memory_object);
240 Handle<WasmMemoryObject> memory_object);
Dvalue-serializer.h36 class WasmMemoryObject; variable
134 Maybe<bool> WriteWasmMemory(Handle<WasmMemoryObject> object)
278 MaybeHandle<WasmMemoryObject> ReadWasmMemory() V8_WARN_UNUSED_RESULT;
Dbacking-store.cc548 Isolate* isolate, Handle<WasmMemoryObject> memory_object) { in AttachSharedWasmMemoryObject()
756 Handle<WasmMemoryObject> memory_object) { in AddSharedWasmMemoryObject()
803 Handle<WasmMemoryObject> memory_object(WasmMemoryObject::cast(obj), in UpdateSharedWasmMemoryObjects()
Dobject-list-macros.h69 class WasmMemoryObject; variable
229 V(WasmMemoryObject) \
Dvalue-serializer.cc568 return WriteWasmMemory(Handle<WasmMemoryObject>::cast(receiver)); in WriteJSReceiver()
993 Maybe<bool> ValueSerializer::WriteWasmMemory(Handle<WasmMemoryObject> object) { in WriteWasmMemory()
1931 MaybeHandle<WasmMemoryObject> ValueDeserializer::ReadWasmMemory() { in ReadWasmMemory()
1936 return MaybeHandle<WasmMemoryObject>(); in ReadWasmMemory()
1941 return MaybeHandle<WasmMemoryObject>(); in ReadWasmMemory()
1946 return MaybeHandle<WasmMemoryObject>(); in ReadWasmMemory()
1952 return MaybeHandle<WasmMemoryObject>(); in ReadWasmMemory()
1955 Handle<WasmMemoryObject> result = in ReadWasmMemory()
1956 WasmMemoryObject::New(isolate_, buffer, maximum_pages); in ReadWasmMemory()
Djs-objects.cc2249 return WasmMemoryObject::kHeaderSize; in GetHeaderSize()
/external/v8/src/wasm/
Dwasm-objects-inl.h38 OBJECT_CONSTRUCTORS_IMPL(WasmMemoryObject, JSObject) in OBJECT_CONSTRUCTORS_IMPL()
50 CAST_ACCESSOR(WasmMemoryObject) in OBJECT_CONSTRUCTORS_IMPL()
123 ACCESSORS(WasmMemoryObject, array_buffer, JSArrayBuffer, kArrayBufferOffset) in ACCESSORS()
124 SMI_ACCESSORS(WasmMemoryObject, maximum_pages, kMaximumPagesOffset) in ACCESSORS()
125 OPTIONAL_ACCESSORS(WasmMemoryObject, instances, WeakArrayList, kInstancesOffset) in ACCESSORS()
248 OPTIONAL_ACCESSORS(WasmInstanceObject, memory_object, WasmMemoryObject, in PRIMITIVE_ACCESSORS()
396 bool WasmMemoryObject::has_maximum_pages() { return maximum_pages() >= 0; } in has_maximum_pages()
Dwasm-objects.h290 class WasmMemoryObject : public JSObject {
292 DECL_CAST(WasmMemoryObject)
299 DECL_PRINTER(WasmMemoryObject)
300 DECL_VERIFIER(WasmMemoryObject)
307 Handle<WasmMemoryObject> memory,
311 V8_EXPORT_PRIVATE static Handle<WasmMemoryObject> New(
314 V8_EXPORT_PRIVATE static MaybeHandle<WasmMemoryObject> New(Isolate* isolate,
321 V8_EXPORT_PRIVATE static int32_t Grow(Isolate*, Handle<WasmMemoryObject>,
324 OBJECT_CONSTRUCTORS(WasmMemoryObject, JSObject);
391 DECL_OPTIONAL_ACCESSORS(memory_object, WasmMemoryObject)
Dmodule-instantiate.cc241 Handle<WasmMemoryObject> memory_object_;
463 WasmMemoryObject::New(isolate_, memory_buffer_, maximum_pages); in Build()
491 WasmMemoryObject::AddInstance(isolate_, memory_object_, instance); in Build()
1013 memory_object_ = Handle<WasmMemoryObject>::cast(value); in FindImportedMemory()
1233 auto memory_object = Handle<WasmMemoryObject>::cast(value); in ProcessImportedMemory()
1709 MaybeHandle<WasmMemoryObject> result = in AllocateMemory()
1710 WasmMemoryObject::New(isolate_, initial_pages, maximum_pages, shared); in AllocateMemory()
1798 Handle<WasmMemoryObject>(instance->memory_object(), isolate_)); in ProcessExports()
Dwasm-objects.cc816 Handle<WasmMemoryObject> WasmMemoryObject::New( in New()
830 auto memory_object = Handle<WasmMemoryObject>::cast( in New()
843 MaybeHandle<WasmMemoryObject> WasmMemoryObject::New(Isolate* isolate, in New()
872 void WasmMemoryObject::AddInstance(Isolate* isolate, in AddInstance()
873 Handle<WasmMemoryObject> memory, in AddInstance()
887 void WasmMemoryObject::update_instances(Isolate* isolate, in update_instances()
907 int32_t WasmMemoryObject::Grow(Isolate* isolate, in Grow()
908 Handle<WasmMemoryObject> memory_object, in Grow()
Dwasm-objects.tq79 extern class WasmMemoryObject extends JSObject {
Dwasm-debug-evaluate.cc117 Handle<WasmMemoryObject> memory(evaluator_->memory_object(), isolate_); in Sbrk()
120 WasmMemoryObject::Grow(isolate_, memory, new_pages); in Sbrk()
Dc-api.cc1891 using type = RefImpl<Memory, i::WasmMemoryObject>;
1915 i::Handle<i::WasmMemoryObject> memory_obj; in make()
1916 if (!i::WasmMemoryObject::New(isolate, minimum, maximum, shared) in make()
1924 i::Handle<i::WasmMemoryObject> memory = impl(this)->v8_object(); in type()
1948 i::Handle<i::WasmMemoryObject> memory = impl(this)->v8_object(); in grow()
1951 int32_t old = i::WasmMemoryObject::Grow(isolate, memory, delta); in grow()
2075 store, i::Handle<i::WasmMemoryObject>::cast(obj)); in exports()
Dwasm-js.cc1179 if (!i::WasmMemoryObject::New(i_isolate, static_cast<uint32_t>(initial), in WebAssemblyMemory()
1187 i::Handle<i::WasmMemoryObject>::cast(memory_obj)->array_buffer(), in WebAssemblyMemory()
1730 EXTRACT_THIS(receiver, WasmMemoryObject); in WebAssemblyMemoryGrow()
1753 int32_t ret = i::WasmMemoryObject::Grow(i_isolate, receiver, delta_size); in WebAssemblyMemoryGrow()
1769 EXTRACT_THIS(receiver, WasmMemoryObject); in WebAssemblyMemoryGetBuffer()
1799 i::Handle<i::WasmMemoryObject> memory = maybe_memory.ToHandleChecked(); in WebAssemblyMemoryType()
2200 i::WASM_MEMORY_OBJECT_TYPE, WasmMemoryObject::kHeaderSize); in Install()
/external/v8/src/runtime/
Druntime-wasm.cc119 int ret = WasmMemoryObject::Grow( in RUNTIME_FUNCTION()
/external/v8/src/execution/
Disolate.h1431 void AddSharedWasmMemory(Handle<WasmMemoryObject> memory_object);
Disolate.cc4445 void Isolate::AddSharedWasmMemory(Handle<WasmMemoryObject> memory_object) { in ThrowInternal()
/external/v8/src/diagnostics/
Dobjects-debug.cc1523 USE_TORQUE_VERIFIER(WasmMemoryObject) in USE_TORQUE_VERIFIER()
Dobjects-printer.cc1794 void WasmMemoryObject::WasmMemoryObjectPrint(std::ostream& os) { // NOLINT in WasmMemoryObjectPrint()
/external/v8/src/compiler/
Dcode-assembler.h147 class WasmMemoryObject; variable