Searched refs:UV_FS_O_RDONLY (Results 1 – 8 of 8) sorted by relevance
54 read_or_write_only = flags & (UV_FS_O_RDONLY | UV_FS_O_WRONLY | UV_FS_O_RDWR); in uvwasi__get_rights()56 if (read_or_write_only == UV_FS_O_RDONLY) in uvwasi__get_rights()
1904 flags = write ? read ? UV_FS_O_RDWR : UV_FS_O_WRONLY : UV_FS_O_RDONLY; in uvwasi_path_open()
468 # define UV_FS_O_RDONLY O_RDONLY macro470 # define UV_FS_O_RDONLY 0 macro
673 #define UV_FS_O_RDONLY _O_RDONLY macro
181 r = uv_fs_open(NULL, &open_req, file, UV_FS_O_RDONLY, S_IWUSR | S_IRUSR, NULL); in writeExpect()277 flags = add_flags | UV_FS_O_RDONLY; in fs_open_flags()287 flags = add_flags | UV_FS_O_RDONLY | UV_FS_O_SYNC; in fs_open_flags()
3411 UV_FS_O_RDONLY | UV_FS_O_DIRECTORY, in TEST_IMPL()
460 if ((flags & (UV_FS_O_RDONLY | UV_FS_O_WRONLY | UV_FS_O_RDWR)) == in fs__open()469 flags &= ~(UV_FS_O_RDONLY | UV_FS_O_WRONLY | UV_FS_O_RDWR); in fs__open()480 switch (flags & (UV_FS_O_RDONLY | UV_FS_O_WRONLY | UV_FS_O_RDWR)) { in fs__open()481 case UV_FS_O_RDONLY: in fs__open()673 DWORD flProtect = (fd_info.flags & (UV_FS_O_RDONLY | UV_FS_O_WRONLY | in fs__open()674 UV_FS_O_RDWR)) == UV_FS_O_RDONLY ? PAGE_READONLY : PAGE_READWRITE; in fs__open()752 (UV_FS_O_RDONLY | UV_FS_O_WRONLY | UV_FS_O_RDWR); in fs__read_filemap()933 (UV_FS_O_RDONLY | UV_FS_O_WRONLY | UV_FS_O_RDWR); in fs__write_filemap()942 if (rw_flags == UV_FS_O_RDONLY) { in fs__write_filemap()2040 DWORD flProtect = (fd_info.flags & (UV_FS_O_RDONLY | UV_FS_O_WRONLY | in fs__ftruncate()[all …]
649 .. c:macro:: UV_FS_O_RDONLY