Home
last modified time | relevance | path

Searched refs:sDefaultInstance (Results 1 – 25 of 30) sorted by relevance

12

/haiku/src/apps/debugger/user_interface/gui/settings/
H A DDebuggerUiSettingsFactory.cpp14 DebuggerUiSettingsFactory* DebuggerUiSettingsFactory::sDefaultInstance = NULL; member in DebuggerUiSettingsFactory
30 return sDefaultInstance; in Default()
37 sDefaultInstance = new(std::nothrow) DebuggerUiSettingsFactory(); in CreateDefault()
38 if (sDefaultInstance == NULL) in CreateDefault()
48 delete sDefaultInstance; in DeleteDefault()
49 sDefaultInstance = NULL; in DeleteDefault()
H A DDebuggerUiSettingsFactory.h26 static DebuggerUiSettingsFactory* sDefaultInstance; variable
/haiku/src/add-ons/kernel/file_systems/packagefs/util/
H A DStringConstants.cpp12 StringConstants StringConstants::sDefaultInstance; member in StringConstants
18 new(&sDefaultInstance) StringConstants; in Init()
19 if (!sDefaultInstance._Init()) { in Init()
20 sDefaultInstance.Cleanup(); in Init()
31 sDefaultInstance.~StringConstants(); in Cleanup()
H A DStringConstants.h32 { return sDefaultInstance; } in Get()
38 static StringConstants sDefaultInstance;
/haiku/src/apps/debugger/user_interface/gui/connection_config/
H A DConnectionConfigHandlerRoster.cpp14 ConnectionConfigHandlerRoster::sDefaultInstance = NULL; member in ConnectionConfigHandlerRoster
33 return sDefaultInstance; in Default()
40 if (sDefaultInstance != NULL) in CreateDefault()
54 sDefaultInstance = roster; in CreateDefault()
63 ConnectionConfigHandlerRoster* roster = sDefaultInstance; in DeleteDefault()
64 sDefaultInstance = NULL; in DeleteDefault()
H A DConnectionConfigHandlerRoster.h50 static ConnectionConfigHandlerRoster* sDefaultInstance; variable
/haiku/src/kits/debugger/debug_info/
H A DImageDebugLoadingStateHandlerRoster.cpp21 ImageDebugLoadingStateHandlerRoster::sDefaultInstance = NULL; member in ImageDebugLoadingStateHandlerRoster
44 return sDefaultInstance; in Default()
51 if (sDefaultInstance != NULL) in CreateDefault()
68 sDefaultInstance = rosterDeleter.Detach(); in CreateDefault()
76 ImageDebugLoadingStateHandlerRoster* roster = sDefaultInstance; in DeleteDefault()
77 sDefaultInstance = NULL; in DeleteDefault()
H A DImageDebugLoadingStateHandlerRoster.h51 sDefaultInstance; variable
/haiku/src/apps/debugger/user_interface/gui/value/
H A DValueHandlerRoster.cpp22 /*static*/ ValueHandlerRoster* ValueHandlerRoster::sDefaultInstance = NULL; member in ValueHandlerRoster
42 return sDefaultInstance; in Default()
49 if (sDefaultInstance != NULL) in CreateDefault()
65 sDefaultInstance = rosterDeleter.Detach(); in CreateDefault()
73 ValueHandlerRoster* roster = sDefaultInstance; in DeleteDefault()
74 sDefaultInstance = NULL; in DeleteDefault()
H A DValueHandlerRoster.h50 static ValueHandlerRoster* sDefaultInstance; variable
/haiku/src/kits/debugger/target_host_interface/
H A DTargetHostInterfaceRoster.cpp18 TargetHostInterfaceRoster::sDefaultInstance = NULL; member in TargetHostInterfaceRoster
51 return sDefaultInstance; in Default()
58 if (sDefaultInstance != NULL) in CreateDefault()
75 sDefaultInstance = rosterDeleter.Detach(); in CreateDefault()
83 TargetHostInterfaceRoster* roster = sDefaultInstance; in DeleteDefault()
84 sDefaultInstance = NULL; in DeleteDefault()
/haiku/src/kits/debugger/value/
H A DTypeHandlerRoster.cpp78 /*static*/ TypeHandlerRoster* TypeHandlerRoster::sDefaultInstance = NULL; member in TypeHandlerRoster
97 return sDefaultInstance; in Default()
104 if (sDefaultInstance != NULL) in CreateDefault()
120 sDefaultInstance = rosterDeleter.Detach(); in CreateDefault()
128 TypeHandlerRoster* roster = sDefaultInstance; in DeleteDefault()
129 sDefaultInstance = NULL; in DeleteDefault()
/haiku/src/system/kernel/device_manager/
H A DIOSchedulerRoster.h31 static IOSchedulerRoster* Default() { return &sDefaultInstance; } in Default()
64 static IOSchedulerRoster sDefaultInstance; variable
H A DIOSchedulerRoster.cpp13 /*static*/ IOSchedulerRoster IOSchedulerRoster::sDefaultInstance; member in IOSchedulerRoster
213 new(&sDefaultInstance) IOSchedulerRoster; in Init()
/haiku/src/apps/webpositive/
H A DBrowsingHistory.cpp152 BrowsingHistory::sDefaultInstance; member in BrowsingHistory
175 if (sDefaultInstance.Lock()) { in DefaultInstance()
176 sDefaultInstance._LoadSettings(); in DefaultInstance()
177 sDefaultInstance.Unlock(); in DefaultInstance()
179 return &sDefaultInstance; in DefaultInstance()
H A DBrowsingHistory.h85 static BrowsingHistory sDefaultInstance; variable
/haiku/src/servers/app/font/
H A DFontCache.cpp25 FontCache::sDefaultInstance; member in FontCache
45 return &sDefaultInstance; in Default()
H A DFontCache.h34 static FontCache sDefaultInstance; variable
/haiku/headers/private/interface/
H A DToolTipManager.h46 static BToolTipManager* sDefaultInstance; variable
/haiku/src/servers/app/drawing/
H A DAlphaMaskCache.cpp20 AlphaMaskCache AlphaMaskCache::sDefaultInstance; member in AlphaMaskCache
45 return &sDefaultInstance; in Default()
/haiku/src/kits/interface/
H A DToolTipManager.cpp23 BToolTipManager* BToolTipManager::sDefaultInstance; member in BToolTipManager
380 if (sDefaultInstance == NULL) in Manager()
383 return sDefaultInstance; in Manager()
482 sDefaultInstance = new BToolTipManager(); in _InitSingleton()
H A DDragger.cpp91 if (sDefaultInstance == NULL) in Default()
94 return sDefaultInstance; in Default()
100 sDefaultInstance = new DraggerManager; in _InitSingleton()
107 static DraggerManager* sDefaultInstance; member
111 DraggerManager* DraggerManager::sDefaultInstance = NULL; member in __anonc9b609ce0111::DraggerManager
H A DPrivateScreen.cpp63 if (sDefaultInstance == NULL) in Default()
66 return sDefaultInstance; in Default()
72 sDefaultInstance = new Screens; in _InitSingleton()
79 static Screens* sDefaultInstance; member
83 Screens* Screens::sDefaultInstance = NULL; member in __anon3c02a1cd0111::Screens
/haiku/headers/private/debugger/value/
H A DTypeHandlerRoster.h55 static TypeHandlerRoster* sDefaultInstance; variable
/haiku/headers/private/debugger/target_host_interface/
H A DTargetHostInterfaceRoster.h62 static TargetHostInterfaceRoster* sDefaultInstance; variable

12