Home
last modified time | relevance | path

Searched refs:OpenExisting (Results 1 – 25 of 265) sorted by relevance

1234567891011

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.IO.MemoryMappedFiles/tests/
H A DMemoryMappedFile.OpenExisting.Tests.cs19 …sertExtensions.Throws<ArgumentNullException>("mapName", () => MemoryMappedFile.OpenExisting(null)); in InvalidArguments_Name()
22 …AssertExtensions.Throws<ArgumentException>(null, () => MemoryMappedFile.OpenExisting(string.Empty)… in InvalidArguments_Name()
33 … Assert.Throws<PlatformNotSupportedException>(() => MemoryMappedFile.OpenExisting(mapName)); in MapNamesNotSupported_Unix()
34 …Assert.Throws<PlatformNotSupportedException>(() => MemoryMappedFile.OpenExisting(mapName, MemoryMa… in MapNamesNotSupported_Unix()
45 … Assert.Throws<FileNotFoundException>(() => MemoryMappedFile.OpenExisting(CreateUniqueMapName())); in InvalidArguments_Name_NonExistent()
84 using (MemoryMappedFile opened = MemoryMappedFile.OpenExisting(mapName)) in OpenCreatedNew()
101 Assert.Throws<FileNotFoundException>(() => MemoryMappedFile.OpenExisting(mapName)); in OpenCreatedNew()
102 …Assert.Throws<FileNotFoundException>(() => MemoryMappedFile.OpenExisting(mapName, MemoryMappedFile… in OpenCreatedNew()
119 using (MemoryMappedFile opened = MemoryMappedFile.OpenExisting(name)) in OpenCreatedFromFile()
136 Assert.Throws<FileNotFoundException>(() => MemoryMappedFile.OpenExisting(name)); in OpenCreatedFromFile()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Threading/tests/
H A DEventWaitHandleTests.cs115 using (EventWaitHandle are2 = EventWaitHandle.OpenExisting(name)) in OpenExisting_Windows()
138 … Assert.Throws<PlatformNotSupportedException>(() => EventWaitHandle.OpenExisting("anything")); in OpenExisting_NotSupported_Unix()
147 … AssertExtensions.Throws<ArgumentNullException>("name", () => EventWaitHandle.OpenExisting(null)); in OpenExisting_InvalidNames_Windows()
148 …tensions.Throws<ArgumentException>("name", null, () => EventWaitHandle.OpenExisting(string.Empty)); in OpenExisting_InvalidNames_Windows()
149 …ensions.Throws<ArgumentException>("name", null, () => EventWaitHandle.OpenExisting(new string('a',… in OpenExisting_InvalidNames_Windows()
157 … Assert.Throws<WaitHandleCannotBeOpenedException>(() => EventWaitHandle.OpenExisting(name)); in OpenExisting_UnavailableName_Windows()
169 … Assert.Throws<WaitHandleCannotBeOpenedException>(() => EventWaitHandle.OpenExisting(name)); in OpenExisting_NameUsedByOtherSynchronizationPrimitive_Windows()
209 using (var inbound = EventWaitHandle.OpenExisting(inboundName)) in PingPong_OtherProcess()
210 using (var outbound = EventWaitHandle.OpenExisting(outboundName)) in PingPong_OtherProcess()
H A DSemaphoreTests.cs204 Assert.Throws<PlatformNotSupportedException>(() => Semaphore.OpenExisting(null)); in OpenExisting_NotSupported_Unix()
205 … Assert.Throws<PlatformNotSupportedException>(() => Semaphore.OpenExisting(string.Empty)); in OpenExisting_NotSupported_Unix()
206 Assert.Throws<PlatformNotSupportedException>(() => Semaphore.OpenExisting("anything")); in OpenExisting_NotSupported_Unix()
215 … AssertExtensions.Throws<ArgumentNullException>("name", () => Semaphore.OpenExisting(null)); in OpenExisting_InvalidNames_Windows()
216 …AssertExtensions.Throws<ArgumentException>("name", null, () => Semaphore.OpenExisting(string.Empty… in OpenExisting_InvalidNames_Windows()
217 …AssertExtensions.Throws<ArgumentException>("name", null, () => Semaphore.OpenExisting(new string('… in OpenExisting_InvalidNames_Windows()
225 Assert.Throws<WaitHandleCannotBeOpenedException>(() => Semaphore.OpenExisting(name)); in OpenExisting_UnavailableName_Windows()
237 … Assert.Throws<WaitHandleCannotBeOpenedException>(() => Semaphore.OpenExisting(name)); in OpenExisting_NameUsedByOtherSynchronizationPrimitive_Windows()
253 using (Semaphore s2 = Semaphore.OpenExisting(name)) in OpenExisting_SameAsOriginal_Windows()
307 using (var inbound = Semaphore.OpenExisting(inboundName)) in PingPong_OtherProcess()
[all …]
H A DMutexTests.cs102 public void OpenExisting() in OpenExisting() method in System.Threading.Tests.MutexTests
111 using (Mutex m2 = Mutex.OpenExisting(name)) in OpenExisting()
131 AssertExtensions.Throws<ArgumentNullException>("name", () => Mutex.OpenExisting(null)); in OpenExisting_InvalidNames()
132 … AssertExtensions.Throws<ArgumentException>("name", null, () => Mutex.OpenExisting(string.Empty)); in OpenExisting_InvalidNames()
133 …AssertExtensions.Throws<ArgumentException>("name", null, () => Mutex.OpenExisting(new string('a', … in OpenExisting_InvalidNames()
140 Assert.Throws<WaitHandleCannotBeOpenedException>(() => Mutex.OpenExisting(name)); in OpenExisting_UnavailableName()
152 Assert.Throws<WaitHandleCannotBeOpenedException>(() => Mutex.OpenExisting(name)); in OpenExisting_NameUsedByOtherSynchronizationPrimitive_Windows()
234 using (var mutex = Mutex.OpenExisting(m)) in CrossProcess_NamedMutex_ProtectedFileAccessAtomic()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.Threading/
H A DSemaphoreTest.cs207 Semaphore.OpenExisting (null); in OpenExisting_NullName()
215 Semaphore.OpenExisting (String.Empty); in OpenExisting_EmptyName()
223 Semaphore.OpenExisting (new String (' ', 261)); in OpenExisting_TooLongName()
231 Semaphore.OpenExisting (new String ('a', 260)); in OpenExisting_Unexisting()
240 Semaphore existing = Semaphore.OpenExisting ("bad-rights", rights); in OpenExisting_BadRights()
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/System.Threading/
H A DMutex.cs107 public static Mutex OpenExisting (string name) in OpenExisting() method in System.Threading.Mutex
109 return(OpenExisting (name, MutexRights.Synchronize | in OpenExisting()
113 public static Mutex OpenExisting (string name, in OpenExisting() method in System.Threading.Mutex
180 public static Mutex OpenExisting (string name) in OpenExisting() method in System.Threading.Mutex
185 public static Mutex OpenExisting (string name, MutexRights rights) in OpenExisting() method in System.Threading.Mutex
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Core/System.IO.MemoryMappedFiles/
H A DMemoryMappedFile.cs311 public static MemoryMappedFile OpenExisting (string mapName) in OpenExisting() method in System.IO.MemoryMappedFiles.MemoryMappedFile
313 return OpenExisting (mapName, MemoryMappedFileRights.ReadWrite); in OpenExisting()
317 …public static MemoryMappedFile OpenExisting (string mapName, MemoryMappedFileRights desiredAccessR… in OpenExisting() method in System.IO.MemoryMappedFiles.MemoryMappedFile
319 return OpenExisting (mapName, desiredAccessRights, HandleInheritability.None); in OpenExisting()
323 …public static MemoryMappedFile OpenExisting (string mapName, MemoryMappedFileRights desiredAccessR… in OpenExisting() method in System.IO.MemoryMappedFiles.MemoryMappedFile
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.IO.MemoryMappedFiles/ref/
H A DSystem.IO.MemoryMappedFiles.cs49 …public static System.IO.MemoryMappedFiles.MemoryMappedFile OpenExisting(string mapName) { throw nu… in OpenExisting() method in System.IO.MemoryMappedFiles.MemoryMappedFile
50 …public static System.IO.MemoryMappedFiles.MemoryMappedFile OpenExisting(string mapName, System.IO.… in OpenExisting() method in System.IO.MemoryMappedFiles.MemoryMappedFile
51 …public static System.IO.MemoryMappedFiles.MemoryMappedFile OpenExisting(string mapName, System.IO.… in OpenExisting() method in System.IO.MemoryMappedFiles.MemoryMappedFile
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.IO.MemoryMappedFiles/src/System/IO/MemoryMappedFiles/
H A DMemoryMappedFile.cs48 public static MemoryMappedFile OpenExisting(string mapName) in OpenExisting() method in System.IO.MemoryMappedFiles.MemoryMappedFile
50 … return OpenExisting(mapName, MemoryMappedFileRights.ReadWrite, HandleInheritability.None); in OpenExisting()
53 …public static MemoryMappedFile OpenExisting(string mapName, MemoryMappedFileRights desiredAccessRi… in OpenExisting() method in System.IO.MemoryMappedFiles.MemoryMappedFile
55 return OpenExisting(mapName, desiredAccessRights, HandleInheritability.None); in OpenExisting()
58 …public static MemoryMappedFile OpenExisting(string mapName, MemoryMappedFileRights desiredAccessRi… in OpenExisting() method in System.IO.MemoryMappedFiles.MemoryMappedFile
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/threading/
H A Deventwaithandle.cs189 public static EventWaitHandle OpenExisting(string name) in OpenExisting() method in System.Threading.EventWaitHandle
192 return OpenExisting(name, (EventWaitHandleRights)0); in OpenExisting()
194 … return OpenExisting(name, EventWaitHandleRights.Modify | EventWaitHandleRights.Synchronize); in OpenExisting()
201 public static EventWaitHandle OpenExisting(string name, EventWaitHandleRights rights) in OpenExisting() method in System.Threading.EventWaitHandle
H A Dmutex.cs291 public static Mutex OpenExisting(string name) in OpenExisting() method in System.Threading.Mutex
294 return OpenExisting(name, (MutexRights) 0); in OpenExisting()
296 return OpenExisting(name, MutexRights.Modify | MutexRights.Synchronize); in OpenExisting()
309 public static Mutex OpenExisting(string name, MutexRights rights) in OpenExisting() method in System.Threading.Mutex
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/sys/system/threading/
H A Dsemaphore.cs197 public static Semaphore OpenExisting(string name) in OpenExisting() method in System.Threading.Semaphore
200 return OpenExisting(name, SemaphoreRights.Modify | SemaphoreRights.Synchronize); in OpenExisting()
206 public static Semaphore OpenExisting(string name, SemaphoreRights rights) in OpenExisting() method in System.Threading.Semaphore
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Core/System/IO/MemoryMappedFiles/
H A DMemoryMappedFile.cs63 public static MemoryMappedFile OpenExisting(string mapName) { in OpenExisting() method in System.IO.MemoryMappedFiles.MemoryMappedFile
64 … return OpenExisting(mapName, MemoryMappedFileRights.ReadWrite, HandleInheritability.None); in OpenExisting()
67 …public static MemoryMappedFile OpenExisting(string mapName, MemoryMappedFileRights desiredAccessRi… in OpenExisting() method in System.IO.MemoryMappedFiles.MemoryMappedFile
68 return OpenExisting(mapName, desiredAccessRights, HandleInheritability.None); in OpenExisting()
73 …public static MemoryMappedFile OpenExisting(string mapName, MemoryMappedFileRights desiredAccessRi… in OpenExisting() method in System.IO.MemoryMappedFiles.MemoryMappedFile
/dports/net/storj/storj-1.45.3/cmd/storagenode/
H A Dmain.go160 db, err := storagenodedb.OpenExisting(ctx, log.Named("db"), runCfg.DatabaseConfig())
307 db, err := storagenodedb.OpenExisting(ctx, zap.L().Named("db"), diagCfg.DatabaseConfig())
342 db, err := storagenodedb.OpenExisting(ctx, zap.L().Named("db"), diagCfg.DatabaseConfig())
/dports/devel/dbus-sharp/dbus-sharp-0.8.1/src/
H A DOSHelpers.cs37 shmem = MemoryMappedFile.OpenExisting (id); in ReadSharedMemoryString()
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.CoreLib/src/System/Threading/
H A DMutex.cs60 public static Mutex OpenExisting(string name) in OpenExisting() method in System.Threading.Mutex
H A DEventWaitHandle.cs59 public static EventWaitHandle OpenExisting(string name) in OpenExisting() method in System.Threading.EventWaitHandle
H A DSemaphore.cs63 public static Semaphore OpenExisting(string name) in OpenExisting() method in System.Threading.Semaphore
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Threading.Overlapped/tests/
H A DDllImport.cs70 OpenExisting = 3, enumerator
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/cargo-crates/windows-sys-0.28.0/src/Windows/Storage/Streams/
H A Dmod.rs25 pub const OpenExisting: Self = Self(0i32); const
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/System.IO.Ports/
H A DWinSerialStream.cs24 const uint OpenExisting = 3; field in System.IO.Ports.WinSerialStream
81 GenericRead | GenericWrite, 0, 0, OpenExisting, in WinSerialStream()
/dports/www/firefox-legacy/firefox-52.8.0esr/ipc/glue/
H A DShmem.cpp362 Shmem::OpenExisting(IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead, in OpenExisting() function in mozilla::ipc::Shmem
442 Shmem::OpenExisting(IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead, in OpenExisting() function in mozilla::ipc::Shmem
/dports/www/firefox-esr/firefox-91.8.0/ipc/glue/
H A DShmem.h169 static already_AddRefed<SharedMemory> OpenExisting(
/dports/www/firefox/firefox-99.0/ipc/glue/
H A DShmem.h176 static already_AddRefed<SharedMemory> OpenExisting(
/dports/mail/thunderbird/thunderbird-91.8.0/ipc/glue/
H A DShmem.h169 static already_AddRefed<SharedMemory> OpenExisting(

1234567891011