Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/libcxx/src/filesystem/
H A Dfile_descriptor.h43 file_type get_file_type(DirEntT* ent, int) { in get_file_type()
46 return file_type::block; in get_file_type()
48 return file_type::character; in get_file_type()
50 return file_type::directory; in get_file_type()
52 return file_type::fifo; in get_file_type()
54 return file_type::symlink; in get_file_type()
56 return file_type::regular; in get_file_type()
58 return file_type::socket; in get_file_type()
65 return file_type::none; in get_file_type()
70 file_type get_file_typ
[all...]
/freebsd/contrib/llvm-project/libcxx/include/__filesystem/
H A Ddirectory_entry.h99 _LIBCPP_HIDE_FROM_ABI bool is_block_file() const { return __get_ft() == file_type::block; } in is_block_file()
102 return __get_ft(&__ec) == file_type::block; in is_block_file()
105 …_LIBCPP_HIDE_FROM_ABI bool is_character_file() const { return __get_ft() == file_type::character; } in is_character_file()
108 return __get_ft(&__ec) == file_type::character; in is_character_file()
111 _LIBCPP_HIDE_FROM_ABI bool is_directory() const { return __get_ft() == file_type::directory; } in is_directory()
114 return __get_ft(&__ec) == file_type::directory; in is_directory()
117 _LIBCPP_HIDE_FROM_ABI bool is_fifo() const { return __get_ft() == file_type::fifo; } in is_fifo()
119 …OM_ABI bool is_fifo(error_code& __ec) const noexcept { return __get_ft(&__ec) == file_type::fifo; } in is_fifo()
127 _LIBCPP_HIDE_FROM_ABI bool is_regular_file() const { return __get_ft() == file_type::regular; } in is_regular_file()
130 return __get_ft(&__ec) == file_type::regular; in is_regular_file()
[all …]
H A Dfile_status.h28 _LIBCPP_HIDE_FROM_ABI file_status() noexcept : file_status(file_type::none) {} in file_status()
29 _LIBCPP_HIDE_FROM_ABI explicit file_status(file_type __ft, perms __prms = perms::unknown) noexcept
41 _LIBCPP_HIDE_FROM_ABI file_type type() const noexcept { return __ft_; } in type()
46 _LIBCPP_HIDE_FROM_ABI void type(file_type __ft) noexcept { __ft_ = __ft; } in type()
59 file_type __ft_;
H A Doperations.h147 …HIDE_FROM_ABI bool status_known(file_status __s) noexcept { return __s.type() != file_type::none; } in status_known()
149 return status_known(__s) && __s.type() != file_type::not_found; in exists()
168 …DE_FROM_ABI bool is_block_file(file_status __s) noexcept { return __s.type() == file_type::block; } in is_block_file()
174 return __s.type() == file_type::character; in is_character_file()
180 …FROM_ABI bool is_directory(file_status __s) noexcept { return __s.type() == file_type::directory; } in is_directory()
188 …BCPP_HIDE_FROM_ABI bool is_fifo(file_status __s) noexcept { return __s.type() == file_type::fifo; } in is_fifo()
193 …ROM_ABI bool is_regular_file(file_status __s) noexcept { return __s.type() == file_type::regular; } in is_regular_file()
198 …IDE_FROM_ABI bool is_symlink(file_status __s) noexcept { return __s.type() == file_type::symlink; } in is_symlink()
210 …_HIDE_FROM_ABI bool is_socket(file_status __s) noexcept { return __s.type() == file_type::socket; } in is_socket()
H A Dfile_type.h25 enum class file_type : signed char { enum
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DFileSystem.h65 enum class file_type { enum
154 file_type Type = file_type::status_error;
160 explicit basic_file_status(file_type Type) : Type(Type) {} in basic_file_status()
163 basic_file_status(file_type Type, perms Perms, time_t ATime, in basic_file_status()
171 basic_file_status(file_type Type, perms Perms, uint32_t LastAccessTimeHigh, in basic_file_status()
183 file_type type() const { return Type; } in type()
220 void type(file_type v) { Type = v; } in type()
241 explicit file_status(file_type Type) : basic_file_status(Type) {} in file_status()
244 file_status(file_type Type, perms Perms, dev_t Dev, nlink_t Links, ino_t Ino, in file_status()
252 file_status(file_type Type, perms Perms, uint32_t LinkCount, in file_status()
[all …]
H A DVirtualFileSystem.h55 llvm::sys::fs::file_type Type = llvm::sys::fs::file_type::status_error;
74 uint64_t Size, llvm::sys::fs::file_type Type,
89 llvm::sys::fs::file_type getType() const { return Type; } in getType()
150 llvm::sys::fs::file_type Type = llvm::sys::fs::file_type::type_unknown;
154 directory_entry(std::string Path, llvm::sys::fs::file_type Type) in directory_entry()
158 llvm::sys::fs::file_type type() const { return Type; } in type()
497 llvm::sys::fs::file_type Type;
540 std::optional<llvm::sys::fs::file_type> Type,
565 std::optional<llvm::sys::fs::file_type> Type = std::nullopt,
608 std::optional<llvm::sys::fs::file_type> Type = std::nullopt,
/freebsd/contrib/llvm-project/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()) {
210 llvm::SmallVector<file_type, 16> OverriddenFiles;
H A DASTReaderInternals.h81 using file_type = ModuleFile *; variable
115 file_type ReadFileRef(const unsigned char *&d);
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolLocator/DebugSymbols/
H A DSymbolLocatorDebugSymbols.cpp261 case file_type::directory_file: // Bundle directory? in LocateExecutableObjectFile()
289 case file_type::fifo_file: // Forget pipes in LocateExecutableObjectFile()
290 case file_type::socket_file: // We can't process socket files in LocateExecutableObjectFile()
291 case file_type::file_not_found: // File doesn't exist... in LocateExecutableObjectFile()
292 case file_type::status_error: in LocateExecutableObjectFile()
295 case file_type::type_unknown: in LocateExecutableObjectFile()
296 case file_type::regular_file: in LocateExecutableObjectFile()
297 case file_type::symlink_file: in LocateExecutableObjectFile()
298 case file_type::block_file: in LocateExecutableObjectFile()
299 case file_type::character_file: in LocateExecutableObjectFile()
[all …]
/freebsd/usr.sbin/etcupdate/
H A Detcupdate.sh112 file_type() function
517 first=`file_type $1/$3`
518 second=`file_type $2/$3`
607 args=`file_type ${2}$dir`
1044 dest=`file_type $DESTDIR/$file`
1157 old=`file_type $OLDTREE/$file`
1158 new=`file_type $NEWTREE/$file`
1219 new=`file_type $NEWTREE/$file`
1220 dest=`file_type $DESTDIR/$file`
1228 old=`file_type
[all...]
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DLocateSymbolFileMacOSX.cpp
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DFileOutputBuffer.cpp184 case fs::file_type::directory_file: in create()
186 case fs::file_type::regular_file: in create()
187 case fs::file_type::file_not_found: in create()
188 case fs::file_type::status_error: in create()
H A DFileCollector.cpp145 if (It->type() == sys::fs::file_type::regular_file || in addDirectoryImpl()
146 It->type() == sys::fs::file_type::directory_file || in addDirectoryImpl()
147 It->type() == sys::fs::file_type::symlink_file) { in addDirectoryImpl()
196 if (Stat.type() == sys::fs::file_type::file_not_found) in copyFiles()
207 if (Stat.type() == sys::fs::file_type::directory_file) { in copyFiles()
H A DVirtualFileSystem.cpp59 using llvm::sys::fs::file_type;
70 uint32_t User, uint32_t Group, uint64_t Size, file_type Type, in Status()
98 bool Status::isDirectory() const { return Type == file_type::directory_file; } in isDirectory()
100 bool Status::isRegularFile() const { return Type == file_type::regular_file; } in isRegularFile()
106 bool Status::isSymlink() const { return Type == file_type::symlink_file; } in isSymlink()
108 bool Status::isStatusKnown() const { return Type != file_type::status_error; } in isStatusKnown()
111 return isStatusKnown() && Type != file_type::file_not_found; in exists()
199 llvm::sys::fs::file_type::status_error, {}),
818 (Type == sys::fs::file_type::directory_file) in makeStatus()
830 llvm::sys::fs::file_type::directory_file, in InMemoryFileSystem()
[all …]
H A DMemoryBuffer.cpp434 sys::fs::file_type Type = Status.type(); in getReadWriteFile()
435 if (Type != sys::fs::file_type::regular_file && in getReadWriteFile()
436 Type != sys::fs::file_type::block_file) in getReadWriteFile()
486 sys::fs::file_type Type = Status.type(); in getOpenFileImpl()
487 if (Type != sys::fs::file_type::regular_file && in getOpenFileImpl()
488 Type != sys::fs::file_type::block_file) in getOpenFileImpl()
H A DPath.cpp1079 return status_known(status) && status.type() != file_type::file_not_found; in exists()
1083 return s.type() != file_type::status_error; in status_known()
1086 file_type get_file_type(const Twine &Path, bool Follow) { in get_file_type()
1089 return file_type::status_error; in get_file_type()
1094 return status.type() == file_type::directory_file; in is_directory()
1106 return status.type() == file_type::regular_file; in is_regular_file()
1118 return status.type() == file_type::symlink_file; in is_symlink_file()
1143 void directory_entry::replace_filename(const Twine &Filename, file_type Type, in replace_filename()
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/
H A DFileSystem.h187 void *baton, llvm::sys::fs::file_type file_type, llvm::StringRef);
190 llvm::sys::fs::file_type file_type, llvm::StringRef)>
/freebsd/contrib/llvm-project/llvm/tools/llvm-debuginfo-analyzer/
H A Dllvm-debuginfo-analyzer.cpp71 case sys::fs::file_type::regular_file: in expandBundle()
72 case sys::fs::file_type::symlink_file: in expandBundle()
73 case sys::fs::file_type::type_unknown: in expandBundle()
/freebsd/crypto/openssh/
H A Dauth2-pubkeyfile.c443 int log_missing, char *file_type) in auth_openfile() argument
453 pw->pw_name, file_type, file, strerror(errno)); in auth_openfile()
456 pw->pw_name, file_type, file, strerror(errno)); in auth_openfile()
467 pw->pw_name, file_type, file); in auth_openfile()
480 auth_debug_add("Ignored %s: %s", file_type, line); in auth_openfile()
/freebsd/crypto/heimdal/appl/ftp/ftpd/
H A Dls.c153 int file_type = 0; in make_fileinfo() local
161 file_type = '/'; in make_fileinfo()
170 file_type = '*'; in make_fileinfo()
174 file_type = '|'; in make_fileinfo()
178 file_type = '@'; in make_fileinfo()
182 file_type = '='; in make_fileinfo()
187 file_type = '%'; in make_fileinfo()
288 if((flags & LS_TYPE) && file_type != 0) { in make_fileinfo()
289 if (asprintf(&file->filename, "%s%c", p, file_type) == -1) in make_fileinfo()
/freebsd/contrib/diff/lib/
H A Dfile-type.c33 file_type (struct stat const *st) in file_type() function
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DPlatform.cpp384 RecurseCopy_Callback(void *baton, llvm::sys::fs::file_type ft, in RecurseCopy_Callback()
390 case fs::file_type::fifo_file: in RecurseCopy_Callback()
391 case fs::file_type::socket_file: in RecurseCopy_Callback()
396 case fs::file_type::directory_file: { in RecurseCopy_Callback()
428 case fs::file_type::symlink_file: { in RecurseCopy_Callback()
450 case fs::file_type::regular_file: { in RecurseCopy_Callback()
537 case fs::file_type::directory_file: { in Install()
556 case fs::file_type::regular_file: in Install()
561 case fs::file_type::symlink_file: { in Install()
568 case fs::file_type::fifo_file: in Install()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Dfilesystem331 file_status() noexcept : file_status(file_type::none) {}
332 explicit file_status(file_type ft,
343 void type(file_type ft) noexcept;
347 file_type type() const noexcept;
363 enum class file_type;
545 # include <__filesystem/file_type.h>
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/
H A DPath.inc708 static file_type typeForMode(mode_t Mode) {
710 return file_type::directory_file;
712 return file_type::regular_file;
714 return file_type::block_file;
716 return file_type::character_file;
718 return file_type::fifo_file;
720 return file_type::socket_file;
722 return file_type::symlink_file;
723 return file_type::type_unknown;
731 Result = file_status(file_type::file_not_found);
[all …]

123