Searched refs:dirents (Results 1 – 6 of 6) sorted by relevance
31 static uv_dirent_t dirents[1]; variable83 dir->dirents = dirents; in empty_opendir_cb()84 dir->nentries = ARRAY_SIZE(dirents); in empty_opendir_cb()128 dir->dirents = dirents; in TEST_IMPL()129 dir->nentries = ARRAY_SIZE(dirents); in TEST_IMPL()299 ASSERT_PTR_EQ(dir->dirents, dirents); in non_empty_readdir_cb()314 dir->dirents = dirents; in non_empty_readdir_cb()333 dir->dirents = dirents; in non_empty_opendir_cb()334 dir->nentries = ARRAY_SIZE(dirents); in non_empty_opendir_cb()408 dir->dirents = dirents; in TEST_IMPL()[all …]
786 uv_dirent_t* dirents; in uv__fs_readdir_cleanup() local793 dirents = dir->dirents; in uv__fs_readdir_cleanup()796 if (dirents == NULL) in uv__fs_readdir_cleanup()800 uv__free((char*) dirents[i].name); in uv__fs_readdir_cleanup()801 dirents[i].name = NULL; in uv__fs_readdir_cleanup()
1458 uv__realloc(dirents, new_dirents_size * sizeof *dirents); in fs__scandir()1464 dirents = new_dirents; in fs__scandir()1520 req->ptr = dirents; in fs__scandir()1521 if (dirents != NULL) 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() local1626 dirents = dir->dirents; in fs__readdir()1627 memset(dirents, 0, dir->nentries * sizeof(*dir->dirents)); in fs__readdir()1675 dirents[i].name = NULL; in fs__readdir()[all …]
169 :c:func:`uv_fs_closedir()`. `dirents` represents a user provided array of171 array size of `dirents`.176 uv_dirent_t* dirents;310 must set `dir->dirents` and `dir->nentries`, representing the array of
650 dirent = &dir->dirents[dirent_idx]; in uv__fs_readdir()664 uv__free((char*) dir->dirents[i].name); in uv__fs_readdir()665 dir->dirents[i].name = NULL; in uv__fs_readdir()2094 if (dir == NULL || dir->dir == NULL || dir->dirents == NULL) in uv_fs_readdir()
1423 uv_dirent_t* dirents; member
Completed in 32 milliseconds