Home
last modified time | relevance | path

Searched refs:WasmStreaming (Results 1 - 6 of 6) sorted by relevance

/third_party/node/deps/v8/include/v8-include/
H A Dv8-wasm.h59 friend class WasmStreaming;
146 * compilation is initiated, V8 passes a {WasmStreaming} object to the embedder
150 class V8_EXPORT WasmStreaming final {
154 explicit WasmStreaming(std::unique_ptr<WasmStreamingImpl> impl);
156 ~WasmStreaming();
208 * Unpacks a {WasmStreaming} object wrapped in a {Managed} for the embedder.
212 static std::shared_ptr<WasmStreaming> Unpack(Isolate* isolate,
/third_party/node/deps/v8/include/
H A Dv8-wasm.h58 friend class WasmStreaming;
125 * compilation is initiated, V8 passes a {WasmStreaming} object to the embedder
129 class V8_EXPORT WasmStreaming final {
146 explicit WasmStreaming(std::unique_ptr<WasmStreamingImpl> impl);
148 ~WasmStreaming();
198 * Unpacks a {WasmStreaming} object wrapped in a {Managed} for the embedder.
202 static std::shared_ptr<WasmStreaming> Unpack(Isolate* isolate,
/third_party/node/src/
H A Dnode_wasm_web_api.cc21 using v8::WasmStreaming;
54 // v8::WasmStreaming is opaque. We assume that the size of the WebAssembly in MemoryInfo()
61 Environment* env, std::shared_ptr<WasmStreaming> streaming) { in Create()
149 // V8 passes an instance of v8::WasmStreaming to this callback, which we can in StartStreamingCompilation()
153 // a WasmStreamingObject that encapsulates v8::WasmStreaming and that we can in StartStreamingCompilation()
159 std::shared_ptr<WasmStreaming> streaming = in StartStreamingCompilation()
160 WasmStreaming::Unpack(info.GetIsolate(), info.Data()); in StartStreamingCompilation()
H A Dnode_wasm_web_api.h12 // Wrapper for interacting with a v8::WasmStreaming instance from JavaScript.
24 Environment* env, std::shared_ptr<v8::WasmStreaming> streaming);
41 std::shared_ptr<v8::WasmStreaming> streaming_;
/third_party/node/deps/v8/src/wasm/
H A Dwasm-js.cc52 class WasmStreaming::WasmStreamingImpl {
109 WasmStreaming::WasmStreaming(std::unique_ptr<WasmStreamingImpl> impl) in WasmStreaming() function in v8::WasmStreaming
116 WasmStreaming::~WasmStreaming() = default;
118 void WasmStreaming::OnBytesReceived(const uint8_t* bytes, size_t size) { in OnBytesReceived()
123 void WasmStreaming::Finish(bool can_use_compiled_module) { in Finish()
128 void WasmStreaming::Abort(MaybeLocal<Value> exception) { in Abort()
133 bool WasmStreaming::SetCompiledModuleBytes(const uint8_t* bytes, size_t size) { in SetCompiledModuleBytes()
138 void WasmStreaming
[all...]
/third_party/node/deps/v8/src/api/
H A Dapi.cc10446 // WasmStreaming API. Since {WasmStreaming::Unpack} will always fail, all
10449 class WasmStreaming::WasmStreamingImpl {};
10451 WasmStreaming::WasmStreaming(std::unique_ptr<WasmStreamingImpl>) { in WasmStreaming() function in v8::OneByteMask::__anon13987::MapAsArrayKind::WasmStreaming
10455 WasmStreaming::~WasmStreaming() = default;
10457 void WasmStreaming::OnBytesReceived(const uint8_t* bytes, size_t size) { in OnBytesReceived()
10461 void WasmStreaming::Finish(bool can_use_compiled_module) { UNREACHABLE(); } in Finish()
10463 void WasmStreaming
[all...]

Completed in 25 milliseconds