Home
last modified time | relevance | path

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

/external/v8/src/wasm/
Dwasm-objects-inl.h28 CAST_ACCESSOR(WasmMemoryObject) in CAST_ACCESSOR()
87 ACCESSORS(WasmMemoryObject, array_buffer, JSArrayBuffer, kArrayBufferOffset) in ACCESSORS()
88 SMI_ACCESSORS(WasmMemoryObject, maximum_pages, kMaximumPagesOffset) in ACCESSORS()
89 OPTIONAL_ACCESSORS(WasmMemoryObject, instances, WeakArrayList, kInstancesOffset) in ACCESSORS()
172 OPTIONAL_ACCESSORS(WasmInstanceObject, memory_object, WasmMemoryObject, in PRIMITIVE_ACCESSORS()
238 bool WasmMemoryObject::has_maximum_pages() { return maximum_pages() >= 0; } in has_maximum_pages()
Dwasm-objects.h282 class WasmMemoryObject : public JSObject {
284 DECL_CAST(WasmMemoryObject)
302 static void AddInstance(Isolate* isolate, Handle<WasmMemoryObject> memory,
305 static void RemoveInstance(Handle<WasmMemoryObject> memory,
314 V8_EXPORT_PRIVATE static Handle<WasmMemoryObject> New(
317 static int32_t Grow(Isolate*, Handle<WasmMemoryObject>, uint32_t pages);
381 DECL_OPTIONAL_ACCESSORS(memory_object, WasmMemoryObject)
Dwasm-objects.cc971 Handle<WasmMemoryObject> WasmMemoryObject::New( in New()
980 auto memory_obj = Handle<WasmMemoryObject>::cast( in New()
994 uint32_t WasmMemoryObject::current_pages() { in current_pages()
1000 bool WasmMemoryObject::has_full_guard_region(Isolate* isolate) { in has_full_guard_region()
1024 void WasmMemoryObject::AddInstance(Isolate* isolate, in AddInstance()
1025 Handle<WasmMemoryObject> memory, in AddInstance()
1039 void WasmMemoryObject::RemoveInstance(Handle<WasmMemoryObject> memory, in RemoveInstance()
1047 int32_t WasmMemoryObject::Grow(Isolate* isolate, in Grow()
1048 Handle<WasmMemoryObject> memory_object, in Grow()
1318 WasmMemoryObject::RemoveInstance(handle(instance->memory_object(), isolate), in InstanceFinalizer()
Dmodule-compiler.cc1117 Handle<WasmMemoryObject> memory_object = WasmMemoryObject::New( in Build()
1124 Handle<WasmMemoryObject> memory_object(instance->memory_object(), isolate_); in Build()
1125 WasmMemoryObject::AddInstance(isolate_, memory_object, instance); in Build()
1456 auto memory = Handle<WasmMemoryObject>::cast(value); in FindImportedMemoryBuffer()
1617 auto memory = Handle<WasmMemoryObject>::cast(value); in ProcessImports()
1950 Handle<WasmMemoryObject>(instance->memory_object(), isolate_)); in ProcessExports()
Dwasm-js.cc987 i::Handle<i::JSObject> memory_obj = i::WasmMemoryObject::New( in WebAssemblyMemory()
1238 EXTRACT_THIS(receiver, WasmMemoryObject); in WebAssemblyMemoryGrow()
1261 int32_t ret = i::WasmMemoryObject::Grow(i_isolate, receiver, in WebAssemblyMemoryGrow()
1278 EXTRACT_THIS(receiver, WasmMemoryObject); in WebAssemblyMemoryGetBuffer()
1576 isolate->factory()->NewMap(i::WASM_MEMORY_TYPE, WasmMemoryObject::kSize); in Install()
Dwasm-interpreter.cc2476 Handle<WasmMemoryObject> memory(instance_object_->memory_object(), in Execute()
2479 int32_t result = WasmMemoryObject::Grow(isolate, memory, delta_pages); in Execute()
/external/v8/src/
Dvalue-serializer.h37 class WasmMemoryObject; variable
138 Maybe<bool> WriteWasmMemory(Handle<WasmMemoryObject> object)
285 MaybeHandle<WasmMemoryObject> ReadWasmMemory() V8_WARN_UNUSED_RESULT;
Dvalue-serializer.cc531 return WriteWasmMemory(Handle<WasmMemoryObject>::cast(receiver)); in WriteJSReceiver()
916 Maybe<bool> ValueSerializer::WriteWasmMemory(Handle<WasmMemoryObject> object) { in WriteWasmMemory()
1830 MaybeHandle<WasmMemoryObject> ValueDeserializer::ReadWasmMemory() { in ReadWasmMemory()
1835 return MaybeHandle<WasmMemoryObject>(); in ReadWasmMemory()
1840 return MaybeHandle<WasmMemoryObject>(); in ReadWasmMemory()
1845 return MaybeHandle<WasmMemoryObject>(); in ReadWasmMemory()
1851 return MaybeHandle<WasmMemoryObject>(); in ReadWasmMemory()
1854 Handle<WasmMemoryObject> result = in ReadWasmMemory()
1855 WasmMemoryObject::New(isolate_, buffer, maximum_pages); in ReadWasmMemory()
Dobjects.h905 V(WasmMemoryObject) \
1026 V(WasmMemoryObject, WASM_MEMORY_TYPE) \
Dobjects.cc1463 return WasmMemoryObject::kSize; in GetHeaderSize()
/external/v8/src/runtime/
Druntime-wasm.cc81 int ret = WasmMemoryObject::Grow( in RUNTIME_FUNCTION()
Druntime-test.cc1079 CONVERT_ARG_CHECKED(WasmMemoryObject, memory, 0); in RUNTIME_FUNCTION()
/external/v8/src/compiler/
Dcode-assembler.h250 class WasmMemoryObject;