Home
last modified time | relevance | path

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

/external/libcxx/src/experimental/filesystem/
Doperations.cpp112 file_status fs_tmp; in create_file_status() local
114 if (S_ISLNK(mode)) fs_tmp.type(file_type::symlink); in create_file_status()
115 else if (S_ISREG(mode)) fs_tmp.type(file_type::regular); in create_file_status()
116 else if (S_ISDIR(mode)) fs_tmp.type(file_type::directory); in create_file_status()
117 else if (S_ISBLK(mode)) fs_tmp.type(file_type::block); in create_file_status()
118 else if (S_ISCHR(mode)) fs_tmp.type(file_type::character); in create_file_status()
119 else if (S_ISFIFO(mode)) fs_tmp.type(file_type::fifo); in create_file_status()
120 else if (S_ISSOCK(mode)) fs_tmp.type(file_type::socket); in create_file_status()
121 else fs_tmp.type(file_type::unknown); in create_file_status()
123 fs_tmp.permissions(detail::posix_get_perms(path_stat)); in create_file_status()
[all …]