Home
last modified time | relevance | path

Searched refs:SingleInstance (Results 1 – 25 of 118) sorted by relevance

12345

/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/lib_base/base/
H A Dsingle_instance.cpp53 SingleInstance::SingleInstance() = default;
55 void SingleInstance::start( in start()
86 SingleInstance::~SingleInstance() { in ~SingleInstance()
91 bool SingleInstance::closeExisting() { in closeExisting()
99 void SingleInstance::clearSocket() { in clearSocket()
123 void SingleInstance::clearLock() { in clearLock()
156 void SingleInstance::newInstanceConnected() { in newInstanceConnected()
168 void SingleInstance::readClient(not_null<QLocalSocket*> client) { in readClient()
178 void SingleInstance::removeClient(not_null<QLocalSocket*> client) { in removeClient()
188 auto SingleInstance::commands() const -> rpl::producer<Message> { in commands()
[all …]
H A Dsingle_instance.h16 class SingleInstance final {
23 SingleInstance();
24 ~SingleInstance();
/dports/graphics/drawpile/Drawpile-2.1.20/src/thinsrv/gui/
H A Dsingleinstance.cpp28 SingleInstance::SingleInstance(QObject *parent) in SingleInstance() function in server::gui::SingleInstance
35 SingleInstance::~SingleInstance() in ~SingleInstance()
45 bool SingleInstance::tryStart() in tryStart()
H A Dsingleinstance.h32 class SingleInstance : public QObject
36 explicit SingleInstance(QObject *parent=nullptr);
37 ~SingleInstance();
H A Dgui.cpp164 SingleInstance *guard = new SingleInstance; in start()
169 QObject::connect(qApp, &QApplication::aboutToQuit, guard, &SingleInstance::deleteLater); in start()
/dports/deskutils/syncthingtray/syncthingtray/tray/application/
H A Dsingleinstance.cpp20 SingleInstance::SingleInstance(int argc, const char *const *argv, bool newInstance, QObject *parent) in SingleInstance() function in QtGui::SingleInstance
37 connect(m_server, &QLocalServer::newConnection, this, &SingleInstance::handleNewConnection); in SingleInstance()
43 void SingleInstance::passArgsToRunningInstance(int argc, const char *const *argv, const QString &ap… in passArgsToRunningInstance()
67 void SingleInstance::handleNewConnection() in handleNewConnection()
70 connect(socket, &QLocalSocket::readChannelFinished, this, &SingleInstance::readArgs); in handleNewConnection()
73 void SingleInstance::readArgs() in readArgs()
H A Dsingleinstance.h14 class SingleInstance : public QObject {
17SingleInstance(int argc, const char *const *argv, bool newInstance = false, QObject *parent = null…
/dports/devel/fpc-fcl-base/fpc-3.2.2/packages/fcl-base/examples/
H A Dsitest.pp70 xApp.SingleInstance.OnServerReceivedParams := @xApp.ServerReceivedParams;
71 …(xApp.SingleInstance as TAdvancedSingleInstance).OnServerReceivedCustomRequest := @xApp.ServerRece…
73 Writeln(xApp.SingleInstance.StartResult);
76 case xApp.SingleInstance.StartResult of
82 …(xApp.SingleInstance as TAdvancedSingleInstance).ClientSendCustomRequest(MsgType_Request_No_Respon…
88 …(xApp.SingleInstance as TAdvancedSingleInstance).ClientSendCustomRequest(MsgType_Request_With_Resp…
90 …if (xApp.SingleInstance as TAdvancedSingleInstance).ClientPeekCustomResponse(xStream, xMsgType) th…
/dports/lang/fpc/fpc-3.2.2/packages/fcl-base/examples/
H A Dsitest.pp70 xApp.SingleInstance.OnServerReceivedParams := @xApp.ServerReceivedParams;
71 …(xApp.SingleInstance as TAdvancedSingleInstance).OnServerReceivedCustomRequest := @xApp.ServerRece…
73 Writeln(xApp.SingleInstance.StartResult);
76 case xApp.SingleInstance.StartResult of
82 …(xApp.SingleInstance as TAdvancedSingleInstance).ClientSendCustomRequest(MsgType_Request_No_Respon…
88 …(xApp.SingleInstance as TAdvancedSingleInstance).ClientSendCustomRequest(MsgType_Request_With_Resp…
90 …if (xApp.SingleInstance as TAdvancedSingleInstance).ClientPeekCustomResponse(xStream, xMsgType) th…
/dports/lang/fpc-source/fpc-3.2.2/packages/fcl-base/examples/
H A Dsitest.pp70 xApp.SingleInstance.OnServerReceivedParams := @xApp.ServerReceivedParams;
71 …(xApp.SingleInstance as TAdvancedSingleInstance).OnServerReceivedCustomRequest := @xApp.ServerRece…
73 Writeln(xApp.SingleInstance.StartResult);
76 case xApp.SingleInstance.StartResult of
82 …(xApp.SingleInstance as TAdvancedSingleInstance).ClientSendCustomRequest(MsgType_Request_No_Respon…
88 …(xApp.SingleInstance as TAdvancedSingleInstance).ClientSendCustomRequest(MsgType_Request_With_Resp…
90 …if (xApp.SingleInstance as TAdvancedSingleInstance).ClientPeekCustomResponse(xStream, xMsgType) th…
/dports/graphics/photoqt/photoqt-1.6/cplusplus/singleinstance/
H A Dsingleinstance.cpp25 SingleInstance::SingleInstance(int &argc, char *argv[]) : QApplication(argc, argv) { in SingleInstance() function in SingleInstance
121 void SingleInstance::newConnection() { in newConnection()
129 void SingleInstance::handleResponse(QString msg) { in handleResponse()
183 SingleInstance::~SingleInstance() { in ~SingleInstance()
H A Dsingleinstance.h38 class SingleInstance : public QApplication {
41 explicit SingleInstance(int&, char *[]);
42 ~SingleInstance();
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Diagnostics.PerformanceCounter/tests/
H A DPerformanceCounterTests.cs32 …nterSample = CreateCounterWithCategory(name, false, PerformanceCounterCategoryType.SingleInstance)) in PerformanceCounter_CreateCounter_Count0()
76 … var category = Helpers.CreateCategory(name, PerformanceCounterCategoryType.SingleInstance); in PerformanceCounter_CreateCounter_SetReadOnly()
187 …nterSample = CreateCounterWithCategory(name, false, PerformanceCounterCategoryType.SingleInstance)) in PerformanceCounter_Decrement()
201 …nterSample = CreateCounterWithCategory(name, false, PerformanceCounterCategoryType.SingleInstance)) in PerformanceCounter_Increment()
215 …nterSample = CreateCounterWithCategory(name, false, PerformanceCounterCategoryType.SingleInstance)) in PerformanceCounter_IncrementBy_IncrementBy2()
230 …unterSample = CreateCounterWithCategory(name, true, PerformanceCounterCategoryType.SingleInstance)) in PerformanceCounter_IncrementBy_IncrementByReadOnly()
241 …unterSample = CreateCounterWithCategory(name, true, PerformanceCounterCategoryType.SingleInstance)) in PerformanceCounter_Increment_IncrementReadOnly()
252 …unterSample = CreateCounterWithCategory(name, true, PerformanceCounterCategoryType.SingleInstance)) in PerformanceCounter_Decrement_DecrementReadOnly()
263 …nterSample = CreateCounterWithCategory(name, false, PerformanceCounterCategoryType.SingleInstance)) in PerformanceCounter_RemoveInstance()
H A DPerformanceCounterCategoryTests.cs100 … var category = Helpers.CreateCategory(name, PerformanceCounterCategoryType.SingleInstance); in PerformanceCounterCategory_CategoryType_SingleInstance()
104 …Assert.Equal(PerformanceCounterCategoryType.SingleInstance, Helpers.RetryOnAllPlatforms(() => pcc.… in PerformanceCounterCategory_CategoryType_SingleInstance()
145 …Category.Create(null, "Categoryhelp", PerformanceCounterCategoryType.SingleInstance, "counter name… in PerformanceCounterCategory_Create_Invalid()
146 …eate("category name", "Categoryhelp", PerformanceCounterCategoryType.SingleInstance, null, "counte… in PerformanceCounterCategory_Create_Invalid()
147 …ory.Create("category name", "Category help", PerformanceCounterCategoryType.SingleInstance, null)); in PerformanceCounterCategory_Create_Invalid()
152 …ate("Category name", "Category help", PerformanceCounterCategoryType.SingleInstance, maxCounter, "… in PerformanceCounterCategory_Create_Invalid()
153 …y.Create(maxCounter, "Category help", PerformanceCounterCategoryType.SingleInstance, "Counter name… in PerformanceCounterCategory_Create_Invalid()
154 …y.Create("Category name", maxCounter, PerformanceCounterCategoryType.SingleInstance, "Counter name… in PerformanceCounterCategory_Create_Invalid()
213 … var category = Helpers.CreateCategory(name, PerformanceCounterCategoryType.SingleInstance); in PerformanceCounterCategory_DeleteCategory()
232 … var category = Helpers.CreateCategory(name, PerformanceCounterCategoryType.SingleInstance); in PerformanceCounterCategory_GetCounters()
/dports/devel/jsonnet/jsonnet-0.17.0/case_studies/micromanage/tests/google/
H A Dtest_nested.jsonnet4 local SingleInstance(name) = {
46 wheezy: SingleInstance('wheezy') {
50 ubuntu: SingleInstance('ubuntu') {
54 "core-os": SingleInstance('core-os') {
/dports/devel/py-jsonnet/jsonnet-0.17.0/case_studies/micromanage/tests/google/
H A Dtest_nested.jsonnet4 local SingleInstance(name) = {
46 wheezy: SingleInstance('wheezy') {
50 ubuntu: SingleInstance('ubuntu') {
54 "core-os": SingleInstance('core-os') {
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/GUI.NET/
H A DSingleInstance.cs15 public class SingleInstance : IDisposable class
29 public SingleInstance() in SingleInstance() method in Mesen.GUI.SingleInstance
177 ~SingleInstance() in ~SingleInstance()
H A DProgram.cs147 using(SingleInstance singleInstance = new SingleInstance()) { in Main()
148 if(singleInstance.FirstInstance || !ConfigManager.Config.PreferenceInfo.SingleInstance) { in Main()
/dports/biology/figtree/figtree-1.4.4/packaging_tools/windows/launch4j/src/net/sf/launch4j/formimpl/
H A DSingleInstanceFormImpl.java40 import net.sf.launch4j.config.SingleInstance;
49 bindings.addOptComponent("singleInstance", SingleInstance.class, in SingleInstanceFormImpl()
/dports/databases/py-postgresql/py-postgresql-1.1.0/postgresql/protocol/
H A Delement3.py184 return typ.SingleInstance
193 return typ.SingleInstance
265 Null.SingleInstance = NullMessage
272 NoData.SingleInstance = NoDataMessage
279 ParseComplete.SingleInstance = ParseCompleteMessage
286 BindComplete.SingleInstance = BindCompleteMessage
300 Suspension.SingleInstance = SuspensionMessage
633 Disconnect.SingleInstance = DisconnectMessage
640 Flush.SingleInstance = FlushMessage
647 Synchronize.SingleInstance = SynchronizeMessage
[all …]
/dports/deskutils/dosage/dosage-2.17/tests/
H A Dtest_singletoninstance.py14 return singleton.SingleInstance(flavor_id=flavor_id, exit_code=1)
20 me = singleton.SingleInstance(flavor_id="test-1")
/dports/devel/py-pyro/Pyro4-4.77/examples/instancemode/
H A Dserver.py6 class SingleInstance(object): class
37 SingleInstance: "instance.single",
/dports/lang/vala/vala-0.48.18/tests/objects/
H A Dsingleton.vala1 [SingleInstance]
8 [SingleInstance]
/dports/games/springlobby/springlobby-0.180/src/lsl/src/lslutils/
H A Dautopointers.h202 template<class T> class SingleInstance{
205 SingleInstance():data(NULL){} in SingleInstance() function
206 ~SingleInstance(){delete data;} in ~SingleInstance()
/dports/biology/figtree/figtree-1.4.4/packaging_tools/windows/launch4j/src/net/sf/launch4j/ant/
H A DAntConfig.java47 import net.sf.launch4j.config.SingleInstance;
77 public void addSingleInstance(SingleInstance singleInstance) { in addSingleInstance()

12345