Lines Matching refs:wire_bytes
185 ModuleOrigin origin, base::Vector<const uint8_t> wire_bytes) {
188 size_t prefix_hash = PrefixHash(wire_bytes);
189 NativeModuleCache::Key key{prefix_hash, wire_bytes};
209 DCHECK_EQ(shared_native_module->wire_bytes(), wire_bytes);
245 base::Vector<const uint8_t> wire_bytes = native_module->wire_bytes();
246 DCHECK(!wire_bytes.empty());
247 size_t prefix_hash = PrefixHash(native_module->wire_bytes());
250 const Key key{prefix_hash, wire_bytes};
256 DCHECK_EQ(conflicting_module->wire_bytes(), wire_bytes);
278 if (native_module->wire_bytes().empty()) return;
280 size_t prefix_hash = PrefixHash(native_module->wire_bytes());
281 map_.erase(Key{prefix_hash, native_module->wire_bytes()});
293 size_t NativeModuleCache::PrefixHash(base::Vector<const uint8_t> wire_bytes) {
296 Decoder decoder(wire_bytes.begin(), wire_bytes.end());
298 size_t hash = NativeModuleCache::WireBytesHash(wire_bytes.SubVector(0, 8));
783 base::Vector<const uint8_t> wire_bytes = native_module->wire_bytes();
797 reinterpret_cast<const char*>(wire_bytes.begin()), wire_bytes.length(),
817 isolate, wire_bytes, module->name, kNoInternalize);
837 ModuleWireBytes(wire_bytes).GetNameOrNull(debug_symbols.external_url);
864 ModuleWireBytes wire_bytes(native_module->wire_bytes());
1197 ModuleOrigin origin, base::Vector<const uint8_t> wire_bytes,
1199 TRACE_EVENT1("v8.wasm", "wasm.GetNativeModuleFromCache", "wire_bytes",
1200 wire_bytes.size());
1202 native_module_cache_.MaybeGetNativeModule(origin, wire_bytes);