Home
last modified time | relevance | path

Searched refs:openFlags (Results 1 – 25 of 652) sorted by relevance

12345678910>>...27

/dports/science/highfive/HighFive-2.3.1/include/highfive/bits/
H A DH5File_misc.hpp25 inline unsigned convert_open_flag(unsigned openFlags) { in convert_open_flag() argument
27 if (openFlags & File::ReadOnly) in convert_open_flag()
29 if (openFlags & File::ReadWrite) in convert_open_flag()
31 if (openFlags & File::Create) in convert_open_flag()
33 if (openFlags & File::Truncate) in convert_open_flag()
35 if (openFlags & File::Excl) in convert_open_flag()
42 inline File::File(const std::string& filename, unsigned openFlags, in File() argument
44 openFlags = convert_open_flag(openFlags); in File()
46 unsigned createMode = openFlags & (H5F_ACC_TRUNC | H5F_ACC_EXCL); in File()
47 unsigned openMode = openFlags & (H5F_ACC_RDWR | H5F_ACC_RDONLY); in File()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.OSX/
H A DStorePal.AppleKeychainStore.cs23 internal AppleKeychainStore(SafeKeychainHandle keychainHandle, OpenFlags openFlags) in AppleKeychainStore() argument
29 _readonly = (openFlags & (OpenFlags.ReadWrite | OpenFlags.MaxAllowed)) == 0; in AppleKeychainStore()
81 public static AppleKeychainStore OpenDefaultKeychain(OpenFlags openFlags) in OpenDefaultKeychain() argument
83 … return new AppleKeychainStore(Interop.AppleCrypto.SecKeychainCopyDefault(), openFlags); in OpenDefaultKeychain()
86 public static AppleKeychainStore OpenSystemSharedKeychain(OpenFlags openFlags) in OpenSystemSharedKeychain() argument
89 return OpenKeychain(SharedSystemKeychainPath, openFlags); in OpenSystemSharedKeychain()
92 private static AppleKeychainStore OpenKeychain(string keychainPath, OpenFlags openFlags) in OpenKeychain() argument
94 … return new AppleKeychainStore(Interop.AppleCrypto.SecKeychainOpen(keychainPath), openFlags); in OpenKeychain()
H A DStorePal.cs98 …tatic IStorePal FromSystemStore(string storeName, StoreLocation storeLocation, OpenFlags openFlags) in FromSystemStore() argument
106 return AppleKeychainStore.OpenDefaultKeychain(openFlags); in FromSystemStore()
108 return AppleTrustStore.OpenStore(StoreName.Root, storeLocation, openFlags); in FromSystemStore()
110 … return AppleTrustStore.OpenStore(StoreName.Disallowed, storeLocation, openFlags); in FromSystemStore()
115 return AppleKeychainStore.OpenSystemSharedKeychain(openFlags); in FromSystemStore()
117 return AppleTrustStore.OpenStore(StoreName.Root, storeLocation, openFlags); in FromSystemStore()
119 … return AppleTrustStore.OpenStore(StoreName.Disallowed, storeLocation, openFlags); in FromSystemStore()
123 if ((openFlags & OpenFlags.OpenExistingOnly) == OpenFlags.OpenExistingOnly) in FromSystemStore()
/dports/devel/aws-sdk-cpp/aws-sdk-cpp-1.9.129/aws-cpp-sdk-core/source/utils/
H A DTempFile.cpp33 … TempFile::TempFile(const char* prefix, const char* suffix, std::ios_base::openmode openFlags) : in TempFile() argument
34 FStreamWithFileName(ComputeTempFileName(prefix, suffix).c_str(), openFlags) in TempFile()
38 TempFile::TempFile(const char* prefix, std::ios_base::openmode openFlags) : in TempFile() argument
39 FStreamWithFileName(ComputeTempFileName(prefix, nullptr).c_str(), openFlags) in TempFile()
43 TempFile::TempFile(std::ios_base::openmode openFlags) : in TempFile() argument
44 FStreamWithFileName(ComputeTempFileName(nullptr, nullptr).c_str(), openFlags) in TempFile()
/dports/databases/db18/db-18.1.40/lang/java/src/com/sleepycat/db/
H A DSequenceConfig.java305 int openFlags = 0; in openSequence() local
306 openFlags |= allowCreate ? DbConstants.DB_CREATE : 0; in openSequence()
307 openFlags |= exclusiveCreate ? DbConstants.DB_EXCL : 0; in openSequence()
308 openFlags |= threaded ? DbConstants.DB_THREAD : 0; in openSequence()
311 openFlags |= DbConstants.DB_AUTO_COMMIT; in openSequence()
316 seq.open(txn, key, openFlags); in openSequence()
355 final int openFlags = 0; in SequenceConfig() local
356 allowCreate = (openFlags & DbConstants.DB_CREATE) != 0; in SequenceConfig()
357 exclusiveCreate = (openFlags & DbConstants.DB_EXCL) != 0; in SequenceConfig()
H A DDatabaseConfig.java2455 int openFlags = 0; in openDatabase() local
2460 openFlags |= noMMap ? DbConstants.DB_NOMMAP : 0; in openDatabase()
2461 openFlags |= readOnly ? DbConstants.DB_RDONLY : 0; in openDatabase()
2462 openFlags |= sliced ? DbConstants.DB_SLICED : 0; in openDatabase()
2463 openFlags |= threaded ? DbConstants.DB_THREAD : 0; in openDatabase()
2464 openFlags |= truncate ? DbConstants.DB_TRUNCATE : 0; in openDatabase()
2467 openFlags |= DbConstants.DB_AUTO_COMMIT; in openDatabase()
2613 final int openFlags = db.get_open_flags(); in DatabaseConfig() local
2618 noMMap = (openFlags & DbConstants.DB_NOMMAP) != 0; in DatabaseConfig()
2619 readOnly = (openFlags & DbConstants.DB_RDONLY) != 0; in DatabaseConfig()
[all …]
/dports/databases/db5/db-5.3.28/lang/java/src/com/sleepycat/db/
H A DSequenceConfig.java305 int openFlags = 0; in openSequence() local
306 openFlags |= allowCreate ? DbConstants.DB_CREATE : 0; in openSequence()
307 openFlags |= exclusiveCreate ? DbConstants.DB_EXCL : 0; in openSequence()
308 openFlags |= threaded ? DbConstants.DB_THREAD : 0; in openSequence()
311 openFlags |= DbConstants.DB_AUTO_COMMIT; in openSequence()
316 seq.open(txn, key, openFlags); in openSequence()
355 final int openFlags = 0; in SequenceConfig() local
356 allowCreate = (openFlags & DbConstants.DB_CREATE) != 0; in SequenceConfig()
357 exclusiveCreate = (openFlags & DbConstants.DB_EXCL) != 0; in SequenceConfig()
H A DDatabaseConfig.java2219 int openFlags = 0; in openDatabase() local
2220 openFlags |= allowCreate ? DbConstants.DB_CREATE : 0; in openDatabase()
2224 openFlags |= noMMap ? DbConstants.DB_NOMMAP : 0; in openDatabase()
2225 openFlags |= readOnly ? DbConstants.DB_RDONLY : 0; in openDatabase()
2226 openFlags |= threaded ? DbConstants.DB_THREAD : 0; in openDatabase()
2227 openFlags |= truncate ? DbConstants.DB_TRUNCATE : 0; in openDatabase()
2230 openFlags |= DbConstants.DB_AUTO_COMMIT; in openDatabase()
2355 final int openFlags = db.get_open_flags(); in DatabaseConfig() local
2360 noMMap = (openFlags & DbConstants.DB_NOMMAP) != 0; in DatabaseConfig()
2361 readOnly = (openFlags & DbConstants.DB_RDONLY) != 0; in DatabaseConfig()
[all …]
H A DEnvironmentConfig.java4274 int openFlags = 0; in openEnvironment() local
4276 openFlags |= allowCreate ? DbConstants.DB_CREATE : 0; in openEnvironment()
4283 openFlags |= lockDown ? DbConstants.DB_LOCKDOWN : 0; in openEnvironment()
4284 openFlags |= isPrivate ? DbConstants.DB_PRIVATE : 0; in openEnvironment()
4285 openFlags |= register ? DbConstants.DB_REGISTER : 0; in openEnvironment()
4286 openFlags |= runRecovery ? DbConstants.DB_RECOVER : 0; in openEnvironment()
4289 openFlags |= threaded ? DbConstants.DB_THREAD : 0; in openEnvironment()
4297 openFlags, mode); in openEnvironment()
4666 final int openFlags = dbenv.get_open_flags(); in EnvironmentConfig() local
4675 lockDown = ((openFlags & DbConstants.DB_LOCKDOWN) != 0); in EnvironmentConfig()
[all …]
/dports/games/uqm/uqm-0.8.0/src/libs/uio/
H A Duiostream.c55 int openFlags; in uio_fopen() local
62 openFlags = O_RDONLY; in uio_fopen()
65 openFlags = O_WRONLY | O_CREAT | O_TRUNC; in uio_fopen()
68 openFlags = O_WRONLY| O_CREAT | O_APPEND; in uio_fopen()
83 openFlags |= O_BINARY; in uio_fopen()
88 openFlags |= O_TEXT; in uio_fopen()
92 openFlags = (openFlags & ~O_ACCMODE) | O_RDWR; in uio_fopen()
111 stream = uio_Stream_new(handle, openFlags); in uio_fopen()
264 assert((stream->openFlags & O_ACCMODE) != O_WRONLY); in uio_ungetc()
566 uio_Stream_new(uio_Handle *handle, int openFlags) { in uio_Stream_new() argument
[all …]
/dports/deskutils/syncthingtray/c++utilities/io/
H A Dnativefilestream.cpp110 : openFlags(0)
115 openFlags = O_RDWR | O_APPEND;
118 openFlags = O_RDWR | O_TRUNC;
121 openFlags = O_RDWR;
125 openFlags = O_RDONLY;
129 openFlags = O_WRONLY | O_APPEND;
132 openFlags = O_WRONLY | O_TRUNC | O_CREAT;
135 openFlags = O_WRONLY | O_CREAT;
144 int openFlags;
183 descriptor = ::open(path.data(), nativeParams.openFlags, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in FileBuffer()
[all …]
/dports/textproc/exempi/exempi-2.5.2/XMPFiles/source/
H A DXMPFiles.cpp335 , openFlags(0) in XMPFiles()
644 dummyParent.openFlags = hdlInfo.flags; in GetFileModDate()
944 if ( (openFlags & kXMPFiles_OptimizeFileLayout) && (! (openFlags & kXMPFiles_OpenForUpdate)) ) { in DoOpenFile()
955 thiz->openFlags = openFlags; in DoOpenFile()
992 openFlags = oldOpenFlags; in DoOpenFile()
1101 XMP_OptionBits openFlags ) in DoOpenFile() argument
1107 if ( (openFlags & kXMPFiles_OptimizeFileLayout) && (! (openFlags & kXMPFiles_OpenForUpdate)) ) { in DoOpenFile()
1119 thiz->openFlags = openFlags; in DoOpenFile()
1360 this->openFlags = 0; in CloseFile()
1378 this->openFlags = 0; in CloseFile()
[all …]
/dports/devel/aws-sdk-cpp/aws-sdk-cpp-1.9.129/aws-cpp-sdk-core/include/aws/core/utils/
H A DFileSystemUtils.h21 … FStreamWithFileName(const Aws::String& fileName, std::ios_base::openmode openFlags) : in FStreamWithFileName() argument
22 Aws::FStream(fileName.c_str(), openFlags), m_fileName(fileName) {} in FStreamWithFileName()
41 TempFile(const char* prefix, const char* suffix, std::ios_base::openmode openFlags);
46 TempFile(const char* prefix, std::ios_base::openmode openFlags);
50 TempFile(std::ios_base::openmode openFlags);
/dports/emulators/z80pack/z80pack-1.37/z80core/
H A Dsimbdos.c80 char openFlags[4]; /* flags for fopen call */ in host_bdos_out() local
114 strcpy(openFlags, "wb"); /* MAKEF opens for writing */ in host_bdos_out()
119 openFlags[0] = 0; /* yes, don't over-write */ in host_bdos_out()
130 strcpy(openFlags, "rb"); /* OPENF for reading */ in host_bdos_out()
132 if (openFlags[0] != 0) /* don't open if null string */ in host_bdos_out()
133 if ((fp = fopen(fname, openFlags)) != NULL) in host_bdos_out()
/dports/multimedia/musikcube/musikcube-0.96.7/src/musikcore/io/
H A DLocalFileStream.cpp94 std::string openFlags = ""; in Open() local
96 openFlags += "rb"; in Open()
100 if (openFlags.size() == 2) { in Open()
101 openFlags += "+"; in Open()
105 openFlags = "wb"; in Open()
112 std::wstring u16flags = u8to16(openFlags); in Open()
115 this->file = fopen(filename, openFlags.c_str()); in Open()
/dports/net/jcifs/jcifs_1.3.19/src/jcifs/smb/
H A DSmbFileInputStream.java37 private int readSize, openFlags, access; field in SmbFileInputStream
68 …SmbFileInputStream( SmbFile file, int openFlags ) throws SmbException, MalformedURLException, Unkn… in SmbFileInputStream() argument
70 this.openFlags = openFlags & 0xFFFF; in SmbFileInputStream()
71 this.access = (openFlags >>> 16) & 0xFFFF; in SmbFileInputStream()
73 file.open( openFlags, access, SmbFile.ATTR_NORMAL, 0 ); in SmbFileInputStream()
74 this.openFlags &= ~(SmbFile.O_CREAT | SmbFile.O_TRUNC); in SmbFileInputStream()
154 file.open( openFlags, access, SmbFile.ATTR_NORMAL, 0 ); in readDirect()
H A DSmbFileOutputStream.java36 private int openFlags, access, writeSize; field in SmbFileOutputStream
123 …SmbFileOutputStream( SmbFile file, boolean append, int openFlags ) throws SmbException, MalformedU… in SmbFileOutputStream() argument
126 this.openFlags = openFlags; in SmbFileOutputStream()
127 this.access = (openFlags >>> 16) & 0xFFFF; in SmbFileOutputStream()
142 file.open( openFlags, access | SmbConstants.FILE_WRITE_DATA, SmbFile.ATTR_NORMAL, 0 ); in SmbFileOutputStream()
143 this.openFlags &= ~(SmbFile.O_CREAT | SmbFile.O_TRUNC); /* in case close and reopen */ in SmbFileOutputStream()
197 file.open( openFlags, access | SmbConstants.FILE_WRITE_DATA, SmbFile.ATTR_NORMAL, 0 ); in ensureOpen()
/dports/graphics/dcp2icc/dcp2icc-0.1/XMP-Toolkit-SDK-4.4.2/public/include/
H A DTXMPFiles.hpp172 XMP_OptionBits openFlags = 0 );
183 XMP_OptionBits openFlags = 0 );
375 XMP_OptionBits openFlags = 0 );
385 XMP_OptionBits openFlags = 0 );
430 XMP_OptionBits * openFlags = 0,
/dports/graphics/digikam/digikam-7.4.0/core/libs/dngwriter/extra/xmp_sdk/public/include/
H A DTXMPFiles.hpp214 XMP_OptionBits openFlags = 0 );
225 XMP_OptionBits openFlags = 0 );
504 XMP_OptionBits openFlags = 0 );
514 XMP_OptionBits openFlags = 0 );
526 XMP_OptionBits openFlags = 0 );
572 XMP_OptionBits * openFlags = 0,
/dports/textproc/exempi/exempi-2.5.2/public/include/
H A DTXMPFiles.hpp214 XMP_OptionBits openFlags = 0 );
225 XMP_OptionBits openFlags = 0 );
504 XMP_OptionBits openFlags = 0 );
514 XMP_OptionBits openFlags = 0 );
526 XMP_OptionBits openFlags = 0 );
572 XMP_OptionBits * openFlags = 0,
/dports/graphics/digikam/digikam-7.4.0/core/libs/dngwriter/extra/xmp_sdk/public/include/client-glue/
H A DWXMPFiles.hpp100 #define zXMPFiles_OpenFile_1(filePath,format,openFlags) \ argument
101 WXMPFiles_OpenFile_1 ( this->xmpFilesRef, filePath, format, openFlags, &wResult )
104 #define zXMPFiles_OpenFile_2(clientIO,format,openFlags) \ argument
105 WXMPFiles_OpenFile_2 ( this->xmpFilesRef, clientIO, format, openFlags, &wResult )
111 #define zXMPFiles_GetFileInfo_1(clientPath,openFlags,format,handlerFlags,SetClientString) \ argument
112 …WXMPFiles_GetFileInfo_1 ( this->xmpFilesRef, clientPath, openFlags, format, handlerFlags, SetClien…
194 XMP_OptionBits openFlags,
201 XMP_OptionBits openFlags,
211 XMP_OptionBits * openFlags, // ! Can be null.
/dports/textproc/exempi/exempi-2.5.2/public/include/client-glue/
H A DWXMPFiles.hpp100 #define zXMPFiles_OpenFile_1(filePath,format,openFlags) \ argument
101 WXMPFiles_OpenFile_1 ( this->xmpFilesRef, filePath, format, openFlags, &wResult )
104 #define zXMPFiles_OpenFile_2(clientIO,format,openFlags) \ argument
105 WXMPFiles_OpenFile_2 ( this->xmpFilesRef, clientIO, format, openFlags, &wResult )
111 #define zXMPFiles_GetFileInfo_1(clientPath,openFlags,format,handlerFlags,SetClientString) \ argument
112 …WXMPFiles_GetFileInfo_1 ( this->xmpFilesRef, clientPath, openFlags, format, handlerFlags, SetClien…
194 XMP_OptionBits openFlags,
201 XMP_OptionBits openFlags,
211 XMP_OptionBits * openFlags, // ! Can be null.
/dports/graphics/dcp2icc/dcp2icc-0.1/fixes/XMP-Toolkit/
H A DXMPFiles.cpp489 thiz->openFlags = openFlags; in SelectSmartHandler()
514 if ( openFlags & kXMPFiles_OpenStrictly ) openFlags ^= kXMPFiles_OpenStrictly; in SelectSmartHandler()
523 if ( openFlags & kXMPFiles_OpenStrictly ) return 0; in SelectSmartHandler()
864 openFlags(0), in XMPFiles()
1014 this->openFlags = openFlags; in OpenFile()
1060 if ( openFlags & kXMPFiles_OpenLimitedScanning ) { in OpenFile()
1098 if ( ! (openFlags & kXMPFiles_OpenCacheTNail) ) { in OpenFile()
1285 this->openFlags = 0; in CloseFile()
1297 this->openFlags = 0; in CloseFile()
1315 if ( openFlags == 0 ) openFlags = &voidOptionBits; in GetFileInfo()
[all …]
/dports/graphics/dcp2icc/dcp2icc-0.1/XMP-Toolkit-SDK-4.4.2/source/XMPFiles/
H A DXMPFiles.cpp489 thiz->openFlags = openFlags; in SelectSmartHandler()
514 if ( openFlags & kXMPFiles_OpenStrictly ) openFlags ^= kXMPFiles_OpenStrictly; in SelectSmartHandler()
523 if ( openFlags & kXMPFiles_OpenStrictly ) return 0; in SelectSmartHandler()
864 openFlags(0), in XMPFiles()
1014 this->openFlags = openFlags; in OpenFile()
1060 if ( openFlags & kXMPFiles_OpenLimitedScanning ) { in OpenFile()
1098 if ( ! (openFlags & kXMPFiles_OpenCacheTNail) ) { in OpenFile()
1285 this->openFlags = 0; in CloseFile()
1297 this->openFlags = 0; in CloseFile()
1315 if ( openFlags == 0 ) openFlags = &voidOptionBits; in GetFileInfo()
[all …]
/dports/graphics/exiv2/exiv2-0.27.5-Source/xmpsdk/include/client-glue/
H A DWXMPFiles.hpp61 #define zXMPFiles_OpenFile_1(filePath,format,openFlags) \ argument
62 WXMPFiles_OpenFile_1 ( this->xmpFilesRef, filePath, format, openFlags, &wResult )
67 #define zXMPFiles_GetFileInfo_1(filePath,filePathLen,openFlags,format,handlerFlags) \ argument
68 …WXMPFiles_GetFileInfo_1 ( this->xmpFilesRef, filePath, filePathLen, openFlags, format, handlerFlag…
118 XMP_OptionBits openFlags,
128 XMP_OptionBits * openFlags, // ! Can be null.

12345678910>>...27