/third_party/gn/src/base/files/ |
D | file_posix.cc | 332 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/ |
D | database-tdb.c | 71 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/ |
D | fanotify05.c | 85 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/ |
D | bpf.c | 904 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()
|
D | bpf.h | 371 __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/ |
D | icu_ucasemap_fuzzer.cc | 23 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/ |
D | icu_ucasemap_fuzzer.cc | 23 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/ |
D | ucasemap_fuzzer.cpp | 42 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/ |
D | finit_module02.c | 37 int open_flags; member 112 fd = SAFE_OPEN(mod_path, tc->open_flags); in run()
|
/third_party/libfuse/include/ |
D | fuse_kernel.h | 688 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/ |
D | Makefile | 35 $(MAKE_TARGETS): dataascii.o databin.o file_lock.o forker.o open_flags.o \
|
D | growfiles.c | 166 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/ |
D | f2fs_io.c | 926 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/ |
D | gstavmux.c | 560 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/ |
D | io_uring.h | 54 uint32_t open_flags; member
|
D | bpf.h | 273 uint32_t open_flags; member
|
/third_party/ntfs-3g/include/fuse-lite/ |
D | fuse_kernel.h | 278 __u32 open_flags; member
|
/third_party/python/Lib/test/ |
D | test_dbm_gnu.py | 74 all = set(gdbm.open_flags)
|
/third_party/libfuse/lib/ |
D | fuse_lowlevel.c | 404 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/ |
D | fuse_lowlevel.c | 337 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/ |
D | io_uring.rs | 729 pub open_flags: crate::fs::AtFlags,
|
/third_party/python/Doc/library/ |
D | dbm.rst | 196 :const:`open_flags` is a string of supported flag characters. The exception
|
/third_party/libbpf/include/uapi/linux/ |
D | bpf.h | 1453 __u32 open_flags; member
|
/third_party/rust/crates/linux-raw-sys/src/riscv64/ |
D | general.rs | 4386 pub open_flags: __u32,
|
/third_party/rust/crates/linux-raw-sys/src/aarch64/ |
D | general.rs | 4388 pub open_flags: __u32,
|