Home
last modified time | relevance | path

Searched refs:module_bytes (Results 1 – 9 of 9) sorted by relevance

/third_party/node/deps/v8/src/wasm/
Dmodule-decoder.h202 NameMap DecodeNameMap(base::Vector<const uint8_t> module_bytes,
204 IndirectNameMap DecodeIndirectNameMap(base::Vector<const uint8_t> module_bytes,
Dstreaming-decoder.h66 virtual bool Deserialize(base::Vector<const uint8_t> module_bytes,
Dwasm-module.h599 explicit ModuleWireBytes(base::Vector<const byte> module_bytes) in ModuleWireBytes()
600 : module_bytes_(module_bytes) {} in ModuleWireBytes()
625 base::Vector<const byte> module_bytes() const { return module_bytes_; } in module_bytes() function
Dmodule-decoder.cc306 void DumpModule(const base::Vector<const byte> module_bytes) { in DumpModule() argument
316 size_t hash = base::hash_range(module_bytes.begin(), module_bytes.end()); in DumpModule()
322 rv = fwrite(module_bytes.begin(), module_bytes.length(), 1, file); in DumpModule()
2517 NameMap DecodeNameMap(base::Vector<const uint8_t> module_bytes, in DecodeNameMap() argument
2519 Decoder decoder(module_bytes); in DecodeNameMap()
2549 IndirectNameMap DecodeIndirectNameMap(base::Vector<const uint8_t> module_bytes, in DecodeIndirectNameMap() argument
2551 Decoder decoder(module_bytes); in DecodeIndirectNameMap()
Dmodule-compiler.cc1910 base::OwnedVector<uint8_t>::Of(wire_bytes.module_bytes()); in CompileToNativeModule()
2077 base::Vector<const uint8_t> module_bytes) override;
2151 module->origin, wire_bytes_.module_bytes(), isolate_); in GetOrCreateNativeModule()
2966 histogram->AddSample(job_->wire_bytes_.module_bytes().length()); in OnFinishedStream()
3009 base::Vector<const uint8_t> module_bytes, in Deserialize() argument
3021 job_->isolate_, module_bytes, wire_bytes, job_->stream_->url()); in Deserialize()
Dmodule-instantiate.cc922 base::Vector<const byte> module_bytes = in EvaluateInitExpression() local
925 const byte* start = module_bytes.begin() + ref.offset(); in EvaluateInitExpression()
926 const byte* end = module_bytes.begin() + ref.end_offset(); in EvaluateInitExpression()
Dwasm-engine.cc668 streaming_decoder->OnBytesReceived(bytes.module_bytes()); in AsyncCompile()
/third_party/node/deps/v8/src/debug/wasm/gdb-server/
Dwasm-module-debug.cc58 int GetLEB128Size(base::Vector<const uint8_t> module_bytes, int offset) { in GetLEB128Size() argument
60 while (module_bytes[index] & 0x80) index++; in GetLEB128Size()
/third_party/node/deps/v8/src/compiler/
Dwasm-compiler.cc8406 base::Optional<wasm::ModuleWireBytes> module_bytes = in GetDebugName() local
8408 if (module_bytes.has_value() && in GetDebugName()
8412 module_bytes.value(), index); in GetDebugName()
8416 memcpy(index_name, module_bytes->start() + name.offset(), name_len); in GetDebugName()