| /freebsd/contrib/llvm-project/libcxx/src/filesystem/ |
| H A D | file_descriptor.h | 43 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_type(DirEntT*, long) { in get_file_type() [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__filesystem/ |
| H A D | directory_entry.h | 102 _LIBCPP_HIDE_FROM_ABI bool is_block_file() const { return __get_ft() == file_type::block; } in is_block_file() 105 return __get_ft(&__ec) == file_type::block; in is_block_file() 108 …_LIBCPP_HIDE_FROM_ABI bool is_character_file() const { return __get_ft() == file_type::character; } in is_character_file() 111 return __get_ft(&__ec) == file_type::character; in is_character_file() 114 _LIBCPP_HIDE_FROM_ABI bool is_directory() const { return __get_ft() == file_type::directory; } in is_directory() 117 return __get_ft(&__ec) == file_type::directory; in is_directory() 120 _LIBCPP_HIDE_FROM_ABI bool is_fifo() const { return __get_ft() == file_type::fifo; } in is_fifo() 122 …OM_ABI bool is_fifo(error_code& __ec) const noexcept { return __get_ft(&__ec) == file_type::fifo; } in is_fifo() 130 _LIBCPP_HIDE_FROM_ABI bool is_regular_file() const { return __get_ft() == file_type::regular; } in is_regular_file() 133 return __get_ft(&__ec) == file_type::regular; in is_regular_file() [all …]
|
| H A D | file_status.h | 28 _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 D | operations.h | 150 …HIDE_FROM_ABI bool status_known(file_status __s) noexcept { return __s.type() != file_type::none; } in status_known() 152 return status_known(__s) && __s.type() != file_type::not_found; in exists() 171 …DE_FROM_ABI bool is_block_file(file_status __s) noexcept { return __s.type() == file_type::block; } in is_block_file() 177 return __s.type() == file_type::character; in is_character_file() 183 …FROM_ABI bool is_directory(file_status __s) noexcept { return __s.type() == file_type::directory; } in is_directory() 190 …BCPP_HIDE_FROM_ABI bool is_fifo(file_status __s) noexcept { return __s.type() == file_type::fifo; } in is_fifo() 195 …ROM_ABI bool is_regular_file(file_status __s) noexcept { return __s.type() == file_type::regular; } in is_regular_file() 200 …IDE_FROM_ABI bool is_symlink(file_status __s) noexcept { return __s.type() == file_type::symlink; } in is_symlink() 212 …_HIDE_FROM_ABI bool is_socket(file_status __s) noexcept { return __s.type() == file_type::socket; } in is_socket()
|
| H A D | file_type.h | 25 enum class file_type : signed char { enum
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | FileSystem.h | 62 enum class file_type { enum 151 file_type Type = file_type::status_error; 157 explicit basic_file_status(file_type Type) : Type(Type) {} in basic_file_status() 160 basic_file_status(file_type Type, perms Perms, time_t ATime, in basic_file_status() 168 basic_file_status(file_type Type, perms Perms, uint32_t LastAccessTimeHigh, in basic_file_status() 180 file_type type() const { return Type; } in type() 217 void type(file_type v) { Type = v; } in type() 238 explicit file_status(file_type Type) : basic_file_status(Type) {} in file_status() 241 file_status(file_type Type, perms Perms, dev_t Dev, nlink_t Links, ino_t Ino, in file_status() 249 file_status(file_type Type, perms Perms, uint32_t LinkCount, in file_status() [all …]
|
| H A D | VirtualFileSystem.h | 56 llvm::sys::fs::file_type Type = llvm::sys::fs::file_type::status_error; 75 uint64_t Size, llvm::sys::fs::file_type Type, 91 llvm::sys::fs::file_type getType() const { return Type; } in getType() 152 llvm::sys::fs::file_type Type = llvm::sys::fs::file_type::type_unknown; 156 directory_entry(std::string Path, llvm::sys::fs::file_type Type) in directory_entry() 160 llvm::sys::fs::file_type type() const { return Type; } in type() 514 llvm::sys::fs::file_type Type; 558 std::optional<llvm::sys::fs::file_type> Type, 583 std::optional<llvm::sys::fs::file_type> Type = std::nullopt, 626 std::optional<llvm::sys::fs::file_type> Type = std::nullopt,
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | MultiOnDiskHashTable.h | 43 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; 127 llvm::DenseSet<file_type> Files; in removeOverriddenTables() 195 void add(file_type File, storage_type Data, Info InfoObj = Info()) { 208 llvm::SmallVector<file_type, 16> OverriddenFiles;
|
| H A D | ASTReaderInternals.h | 81 using file_type = ModuleFile *; variable 100 file_type ReadFileRef(const unsigned char *&d); 203 using file_type = ModuleFile *; variable 237 file_type ReadFileRef(const unsigned char *&d);
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolLocator/DebugSymbols/ |
| H A D | SymbolLocatorDebugSymbols.cpp | 261 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 D | etcupdate.sh | 112 file_type() function 519 first=`file_type $1/$3` 520 second=`file_type $2/$3` 609 args=`file_type ${2}$dir` 1046 dest=`file_type $DESTDIR/$file` 1159 old=`file_type $OLDTREE/$file` 1160 new=`file_type $NEWTREE/$file` 1221 new=`file_type $NEWTREE/$file` 1222 dest=`file_type $DESTDIR/$file` 1230 old=`file_type $OLDTREE/$file` [all …]
|
| /freebsd/sys/tools/gdb/ |
| H A D | pcpu.py | 53 file_type = lf['ops']['cls']['name'].string() 54 if file_type == "elf64": 60 elif file_type == "elf64_obj":
|
| H A D | vnet.py | 70 file_type = lf['ops']['cls']['name'].string() 71 if file_type == "elf64": 78 elif file_type == "elf64_obj":
|
| /freebsd/contrib/llvm-project/lldb/source/Symbol/ |
| H A D | LocateSymbolFileMacOSX.cpp | |
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | FileOutputBuffer.cpp | 184 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 D | FileCollector.cpp | 145 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 D | VirtualFileSystem.cpp | 58 using llvm::sys::fs::file_type; 69 uint32_t User, uint32_t Group, uint64_t Size, file_type Type, in Status() 97 bool Status::isDirectory() const { return Type == file_type::directory_file; } in isDirectory() 99 bool Status::isRegularFile() const { return Type == file_type::regular_file; } in isRegularFile() 105 bool Status::isSymlink() const { return Type == file_type::symlink_file; } in isSymlink() 107 bool Status::isStatusKnown() const { return Type != file_type::status_error; } in isStatusKnown() 110 return isStatusKnown() && Type != file_type::file_not_found; in exists() 199 llvm::sys::fs::file_type::status_error, {}), 830 (Type == sys::fs::file_type::directory_file) in makeStatus() 842 llvm::sys::fs::file_type::directory_file, in InMemoryFileSystem() [all …]
|
| H A D | MemoryBuffer.cpp | 436 sys::fs::file_type Type = Status.type(); in getReadWriteFile() 437 if (Type != sys::fs::file_type::regular_file && in getReadWriteFile() 438 Type != sys::fs::file_type::block_file) in getReadWriteFile() 488 sys::fs::file_type Type = Status.type(); in getOpenFileImpl() 489 if (Type != sys::fs::file_type::regular_file && in getOpenFileImpl() 490 Type != sys::fs::file_type::block_file) in getOpenFileImpl()
|
| H A D | Path.cpp | 1078 return status_known(status) && status.type() != file_type::file_not_found; in exists() 1082 return s.type() != file_type::status_error; in status_known() 1085 file_type get_file_type(const Twine &Path, bool Follow) { in get_file_type() 1088 return file_type::status_error; in get_file_type() 1093 return status.type() == file_type::directory_file; in is_directory() 1105 return status.type() == file_type::regular_file; in is_regular_file() 1117 return status.type() == file_type::symlink_file; in is_symlink_file() 1142 void directory_entry::replace_filename(const Twine &Filename, file_type Type, in replace_filename()
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Host/ |
| H A D | FileSystem.h | 187 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 D | llvm-debuginfo-analyzer.cpp | 71 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/heimdal/appl/ftp/ftpd/ |
| H A D | ls.c | 153 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/crypto/openssh/ |
| H A D | auth2-pubkeyfile.c | 456 int log_missing, char *file_type) in auth_openfile() argument 466 pw->pw_name, file_type, file, strerror(errno)); in auth_openfile() 469 pw->pw_name, file_type, file, strerror(errno)); in auth_openfile() 480 pw->pw_name, file_type, file); in auth_openfile() 493 auth_debug_add("Ignored %s: %s", file_type, line); in auth_openfile()
|
| /freebsd/contrib/llvm-project/lldb/source/Target/ |
| H A D | Platform.cpp | 384 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() 427 case fs::file_type::symlink_file: { in RecurseCopy_Callback() 449 case fs::file_type::regular_file: { in RecurseCopy_Callback() 536 case fs::file_type::directory_file: { in Install() 555 case fs::file_type::regular_file: in Install() 560 case fs::file_type::symlink_file: { in Install() 567 case fs::file_type::fifo_file: in Install() [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/ |
| H A D | filesystem | 331 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; 548 # include <__filesystem/file_type.h>
|