/third_party/NuttX/fs/vfs/ |
D | fs_open.c | 45 static int oflag_convert_mode(int oflags) in oflag_convert_mode() argument 50 if ((oflags & O_ACCMODE) == O_RDONLY) in oflag_convert_mode() 52 if (oflags & O_WRONLY) in oflag_convert_mode() 54 if (oflags & O_RDWR) in oflag_convert_mode() 59 if (oflags & O_CREAT) in oflag_convert_mode() 64 if (oflags & O_TRUNC) in oflag_convert_mode() 69 if (oflags & O_EXCL) in oflag_convert_mode() 71 if (oflags & O_APPEND) in oflag_convert_mode() 76 if (oflags & O_EXECVE) in oflag_convert_mode() 142 int fp_open(int dirfd, const char *path, int oflags, mode_t mode) in fp_open() argument [all …]
|
D | fs_fcntl.c | 121 int oflags = va_arg(ap, int); in file_vfcntl() local 123 if (oflags & FD_CLOEXEC) in file_vfcntl() 160 int oflags = va_arg(ap, int); in file_vfcntl() local 162 oflags &= FFCNTL; in file_vfcntl() 164 filep->f_oflags |= oflags; in file_vfcntl()
|
/third_party/ltp/include/ |
D | tst_safe_posix_ipc.h | 12 #define SAFE_MQ_OPEN(pathname, oflags, ...) \ argument 13 safe_mq_open(__FILE__, __LINE__, (pathname), (oflags), ##__VA_ARGS__) 16 const char *pathname, int oflags, ...) in safe_mq_open() argument 23 va_start(ap, oflags); in safe_mq_open() 38 rval = mq_open(pathname, oflags, mode, attr); in safe_mq_open() 42 "mq_open(%s,%d,%04o,%p) failed", pathname, oflags, in safe_mq_open()
|
D | tst_safe_file_at.h | 12 #define SAFE_OPENAT(dirfd, path, oflags, ...) \ argument 14 (dirfd), (path), (oflags), ## __VA_ARGS__) 32 const char *const path, const int oflags, ...)
|
/third_party/ejdb/src/bindings/ejdb2_jni/src/main/java/com/softmotions/ejdb2/ |
D | IWKVOptions.java | 15 private long oflags; field in IWKVOptions 28 return (oflags & 0x4) != 0; in isTruncate() 32 return (oflags & 0x4) != 0; in isReadOnly() 52 oflags |= 0x4; in truncate() 57 oflags |= 0x2; in readonly() 99 ….add("oflags=" + oflags).add("file_lock_fail_fast=" + file_lock_fail_fast).add("random_seed=" + ra… in toString()
|
/third_party/ejdb/src/bindings/ejdb2_jni/src/android/java/com/softmotions/ejdb2/ |
D | IWKVOptions.java | 14 private long oflags; field in IWKVOptions 27 return (oflags & 0x4) != 0; in isTruncate() 31 return (oflags & 0x4) != 0; in isReadOnly() 51 oflags |= 0x4; in truncate() 56 oflags |= 0x2; in readonly() 100 .append("oflags=").append(oflags).append(", ") in toString()
|
/third_party/NuttX/fs/driver/ |
D | fs_blockproxy.c | 152 int block_proxy(const char *blkdev, int oflags) in block_proxy() argument 176 readonly = (((unsigned int)oflags & O_ACCMODE) == O_RDONLY); in block_proxy() 189 oflags =(unsigned int)oflags & (~(O_CREAT | O_EXCL | O_APPEND | O_TRUNC)); in block_proxy() 190 fd = open(chardev, oflags); in block_proxy()
|
/third_party/ltp/testcases/kernel/fs/doio/ |
D | write_log.c | 116 int omask, oflags; in wlog_open() local 127 oflags = O_WRONLY | O_APPEND | O_CREAT | trunc; in wlog_open() 128 wfile->w_afd = open(wfile->w_file, oflags, mode); in wlog_open() 134 wfile->w_file, oflags, mode, strerror(errno)); in wlog_open() 142 oflags = O_RDWR; in wlog_open() 143 if ((wfile->w_rfd = open(wfile->w_file, oflags)) == -1) { in wlog_open() 146 wfile->w_file, oflags, strerror(errno)); in wlog_open()
|
D | doio.c | 318 char *format_oflags(int oflags); 416 int alloc_fd(char *file, int oflags); 417 struct fd_cache *alloc_fdcache(char *file, int oflags); 1184 char *format_oflags(int oflags) in format_oflags() argument 1189 switch (oflags & 03) { in format_oflags() 1204 if (oflags & O_EXCL) in format_oflags() 1207 if (oflags & O_SYNC) in format_oflags() 1210 if (oflags & O_RAW) in format_oflags() 1212 if (oflags & O_WELLFORMED) in format_oflags() 1215 if (oflags & O_SSD) in format_oflags() [all …]
|
/third_party/e2fsprogs/contrib/ |
D | ext4-ioc.c | 62 int oflags = O_RDONLY; in do_single_cmd() local 65 oflags = O_RDWR; in do_single_cmd() 66 fd = open(fn, oflags, 0); in do_single_cmd()
|
/third_party/ltp/lib/ |
D | tst_safe_file_at.c | 36 const int dirfd, const char *const path, const int oflags, ...) in safe_openat() argument 42 va_start(ap, oflags); in safe_openat() 46 fd = openat(dirfd, path, oflags, mode); in safe_openat() 52 dirfd, tst_decode_fd(dirfd), path, oflags, mode); in safe_openat()
|
/third_party/ejdb/src/tests/ |
D | ejdb_test1.c | 19 .oflags = IWKV_TRUNC in ejdb_test1_3() 61 .oflags = IWKV_TRUNC in ejdb_test1_2() 176 opts.kv.oflags &= ~IWKV_TRUNC; in ejdb_test1_2() 238 .oflags = IWKV_TRUNC in ejdb_test1_1() 278 opts.kv.oflags &= ~IWKV_TRUNC; in ejdb_test1_1()
|
D | ejdb_test3.c | 17 .oflags = IWKV_TRUNC in ejdb_test3_1() 345 .oflags = IWKV_TRUNC in ejdb_test3_2() 525 .oflags = IWKV_TRUNC in ejdb_test3_3() 696 .oflags = IWKV_TRUNC in ejdb_test3_4() 842 .oflags = IWKV_TRUNC in ejdb_test3_5() 937 .oflags = IWKV_TRUNC in ejdb_test3_6() 993 .oflags = IWKV_TRUNC in ejdb_test3_7() 1020 opts.kv.oflags = 0; in ejdb_test3_7() 1037 .oflags = IWKV_TRUNC in ejdb_test3_8()
|
/third_party/libnl/lib/route/link/ |
D | ipgre.c | 52 uint16_t oflags; member 121 ipgre->oflags = nla_get_u16(tb[IFLA_GRE_OFLAGS]); in ipgre_parse() 182 NLA_PUT_U16(msg, IFLA_GRE_OFLAGS, ipgre->oflags); in ipgre_put_attrs() 252 nl_dump_line(p, "%x\n", ipgre->oflags); in ipgre_dump_details() 556 int rtnl_link_ipgre_set_oflags(struct rtnl_link *link, uint16_t oflags) in rtnl_link_ipgre_set_oflags() argument 562 ipgre->oflags = oflags; in rtnl_link_ipgre_set_oflags() 580 return ipgre->oflags; in rtnl_link_ipgre_get_oflags()
|
/third_party/iowow/src/kv/tests/ |
D | iwkv_test8.c | 39 .oflags = IWKV_TRUNC, in iwkv_test8_1() 65 opts.oflags &= ~IWKV_TRUNC; in iwkv_test8_1() 113 .oflags = IWKV_TRUNC, in t82() 178 .oflags = IWKV_TRUNC, in iwkv_test8_2() 212 opts.oflags &= ~IWKV_TRUNC; in iwkv_test8_2()
|
D | iwkv_test4.c | 52 .oflags = IWKV_TRUNC, in iwkv_test4_4() 90 .oflags = IWKV_TRUNC | IWKV_NO_TRIM_ON_CLOSE, in iwkv_test4_3_impl() 140 opts.oflags &= ~IWKV_TRUNC; in iwkv_test4_3_impl() 190 .oflags = IWKV_TRUNC, in iwkv_test2_impl() 251 .oflags = IWKV_TRUNC, in iwkv_test1_impl()
|
D | iwkv_test10.c | 26 .oflags = IWKV_TRUNC, in iwkv_test10_1_impl() 65 opts.oflags = 0; in iwkv_test10_1_impl()
|
D | iwkv_test1.c | 77 .oflags = IWKV_TRUNC, in iwkv_test3_impl() 146 .oflags = IWKV_TRUNC, in iwkv_test2_impl() 267 .oflags = IWKV_TRUNC, in iwkv_test1_impl() 285 opts.oflags = 0; in iwkv_test1_impl() 306 opts.oflags = IWKV_RDONLY; in iwkv_test1_impl() 336 opts.oflags = 0; in iwkv_test1_impl() 695 .oflags = IWKV_TRUNC, in iwkv_test8_impl() 787 .oflags = IWKV_TRUNC, in iwkv_test7_impl() 842 .oflags = IWKV_TRUNC, in iwkv_test6_impl()
|
D | iwkv_test6.c | 27 .oflags = IWKV_TRUNC, in iwkv_test6_1_impl() 93 .oflags = IWKV_TRUNC, in iwkv_test6_2_impl()
|
/third_party/iowow/src/rdb/ |
D | iwrdb.c | 17 iwrdb_oflags_t oflags; member 42 if (db->oflags & IWRDB_NOLOCKS) { in _initlocks() 117 iwrc iwrdb_open(const char *path, iwrdb_oflags_t oflags, size_t bufsz, IWRDB *odb) { in iwrdb_open() argument 143 db->oflags = oflags; in iwrdb_open()
|
/third_party/ejdb/src/bindings/ejdb2_node/ |
D | index.js | 464 let oflags = 0; 467 oflags |= 0x02; 470 oflags |= 0x04; 472 ret.push(oflags);
|
/third_party/NuttX/fs/dirent/ |
D | fs_opendir.c | 151 int do_opendir(const char *path, int oflags) in do_opendir() argument 200 filep = files_allocate(vp, oflags, 0, NULL, FILE_START_FD); in do_opendir()
|
/third_party/toybox/toys/pending/ |
D | stty.c | 100 static const struct flag oflags[] = { variable 233 !set_flag(&new->c_oflag, oflags, ARRAY_LEN(oflags), option, on) && in set_option() 444 show_flags(old.c_oflag, sane.c_oflag, oflags, ARRAY_LEN(oflags)); in do_stty()
|
/third_party/iowow/src/fs/ |
D | iwfsmfile.h | 162 iwfs_fsm_openflags oflags; /**< Operation mode flags */ member 175 iwfs_fsm_openflags oflags; /**< Operation mode flags. */ member
|
/third_party/iowow/src/fs/tests/ |
D | iwfs_test2.c | 230 .oflags = IWFSM_STRICT in test_fsm_open_close() 256 CU_ASSERT_EQUAL(state1.state.oflags, state2.state.oflags); in test_fsm_open_close() 288 .oflags = IWFSM_STRICT, in test_fsm_uniform_alloc_impl() 548 .oflags = IWFSM_STRICT, in test_block_allocation_impl() 609 .oflags = IWFSM_STRICT, in test_block_allocation1_impl()
|