Home
last modified time | relevance | path

Searched refs:SourceExists (Results 1 – 25 of 58) sorted by relevance

123

/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.Diagnostics/
H A DEventLogTest.cs112 if (EventLog.SourceExists ("monotempsource", ".")) in Clear()
115 if (EventLog.SourceExists ("monoothersource", ".")) in Clear()
242 if (EventLog.SourceExists ("monotempsource", ".")) in Clear_Log_Empty()
245 if (EventLog.SourceExists ("monoothersource", ".")) in Clear_Log_Empty()
305 if (EventLog.SourceExists ("monotempsource", ".")) in Clear_Source_DoesNotExist()
341 if (EventLog.SourceExists ("monotempsource", ".")) in Clear_Source_Empty()
372 if (EventLog.SourceExists ("monotempsource", ".")) in Clear_Source_Null()
442 if (EventLog.SourceExists ("monotempsource", ".")) in Constructor2()
1036 if (EventLog.SourceExists ("monologtemp", ".")) in CreateEventSource1()
1162 if (EventLog.SourceExists ("monologtemp", ".")) in CreateEventSource1_Log_ExistsAsSource()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Diagnostics.EventLog/tests/EventLogTests/
H A DEventLogSourceCreationTests.cs19 Assert.True(EventLog.SourceExists(source)); in CheckSourceExistenceAndDeletion()
27 Assert.False(EventLog.SourceExists(source)); in CheckSourceExistenceAndDeletion()
33 Assert.False(EventLog.SourceExists(null)); in CheckSourceExistsArgumentNull()
50 Assert.True(EventLog.SourceExists(source)); in LogNameNullMeansApplicationLog()
93 Assert.True(EventLog.SourceExists(source)); in SourceAlreadyExistsWhenCreatingSource()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.ServiceProcess.ServiceController/tests/
H A DServiceBaseTests.cs184 Assert.False(EventLog.SourceExists(sb.ServiceName)); in LogWritten()
189 Assert.True(EventLog.SourceExists(sb.ServiceName)); in LogWritten()
205 Assert.False(EventLog.SourceExists(sb.ServiceName)); in LogWritten_AutoLog_False()
209 Assert.False(EventLog.SourceExists(sb.ServiceName)); in LogWritten_AutoLog_False()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/System.Diagnostics/
H A DEventLog.cs282 if (SourceExists (sourceData.Source, sourceData.MachineName)) in CreateEventSource()
385 public static bool SourceExists (string source) in SourceExists() method in System.Diagnostics.EventLog
387 return SourceExists (source, "."); in SourceExists()
391 public static bool SourceExists (string source, string machineName) in SourceExists() method in System.Diagnostics.EventLog
400 return impl.SourceExists (source, machineName); in SourceExists()
594 if (!SourceExists (Source, MachineName)) { in WriteEntry()
H A DEventLogImpl.cs178 public abstract bool SourceExists (string source, string machineName); in SourceExists() method in System.Diagnostics.EventLogImpl
217 if (SourceExists (logName, machineName)) { in ValidateCustomerLogName()
H A DNullEventLog.cs121 public override bool SourceExists (string source, string machineName) in SourceExists() method in System.Diagnostics.NullEventLog
/dports/devel/dep/dep-0.5.4/gps/
H A Dbridge.go20 SourceExists(ProjectIdentifier) (bool, error) methodSpec
122 func (b *bridge) SourceExists(id ProjectIdentifier) (bool, error) { func
124 i, e := b.sm.SourceExists(id)
H A Dmanager_test.go270 exists, err = sm.SourceExists(id)
331 if _, err = sm.SourceExists(bad); err == nil {
365 _, err := sm.SourceExists(pi)
747 y, err := sm.SourceExists(id)
812 _, err := sm.SourceExists(id)
H A Dsource_manager.go77 SourceExists(ProjectIdentifier) (bool, error) methodSpec
510 func (sm *SourceMgr) SourceExists(id ProjectIdentifier) (bool, error) { func
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Diagnostics.EventLog/src/System/Diagnostics/
H A DEventLog.cs276 if (SourceExists(source, machineName, true)) in CreateEventSource()
326 if (SourceExists(logName, machineName, true)) in CreateEventSource()
718 public static bool SourceExists(string source) in SourceExists() method in System.Diagnostics.EventLog
720 return SourceExists(source, "."); in SourceExists()
723 public static bool SourceExists(string source, string machineName) in SourceExists() method in System.Diagnostics.EventLog
725 return SourceExists(source, machineName, false); in SourceExists()
728 internal static bool SourceExists(string source, string machineName, bool wantToCreate) in SourceExists() method in System.Diagnostics.EventLog
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/services/monitoring/system/diagnosticts/
H A DEventLog.cs417 if (SourceExists(source, machineName, true)) { in CreateEventSource()
476 if (SourceExists(logName, machineName, true)) { in CreateEventSource()
1048 public static bool SourceExists(string source) { in SourceExists() method in System.Diagnostics.EventLog
1049 return SourceExists(source, "."); in SourceExists()
1060 public static bool SourceExists(string source, string machineName) { in SourceExists() method in System.Diagnostics.EventLog
1061 return SourceExists(source, machineName, false); in SourceExists()
1073 internal static bool SourceExists(string source, string machineName, bool wantToCreate) { in SourceExists() method in System.Diagnostics.EventLog
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Diagnostics.EventLog/ref/
H A DSystem.Diagnostics.EventLog.cs80 public static bool SourceExists(string source) { throw null; } in SourceExists() method in System.Diagnostics.EventLog
81 public static bool SourceExists(string source, string machineName) { throw null; } in SourceExists() method in System.Diagnostics.EventLog
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/ansible/windows/tests/integration/targets/win_service/files/
H A DSleepService.cs24 if (!EventLog.SourceExists(eventSource)) in SleepService()
/dports/sysutils/ansible2/ansible-2.9.27/test/integration/targets/win_service/files/
H A DSleepService.cs24 if (!EventLog.SourceExists(eventSource)) in SleepService()
/dports/net/ntpa/ntpa-0.8.2/Ntp.Common/Log/
H A DEventLog.cs102 if (!global::System.Diagnostics.EventLog.SourceExists(name)) in CreateEventLog()
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/modules/windows/
H A Dwin_eventlog_entry.ps137 $source_exists = [System.Diagnostics.EventLog]::SourceExists($SourceName) in Test-SourceExistence()
H A Dwin_eventlog.ps168 $source_exists = [System.Diagnostics.EventLog]::SourceExists($SourceName) in Test-SourceExistence()
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/windows/plugins/modules/
H A Dwin_eventlog_entry.ps137 $source_exists = [System.Diagnostics.EventLog]::SourceExists($SourceName) in Test-SourceExistence()
H A Dwin_eventlog.ps168 $source_exists = [System.Diagnostics.EventLog]::SourceExists($SourceName) in Test-SourceExistence()
/dports/devel/log4net/log4net-1.2.10/src/Appender/
H A DEventLogAppender.cs247 sourceAlreadyExists = EventLog.SourceExists(m_applicationName); in ActivateOptions()
/dports/sysutils/ansible2/ansible-2.9.27/examples/scripts/
H A DConfigureRemotingForAnsible.ps1248 …::Exists('Application') -eq $False -or [System.Diagnostics.EventLog]::SourceExists($EventSource) -…
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/test/lib/ansible_test/_data/setup/
H A DConfigureRemotingForAnsible.ps1248 …::Exists('Application') -eq $False -or [System.Diagnostics.EventLog]::SourceExists($EventSource) -…
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/examples/scripts/
H A DConfigureRemotingForAnsible.ps1248 …::Exists('Application') -eq $False -or [System.Diagnostics.EventLog]::SourceExists($EventSource) -…
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/test/lib/ansible_test/_data/setup/
H A DConfigureRemotingForAnsible.ps1248 …::Exists('Application') -eq $False -or [System.Diagnostics.EventLog]::SourceExists($EventSource) -…
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/examples/scripts/
H A DConfigureRemotingForAnsible.ps1248 …::Exists('Application') -eq $False -or [System.Diagnostics.EventLog]::SourceExists($EventSource) -…

123