Home
last modified time | relevance | path

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

/external/v8/src/wasm/
Dwasm-module.h328 : module_env(module, instance), wire_bytes(module_bytes) {} in ModuleBytesEnv()
330 const ModuleWireBytes& wire_bytes) in ModuleBytesEnv()
331 : module_env(module, instance), wire_bytes(wire_bytes) {} in ModuleBytesEnv()
334 ModuleWireBytes wire_bytes; member
Dwasm-text.cc36 const ModuleWireBytes &wire_bytes, uint32_t func_index, in PrintWasmText() argument
50 WasmName fun_name = wire_bytes.GetNameOrNull(fun); in PrintWasmText()
74 Vector<const byte> func_bytes = wire_bytes.GetFunctionBytes(fun); in PrintWasmText()
Dwasm-text.h30 const WasmModule *module, const ModuleWireBytes &wire_bytes,
Dwasm-module.cc138 const ModuleWireBytes& wire_bytes) { in CreateWasmScript() argument
146 reinterpret_cast<const char*>(wire_bytes.start()), wire_bytes.length(), in CreateWasmScript()
390 WasmName str = module_env->wire_bytes.GetName(&func); in CompileSequentially()
400 ErrorThrower* thrower, const ModuleWireBytes& wire_bytes, in CompileToModuleObject() argument
431 ModuleBytesEnv module_env(module_, &temp_instance, wire_bytes); in CompileToModuleObject()
477 script = CreateWasmScript(isolate_, wire_bytes); in CompileToModuleObject()
489 ->NewStringFromOneByte({wire_bytes.start(), wire_bytes.length()}, in CompileToModuleObject()
Dwasm-interpreter.cc1829 module_bytes_(env.wire_bytes.start(), env.wire_bytes.end(), zone), in WasmInterpreterInternals()
Dmodule-decoder.cc830 menv->wire_bytes.GetNameOrNull(function)); in VerifyFunctionBody()
/external/v8/src/runtime/
Druntime-test.cc850 CONVERT_ARG_HANDLE_CHECKED(JSArrayBuffer, wire_bytes, 1); in RUNTIME_FUNCTION()
858 bool already_external = wire_bytes->is_external(); in RUNTIME_FUNCTION()
860 wire_bytes->set_is_external(true); in RUNTIME_FUNCTION()
861 isolate->heap()->UnregisterArrayBuffer(*wire_bytes); in RUNTIME_FUNCTION()
867 reinterpret_cast<uint8_t*>(wire_bytes->backing_store()), in RUNTIME_FUNCTION()
868 static_cast<int>(wire_bytes->byte_length()->Number()))); in RUNTIME_FUNCTION()
870 wire_bytes->set_is_external(false); in RUNTIME_FUNCTION()
871 isolate->heap()->RegisterNewArrayBuffer(*wire_bytes); in RUNTIME_FUNCTION()
/external/v8/src/
Dvalue-serializer.cc812 Handle<String> wire_bytes(compiled_part->module_bytes(), isolate_); in WriteWasmModule() local
813 int wire_bytes_length = wire_bytes->length(); in WriteWasmModule()
817 String::WriteToFlat(*wire_bytes, destination, 0, wire_bytes_length); in WriteWasmModule()
1613 Vector<const uint8_t> wire_bytes; in ReadWasmModule() local
1618 !ReadRawBytes(wire_bytes_length).To(&wire_bytes) || in ReadWasmModule()
1629 isolate_, &script_data, wire_bytes) in ReadWasmModule()
1640 wasm::ModuleWireBytes(wire_bytes)); in ReadWasmModule()
Dapi.cc7520 i::Handle<i::String> wire_bytes(compiled_part->module_bytes()); in GetWasmWireBytes() local
7521 return Local<String>::Cast(Utils::ToLocal(wire_bytes)); in GetWasmWireBytes()
7542 const WasmCompiledModule::CallerOwnedBuffer& wire_bytes) { in Deserialize() argument
7549 {wire_bytes.first, static_cast<int>(wire_bytes.second)}); in Deserialize()
7564 const WasmCompiledModule::CallerOwnedBuffer& wire_bytes) { in DeserializeOrCompile() argument
7566 Deserialize(isolate, serialized_module, wire_bytes); in DeserializeOrCompile()
7570 return Compile(isolate, wire_bytes.first, wire_bytes.second); in DeserializeOrCompile()
/external/v8/src/snapshot/
Dcode-serializer.h63 Isolate* isolate, ScriptData* data, Vector<const byte> wire_bytes);
Dcode-serializer.cc253 Isolate* isolate, ScriptData* data, Vector<const byte> wire_bytes) { in DeserializeWasmModule() argument
272 isolate->factory()->NewStringFromOneByte(wire_bytes, TENURED); in DeserializeWasmModule()
/external/v8/src/compiler/
Dwasm-compiler.cc3975 const byte* module_start = module_env_->wire_bytes.start(); in BuildGraphForWasmFunction()
4009 PrintWasmText(module_env_->module_env.module, module_env_->wire_bytes, in BuildGraphForWasmFunction()
4044 ? module_env->wire_bytes.GetNameOrNull(function) in WasmCompilationUnit()
4064 function_, module_env_->wire_bytes.GetNameOrNull(function_)) in ExecuteCompilation()
4118 wasm::WasmName name = module_env_->wire_bytes.GetName(function_); in FinishCompilation()
4141 module_env_->wire_bytes.GetName(function_)); in FinishCompilation()
/external/v8/include/
Dv8.h3944 const CallerOwnedBuffer& wire_bytes);
3950 const CallerOwnedBuffer& wire_bytes);