Home
last modified time | relevance | path

Searched refs:GetInstance (Results 1 – 25 of 186) sorted by relevance

12345678

/external/libchrome/base/memory/
Dsingleton_unittest.cc21 static IntSingleton* GetInstance() { in GetInstance() function in base::__anon064bac4e0111::IntSingleton
32 static Init5Singleton* GetInstance() { in GetInstance() function in base::__anon064bac4e0111::Init5Singleton
48 return &IntSingleton::GetInstance()->value_; in SingletonInt()
52 return &Init5Singleton::GetInstance()->value_; in SingletonInt5()
76 static CallbackSingletonWithNoLeakTrait* GetInstance() { in GetInstance() function in base::__anon064bac4e0111::CallbackSingletonWithNoLeakTrait
89 static CallbackSingletonWithLeakTrait* GetInstance() { in GetInstance() function in base::__anon064bac4e0111::CallbackSingletonWithLeakTrait
100 static CallbackSingletonWithStaticTrait* GetInstance() { in GetInstance() function in base::__anon064bac4e0111::CallbackSingletonWithStaticTrait
120 static AlignedTestSingleton* GetInstance() { in GetInstance() function in base::__anon064bac4e0111::AlignedTestSingleton
130 CallbackSingletonWithNoLeakTrait::GetInstance()->callback_ = CallOnQuit; in SingletonNoLeak()
134 CallbackSingletonWithLeakTrait::GetInstance()->callback_ = CallOnQuit; in SingletonLeak()
[all …]
/external/libchrome/base/trace_event/
Dtrace_event_unittest.cc93 TraceLog::GetInstance()->SetEnabled(TraceConfig(filter, ""), in BeginSpecificTrace()
123 TraceLog::GetInstance()->CancelTracing( in CancelTraceAsync()
130 TraceLog::GetInstance()->SetDisabled(); in EndTraceAndFlushAsync()
131 TraceLog::GetInstance()->Flush( in EndTraceAndFlushAsync()
144 TraceLog::GetInstance()->FlushButLeaveBufferIntact( in FlushMonitoring()
155 TraceLog* tracelog = TraceLog::GetInstance(); in SetUp()
163 if (TraceLog::GetInstance()) in TearDown()
164 EXPECT_FALSE(TraceLog::GetInstance()->IsEnabled()); in TearDown()
904 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""), in TEST_F()
917 TraceLog::GetInstance()->SetEnabled(TraceConfig(kRecordAllCategoryFilter, ""), in TEST_F()
[all …]
Dmemory_dump_manager.cc69 MemoryDumpManager::GetInstance()->RequestGlobalDump( in RequestPeriodicGlobalDump()
111 MemoryDumpManager* MemoryDumpManager::GetInstance() { in GetInstance() function in base::trace_event::MemoryDumpManager
142 TraceLog::GetInstance()->RemoveEnabledStateObserver(this); in ~MemoryDumpManager()
157 RegisterDumpProvider(ProcessMemoryTotalsDumpProvider::GetInstance(), in Initialize()
162 RegisterDumpProvider(MallocDumpProvider::GetInstance(), "Malloc", nullptr); in Initialize()
166 RegisterDumpProvider(ProcessMemoryMapsDumpProvider::GetInstance(), in Initialize()
171 RegisterDumpProvider(JavaHeapDumpProvider::GetInstance(), "JavaHeap", in Initialize()
176 RegisterDumpProvider(WinHeapDumpProvider::GetInstance(), "WinHeap", nullptr); in Initialize()
181 bool is_tracing_already_enabled = TraceLog::GetInstance()->IsEnabled(); in Initialize()
183 TraceLog::GetInstance()->AddEnabledStateObserver(this); in Initialize()
[all …]
Dtrace_event_synthetic_delay.cc21 static TraceEventSyntheticDelayRegistry* GetInstance();
49 return TraceEventSyntheticDelayRegistry::GetInstance()->GetOrCreateDelay( in Lookup()
147 TraceEventSyntheticDelayRegistry::GetInstance() { in GetInstance() function in base::trace_event::TraceEventSyntheticDelayRegistry
197 TraceEventSyntheticDelayRegistry::GetInstance()->ResetAllDelays(); in ResetTraceEventSyntheticDelays()
223 base::trace_event::TraceEventSyntheticDelayRegistry::GetInstance() in GetOrCreateDelay()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dbwe_test_logging.h132 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 …]
Dbwe_test_logging.cc37 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/
Dflag_helper_unittest.cc46 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 …]
Dflag_helper.h189 brillo::FlagHelper::GetInstance()->AddFlag(std::unique_ptr<brillo::Flag>( \
208 brillo::FlagHelper::GetInstance()->AddFlag( \
211 brillo::FlagHelper::GetInstance()->AddFlag( \
222 static FlagHelper* GetInstance();
Dflag_helper.cc164 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/threading/
Dthread_id_name_manager_unittest.cc20 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()
Dplatform_thread_posix.cc63 ThreadIdNameManager::GetInstance()->RegisterThread( in ThreadFunc()
69 ThreadIdNameManager::GetInstance()->RemoveName( in ThreadFunc()
180 return ThreadIdNameManager::GetInstance()->GetName(CurrentId()); in GetName()
/external/sfntly/cpp/src/test/
Dserialization_test.cc30 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()
Dfont_parsing_test.cc39 factory.Attach(FontFactory::GetInstance()); in TestFontParsing()
103 factory.Attach(FontFactory::GetInstance()); in TestTTFReadWrite()
121 factory.Attach(FontFactory::GetInstance()); in TestTTFMemoryBasedReadWrite()
Dname_editing_test.cc49 factory.Attach(FontFactory::GetInstance()); in TestChangeOneName()
93 factory.Attach(FontFactory::GetInstance()); in TestModifyNameTableAndRevert()
144 factory.Attach(FontFactory::GetInstance()); in TestRemoveOneName()
/external/sfntly/cpp/src/sample/subtly/
Dutils.cc31 font_factory.Attach(FontFactory::GetInstance()); in LoadFont()
39 font_factory.Attach(FontFactory::GetInstance()); in LoadFontBuilder()
65 font_factory.Attach(FontFactory::GetInstance()); in SerializeFont()
/external/libnfc-nci/halimpl/pn54x/utils/
DphNxpConfig.cpp88 static CNfcConfig& GetInstance();
438 CNfcConfig& CNfcConfig::GetInstance() in GetInstance() function in CNfcConfig
883 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in GetNxpStrValue()
906 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in GetNxpByteArrayValue()
925 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in GetNxpNumValue()
969 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in resetNxpConfig()
993 CNfcConfig::GetInstance().readConfig(strPath.c_str(), false); in readOptionalConfig()
1007 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in isNxpConfigModified()
1022 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in updateNxpConfigTimestamp()
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
Dconfig.cpp55 static CNfcConfig& GetInstance();
375 CNfcConfig& CNfcConfig::GetInstance() in GetInstance() function in CNfcConfig
650 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in GetStrValue()
670 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in GetNumValue()
713 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in resetConfig()
734 CNfcConfig::GetInstance().readConfig(strPath.c_str(), false); in readOptionalConfig()
/external/libnfc-nci/src/adaptation/
Dconfig.cpp55 static CNfcConfig& GetInstance();
390 CNfcConfig& CNfcConfig::GetInstance() in GetInstance() function in CNfcConfig
665 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in GetStrValue()
685 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in GetNumValue()
728 CNfcConfig& rConfig = CNfcConfig::GetInstance(); in resetConfig()
749 CNfcConfig::GetInstance().readConfig(strPath.c_str(), false); in readOptionalConfig()
/external/webrtc/webrtc/modules/audio_device/android/
Dbuild_info.cc18 : j_environment_(JVM::GetInstance()->environment()), in BuildInfo()
19 j_build_info_(JVM::GetInstance()->GetClass( in BuildInfo()
/external/libchrome/crypto/
Dopenssl_util.cc31 static OpenSSLInitSingleton* GetInstance() { in GetInstance() function in crypto::__anon5e16f87b0111::OpenSSLInitSingleton
85 (void)OpenSSLInitSingleton::GetInstance(); in EnsureOpenSSLInit()
/external/pdfium/fpdfsdk/src/
Dfpdfformfill.cpp162 CPDFXFA_App* pApp = CPDFXFA_App::GetInstance(); in FPDFDOC_InitFormFillEnvironment()
176 CPDFXFA_App* pApp = CPDFXFA_App::GetInstance(); in FPDFDOC_ExitFormFillEnvironment()
398 CPDFXFA_App::GetInstance()->GetXFAApp()->GetMenuHandler(); in FPDF_Widget_Undo()
415 CPDFXFA_App::GetInstance()->GetXFAApp()->GetMenuHandler(); in FPDF_Widget_Redo()
433 CPDFXFA_App::GetInstance()->GetXFAApp()->GetMenuHandler(); in FPDF_Widget_SelectAll()
452 CPDFXFA_App::GetInstance()->GetXFAApp()->GetMenuHandler(); in FPDF_Widget_Copy()
487 CPDFXFA_App::GetInstance()->GetXFAApp()->GetMenuHandler(); in FPDF_Widget_Cut()
523 CPDFXFA_App::GetInstance()->GetXFAApp()->GetMenuHandler(); in FPDF_Widget_Paste()
545 CPDFXFA_App::GetInstance()->GetXFAApp()->GetMenuHandler(); in FPDF_Widget_ReplaceSpellCheckWord()
570 CPDFXFA_App::GetInstance()->GetXFAApp()->GetMenuHandler(); in FPDF_Widget_GetSpellCheckWords()
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/
Dgtest-listener_test.cc205 UnitTest::GetInstance()->listeners().Append( in main()
207 UnitTest::GetInstance()->listeners().Append( in main()
306 if (UnitTest::GetInstance()->Failed()) in main()
/external/gtest/test/
Dgtest-listener_test.cc205 UnitTest::GetInstance()->listeners().Append( in main()
207 UnitTest::GetInstance()->listeners().Append( in main()
306 if (UnitTest::GetInstance()->Failed()) in main()
/external/protobuf/gtest/test/
Dgtest-listener_test.cc208 UnitTest::GetInstance()->listeners().Append( in main()
210 UnitTest::GetInstance()->listeners().Append( in main()
309 if (UnitTest::GetInstance()->Failed()) in main()
/external/google-breakpad/src/testing/gtest/test/
Dgtest-listener_test.cc208 UnitTest::GetInstance()->listeners().Append( in main()
210 UnitTest::GetInstance()->listeners().Append( in main()
309 if (UnitTest::GetInstance()->Failed()) in main()

12345678