Home
last modified time | relevance | path

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

/third_party/iowow/src/fs/
Diwfile.c58 if (!(impl->opts.omode & IWFS_OWRITE)) { in _iwfs_write()
85 if (opts->path && (opts->omode & IWFS_OUNLINK)) { in _iwfs_close()
149 if (!(impl->opts.omode & IWFS_OWRITE)) { in _iwfs_copy()
167 iwfs_omode omode; in iwfs_file_open() local
199 if (opts->omode & IWFS_OTMP) { in iwfs_file_open()
216 if (!opts->omode) { in iwfs_file_open()
217 opts->omode = IWFS_DEFAULT_OMODE; in iwfs_file_open()
222 opts->omode |= IWFS_OREAD; in iwfs_file_open()
223 if (opts->omode & IWFS_OTMP) { in iwfs_file_open()
224 opts->omode |= IWFS_OTRUNC; in iwfs_file_open()
[all …]
Diwexfile.c52 iwfs_omode omode; /**< File open mode */ member
167 int prot = (impl->omode & IWFS_OWRITE) ? (PROT_WRITE + PROT_READ) : (PROT_READ); in _exfile_initmmap_slot_lw()
214 iwfs_omode omode = impl->omode; in _exfile_truncate_lw() local
224 if (!(omode & IWFS_OWRITE)) { in _exfile_truncate_lw()
241 if (!(omode & IWFS_OWRITE)) { in _exfile_truncate_lw()
897 impl->omode = fstate.opts.omode; in iwfs_exfile_open()
Diwfile.h111 iwfs_omode omode; /**< File open mode. */ member
Diwfsmfile.c103 iwfs_omode omode; /**< Open mode. */ member
1195 if (!(fsm->omode & IWFS_OWRITE)) { in _fsm_trim_tail_lw()
1533 if (fsm->root && (fsm->omode & IWFS_OWRITE)) { in _fsm_close()
1610 if (!(fsm->omode & IWFS_OWRITE)) { in _fsm_allocate()
1636 if (!(fsm->omode & IWFS_OWRITE)) { in _fsm_reallocate()
1681 if (!(fsm->omode & IWFS_OWRITE)) { in _fsm_deallocate()
1867 fsm->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.c64 .omode = IWFS_DEFAULT_OMODE | IWFS_OTRUNC in iwfs_exfile_test1()
98 opts.file.omode = IWFS_OREAD; in iwfs_exfile_test1()
130 .omode = IWFS_OTMP | IWFS_OUNLINK in iwfs_exfile_test1_2()
164 .omode = IWFS_DEFAULT_OMODE | IWFS_OTRUNC in test_fibo_inc()
222 IWFS_EXT_OPTS opts = { .file = { .path = path, .omode = IWFS_OTRUNC }, .use_locks = 0 }; in test_mmap1()
Diwfs_test2.c283 .omode = IWFS_OTRUNC in test_fsm_uniform_alloc_impl()
335 opts.exfile.file.omode = IWFS_OREAD; in test_fsm_uniform_alloc_impl()
342 CU_ASSERT_FALSE(state2.state.exfile.file.opts.omode & IWFS_OWRITE); in test_fsm_uniform_alloc_impl()
361 opts.exfile.file.omode = IWFS_OWRITE; in test_fsm_uniform_alloc_impl()
547 .file = { .path = path, .omode = IWFS_OTRUNC }, in test_block_allocation_impl()
608 .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.c161 .omode = IWFS_OTMP | IWFS_OUNLINK in _jbi_scan_sorter_init()
/third_party/iowow/src/kv/
Diwkv.c2950 .omode = IWFS_OREAD | IWFS_OWRITE, in _iwkv_check_online_backup()
3031 .omode = IWFS_OREAD | IWFS_OWRITE | IWFS_OTRUNC in _iwkv_check_online_backup()
3094 iwfs_omode omode = IWFS_OREAD; in iwkv_open() local
3097 omode |= IWFS_OTRUNC; in iwkv_open()
3100 omode |= IWFS_OWRITE; in iwkv_open()
3101 omode |= IWFS_OCREATE; in iwkv_open()
3103 if ((omode & IWFS_OWRITE) && !(omode & IWFS_OTRUNC)) { in iwkv_open()
3160 .omode = omode, in iwkv_open()
Diwal.c622 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\ ;