Lines Matching refs:bufused
1275 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()
1395 available = buf_len - *bufused; in uvwasi_fd_readdir()
2020 uvwasi_size_t* bufused) { in uvwasi_path_readlink() argument
2036 bufused); in uvwasi_path_readlink()
2038 if (uvwasi == NULL || path == NULL || buf == NULL || bufused == NULL) in uvwasi_path_readlink()
2071 *bufused = len + 1; in uvwasi_path_readlink()