Home
last modified time | relevance | path

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

/external/v8/src/wasm/
Dwasm-module.h32 WireBytesRef code; // code of this function.
72 WireBytesRef source; // start offset in the module bytes.
102 WireBytesRef module_name; // module name.
103 WireBytesRef field_name; // import name.
110 WireBytesRef name; // exported name.
144 WireBytesRef name = {0, 0};
157 mutable std::unique_ptr<std::unordered_map<uint32_t, WireBytesRef>>
162 WireBytesRef LookupFunctionName(const ModuleWireBytes& wire_bytes,
164 void AddFunctionNameForTesting(int function_index, WireBytesRef name);
182 WasmName GetName(WireBytesRef ref) const;
[all …]
Dmodule-decoder.h45 WireBytesRef name;
46 LocalName(int local_index, WireBytesRef name) in LocalName()
84 WireBytesRef section;
85 WireBytesRef name;
86 WireBytesRef payload;
104 std::unordered_map<uint32_t, WireBytesRef>* names);
Dwasm-module.cc39 WireBytesRef WasmModule::LookupFunctionName(const ModuleWireBytes& wire_bytes, in LookupFunctionName()
42 function_names.reset(new std::unordered_map<uint32_t, WireBytesRef>()); in LookupFunctionName()
47 if (it == function_names->end()) return WireBytesRef(); in LookupFunctionName()
52 WireBytesRef name) { in AddFunctionNameForTesting()
54 function_names.reset(new std::unordered_map<uint32_t, WireBytesRef>()); in AddFunctionNameForTesting()
60 WasmName ModuleWireBytes::GetName(WireBytesRef ref) const { in GetName()
74 WasmName ModuleWireBytes::GetNameOrNull(WireBytesRef ref) const { in GetNameOrNull()
Ddecoder.h379 class WireBytesRef {
381 WireBytesRef() : WireBytesRef(0, 0) {} in WireBytesRef() function
382 WireBytesRef(uint32_t offset, uint32_t length) in WireBytesRef() function
Dwasm-objects.h30 class WireBytesRef; variable
221 Isolate* isolate, Handle<WasmModuleObject>, wasm::WireBytesRef ref);
224 wasm::WireBytesRef ref);
Dmodule-decoder.cc94 bool validate_utf8(Decoder* decoder, WireBytesRef string) { in validate_utf8()
125 WireBytesRef consume_string(Decoder& decoder, bool validate_utf8, in consume_string()
820 WireBytesRef name = consume_string(inner, false, "module name"); in DecodeNameSection()
1470 WireBytesRef string = consume_string(decoder, true, "section name"); in IdentifyUnknownSection()
1632 std::unordered_map<uint32_t, WireBytesRef>* names) { in DecodeFunctionNames()
1654 WireBytesRef name = consume_string(decoder, false, "function name"); in DecodeFunctionNames()
1697 WireBytesRef name = consume_string(decoder, true, "local name"); in DecodeLocalNames()
Dwasm-objects.cc638 wasm::WireBytesRef ref) { in ExtractUtf8StringFromModuleBytes()
647 wasm::WireBytesRef ref) { in ExtractUtf8StringFromModuleBytes()
667 wasm::WireBytesRef name = module_object->module()->LookupFunctionName( in GetFunctionNameOrNull()
691 wasm::WireBytesRef name_ref = in GetRawFunctionName()
Dmodule-compiler.cc356 WireBytesRef name_ref = in LazyCompileFunction()
1914 WireBytesRef func_name_ref = module_->LookupFunctionName( in ProcessExports()
2097 WireBytesRef func_name_ref = module_->LookupFunctionName( in LoadTableSegments()
Dwasm-code-manager.cc147 WireBytesRef name_ref = in LogCode()