Searched refs:bufused (Results 1 – 3 of 3) sorted by relevance
1275 uvwasi_size_t* bufused) { in uvwasi_fd_readdir() argument1299 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 …]
161 uvwasi_size_t* bufused);221 uvwasi_size_t* bufused);
872 uvwasi_size_t bufused; in FdReaddir() local878 &bufused); in FdReaddir()880 uvwasi_serdes_write_size_t(memory, bufused_ptr, bufused); in FdReaddir()1262 uvwasi_size_t bufused; in PathReadlink() local1269 &bufused); in PathReadlink()1271 uvwasi_serdes_write_size_t(memory, bufused_ptr, bufused); in PathReadlink()