Home
last modified time | relevance | path

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

/third_party/glib/gio/
Dglocalfileoutputstream.c670 gint open_flags, in output_stream_open() argument
678 fd = g_open (filename, open_flags, mode); in output_stream_open()
696 int open_flags; in _g_local_file_output_stream_open() local
701 open_flags = O_BINARY; in _g_local_file_output_stream_open()
703 open_flags |= O_RDWR; in _g_local_file_output_stream_open()
705 open_flags |= O_WRONLY; in _g_local_file_output_stream_open()
707 return output_stream_open (filename, open_flags, 0666, cancellable, error); in _g_local_file_output_stream_open()
731 int open_flags; in _g_local_file_output_stream_create() local
738 open_flags = O_CREAT | O_EXCL | O_BINARY; in _g_local_file_output_stream_create()
740 open_flags |= O_RDWR; in _g_local_file_output_stream_create()
[all …]
/third_party/gn/src/base/files/
Dfile_posix.cc331 int open_flags = 0; in DoInitialize() local
335 DCHECK(!open_flags); in DoInitialize()
337 open_flags = O_CREAT | O_TRUNC; in DoInitialize()
340 if (!open_flags && !(flags & FLAG_OPEN)) { in DoInitialize()
348 open_flags |= O_RDWR; in DoInitialize()
350 open_flags |= O_WRONLY; in DoInitialize()
358 int descriptor = HANDLE_EINTR(open(path.value().c_str(), open_flags, mode)); in DoInitialize()
/third_party/pulseaudio/src/pulsecore/
Ddatabase-tdb.c71 int open_flags, in tdb_open_cloexec() argument
79 open_flags |= O_NOCTTY; in tdb_open_cloexec()
84 if ((c = tdb_open(name, hash_size, tdb_flags, open_flags | O_CLOEXEC, mode))) in tdb_open_cloexec()
92 if (!(c = tdb_open(name, hash_size, tdb_flags, open_flags, mode))) in tdb_open_cloexec()
/third_party/skia/third_party/externals/icu/fuzzers/
Dicu_ucasemap_fuzzer.cc23 uint32_t open_flags = static_cast<uint32_t>(rng()); in LLVMFuzzerTestOneInput() local
26 ucasemap_open(locale.getName(), open_flags, &status), in LLVMFuzzerTestOneInput()
/third_party/flutter/skia/third_party/externals/icu/fuzzers/
Dicu_ucasemap_fuzzer.cc23 uint32_t open_flags = static_cast<uint32_t>(rng()); in LLVMFuzzerTestOneInput() local
26 ucasemap_open(locale.getName(), open_flags, &status), in LLVMFuzzerTestOneInput()
/third_party/icu/icu4c/source/test/fuzzer/
Ducasemap_fuzzer.cpp42 uint32_t open_flags = rnd32; in LLVMFuzzerTestOneInput() local
45 ucasemap_open(locale.getName(), open_flags, &status), in LLVMFuzzerTestOneInput()
/third_party/e2fsprogs/debugfs/
Ddebugfs.c141 static void open_filesystem(char *device, int open_flags, blk64_t superblock, in open_filesystem() argument
156 if ((open_flags & EXT2_FLAG_IMAGE_FILE) == 0) { in open_filesystem()
171 open_flags |= EXT2_FLAG_SKIP_MMP | EXT2_FLAG_IGNORE_SB_ERRORS; in open_filesystem()
180 retval = ext2fs_open(device, open_flags, superblock, blocksize, in open_filesystem()
183 !(open_flags & EXT2_FLAG_IGNORE_CSUM_ERRORS)) { in open_filesystem()
184 open_flags |= EXT2_FLAG_IGNORE_CSUM_ERRORS; in open_filesystem()
234 int open_flags = EXT2_FLAG_SOFTSUPP_FEATURES | EXT2_FLAG_64BITS; in do_open_filesys() local
242 open_flags |= EXT2_FLAG_IMAGE_FILE; in do_open_filesys()
248 open_flags |= EXT2_FLAG_RW; in do_open_filesys()
252 open_flags |= EXT2_FLAG_FORCE; in do_open_filesys()
[all …]
/third_party/e2fsprogs/lib/ext2fs/
Dinode_io.c119 int open_flags; in inode_open() local
153 open_flags = (flags & IO_FLAG_RW) ? EXT2_FILE_WRITE : 0; in inode_open()
156 &data->inode : 0, open_flags, in inode_open()
Dtdb.h147 int open_flags, mode_t mode);
149 int open_flags, mode_t mode,
Dunix_io.c756 int open_flags; in unix_open() local
761 open_flags = (flags & IO_FLAG_RW) ? O_RDWR : O_RDONLY; in unix_open()
763 open_flags |= O_EXCL; in unix_open()
766 open_flags |= O_DIRECT; in unix_open()
768 fd = ext2fs_open_file(name, open_flags, 0); in unix_open()
Dtdb.c242 int open_flags; /* flags used in the open - needed by reopen */ member
3799 int open_flags, mode_t mode) in tdb_open() argument
3801 return tdb_open_ex(name, hash_size, tdb_flags, open_flags, mode, NULL, NULL); in tdb_open()
3812 int open_flags, mode_t mode, in tdb_open_ex() argument
3832 tdb->open_flags = open_flags; in tdb_open_ex()
3847 if ((open_flags & O_ACCMODE) == O_WRONLY) { in tdb_open_ex()
3856 if ((open_flags & O_ACCMODE) == O_RDONLY) { in tdb_open_ex()
3874 if ((tdb->fd = open(name, open_flags, mode)) == -1) { in tdb_open_ex()
3890 open_flags |= O_CREAT; in tdb_open_ex()
3904 if (!(open_flags & O_CREAT) || tdb_new_database(tdb, hash_size) == -1) { in tdb_open_ex()
[all …]
/third_party/ltp/testcases/kernel/fs/doio/
DMakefile35 $(MAKE_TARGETS): dataascii.o databin.o file_lock.o forker.o open_flags.o \
Dgrowfiles.c166 int open_flags = O_RDWR | O_CREAT | O_LARGEFILE; /* open flags */ variable
169 int open_flags = O_RDWR | O_CREAT; /* open flags */ variable
653 open_flags = RANDOM_OPEN; in main()
656 } else if ((open_flags = parse_open_flags(optarg, NULL)) in main()
1067 if (open_flags == RANDOM_OPEN) in main()
1074 Progname, Pid, open_flags, io_type); in main()
1420 if (open_flags == RANDOM_OPEN) { in main()
1429 ret = open_flags; in main()
/third_party/glib/glib/
Dgstdio.c588 DWORD open_flags; in _g_win32_stat_utf16_no_trailing_slashes() local
608 open_flags = FILE_ATTRIBUTE_NORMAL; in _g_win32_stat_utf16_no_trailing_slashes()
611 open_flags |= FILE_FLAG_OPEN_REPARSE_POINT; in _g_win32_stat_utf16_no_trailing_slashes()
614 open_flags |= FILE_FLAG_BACKUP_SEMANTICS; in _g_win32_stat_utf16_no_trailing_slashes()
619 open_flags, in _g_win32_stat_utf16_no_trailing_slashes()
Dgfileutils.c1436 int open_flags; in g_file_set_contents_full() local
1439 open_flags = O_RDWR | O_BINARY | O_CREAT | O_CLOEXEC; in g_file_set_contents_full()
1442 open_flags |= O_NOFOLLOW; in g_file_set_contents_full()
1446 direct_fd = g_open (filename, open_flags, mode); in g_file_set_contents_full()
/third_party/f2fs-tools/tools/f2fs_io/
Df2fs_io.c795 int open_flags = 0; in do_copy() local
803 open_flags |= O_DIRECT; in do_copy()
826 src_fd = xopen(argv[0], O_RDONLY | open_flags, 0); in do_copy()
827 dst_fd = xopen(argv[1], O_WRONLY | O_CREAT | O_TRUNC | open_flags, 0644); in do_copy()
/third_party/ltp/include/lapi/
Dio_uring.h46 uint32_t open_flags; member
Dbpf.h270 uint32_t open_flags; member
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavmux.c559 int open_flags = AVIO_FLAG_WRITE; in gst_ffmpegmux_collected() local
650 open_flags |= GST_FFMPEG_URL_STREAMHEADER; in gst_ffmpegmux_collected()
670 if (gst_ffmpegdata_open (ffmpegmux->srcpad, open_flags, in gst_ffmpegmux_collected()
/third_party/ntfs-3g/include/fuse-lite/
Dfuse_kernel.h278 __u32 open_flags; member
/third_party/python/Lib/test/
Dtest_dbm_gnu.py67 all = set(gdbm.open_flags)
/third_party/e2fsprogs/misc/
Dfuse2fs.c310 int open_flags; member
2088 file->open_flags = 0; in __op_open()
2095 file->open_flags |= EXT2_FILE_WRITE; in __op_open()
2099 file->open_flags |= EXT2_FILE_WRITE; in __op_open()
2103 detect_linux_executable_open(fp->flags, &check, &file->open_flags); in __op_open()
2106 file->open_flags |= EXT2_FILE_CREATE; in __op_open()
2174 err = ext2fs_file_open(fs, fh->ino, fh->open_flags, &efp); in op_read()
2241 err = ext2fs_file_open(fs, fh->ino, fh->open_flags, &efp); in op_write()
2300 if (fs_writeable(fs) && fh->open_flags & EXT2_FILE_WRITE) { in op_release()
2331 if (fs_writeable(fs) && fh->open_flags & EXT2_FILE_WRITE) { in op_fsync()
[all …]
/third_party/ntfs-3g/libfuse-lite/
Dfuse_lowlevel.c337 arg->open_flags |= FOPEN_DIRECT_IO; in fill_open()
339 arg->open_flags |= FOPEN_KEEP_CACHE; in fill_open()
/third_party/python/Doc/library/
Ddbm.rst196 :const:`open_flags` is a string of supported flag characters. The exception
/third_party/chromium/patch/
D3.1release.patch5924 constexpr int open_flags =
5926 int status = sqlite3_open_v2(filename.Utf8().c_str(), &connection, open_flags,