Home
last modified time | relevance | path

Searched refs:WasmSerializer (Results 1 – 5 of 5) sorted by relevance

/external/v8/src/wasm/
Dwasm-serialization.h17 class V8_EXPORT_PRIVATE WasmSerializer {
19 explicit WasmSerializer(NativeModule* native_module);
Dwasm-serialization.cc128 DCHECK_EQ(WasmSerializer::kHeaderSize, writer->bytes_written()); in WriteHeader()
448 WasmSerializer::WasmSerializer(NativeModule* native_module) in WasmSerializer() function in v8::internal::wasm::WasmSerializer
452 size_t WasmSerializer::GetSerializedNativeModuleSize() const { in GetSerializedNativeModuleSize()
457 bool WasmSerializer::SerializeNativeModule(Vector<byte> buffer) const { in SerializeNativeModule()
601 if (header.size() < WasmSerializer::kHeaderSize) return false; in IsSupportedVersion()
602 byte current_version[WasmSerializer::kHeaderSize]; in IsSupportedVersion()
603 Writer writer({current_version, WasmSerializer::kHeaderSize}); in IsSupportedVersion()
605 return memcmp(header.begin(), current_version, WasmSerializer::kHeaderSize) == in IsSupportedVersion()
641 Reader reader(data + WasmSerializer::kHeaderSize); in DeserializeNativeModule()
Dc-api.cc1039 i::wasm::WasmSerializer serializer(native_module); in serialize()
/external/v8/src/runtime/
Druntime-test.cc1385 wasm::WasmSerializer wasm_serializer(native_module); in RUNTIME_FUNCTION()
/external/v8/src/api/
Dapi.cc7334 i::wasm::WasmSerializer wasm_serializer(native_module_.get()); in Serialize()