Home
last modified time | relevance | path

Searched refs:rights_base (Results 1 – 5 of 5) sorted by relevance

/third_party/node/deps/uvwasi/src/
Dwasi_rights.c9 uvwasi_rights_t* rights_base, in uvwasi__get_rights() argument
18 *rights_base = UVWASI__RIGHTS_REGULAR_FILE_BASE; in uvwasi__get_rights()
23 *rights_base = UVWASI__RIGHTS_DIRECTORY_BASE; in uvwasi__get_rights()
29 *rights_base = UVWASI__RIGHTS_SOCKET_BASE; in uvwasi__get_rights()
35 *rights_base = UVWASI__RIGHTS_TTY_BASE; in uvwasi__get_rights()
38 *rights_base = UVWASI__RIGHTS_CHARACTER_DEVICE_BASE; in uvwasi__get_rights()
44 *rights_base = UVWASI__RIGHTS_BLOCK_DEVICE_BASE; in uvwasi__get_rights()
49 *rights_base = 0; in uvwasi__get_rights()
57 *rights_base &= ~UVWASI_RIGHT_FD_WRITE; in uvwasi__get_rights()
59 *rights_base &= ~UVWASI_RIGHT_FD_READ; in uvwasi__get_rights()
Dfd_table.h19 uvwasi_rights_t rights_base; member
43 uvwasi_rights_t rights_base,
58 uvwasi_rights_t rights_base,
63 uvwasi_rights_t rights_base,
Dfd_table.c66 uvwasi_rights_t rights_base, in uvwasi_fd_table_insert() argument
171 entry->rights_base = rights_base; in uvwasi_fd_table_insert()
331 uvwasi_rights_t rights_base, in uvwasi_fd_table_get() argument
342 rights_base, in uvwasi_fd_table_get()
355 uvwasi_rights_t rights_base, in uvwasi_fd_table_get_nolock() argument
371 if ((~entry->rights_base & rights_base) != 0 || in uvwasi_fd_table_get_nolock()
Dwasi_rights.h102 uvwasi_rights_t* rights_base,
Duvwasi.c851 buf->fs_rights_base = wrap->rights_base; in uvwasi_fd_fdstat_get()
963 if ((fs_rights_base | wrap->rights_base) > wrap->rights_base) { in uvwasi_fd_fdstat_set_rights()
974 wrap->rights_base = fs_rights_base; in uvwasi_fd_fdstat_set_rights()