Lines Matching refs:bufused
1345 uvwasi_size_t* bufused) {
1363 "cookie=%"PRIu64", bufused=%p)\n",
1369 bufused);
1371 if (uvwasi == NULL || buf == NULL || bufused == NULL)
1402 *bufused = 0;
1454 if (UVWASI_SERDES_SIZE_dirent_t + *bufused > buf_len) {
1456 * bufused, which is the return value, to the length of the buffer
1459 *bufused = buf_len;
1463 uvwasi_serdes_write_dirent_t(buf, *bufused, &dirent);
1464 *bufused += UVWASI_SERDES_SIZE_dirent_t;
1465 available = buf_len - *bufused;
1469 memcpy((char*)buf + *bufused, dirents[i].name, size_to_cp);
1470 *bufused += size_to_cp;
1471 available = buf_len - *bufused;
2097 uvwasi_size_t* bufused) {
2106 "buf=%p, buf_len=%d, bufused=%p)\n",
2113 bufused);
2115 if (uvwasi == NULL || path == NULL || buf == NULL || bufused == NULL)
2148 *bufused = len + 1;