Home
last modified time | relevance | path

Searched refs:dent (Results 1 – 5 of 5) sorted by relevance

/libuv/test/
H A Dtest-fs.c597 ASSERT(dent.type == UV_DIRENT_FILE || dent.type == UV_DIRENT_UNKNOWN); in assert_is_file_type()
606 uv_dirent_t dent; in scandir_cb() local
613 ASSERT(strcmp(dent.name, "file1") == 0 || strcmp(dent.name, "file2") == 0); in scandir_cb()
625 uv_dirent_t dent; in empty_scandir_cb() local
637 uv_dirent_t dent; in non_existent_scandir_cb() local
1155 uv_dirent_t dent; in TEST_IMPL() local
2362 uv_dirent_t dent; in test_symlink_dir_impl() local
2519 uv_dirent_t dent; in TEST_IMPL() local
2946 uv_dirent_t dent; in TEST_IMPL() local
2983 uv_dirent_t dent; in TEST_IMPL() local
[all …]
/libuv/src/
H A Duv-common.c713 uv__dirent_t* dent; in uv_fs_scandir_next() local
740 dent = dents[(*nbufs)++]; in uv_fs_scandir_next()
742 ent->name = dent->d_name; in uv_fs_scandir_next()
743 ent->type = uv__fs_get_dirent_type(dent); in uv_fs_scandir_next()
748 uv_dirent_type_t uv__fs_get_dirent_type(uv__dirent_t* dent) { in uv__fs_get_dirent_type() argument
752 switch (dent->d_type) { in uv__fs_get_dirent_type()
H A Duv-common.h223 uv_dirent_type_t uv__fs_get_dirent_type(uv__dirent_t* dent);
/libuv/src/win/
H A Dfs.c1618 uv__dirent_t dent; in fs__readdir() local
1655 dent.d_type = UV__DT_CHAR; in fs__readdir()
1657 dent.d_type = UV__DT_LINK; in fs__readdir()
1659 dent.d_type = UV__DT_DIR; in fs__readdir()
1661 dent.d_type = UV__DT_FILE; in fs__readdir()
1663 dirents[dirent_idx].type = uv__fs_get_dirent_type(&dent); in fs__readdir()
/libuv/src/unix/
H A Dfs.c570 static int uv__fs_scandir_filter(const uv__dirent_t* dent) { in uv__fs_scandir_filter() argument
571 return strcmp(dent->d_name, ".") != 0 && strcmp(dent->d_name, "..") != 0; in uv__fs_scandir_filter()

Completed in 49 milliseconds