Home
last modified time | relevance | path

Searched refs:omode (Results 1 – 14 of 14) sorted by relevance

/third_party/iowow/src/fs/
Diwfile.c53 if (!(impl->opts.omode & IWFS_OWRITE)) { in _iwfs_write()
80 if (opts->path && (opts->omode & IWFS_OUNLINK)) { in _iwfs_close()
144 if (!(impl->opts.omode & IWFS_OWRITE)) { in _iwfs_copy()
162 iwfs_omode omode; in iwfs_file_open() local
194 if (opts->omode & IWFS_OTMP) { in iwfs_file_open()
211 if (!opts->omode) { in iwfs_file_open()
212 opts->omode = IWFS_DEFAULT_OMODE; in iwfs_file_open()
217 opts->omode |= IWFS_OREAD; in iwfs_file_open()
218 if (opts->omode & IWFS_OTMP) { in iwfs_file_open()
219 opts->omode |= IWFS_OTRUNC; in iwfs_file_open()
[all …]
Diwexfile.c52 iwfs_omode omode; /**< File open mode */ member
155 int prot = (impl->omode & IWFS_OWRITE) ? (PROT_WRITE + PROT_READ) : (PROT_READ); in _exfile_initmmap_slot_lw()
187 iwfs_omode omode = impl->omode; in _exfile_truncate_lw() local
197 if (!(omode & IWFS_OWRITE)) { in _exfile_truncate_lw()
214 if (!(omode & IWFS_OWRITE)) { in _exfile_truncate_lw()
870 impl->omode = fstate.opts.omode; in iwfs_exfile_open()
Diwfile.h111 iwfs_omode omode; /**< File open mode. */ member
Diwfsmfile.c100 iwfs_omode omode; /**< Open mode. */ member
1183 if (!(impl->omode & IWFS_OWRITE)) { in _fsm_trim_tail_lw()
1530 if (impl->fsm && (impl->omode & IWFS_OWRITE)) { in _fsm_close()
1611 if (!(impl->omode & IWFS_OWRITE)) { in _fsm_allocate()
1637 if (!(impl->omode & IWFS_OWRITE)) { in _fsm_reallocate()
1685 if (!(impl->omode & IWFS_OWRITE)) { in _fsm_deallocate()
1875 impl->omode = fstate.file.opts.omode; in iwfs_fsmfile_open()
/third_party/python/Modules/
D_stat.c272 stat_ ##isfunc (PyObject *self, PyObject *omode) \
274 mode_t mode = _PyLong_AsMode_t(omode); \
326 stat_S_IMODE(PyObject *self, PyObject *omode) in stat_S_IMODE() argument
328 mode_t mode = _PyLong_AsMode_t(omode); in stat_S_IMODE()
339 stat_S_IFMT(PyObject *self, PyObject *omode) in stat_S_IFMT() argument
341 mode_t mode = _PyLong_AsMode_t(omode); in stat_S_IFMT()
400 stat_filemode(PyObject *self, PyObject *omode) in stat_filemode() argument
405 mode = _PyLong_AsMode_t(omode); in stat_filemode()
/third_party/iowow/src/kv/benchmark/
Dtc_benchmark.c31 int omode = BDBOWRITER | BDBOCREAT; in db_open() local
33 omode |= BDBOTRUNC; in db_open()
41 if (!tcbdbopen(btc.db, path, omode)) { in db_open()
/third_party/iowow/src/fs/tests/
Diwfs_test1.c65 .omode = IWFS_DEFAULT_OMODE | IWFS_OTRUNC in iwfs_exfile_test1()
99 opts.file.omode = IWFS_OREAD; in iwfs_exfile_test1()
131 .omode = IWFS_OTMP | IWFS_OUNLINK in iwfs_exfile_test1_2()
165 .omode = IWFS_DEFAULT_OMODE | IWFS_OTRUNC in test_fibo_inc()
223 IWFS_EXT_OPTS opts = {.file = {.path = path, .omode = IWFS_OTRUNC}, .use_locks = 0}; in test_mmap1()
Diwfs_test2.c282 .omode = IWFS_OTRUNC in test_fsm_uniform_alloc_impl()
331 opts.exfile.file.omode = IWFS_OREAD; in test_fsm_uniform_alloc_impl()
338 CU_ASSERT_FALSE(state2.state.exfile.file.opts.omode & IWFS_OWRITE); in test_fsm_uniform_alloc_impl()
357 opts.exfile.file.omode = IWFS_OWRITE; in test_fsm_uniform_alloc_impl()
544 .file = {.path = path, .omode = IWFS_OTRUNC}, in test_block_allocation_impl()
604 .omode = IWFS_OTRUNC in test_block_allocation1_impl()
Diwfs_test3.c96 .omode = IWFS_OTRUNC in test_stress()
180 opts.exfile.file.omode = 0; in test_stress()
/third_party/libsnd/tests/
Dutils.tpl519 int oflags = 0, omode = 0, err ;
529 omode = 0 ;
535 omode = S_IRUSR | S_IWUSR | S_IRGRP ;
541 omode = S_IRUSR | S_IWUSR | S_IRGRP ;
553 omode &= ~S_IRGRP ;
559 /* Only use the three argument open() function if omode != 0. */
560 fd = (omode == 0) ? open (filename, oflags) : open (filename, oflags, omode) ;
/third_party/ejdb/src/jbi/
Djbi_sorter_consumer.c163 .omode = IWFS_OTMP | IWFS_OUNLINK in _jbi_scan_sorter_init()
/third_party/iowow/src/kv/
Diwkv.c3301 .omode = IWFS_OREAD | IWFS_OWRITE, in _iwkv_check_online_backup()
3382 .omode = IWFS_OREAD | IWFS_OWRITE | IWFS_OTRUNC in _iwkv_check_online_backup()
3445 iwfs_omode omode = IWFS_OREAD; in iwkv_open() local
3448 omode |= IWFS_OTRUNC; in iwkv_open()
3451 omode |= IWFS_OWRITE; in iwkv_open()
3452 omode |= IWFS_OCREATE; in iwkv_open()
3454 if ((omode & IWFS_OWRITE) && !(omode & IWFS_OTRUNC)) { in iwkv_open()
3511 .omode = omode, in iwkv_open()
Diwal.c595 extopts.file.omode = IWFS_OCREATE | IWFS_OWRITE; in _recover_wl()
/third_party/icu/icu4j/main/shared/data/
DTransliterator_Han_Latin_EDICT.txt43300 重手 < omode\ ;
100735 重手 > omode\ ;