Lines Matching defs:shared_ptr

140       // Convert from {unique_ptr} to {shared_ptr}.
163 const std::shared_ptr<const char>& source_url() const { return source_url_; }
179 std::shared_ptr<const char> source_url_;
184 std::shared_ptr<NativeModule> NativeModuleCache::MaybeGetNativeModule(
241 std::shared_ptr<NativeModule> NativeModuleCache::Update(
242 std::shared_ptr<NativeModule> native_module, bool error) {
386 std::shared_ptr<const char> source_url;
391 std::shared_ptr<v8::TaskRunner> foreground_task_runner;
393 const std::shared_ptr<Counters> async_counters;
416 std::shared_ptr<OperationsBarrier> wrapper_compilation_barrier_;
423 // Weak pointer, to gain back a shared_ptr if needed.
515 std::shared_ptr<NativeModule> native_module = CompileToNativeModule(
527 std::shared_ptr<NativeModule> native_module =
555 std::shared_ptr<NativeModule> native_module = CompileToNativeModule(
635 std::shared_ptr<CompilationResultResolver> resolver,
664 std::shared_ptr<StreamingDecoder> streaming_decoder =
684 std::shared_ptr<StreamingDecoder> WasmEngine::StartStreamingCompilation(
687 std::shared_ptr<CompilationResultResolver> resolver) {
711 std::vector<std::shared_ptr<NativeModule>> native_modules;
719 if (auto shared_ptr = native_modules_[native_module]->weak_ptr.lock()) {
720 native_modules.emplace_back(std::move(shared_ptr));
733 std::vector<std::pair<std::shared_ptr<NativeModule>, bool>> native_modules;
747 auto shared_ptr = native_modules_[native_module]->weak_ptr.lock();
748 if (!shared_ptr) continue; // The module is not used any more.
754 native_modules.emplace_back(std::move(shared_ptr), tier_up);
768 std::shared_ptr<NativeModule> WasmEngine::ExportNativeModule(
775 std::shared_ptr<NativeModule> native_module,
861 Isolate* isolate, std::shared_ptr<NativeModule> shared_native_module,
919 std::shared_ptr<CompilationResultResolver> resolver, int compilation_id) {
972 std::shared_ptr<OperationsBarrier> wrapper_compilation_barrier;
1156 std::shared_ptr<NativeModule> WasmEngine::NewNativeModule(
1158 std::shared_ptr<const WasmModule> module, size_t code_size_estimate) {
1166 std::shared_ptr<NativeModule> native_module =
1196 std::shared_ptr<NativeModule> WasmEngine::MaybeGetNativeModule(
1201 std::shared_ptr<NativeModule> native_module =
1224 bool error, std::shared_ptr<NativeModule>* native_module,
1328 if (std::shared_ptr<NativeModule> native_module = native_module_.lock()) {
1341 const std::shared_ptr<NativeModule>& native_module) {
1480 Isolate* isolate, const std::shared_ptr<NativeModule>& native_module,
1508 std::shared_ptr<OperationsBarrier>