Searched refs:dent (Results 1 – 5 of 5) sorted by relevance
597 ASSERT(dent.type == UV_DIRENT_FILE || dent.type == UV_DIRENT_UNKNOWN); in assert_is_file_type()606 uv_dirent_t dent; in scandir_cb() local613 ASSERT(strcmp(dent.name, "file1") == 0 || strcmp(dent.name, "file2") == 0); in scandir_cb()625 uv_dirent_t dent; in empty_scandir_cb() local637 uv_dirent_t dent; in non_existent_scandir_cb() local1155 uv_dirent_t dent; in TEST_IMPL() local2362 uv_dirent_t dent; in test_symlink_dir_impl() local2519 uv_dirent_t dent; in TEST_IMPL() local2946 uv_dirent_t dent; in TEST_IMPL() local2983 uv_dirent_t dent; in TEST_IMPL() local[all …]
713 uv__dirent_t* dent; in uv_fs_scandir_next() local740 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() argument752 switch (dent->d_type) { in uv__fs_get_dirent_type()
223 uv_dirent_type_t uv__fs_get_dirent_type(uv__dirent_t* dent);
1618 uv__dirent_t dent; in fs__readdir() local1655 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()
570 static int uv__fs_scandir_filter(const uv__dirent_t* dent) { in uv__fs_scandir_filter() argument571 return strcmp(dent->d_name, ".") != 0 && strcmp(dent->d_name, "..") != 0; in uv__fs_scandir_filter()
Completed in 34 milliseconds