Home
last modified time | relevance | path

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

/third_party/node/deps/v8/include/
Dv8-wasm.h68 class V8_EXPORT WasmMemoryObject : public Object {
70 WasmMemoryObject() = delete;
77 V8_INLINE static WasmMemoryObject* Cast(Value* value) { in Cast()
81 return static_cast<WasmMemoryObject*>(value); in Cast()
Dv8-forward.h76 class WasmMemoryObject; variable
/third_party/node/deps/v8/src/objects/
Dbacking-store.h19 class WasmMemoryObject; variable
131 Handle<WasmMemoryObject> memory_object);
260 Handle<WasmMemoryObject> memory_object);
Dvalue-serializer.h37 class WasmMemoryObject; variable
140 Maybe<bool> WriteWasmMemory(Handle<WasmMemoryObject> object)
304 MaybeHandle<WasmMemoryObject> ReadWasmMemory() V8_WARN_UNUSED_RESULT;
Dbacking-store.cc644 Isolate* isolate, Handle<WasmMemoryObject> memory_object) { in AttachSharedWasmMemoryObject()
917 Handle<WasmMemoryObject> memory_object) { in AddSharedWasmMemoryObject()
964 Handle<WasmMemoryObject> memory_object(WasmMemoryObject::cast(obj), in UpdateSharedWasmMemoryObjects()
Dobject-list-macros.h68 class WasmMemoryObject; variable
255 IF_WASM(V, WasmMemoryObject) \
Dvalue-serializer.cc613 return WriteWasmMemory(Handle<WasmMemoryObject>::cast(receiver)); in WriteJSReceiver()
1070 Maybe<bool> ValueSerializer::WriteWasmMemory(Handle<WasmMemoryObject> object) { in WriteWasmMemory()
2179 MaybeHandle<WasmMemoryObject> ValueDeserializer::ReadWasmMemory() { in ReadWasmMemory()
2184 return MaybeHandle<WasmMemoryObject>(); in ReadWasmMemory()
2189 return MaybeHandle<WasmMemoryObject>(); in ReadWasmMemory()
2194 return MaybeHandle<WasmMemoryObject>(); in ReadWasmMemory()
2200 return MaybeHandle<WasmMemoryObject>(); in ReadWasmMemory()
2203 Handle<WasmMemoryObject> result = in ReadWasmMemory()
2204 WasmMemoryObject::New(isolate_, buffer, maximum_pages).ToHandleChecked(); in ReadWasmMemory()
Djs-objects.cc2503 return WasmMemoryObject::kHeaderSize; in GetHeaderSize()
/third_party/node/deps/v8/src/wasm/
Dwasm-objects.h246 class WasmMemoryObject
247 : public TorqueGeneratedWasmMemoryObject<WasmMemoryObject, JSObject> {
253 Handle<WasmMemoryObject> memory,
257 V8_EXPORT_PRIVATE static MaybeHandle<WasmMemoryObject> New(
260 V8_EXPORT_PRIVATE static MaybeHandle<WasmMemoryObject> New(Isolate* isolate,
269 V8_EXPORT_PRIVATE static int32_t Grow(Isolate*, Handle<WasmMemoryObject>,
272 TQ_OBJECT_CONSTRUCTORS(WasmMemoryObject)
324 DECL_OPTIONAL_ACCESSORS(memory_object, WasmMemoryObject)
Dwasm-objects-inl.h46 TQ_OBJECT_CONSTRUCTORS_IMPL(WasmMemoryObject) in TQ_OBJECT_CONSTRUCTORS_IMPL()
109 OPTIONAL_ACCESSORS(WasmMemoryObject, instances, WeakArrayList, kInstancesOffset) in OPTIONAL_ACCESSORS() argument
233 OPTIONAL_ACCESSORS(WasmInstanceObject, memory_object, WasmMemoryObject, in SANDBOXED_POINTER_ACCESSORS()
329 bool WasmMemoryObject::has_maximum_pages() { return maximum_pages() >= 0; } in has_maximum_pages()
Dwasm-objects.cc810 MaybeHandle<WasmMemoryObject> WasmMemoryObject::New( in New()
824 auto memory_object = Handle<WasmMemoryObject>::cast( in New()
842 MaybeHandle<WasmMemoryObject> WasmMemoryObject::New(Isolate* isolate, in New()
884 void WasmMemoryObject::AddInstance(Isolate* isolate, in AddInstance()
885 Handle<WasmMemoryObject> memory, in AddInstance()
899 void WasmMemoryObject::update_instances(Isolate* isolate, in update_instances()
919 int32_t WasmMemoryObject::Grow(Isolate* isolate, in Grow()
920 Handle<WasmMemoryObject> memory_object, in Grow()
Dmodule-instantiate.cc297 Handle<WasmMemoryObject> memory_object_;
516 WasmMemoryObject::New(isolate_, memory_buffer_, maximum_pages) in Build()
545 WasmMemoryObject::AddInstance(isolate_, memory_object_, instance); in Build()
1089 memory_object_ = Handle<WasmMemoryObject>::cast(value); in FindImportedMemory()
1342 auto memory_object = Handle<WasmMemoryObject>::cast(value); in ProcessImportedMemory()
1740 : WasmMemoryObject::kNoMaximum; in AllocateMemory()
1745 if (!WasmMemoryObject::New(isolate_, initial_pages, maximum_pages, shared) in AllocateMemory()
1836 Handle<WasmMemoryObject>(instance->memory_object(), isolate_)); in ProcessExports()
Dwasm-js.cc1251 int64_t maximum = i::WasmMemoryObject::kNoMaximum; in WebAssemblyMemory()
1283 if (!i::WasmMemoryObject::New(i_isolate, static_cast<int>(initial), in WebAssemblyMemory()
1304 i::Handle<i::WasmMemoryObject>::cast(memory_obj)->array_buffer(), in WebAssemblyMemory()
2124 EXTRACT_THIS(receiver, WasmMemoryObject); in WebAssemblyMemoryGrow()
2141 int32_t ret = i::WasmMemoryObject::Grow(i_isolate, receiver, delta_pages); in WebAssemblyMemoryGrow()
2157 EXTRACT_THIS(receiver, WasmMemoryObject); in WebAssemblyMemoryGetBuffer()
2185 EXTRACT_THIS(memory, WasmMemoryObject); in WebAssemblyMemoryType()
2867 WasmMemoryObject::kHeaderSize, "WebAssembly.Memory"); in Install()
Dc-api.cc2040 using type = RefImpl<Memory, i::WasmMemoryObject>;
2065 i::Handle<i::WasmMemoryObject> memory_obj; in make()
2066 if (!i::WasmMemoryObject::New(isolate, minimum, maximum, shared) in make()
2074 i::Handle<i::WasmMemoryObject> memory = impl(this)->v8_object(); in type()
2098 i::Handle<i::WasmMemoryObject> memory = impl(this)->v8_object(); in grow()
2101 int32_t old = i::WasmMemoryObject::Grow(isolate, memory, delta); in grow()
2227 store, i::Handle<i::WasmMemoryObject>::cast(obj)); in exports()
Dwasm-objects.tq138 extern class WasmMemoryObject extends JSObject {
/third_party/node/src/
Dnode_wasi.h98 v8::Global<v8::WasmMemoryObject> memory_;
Dnode_wasi.cc89 using v8::WasmMemoryObject;
1681 wasi->memory_.Reset(wasi->env()->isolate(), args[0].As<WasmMemoryObject>()); in _SetMemory()
1686 Local<WasmMemoryObject> memory = PersistentToLocal::Strong(this->memory_); in backingStore()
/third_party/node/deps/v8/src/api/
Dapi.h149 IF_WASM(V, WasmMemoryObject, WasmMemoryObject)
Dapi.cc3644 VALUE_IS_SPECIFIC_TYPE(WasmMemoryObject, WasmMemoryObject) in VALUE_IS_SPECIFIC_TYPE()
3980 void v8::WasmMemoryObject::CheckCast(Value* that) { in CheckCast()
7830 Local<ArrayBuffer> v8::WasmMemoryObject::Buffer() { in Buffer()
7832 i::Handle<i::WasmMemoryObject> obj = Utils::OpenHandle(this); in Buffer()
/third_party/node/deps/v8/src/runtime/
Druntime-wasm.cc138 int ret = WasmMemoryObject::Grow( in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/inspector/
Dvalue-mirror.cc1788 v8::Local<v8::WasmMemoryObject> memory = value.As<v8::WasmMemoryObject>(); in create()
/third_party/node/deps/v8/src/execution/
Disolate.h1857 void AddSharedWasmMemory(Handle<WasmMemoryObject> memory_object);
Disolate.cc2966 void Isolate::AddSharedWasmMemory(Handle<WasmMemoryObject> memory_object) { in ThrowInternal()
/third_party/node/deps/v8/src/compiler/
Dcode-assembler.h136 class WasmMemoryObject; variable
/third_party/node/doc/changelogs/
DCHANGELOG_V18.md3797 …(https://github.com/nodejs/node/commit/ba9b2f021f)] - **wasi**: use WasmMemoryObject handle for pe…