Lines Matching refs:dirents
1360 uv__dirent_t** dirents = NULL; in fs__scandir() local
1458 uv__realloc(dirents, new_dirents_size * sizeof *dirents); in fs__scandir()
1464 dirents = new_dirents; in fs__scandir()
1475 dirents[dirents_used++] = dirent; in fs__scandir()
1520 req->ptr = dirents; in fs__scandir()
1521 if (dirents != NULL) in fs__scandir()
1551 uv__free(dirents[--dirents_used]); in fs__scandir()
1552 if (dirents != NULL) in fs__scandir()
1553 uv__free(dirents); in fs__scandir()
1617 uv_dirent_t* dirents; in fs__readdir() local
1626 dirents = dir->dirents; in fs__readdir()
1627 memset(dirents, 0, dir->nentries * sizeof(*dir->dirents)); in fs__readdir()
1649 (char**) &dirents[dirent_idx].name); in fs__readdir()
1663 dirents[dirent_idx].type = uv__fs_get_dirent_type(&dent); in fs__readdir()
1674 uv__free((char*) dirents[i].name); in fs__readdir()
1675 dirents[i].name = NULL; in fs__readdir()
3226 dir->dirents == NULL || in uv_fs_readdir()