Home
last modified time | relevance | path

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

1234567

/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()
/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/grpc/test/core/gprpp/
Dref_counted_ptr_test.cc168 TEST(MakeRefCounted, NoArgs) { in TEST() argument
169 RefCountedPtr<Foo> foo = MakeRefCounted<Foo>(); in TEST()
173 TEST(MakeRefCounted, Args) { in TEST() argument
174 RefCountedPtr<Foo> foo = MakeRefCounted<Foo>(3); in TEST()
209 RefCountedPtr<Subclass> s = MakeRefCounted<Subclass>(); in TEST()
217 RefCountedPtr<Subclass> s = MakeRefCounted<Subclass>(); in TEST()
240 RefCountedPtr<Subclass> p = MakeRefCounted<Subclass>(); in TEST()
249 RefCountedPtr<Subclass> p = MakeRefCounted<Subclass>(); in TEST()
/third_party/grpc/src/core/lib/security/credentials/xds/
Dxds_credentials.cc153 MakeRefCounted<grpc_tls_credentials_options>(); in create_security_connector()
169 MakeRefCounted<grpc_tls_server_authorization_check_config>( in create_security_connector()
186 MakeRefCounted<TlsCredentials>(std::move(tls_credentials_options)); in create_security_connector()
208 MakeRefCounted<grpc_tls_credentials_options>(); in create_security_connector()
225 auto tls_credentials = MakeRefCounted<TlsServerCredentials>( in create_security_connector()
/third_party/grpc/test/cpp/common/
Dalts_util_test.cc42 grpc_core::MakeRefCounted<grpc_auth_context>(nullptr); in TEST()
52 grpc_core::MakeRefCounted<grpc_auth_context>(nullptr); in TEST()
65 grpc_core::MakeRefCounted<grpc_auth_context>(nullptr); in TEST()
78 grpc_core::MakeRefCounted<grpc_auth_context>(nullptr); in TEST()
124 grpc_core::MakeRefCounted<grpc_auth_context>(nullptr); in TEST()
173 grpc_core::MakeRefCounted<grpc_auth_context>(nullptr); in TEST()
Dsecure_auth_context_test.cc46 grpc_core::MakeRefCounted<grpc_auth_context>(nullptr); in TEST_F()
66 grpc_core::MakeRefCounted<grpc_auth_context>(nullptr); in TEST_F()
/third_party/grpc/test/core/client_channel/
Dretry_throttle_test.cc34 MakeRefCounted<ServerRetryThrottleData>(4000, 1600, nullptr); in TEST()
74 MakeRefCounted<ServerRetryThrottleData>(4000, 1000, nullptr); in TEST()
81 auto throttle_data = MakeRefCounted<ServerRetryThrottleData>( in TEST()
/third_party/grpc/test/core/security/
Dauth_context_test.cc30 grpc_core::MakeRefCounted<grpc_auth_context>(nullptr); in test_empty_context()
52 grpc_core::MakeRefCounted<grpc_auth_context>(nullptr); in test_simple_context()
91 grpc_core::MakeRefCounted<grpc_auth_context>(nullptr); in test_chained_context()
94 grpc_core::MakeRefCounted<grpc_auth_context>(std::move(chained)); in test_chained_context()
/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()
/third_party/grpc/src/core/lib/security/credentials/insecure/
Dinsecure_credentials.cc39 return MakeRefCounted<InsecureChannelSecurityConnector>( in create_security_connector()
51 return MakeRefCounted<InsecureServerSecurityConnector>(Ref()); in create_security_connector()
/third_party/grpc/test/core/channel/
Dchannel_trace_test.cc158 MakeRefCounted<ChannelNode>("fake_target", kEventListMemoryLimit, 0); in TEST()
177 MakeRefCounted<ChannelNode>("fake_target", kEventListMemoryLimit, 0); in TEST()
206 MakeRefCounted<ChannelNode>("fake_target", kEventListMemoryLimit, 0); in TEST()
215 MakeRefCounted<ChannelNode>("fake_target", kEventListMemoryLimit, 0); in TEST()
229 MakeRefCounted<ChannelNode>("fake_target", kEventListMemoryLimit, 0); in TEST()
/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()
/third_party/grpc/src/core/ext/xds/
Dfile_watcher_certificate_provider_factory.cc68 auto config = MakeRefCounted<FileWatcherCertificateProviderFactory::Config>(); in Parse()
130 return MakeRefCounted<FileWatcherCertificateProvider>( in CreateCertificateProvider()
/third_party/grpc/src/core/lib/security/security_connector/local/
Dlocal_security_connector.cc53 grpc_core::MakeRefCounted<grpc_auth_context>(nullptr); in local_auth_context_create()
266 return grpc_core::MakeRefCounted<grpc_local_channel_security_connector>( in grpc_local_channel_security_connector_create()
279 return grpc_core::MakeRefCounted<grpc_local_server_security_connector>( in grpc_local_server_security_connector_create()
/third_party/grpc/src/core/lib/security/security_connector/alts/
Dalts_security_connector.cc236 auto ctx = grpc_core::MakeRefCounted<grpc_auth_context>(nullptr); in grpc_alts_auth_context_from_tsi_peer()
286 return grpc_core::MakeRefCounted<grpc_alts_channel_security_connector>( in grpc_alts_channel_security_connector_create()
299 return grpc_core::MakeRefCounted<grpc_alts_server_security_connector>( in grpc_alts_server_security_connector_create()
/third_party/grpc/src/core/lib/security/security_connector/fake/
Dfake_security_connector.cc255 *auth_context = grpc_core::MakeRefCounted<grpc_auth_context>(nullptr); in fake_check_peer()
309 return grpc_core::MakeRefCounted<grpc_fake_channel_security_connector>( in grpc_fake_channel_security_connector_create()
317 return grpc_core::MakeRefCounted<grpc_fake_server_security_connector>( in grpc_fake_server_security_connector_create()
/third_party/grpc/src/core/lib/http/
Dhttpcli_security_connector.cc145 grpc_core::MakeRefCounted<grpc_httpcli_ssl_channel_security_connector>( in httpcli_ssl_channel_security_connector_create()
204 c->handshake_mgr = grpc_core::MakeRefCounted<grpc_core::HandshakeManager>(); in ssl_handshake()

1234567