Home
last modified time | relevance | path

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

12

/third_party/gn/src/base/files/
Dfile_posix.cc332 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()
352 open_flags |= O_RDONLY; 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/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify05.c85 static void generate_events(int open_flags, int num_files) in generate_events() argument
94 fd = SAFE_OPEN(fname, open_flags, 0644); in generate_events()
103 (open_flags & O_CREAT) ? "Created" : "Opened", i, elapsed_ms); in generate_events()
/third_party/libbpf/src/
Dbpf.c904 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); in bpf_obj_get_next_id()
941 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); in bpf_prog_get_fd_by_id_opts()
950 attr.open_flags = OPTS_GET(opts, open_flags, 0); in bpf_prog_get_fd_by_id_opts()
964 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); in bpf_map_get_fd_by_id_opts()
973 attr.open_flags = OPTS_GET(opts, open_flags, 0); in bpf_map_get_fd_by_id_opts()
987 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); in bpf_btf_get_fd_by_id_opts()
996 attr.open_flags = OPTS_GET(opts, open_flags, 0); in bpf_btf_get_fd_by_id_opts()
1010 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); in bpf_link_get_fd_by_id_opts()
1019 attr.open_flags = OPTS_GET(opts, open_flags, 0); in bpf_link_get_fd_by_id_opts()
Dbpf.h371 __u32 open_flags; /* permissions requested for the operation on fd */ member
374 #define bpf_get_fd_by_id_opts__last_field open_flags
/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/ltp/testcases/kernel/syscalls/finit_module/
Dfinit_module02.c37 int open_flags; member
112 fd = SAFE_OPEN(mod_path, tc->open_flags); in run()
/third_party/libfuse/include/
Dfuse_kernel.h688 uint32_t open_flags; /* FUSE_OPEN_... */ member
695 uint32_t open_flags; /* FUSE_OPEN_... */ member
700 uint32_t open_flags; member
/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/f2fs-tools/tools/f2fs_io/
Df2fs_io.c926 int open_flags = 0; in do_copy() local
934 open_flags |= O_DIRECT; in do_copy()
957 src_fd = xopen(argv[0], O_RDONLY | open_flags, 0); in do_copy()
958 dst_fd = xopen(argv[1], O_WRONLY | O_CREAT | O_TRUNC | open_flags, 0644); in do_copy()
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavmux.c560 int open_flags = AVIO_FLAG_WRITE; in gst_ffmpegmux_collected() local
651 open_flags |= GST_FFMPEG_URL_STREAMHEADER; in gst_ffmpegmux_collected()
671 if (gst_ffmpegdata_open (ffmpegmux->srcpad, open_flags, in gst_ffmpegmux_collected()
/third_party/ltp/include/lapi/
Dio_uring.h54 uint32_t open_flags; member
Dbpf.h273 uint32_t open_flags; member
/third_party/ntfs-3g/include/fuse-lite/
Dfuse_kernel.h278 __u32 open_flags; member
/third_party/python/Lib/test/
Dtest_dbm_gnu.py74 all = set(gdbm.open_flags)
/third_party/libfuse/lib/
Dfuse_lowlevel.c404 arg->open_flags |= FOPEN_DIRECT_IO;
406 arg->open_flags |= FOPEN_KEEP_CACHE;
408 arg->open_flags |= FOPEN_CACHE_DIR;
410 arg->open_flags |= FOPEN_NONSEEKABLE;
412 arg->open_flags |= FOPEN_NOFLUSH;
414 arg->open_flags |= FOPEN_PARALLEL_DIRECT_WRITES;
/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/rust/crates/rustix/src/
Dio_uring.rs729 pub open_flags: crate::fs::AtFlags,
/third_party/python/Doc/library/
Ddbm.rst196 :const:`open_flags` is a string of supported flag characters. The exception
/third_party/libbpf/include/uapi/linux/
Dbpf.h1453 __u32 open_flags; member
/third_party/rust/crates/linux-raw-sys/src/riscv64/
Dgeneral.rs4386 pub open_flags: __u32,
/third_party/rust/crates/linux-raw-sys/src/aarch64/
Dgeneral.rs4388 pub open_flags: __u32,

12