/external/libchrome/base/memory/ |
D | singleton_unittest.cc | 29 static IntSingleton* GetInstance() { in GetInstance() function in base::__anon95a3c0160111::IntSingleton 40 static Init5Singleton* GetInstance() { in GetInstance() function in base::__anon95a3c0160111::Init5Singleton 56 return &IntSingleton::GetInstance()->value_; in SingletonInt() 60 return &Init5Singleton::GetInstance()->value_; in SingletonInt5() 84 static CallbackSingletonWithNoLeakTrait* GetInstance() { in GetInstance() function in base::__anon95a3c0160111::CallbackSingletonWithNoLeakTrait 97 static CallbackSingletonWithLeakTrait* GetInstance() { in GetInstance() function in base::__anon95a3c0160111::CallbackSingletonWithLeakTrait 108 static CallbackSingletonWithStaticTrait* GetInstance() { in GetInstance() function in base::__anon95a3c0160111::CallbackSingletonWithStaticTrait 128 static AlignedTestSingleton* GetInstance() { in GetInstance() function in base::__anon95a3c0160111::AlignedTestSingleton 138 CallbackSingletonWithNoLeakTrait::GetInstance()->callback_ = CallOnQuit; in SingletonNoLeak() 142 CallbackSingletonWithLeakTrait::GetInstance()->callback_ = CallOnQuit; in SingletonLeak() [all …]
|
/external/tensorflow/tensorflow/compiler/tf2tensorrt/plugin/ |
D | trt_plugin_factory_test.cc | 89 if (PluginFactoryTensorRT::GetInstance()->IsPlugin( in RegisterStubPlugin() 93 return PluginFactoryTensorRT::GetInstance()->RegisterPlugin( in RegisterStubPlugin() 100 PluginFactoryTensorRT::GetInstance()->IsPlugin(StubPlugin::kPluginName)); in TEST_F() 104 PluginFactoryTensorRT::GetInstance()->IsPlugin(StubPlugin::kPluginName)); in TEST_F() 110 PluginFactoryTensorRT::GetInstance()->IsPlugin(StubPlugin::kPluginName)); in TEST_F() 112 PluginFactoryTensorRT::GetInstance()->DestroyPlugins(); in TEST_F() 113 ASSERT_TRUE(PluginFactoryTensorRT::GetInstance()->CreatePlugin( in TEST_F() 115 ASSERT_EQ(1, PluginFactoryTensorRT::GetInstance()->CountOwnedPlugins()); in TEST_F() 116 PluginFactoryTensorRT::GetInstance()->DestroyPlugins(); in TEST_F() 117 ASSERT_EQ(0, PluginFactoryTensorRT::GetInstance()->CountOwnedPlugins()); in TEST_F()
|
/external/libchrome/base/task_scheduler/ |
D | post_task.cc | 72 DCHECK(TaskScheduler::GetInstance()) in PostDelayedTaskWithTraits() 76 TaskScheduler::GetInstance()->PostDelayedTaskWithTraits( in PostDelayedTaskWithTraits() 90 DCHECK(TaskScheduler::GetInstance()) in CreateTaskRunnerWithTraits() 94 return TaskScheduler::GetInstance()->CreateTaskRunnerWithTraits( in CreateTaskRunnerWithTraits() 100 DCHECK(TaskScheduler::GetInstance()) in CreateSequencedTaskRunnerWithTraits() 104 return TaskScheduler::GetInstance()->CreateSequencedTaskRunnerWithTraits( in CreateSequencedTaskRunnerWithTraits() 111 DCHECK(TaskScheduler::GetInstance()) in CreateSingleThreadTaskRunnerWithTraits() 115 return TaskScheduler::GetInstance()->CreateSingleThreadTaskRunnerWithTraits( in CreateSingleThreadTaskRunnerWithTraits() 123 DCHECK(TaskScheduler::GetInstance()) in CreateCOMSTATaskRunnerWithTraits() 127 return TaskScheduler::GetInstance()->CreateCOMSTATaskRunnerWithTraits( in CreateCOMSTATaskRunnerWithTraits()
|
D | service_thread_unittest.cc | 71 TaskScheduler::GetInstance()->StartWithDefaultParams(); in TEST() 104 TaskScheduler::GetInstance()->JoinForTesting(); in TEST()
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
D | bwe_test_logging.h | 132 webrtc::testing::bwe::Logging::GetInstance()->SetGlobalContext(name); \ 137 webrtc::testing::bwe::Logging::GetInstance()->SetGlobalEnable(enabled); \ 157 webrtc::testing::bwe::Logging::GetInstance()->Log(format, _1); \ 162 webrtc::testing::bwe::Logging::GetInstance()->Log(format, _1, _2); \ 167 webrtc::testing::bwe::Logging::GetInstance()->Log(format, _1, _2, _3); \ 172 webrtc::testing::bwe::Logging::GetInstance()->Log(format, _1, _2, _3, \ 178 webrtc::testing::bwe::Logging::GetInstance()->Log(format, _1, _2, _3, \ 186 webrtc::testing::bwe::Logging::GetInstance()->Plot(figure, value); \ 193 webrtc::testing::bwe::Logging::GetInstance()->Plot(figure, value, \ 200 webrtc::testing::bwe::Logging::GetInstance()->PlotBar(figure, name, value, \ [all …]
|
D | bwe_test_logging.cc | 37 Logging::GetInstance()->PushState(ToString(name), timestamp_ms, enabled); in Context() 42 Logging::GetInstance()->PushState(name, timestamp_ms, enabled); in Context() 47 Logging::GetInstance()->PushState(name, timestamp_ms, enabled); in Context() 51 Logging::GetInstance()->PopState(); in ~Context() 54 Logging* Logging::GetInstance() { in GetInstance() function in webrtc::testing::bwe::Logging
|
/external/libbrillo/brillo/ |
D | flag_helper_unittest.cc | 46 brillo::FlagHelper::GetInstance()->set_command_line_for_testing( in TEST_F() 108 brillo::FlagHelper::GetInstance()->set_command_line_for_testing( in TEST_F() 168 brillo::FlagHelper::GetInstance()->set_command_line_for_testing( in TEST_F() 197 brillo::FlagHelper::GetInstance()->set_command_line_for_testing( in TEST_F() 211 brillo::FlagHelper::GetInstance()->set_command_line_for_testing( in TEST_F() 231 brillo::FlagHelper::GetInstance()->set_command_line_for_testing( in TEST_F() 258 brillo::FlagHelper::GetInstance()->set_command_line_for_testing( in TEST_F() 279 brillo::FlagHelper::GetInstance()->set_command_line_for_testing( in TEST_F() 301 brillo::FlagHelper::GetInstance()->set_command_line_for_testing( in TEST_F() 324 brillo::FlagHelper::GetInstance()->set_command_line_for_testing( in TEST_F() [all …]
|
D | flag_helper.h | 189 brillo::FlagHelper::GetInstance()->AddFlag(std::unique_ptr<brillo::Flag>( \ 208 brillo::FlagHelper::GetInstance()->AddFlag( \ 211 brillo::FlagHelper::GetInstance()->AddFlag( \ 222 static FlagHelper* GetInstance();
|
D | flag_helper.cc | 164 brillo::FlagHelper* FlagHelper::GetInstance() { in GetInstance() function in brillo::FlagHelper 179 brillo::FlagHelper* helper = GetInstance(); in Init() 186 GetInstance()->SetUsageMessage(help_usage); in Init() 188 GetInstance()->UpdateFlagValues(); in Init()
|
/external/libchrome/base/test/ |
D | scoped_task_environment.cc | 122 CHECK(!TaskScheduler::GetInstance()); in ScopedTaskEnvironment() 138 task_scheduler_ = TaskScheduler::GetInstance(); in ScopedTaskEnvironment() 139 TaskScheduler::GetInstance()->Start({worker_pool_params, worker_pool_params, in ScopedTaskEnvironment() 151 CHECK_EQ(TaskScheduler::GetInstance(), task_scheduler_); in ~ScopedTaskEnvironment() 155 TaskScheduler::GetInstance()->FlushForTesting(); in ~ScopedTaskEnvironment() 156 TaskScheduler::GetInstance()->Shutdown(); in ~ScopedTaskEnvironment() 157 TaskScheduler::GetInstance()->JoinForTesting(); in ~ScopedTaskEnvironment()
|
D | scoped_feature_list.cc | 93 base::FieldTrialParamAssociator::GetInstance()->ClearParamsForTesting( in ~ScopedFeatureList() 164 FeatureList* feature_list = FeatureList::GetInstance(); in InitWithFeaturesAndFieldTrials() 173 FeatureList::GetInstance()->GetFeatureOverrides(¤t_enabled_features, in InitWithFeaturesAndFieldTrials() 225 FieldTrialParamAssociator::GetInstance()->AssociateFieldTrialParams( in InitAndEnableFeatureWithParameters()
|
/external/libchrome/base/threading/ |
D | thread_id_name_manager_unittest.cc | 20 base::ThreadIdNameManager* manager = base::ThreadIdNameManager::GetInstance(); in TEST_F() 35 base::ThreadIdNameManager* manager = base::ThreadIdNameManager::GetInstance(); in TEST_F() 51 base::ThreadIdNameManager* manager = base::ThreadIdNameManager::GetInstance(); in TEST_F() 66 base::ThreadIdNameManager* manager = base::ThreadIdNameManager::GetInstance(); in TEST_F() 78 base::ThreadIdNameManager* manager = base::ThreadIdNameManager::GetInstance(); in TEST_F()
|
/external/libchrome/libchrome_tools/patch/ |
D | shared_memory_mapping.patch | 19 - SharedMemoryTracker::GetInstance()->IncrementMemoryUsage(*this); 21 + // SharedMemoryTracker::GetInstance()->IncrementMemoryUsage(*this); 28 - SharedMemoryTracker::GetInstance()->DecrementMemoryUsage(*this); 30 + // SharedMemoryTracker::GetInstance()->DecrementMemoryUsage(*this);
|
D | mojom_disable_trace_and_mem_dump.patch | 18 - base::trace_event::MemoryDumpManager::GetInstance()->RegisterDumpProvider( 20 + // base::trace_event::MemoryDumpManager::GetInstance()->RegisterDumpProvider( 29 - base::trace_event::MemoryDumpManager::GetInstance() 31 + // base::trace_event::MemoryDumpManager::GetInstance() 62 - base::trace_event::MemoryDumpManager::GetInstance()->RegisterDumpProvider( 67 - base::trace_event::MemoryDumpManager::GetInstance()->UnregisterDumpProvider( 92 +// base::trace_event::MemoryDumpManager::GetInstance()->RegisterDumpProvider( 97 +// base::trace_event::MemoryDumpManager::GetInstance()->UnregisterDumpProvider(
|
D | trace_event.patch | 31 + static TraceLog* GetInstance() { 176 - SharedMemoryTracker::GetInstance()->IncrementMemoryUsage(*this); 178 + // SharedMemoryTracker::GetInstance()->IncrementMemoryUsage(*this); 186 - SharedMemoryTracker::GetInstance()->DecrementMemoryUsage(*this); 188 + // SharedMemoryTracker::GetInstance()->DecrementMemoryUsage(*this);
|
/external/sfntly/cpp/src/test/ |
D | serialization_test.cc | 30 factory1.Attach(FontFactory::GetInstance()); in TestSerialization() 35 factory2.Attach(FontFactory::GetInstance()); in TestSerialization() 45 factory3.Attach(FontFactory::GetInstance()); in TestSerialization() 96 factory1.Attach(FontFactory::GetInstance()); in TestSerializationBitmap() 101 factory2.Attach(FontFactory::GetInstance()); in TestSerializationBitmap() 111 factory3.Attach(FontFactory::GetInstance()); in TestSerializationBitmap()
|
D | font_parsing_test.cc | 39 factory.Attach(FontFactory::GetInstance()); in TestFontParsing() 103 factory.Attach(FontFactory::GetInstance()); in TestTTFReadWrite() 121 factory.Attach(FontFactory::GetInstance()); in TestTTFMemoryBasedReadWrite()
|
/external/libchrome/base/android/ |
D | scoped_hardware_buffer_handle.cc | 48 AndroidHardwareBufferCompat::GetInstance().Release(buffer_); in reset() 61 AndroidHardwareBufferCompat::GetInstance().Acquire(buffer_); in Clone() 78 AndroidHardwareBufferCompat::GetInstance().SendHandleToUnixSocket( in SerializeAsFileDescriptor() 98 AndroidHardwareBufferCompat::GetInstance().RecvHandleFromUnixSocket( in DeserializeFromFileDescriptor()
|
/external/perfetto/src/tracing/api_impl/ |
D | consumer_api.cc | 277 static TracingController* GetInstance(); 298 TracingController* TracingController::GetInstance() { in GetInstance() function in perfetto::consumer::__anon4d5fe0b30111::TracingController 406 return TracingController::GetInstance()->Create(config_proto, config_len, in Create() 412 return TracingController::GetInstance()->StartTracing(handle); in StartTracing() 416 return TracingController::GetInstance()->PollState(handle); in PollState() 420 return TracingController::GetInstance()->ReadTrace(handle); in ReadTrace() 424 TracingController::GetInstance()->Destroy(handle); in Destroy()
|
/external/sfntly/cpp/src/sample/subtly/ |
D | utils.cc | 31 font_factory.Attach(FontFactory::GetInstance()); in LoadFont() 39 font_factory.Attach(FontFactory::GetInstance()); in LoadFontBuilder() 65 font_factory.Attach(FontFactory::GetInstance()); in SerializeFont()
|
/external/googletest/googletest/test/ |
D | gtest-typed-test_test.cc | 193 EXPECT_STREQ(::testing::UnitTest::GetInstance() in TYPED_TEST() 199 EXPECT_STREQ(::testing::UnitTest::GetInstance() in TYPED_TEST() 315 EXPECT_STREQ(::testing::UnitTest::GetInstance() in TYPED_TEST_P() 321 EXPECT_STREQ(::testing::UnitTest::GetInstance() in TYPED_TEST_P() 425 return testing::UnitTest::GetInstance()->current_test_info()->name(); in GetTestName()
|
D | googletest-listener-test.cc | 271 UnitTest::GetInstance()->listeners().Append( in main() 273 UnitTest::GetInstance()->listeners().Append( in main() 275 UnitTest::GetInstance()->listeners().Append( in main() 403 if (UnitTest::GetInstance()->Failed()) in main()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | scoped_allocator_mgr_test.cc | 59 sa_instances_[i] = sac->GetInstance(scope_id_ + 1 + i); in SaveInstances() 156 ScopedAllocatorInstance* inst0 = sac->GetInstance(scope_id_ + 1); in TEST_F() 162 ScopedAllocatorInstance* inst1 = sac->GetInstance(scope_id_ + 2); in TEST_F() 166 ScopedAllocatorInstance* inst2 = sac->GetInstance(scope_id_ + 3); in TEST_F()
|
/external/webrtc/webrtc/modules/audio_device/android/ |
D | build_info.cc | 18 : j_environment_(JVM::GetInstance()->environment()), in BuildInfo() 19 j_build_info_(JVM::GetInstance()->GetClass( in BuildInfo()
|
/external/google-breakpad/src/testing/gtest/test/ |
D | gtest-listener_test.cc | 208 UnitTest::GetInstance()->listeners().Append( in main() 210 UnitTest::GetInstance()->listeners().Append( in main() 309 if (UnitTest::GetInstance()->Failed()) in main()
|