Home
last modified time | relevance | path

Searched refs:bufused (Results 1 – 3 of 3) sorted by relevance

/third_party/node/deps/uvwasi/src/
Duvwasi.c1275 uvwasi_size_t* bufused) { in uvwasi_fd_readdir() argument
1299 bufused); in uvwasi_fd_readdir()
1301 if (uvwasi == NULL || buf == NULL || bufused == NULL) in uvwasi_fd_readdir()
1332 *bufused = 0; in uvwasi_fd_readdir()
1384 if (UVWASI_SERDES_SIZE_dirent_t + *bufused > buf_len) in uvwasi_fd_readdir()
1387 uvwasi_serdes_write_dirent_t(buf, *bufused, &dirent); in uvwasi_fd_readdir()
1388 *bufused += UVWASI_SERDES_SIZE_dirent_t; in uvwasi_fd_readdir()
1389 available = buf_len - *bufused; in uvwasi_fd_readdir()
1393 memcpy((char*)buf + *bufused, dirents[i].name, size_to_cp); in uvwasi_fd_readdir()
1394 *bufused += size_to_cp; in uvwasi_fd_readdir()
[all …]
/third_party/node/deps/uvwasi/include/
Duvwasi.h161 uvwasi_size_t* bufused);
221 uvwasi_size_t* bufused);
/third_party/node/src/
Dnode_wasi.cc872 uvwasi_size_t bufused; in FdReaddir() local
878 &bufused); in FdReaddir()
880 uvwasi_serdes_write_size_t(memory, bufused_ptr, bufused); in FdReaddir()
1262 uvwasi_size_t bufused; in PathReadlink() local
1269 &bufused); in PathReadlink()
1271 uvwasi_serdes_write_size_t(memory, bufused_ptr, bufused); in PathReadlink()