Searched refs:dirent (Results 1 – 8 of 8) sorted by relevance
37 const struct dirent **)) { in scandir()38 struct dirent** nl; in scandir()39 struct dirent** nl_copy; in scandir()40 struct dirent* dirent; in scandir() local53 dirent = readdir(mdir); in scandir()54 if (!dirent) in scandir()56 if (!filter || filter(dirent)) { in scandir()57 struct dirent* copy; in scandir()61 memcpy(copy, dirent, sizeof(*copy)); in scandir()84 dirent = nl[--count]; in scandir()[all …]
61 int scandir(const char* maindir, struct dirent*** namelist,62 int (*filter)(const struct dirent *),63 int (*compar)(const struct dirent **,64 const struct dirent **));
627 uv_dirent_t* dirent; in uv__fs_readdir() local628 struct dirent* res; in uv__fs_readdir()650 dirent = &dir->dirents[dirent_idx]; in uv__fs_readdir()651 dirent->name = uv__strdup(res->d_name); in uv__fs_readdir()653 if (dirent->name == NULL) in uv__fs_readdir()656 dirent->type = uv__fs_get_dirent_type(res); in uv__fs_readdir()
1419 uv__dirent_t* dirent; in fs__scandir() local1471 dirent = uv__malloc(sizeof *dirent + wtf8_len); in fs__scandir()1472 if (dirent == NULL) in fs__scandir()1475 dirents[dirents_used++] = dirent; in fs__scandir()1478 wtf8 = &dirent->d_name[0]; in fs__scandir()1484 dirent->d_type = UV__DT_CHAR; in fs__scandir()1486 dirent->d_type = UV__DT_LINK; in fs__scandir()1488 dirent->d_type = UV__DT_DIR; in fs__scandir()1490 dirent->d_type = UV__DT_FILE; in fs__scandir()
168 typedef struct dirent uv__dirent_t;
137 Type of dirent.155 Cross platform (reduced) equivalent of ``struct dirent``.
2622 uv_dirent_t dirent; in TEST_IMPL() local2647 while (uv_fs_scandir_next(&req, &dirent) != UV_EOF) { in TEST_IMPL()2648 if (dirent.type != UV_DIRENT_LINK) { in TEST_IMPL()2655 dirent.name) < 0) { in TEST_IMPL()
4446 * windows: fix setting dirent types on uv_fs_scandir_next (Saúl Ibarra
Completed in 41 milliseconds