Home
last modified time | relevance | path

Searched refs:MakeRefCounted (Results 1 – 25 of 71) sorted by relevance

123

/third_party/flutter/engine/flutter/fml/memory/
Dref_counted_unittest.cc102 RefPtr<MyClass> r(MakeRefCounted<MyClass>(&created, &was_destroyed)); in TEST()
115 std::move(MakeRefCounted<MyClass>(&created, &was_destroyed)))) in TEST()
126 RefPtr<MyClass> r1(MakeRefCounted<MyClass>(&created, &was_destroyed)); in TEST()
141 RefPtr<MyClass> r1(MakeRefCounted<MyClass>(&created, &was_destroyed)); in TEST()
157 RefPtr<MyClass> r(MakeRefCounted<MySubclass>(&created, &was_destroyed)); in TEST()
170 std::move(MakeRefCounted<MySubclass>(&created, &was_destroyed)))) in TEST()
181 RefPtr<MySubclass> r1(MakeRefCounted<MySubclass>(&created, &was_destroyed)); in TEST()
196 RefPtr<MySubclass> r1(MakeRefCounted<MySubclass>(&created, &was_destroyed)); in TEST()
253 RefPtr<MyClass> r1(MakeRefCounted<MyClass>(&created, &was_destroyed)); in TEST()
268 RefPtr<MyClass> r1(MakeRefCounted<MyClass>(&created, &was_destroyed)); in TEST()
[all …]
Dref_ptr.h230 RefPtr<T> MakeRefCounted(Args&&... args) { in MakeRefCounted() function
231 return internal::MakeRefCountedHelper<T>::MakeRefCounted( in MakeRefCounted()
Dref_ptr_internal.h30 static RefPtr<T> MakeRefCounted(Args&&... args) { in MakeRefCounted() function
/third_party/flutter/engine/flutter/fml/
Dmessage_loop_impl.cc32 return fml::MakeRefCounted<MessageLoopDarwin>(); in Create()
34 return fml::MakeRefCounted<MessageLoopLinux>(); in Create()
36 return fml::MakeRefCounted<MessageLoopAndroid>(); in Create()
38 return fml::MakeRefCounted<MessageLoopLinux>(); in Create()
40 return fml::MakeRefCounted<MessageLoopWin>(); in Create()
Dgpu_thread_merger_unittests.cc44 fml::MakeRefCounted<fml::GpuThreadMerger>(qid1, qid2); in TEST()
89 fml::MakeRefCounted<fml::GpuThreadMerger>(qid1, qid2); in TEST()
176 fml::MakeRefCounted<fml::GpuThreadMerger>(qid1, qid2); in TEST()
Dmake_copyable.h20 : impl_(MakeRefCounted<Impl>(std::move(func))) {} in CopyableLambda()
/third_party/flutter/engine/flutter/shell/common/
Dpipeline_unittests.cc21 fml::RefPtr<IntPipeline> pipeline = fml::MakeRefCounted<IntPipeline>(2); in TEST()
35 fml::RefPtr<IntPipeline> pipeline = fml::MakeRefCounted<IntPipeline>(2); in TEST()
57 fml::RefPtr<IntPipeline> pipeline = fml::MakeRefCounted<IntPipeline>(depth); in TEST()
74 fml::RefPtr<IntPipeline> pipeline = fml::MakeRefCounted<IntPipeline>(depth); in TEST()
94 fml::RefPtr<IntPipeline> pipeline = fml::MakeRefCounted<IntPipeline>(depth); in TEST()
114 fml::RefPtr<IntPipeline> pipeline = fml::MakeRefCounted<IntPipeline>(depth); in TEST()
/third_party/flutter/engine/flutter/shell/platform/android/
Dandroid_surface_gl.cc15 auto environment = fml::MakeRefCounted<AndroidEnvironmentGL>(); in CreateResourceLoadingContext()
20 auto context = fml::MakeRefCounted<AndroidContextGL>(environment); in CreateResourceLoadingContext()
90 onscreen_context_ = fml::MakeRefCounted<AndroidContextGL>( in SetNativeWindow()
Dace_platform_view_android.cc179 response = fml::MakeRefCounted<PlatformMessageResponseAndroid>( in DispatchPlatformMessage()
184 fml::MakeRefCounted<flutter::PlatformMessage>( in DispatchPlatformMessage()
193 response = fml::MakeRefCounted<PlatformMessageResponseAndroid>( in DispatchEmptyPlatformMessage()
198 fml::MakeRefCounted<flutter::PlatformMessage>(std::move(name), in DispatchEmptyPlatformMessage()
Dplatform_view_android.cc104 response = fml::MakeRefCounted<PlatformMessageResponseAndroid>( in DispatchPlatformMessage()
109 fml::MakeRefCounted<flutter::PlatformMessage>( in DispatchPlatformMessage()
118 response = fml::MakeRefCounted<PlatformMessageResponseAndroid>( in DispatchEmptyPlatformMessage()
123 fml::MakeRefCounted<flutter::PlatformMessage>(std::move(name), in DispatchEmptyPlatformMessage()
Dandroid_surface_vulkan.cc16 : proc_table_(fml::MakeRefCounted<vulkan::VulkanProcTable>()) {} in AndroidSurfaceVulkan()
/third_party/flutter/engine/flutter/runtime/
Ddart_snapshot.cc161 fml::MakeRefCounted<DartSnapshot>(ResolveVMData(settings), // in VMSnapshotFromSettings()
174 fml::MakeRefCounted<DartSnapshot>(ResolveIsolateData(settings), // in IsolateSnapshotFromSettings()
184 return fml::MakeRefCounted<DartSnapshot>(nullptr, nullptr); in Empty()
/third_party/flutter/engine/flutter/shell/platform/ohos/
Dplatform_task_runner_adapter.cc52 return fml::MakeRefCounted<PlatformTaskRunnerAdapter>(useCurrentEventRunner); in CurrentTaskRunner()
57 taskRunner_ = fml::MakeRefCounted<PlatformTaskRunnerAdapter>(useCurrentEventRunner); in CurrentTaskRunner()
/third_party/cef/libcef_dll/base/
Dcef_weak_ptr.cc63 : flag_(MakeRefCounted<WeakReference::Flag>()) {} in WeakReferenceOwner()
79 flag_ = MakeRefCounted<WeakReference::Flag>(); in Invalidate()
/third_party/flutter/engine/flutter/lib/ui/painting/
Dsingle_frame_codec.cc75 auto canvas_image = fml::MakeRefCounted<CanvasImage>(); in getNextFrame()
78 codec->cached_frame_ = fml::MakeRefCounted<FrameInfo>( in getNextFrame()
Dcodec.cc223 ui_codec = fml::MakeRefCounted<SingleFrameCodec>(std::move(descriptor)); in InstantiateImageCodec()
225 ui_codec = fml::MakeRefCounted<MultiFrameCodec>(std::move(codec)); in InstantiateImageCodec()
Dengine_layer.h30 return fml::MakeRefCounted<EngineLayer>(layer); in MakeRetained()
Dpicture_recorder.cc24 return fml::MakeRefCounted<PictureRecorder>(); in Create()
Dimage_shader.cc30 return fml::MakeRefCounted<ImageShader>(); in Create()
Dpicture.cc14 return fml::MakeRefCounted<Picture>(std::move(picture)); in Create()
Dimage_filter.cc28 return fml::MakeRefCounted<ImageFilter>(); in Create()
/third_party/flutter/engine/flutter/shell/platform/fuchsia/flutter/
Dcomponent.cc440 fml::MakeRefCounted<flutter::DartSnapshot>( in AttemptVMLaunchWithCurrentSettings()
448 isolate_snapshot_ = fml::MakeRefCounted<flutter::DartSnapshot>( in AttemptVMLaunchWithCurrentSettings()
456 shared_snapshot_ = fml::MakeRefCounted<flutter::DartSnapshot>( in AttemptVMLaunchWithCurrentSettings()
Dtask_runner_adapter.cc51 return fml::MakeRefCounted<CompatTaskRunner>(dispatcher); in CreateFMLTaskRunner()
/third_party/flutter/engine/flutter/lib/ui/semantics/
Dsemantics_update.cc22 return fml::MakeRefCounted<SemanticsUpdate>(std::move(nodes), in DART_BIND_ALL()
Dsemantics_update_builder.h20 return fml::MakeRefCounted<SemanticsUpdateBuilder>(); in create()

123