Home
last modified time | relevance | path

Searched refs:file_type (Results 1 – 25 of 87) sorted by relevance

1234

/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/
H A Dfs_dir.h58 file_status() noexcept : file_status(file_type::none) {} in _GLIBCXX_VISIBILITY()
61 file_status(file_type __ft, perms __prms = perms::unknown) noexcept in _GLIBCXX_VISIBILITY()
72 file_type type() const noexcept { return _M_type; } in _GLIBCXX_VISIBILITY()
76 void type(file_type __ft) noexcept { _M_type = __ft; } in _GLIBCXX_VISIBILITY()
85 file_type _M_type; in _GLIBCXX_VISIBILITY()
173 { return _M_file_type() == file_type::block; } in _GLIBCXX_VISIBILITY()
177 { return _M_file_type(__ec) == file_type::block; } in _GLIBCXX_VISIBILITY()
181 { return _M_file_type() == file_type::character; } in _GLIBCXX_VISIBILITY()
185 { return _M_file_type(__ec) == file_type::character; } in _GLIBCXX_VISIBILITY()
189 { return _M_file_type() == file_type::directory; } in _GLIBCXX_VISIBILITY()
[all …]
H A Dfs_ops.h116 { return status_known(__s) && __s.type() != file_type::not_found; } in _GLIBCXX_VISIBILITY()
129 return __s.type() != file_type::not_found; in _GLIBCXX_VISIBILITY()
142 { return __s.type() == file_type::block; } in _GLIBCXX_VISIBILITY()
154 { return __s.type() == file_type::character; } in _GLIBCXX_VISIBILITY()
166 { return __s.type() == file_type::directory; } in _GLIBCXX_VISIBILITY()
181 { return __s.type() == file_type::fifo; } in _GLIBCXX_VISIBILITY()
208 { return __s.type() == file_type::regular; } in _GLIBCXX_VISIBILITY()
220 { return __s.type() == file_type::socket; } in _GLIBCXX_VISIBILITY()
232 { return __s.type() == file_type::symlink; } in _GLIBCXX_VISIBILITY()
294 { return __s.type() != file_type::none; } in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/
H A Dfs_dir.h63 file_status() noexcept : file_status(file_type::none) {} in _GLIBCXX_VISIBILITY()
66 file_status(file_type __ft, perms __prms = perms::unknown) noexcept in _GLIBCXX_VISIBILITY()
77 file_type type() const noexcept { return _M_type; } in _GLIBCXX_VISIBILITY()
81 void type(file_type __ft) noexcept { _M_type = __ft; } in _GLIBCXX_VISIBILITY()
90 file_type _M_type; in _GLIBCXX_VISIBILITY()
182 { return _M_file_type() == file_type::block; } in _GLIBCXX_VISIBILITY()
186 { return _M_file_type(__ec) == file_type::block; } in _GLIBCXX_VISIBILITY()
190 { return _M_file_type() == file_type::character; } in _GLIBCXX_VISIBILITY()
194 { return _M_file_type(__ec) == file_type::character; } in _GLIBCXX_VISIBILITY()
198 { return _M_file_type() == file_type::directory; } in _GLIBCXX_VISIBILITY()
[all …]
H A Dfs_ops.h129 { return status_known(__s) && __s.type() != file_type::not_found; } in _GLIBCXX_VISIBILITY()
144 return __s.type() != file_type::not_found; in _GLIBCXX_VISIBILITY()
164 { return __s.type() == file_type::block; } in _GLIBCXX_VISIBILITY()
179 { return __s.type() == file_type::character; } in _GLIBCXX_VISIBILITY()
194 { return __s.type() == file_type::directory; } in _GLIBCXX_VISIBILITY()
215 { return __s.type() == file_type::fifo; } in _GLIBCXX_VISIBILITY()
248 { return __s.type() == file_type::regular; } in _GLIBCXX_VISIBILITY()
263 { return __s.type() == file_type::socket; } in _GLIBCXX_VISIBILITY()
278 { return __s.type() == file_type::symlink; } in _GLIBCXX_VISIBILITY()
364 { return __s.type() != file_type::none; } in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/filesystem/
H A Ddir-common.h161 inline file_type in _GLIBCXX_VISIBILITY()
168 return file_type::block; in _GLIBCXX_VISIBILITY()
170 return file_type::character; in _GLIBCXX_VISIBILITY()
172 return file_type::directory; in _GLIBCXX_VISIBILITY()
174 return file_type::fifo; in _GLIBCXX_VISIBILITY()
176 return file_type::symlink; in _GLIBCXX_VISIBILITY()
178 return file_type::regular; in _GLIBCXX_VISIBILITY()
180 return file_type::socket; in _GLIBCXX_VISIBILITY()
182 return file_type::unknown; in _GLIBCXX_VISIBILITY()
184 return file_type::none; in _GLIBCXX_VISIBILITY()
[all …]
H A Ddir.cc75 type = file_type::none; in advance()
96 file_type type = this->type; in should_recurse()
97 if (type == file_type::none || type == file_type::unknown) in should_recurse()
104 if (type == file_type::directory) in should_recurse()
106 if (type == file_type::symlink) in should_recurse()
113 file_type type = file_type::none;
H A Dstd-dir.cc61 file_type type = file_type::none; in advance()
94 file_type type = entry._M_type; in should_recurse()
95 if (type == file_type::none || type == file_type::unknown) in should_recurse()
102 if (type == file_type::directory) in should_recurse()
104 if (type == file_type::symlink) in should_recurse()
H A Dops-common.h268 inline file_type in _GLIBCXX_VISIBILITY()
273 return file_type::regular; in _GLIBCXX_VISIBILITY()
275 return file_type::directory; in _GLIBCXX_VISIBILITY()
277 return file_type::character; in _GLIBCXX_VISIBILITY()
279 return file_type::block; in _GLIBCXX_VISIBILITY()
281 return file_type::fifo; in _GLIBCXX_VISIBILITY()
284 return file_type::symlink; in _GLIBCXX_VISIBILITY()
288 return file_type::socket; in _GLIBCXX_VISIBILITY()
291 return file_type::unknown; in _GLIBCXX_VISIBILITY()
345 t = file_status{file_type::not_found}; in _GLIBCXX_VISIBILITY()
/netbsd-src/external/apache2/llvm/dist/libcxx/src/filesystem/
H A Ddirectory_iterator.cpp31 static file_type get_file_type(DirEntT* ent, int) { in get_file_type()
34 return file_type::block; in get_file_type()
36 return file_type::character; in get_file_type()
38 return file_type::directory; in get_file_type()
40 return file_type::fifo; in get_file_type()
42 return file_type::symlink; in get_file_type()
44 return file_type::regular; in get_file_type()
46 return file_type::socket; in get_file_type()
53 return file_type::none; in get_file_type()
58 static file_type get_file_type(DirEntT* ent, long) { in get_file_type()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/filesystem/
H A Ddir-common.h269 inline file_type in _GLIBCXX_VISIBILITY()
276 return file_type::block; in _GLIBCXX_VISIBILITY()
278 return file_type::character; in _GLIBCXX_VISIBILITY()
280 return file_type::directory; in _GLIBCXX_VISIBILITY()
282 return file_type::fifo; in _GLIBCXX_VISIBILITY()
284 return file_type::symlink; in _GLIBCXX_VISIBILITY()
286 return file_type::regular; in _GLIBCXX_VISIBILITY()
288 return file_type::socket; in _GLIBCXX_VISIBILITY()
290 return file_type::unknown; in _GLIBCXX_VISIBILITY()
292 return file_type::none; in _GLIBCXX_VISIBILITY()
[all …]
H A Ddir.cc80 type = file_type::none; in advance()
101 file_type type = this->type; in should_recurse()
102 if (type == file_type::none || type == file_type::unknown) in should_recurse()
109 if (type == file_type::directory) in should_recurse()
111 if (type == file_type::symlink) in should_recurse()
140 file_type type = file_type::none;
H A Dops-common.h326 inline file_type in _GLIBCXX_VISIBILITY()
331 return file_type::regular; in _GLIBCXX_VISIBILITY()
333 return file_type::directory; in _GLIBCXX_VISIBILITY()
335 return file_type::character; in _GLIBCXX_VISIBILITY()
337 return file_type::block; in _GLIBCXX_VISIBILITY()
339 return file_type::fifo; in _GLIBCXX_VISIBILITY()
342 return file_type::symlink; in _GLIBCXX_VISIBILITY()
346 return file_type::socket; in _GLIBCXX_VISIBILITY()
349 return file_type::unknown; in _GLIBCXX_VISIBILITY()
403 t = file_status{file_type::not_found}; in _GLIBCXX_VISIBILITY()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DFileSystem.h66 enum class file_type { enum
155 file_type Type = file_type::status_error;
161 explicit basic_file_status(file_type Type) : Type(Type) {} in basic_file_status()
164 basic_file_status(file_type Type, perms Perms, time_t ATime, in basic_file_status()
172 basic_file_status(file_type Type, perms Perms, uint32_t LastAccessTimeHigh, in basic_file_status()
184 file_type type() const { return Type; } in type()
221 void type(file_type v) { Type = v; } in type()
243 explicit file_status(file_type Type) : basic_file_status(Type) {} in file_status()
246 file_status(file_type Type, perms Perms, dev_t Dev, nlink_t Links, ino_t Ino, in file_status()
254 file_status(file_type Type, perms Perms, uint32_t LinkCount, in file_status()
[all …]
H A DVirtualFileSystem.h53 llvm::sys::fs::file_type Type = llvm::sys::fs::file_type::status_error;
64 uint64_t Size, llvm::sys::fs::file_type Type,
77 llvm::sys::fs::file_type getType() const { return Type; } in getType()
130 llvm::sys::fs::file_type Type = llvm::sys::fs::file_type::type_unknown;
134 directory_entry(std::string Path, llvm::sys::fs::file_type Type) in directory_entry()
138 llvm::sys::fs::file_type type() const { return Type; } in type()
426 Optional<llvm::sys::fs::file_type> Type,
443 Optional<llvm::sys::fs::file_type> Type = None,
470 Optional<llvm::sys::fs::file_type> Type = None,
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/bits/
H A Dfs_ops.h123 { return status_known(__s) && __s.type() != file_type::not_found; } in _GLIBCXX_VISIBILITY()
136 return __s.type() != file_type::not_found; in _GLIBCXX_VISIBILITY()
149 { return __s.type() == file_type::block; } in _GLIBCXX_VISIBILITY()
161 { return __s.type() == file_type::character; } in _GLIBCXX_VISIBILITY()
173 { return __s.type() == file_type::directory; } in _GLIBCXX_VISIBILITY()
188 { return __s.type() == file_type::fifo; } in _GLIBCXX_VISIBILITY()
215 { return __s.type() == file_type::regular; } in _GLIBCXX_VISIBILITY()
227 { return __s.type() == file_type::socket; } in _GLIBCXX_VISIBILITY()
239 { return __s.type() == file_type::symlink; } in _GLIBCXX_VISIBILITY()
280 { return __s.type() != file_type::none; } in _GLIBCXX_VISIBILITY()
H A Dfs_dir.h61 file_status(file_type __ft = file_type::none, in _GLIBCXX_VISIBILITY()
73 file_type type() const noexcept { return _M_type; } in _GLIBCXX_VISIBILITY()
77 void type(file_type __ft) noexcept { _M_type = __ft; } in _GLIBCXX_VISIBILITY()
81 file_type _M_type; in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/experimental/bits/
H A Dfs_ops.h137 { return status_known(__s) && __s.type() != file_type::not_found; } in _GLIBCXX_VISIBILITY()
152 return __s.type() != file_type::not_found; in _GLIBCXX_VISIBILITY()
172 { return __s.type() == file_type::block; } in _GLIBCXX_VISIBILITY()
187 { return __s.type() == file_type::character; } in _GLIBCXX_VISIBILITY()
202 { return __s.type() == file_type::directory; } in _GLIBCXX_VISIBILITY()
222 { return __s.type() == file_type::fifo; } in _GLIBCXX_VISIBILITY()
255 { return __s.type() == file_type::regular; } in _GLIBCXX_VISIBILITY()
270 { return __s.type() == file_type::socket; } in _GLIBCXX_VISIBILITY()
285 { return __s.type() == file_type::symlink; } in _GLIBCXX_VISIBILITY()
342 { return __s.type() != file_type::none; } in _GLIBCXX_VISIBILITY()
H A Dfs_dir.h61 file_status(file_type __ft = file_type::none, in _GLIBCXX_VISIBILITY()
73 file_type type() const noexcept { return _M_type; } in _GLIBCXX_VISIBILITY()
77 void type(file_type __ft) noexcept { _M_type = __ft; } in _GLIBCXX_VISIBILITY()
81 file_type _M_type; in _GLIBCXX_VISIBILITY()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DMultiOnDiskHashTable.h43 using file_type = typename Info::file_type;
63 file_type File;
66 OnDiskTable(file_type File, unsigned NumBuckets, unsigned NumEntries, in OnDiskTable()
74 std::vector<file_type> Files;
90 llvm::TinyPtrVector<file_type> PendingOverrides;
129 llvm::DenseSet<file_type> Files; in removeOverriddenTables()
197 void add(file_type File, storage_type Data, Info InfoObj = Info()) {
208 llvm::SmallVector<file_type, 16> OverriddenFiles;
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++17/
H A Dfs_dir.cc72 file_type type = file_type::none; in advance()
105 file_type type = entry._M_type; in should_recurse()
106 if (type == file_type::none) in should_recurse()
113 if (type == file_type::directory) in should_recurse()
115 if (type == file_type::symlink) in should_recurse()
486 if (top.entry._M_type == file_type::none) in __erase()
490 if (top.entry._M_type == file_type::directory) in __erase()
513 else if (top.entry._M_type == file_type::none) in __erase()
526 top.entry._M_type = file_type::directory; in __erase()
/netbsd-src/external/gpl2/xcvs/dist/src/
H A Dimport.c44 mode_t file_type, struct stat *sbp);
46 static int expand_and_copy_contents (FILE *fprcs, mode_t file_type,
1093 mode_t file_type; in add_rcs_file() local
1169 file_type = sb.st_mode & S_IFMT; in add_rcs_file()
1176 file_type == S_IFREG) in add_rcs_file()
1298 file_type, sbp)) in add_rcs_file()
1332 file_type, sbp)) in add_rcs_file()
1352 file_type, sbp)) in add_rcs_file()
1395 if (expand_and_copy_contents (fprcs, file_type, user, fpuser)) in add_rcs_file()
1433 if (expand_and_copy_contents (fprcs, file_type, user, fpuser)) in add_rcs_file()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++17/
H A Dfs_dir.cc66 file_type type = file_type::none; in advance()
99 file_type type = entry._M_type; in should_recurse()
100 if (type == file_type::none) in should_recurse()
107 if (type == file_type::directory) in should_recurse()
109 if (type == file_type::symlink) in should_recurse()
/netbsd-src/external/bsd/pcc/dist/pcc/driver/
H A Ddriver.c60 static const struct file_type { struct
82 static struct file_type * argument
103 struct file_type *type;
115 add_infile(const char *file, struct file_type *type) in add_infile()
/netbsd-src/sys/fs/udf/
H A Dudf_readwrite.c188 int icbflags, addr_type, file_type, intern, has_fids, has_sbm, l_ea; in udf_fixup_node_internals() local
201 file_type = 0; in udf_fixup_node_internals()
211 file_type = fe->icbtag.file_type; in udf_fixup_node_internals()
222 file_type = efe->icbtag.file_type; in udf_fixup_node_internals()
244 has_fids = (file_type == UDF_ICB_FILETYPE_DIRECTORY) || in udf_fixup_node_internals()
245 (file_type == UDF_ICB_FILETYPE_STREAMDIR); in udf_fixup_node_internals()
246 has_sbm = (file_type == UDF_ICB_FILETYPE_META_BITMAP); in udf_fixup_node_internals()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DFileOutputBuffer.cpp183 case fs::file_type::directory_file: in create()
185 case fs::file_type::regular_file: in create()
186 case fs::file_type::file_not_found: in create()
187 case fs::file_type::status_error: in create()

1234