Searched refs:WireBytesRef (Results 1 – 9 of 9) sorted by relevance
/external/v8/src/wasm/ |
D | wasm-module.h | 32 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 …]
|
D | module-decoder.h | 45 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);
|
D | wasm-module.cc | 39 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()
|
D | decoder.h | 379 class WireBytesRef { 381 WireBytesRef() : WireBytesRef(0, 0) {} in WireBytesRef() function 382 WireBytesRef(uint32_t offset, uint32_t length) in WireBytesRef() function
|
D | wasm-objects.h | 30 class WireBytesRef; variable 221 Isolate* isolate, Handle<WasmModuleObject>, wasm::WireBytesRef ref); 224 wasm::WireBytesRef ref);
|
D | module-decoder.cc | 94 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()
|
D | wasm-objects.cc | 638 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()
|
D | module-compiler.cc | 356 WireBytesRef name_ref = in LazyCompileFunction() 1914 WireBytesRef func_name_ref = module_->LookupFunctionName( in ProcessExports() 2097 WireBytesRef func_name_ref = module_->LookupFunctionName( in LoadTableSegments()
|
D | wasm-code-manager.cc | 147 WireBytesRef name_ref = in LogCode()
|