| /openbsd/src/gnu/llvm/libcxx/src/filesystem/ |
| D | filesystem_common.h | 538 static file_type get_file_type(DirEntT* ent, int) { 541 return file_type::block; 543 return file_type::character; 545 return file_type::directory; 547 return file_type::fifo; 549 return file_type::symlink; 551 return file_type::regular; 553 return file_type::socket; 560 return file_type::none; 565 static file_type get_file_type(DirEntT*, long) { [all …]
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/Support/ |
| D | FileSystem.h | 66 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 …]
|
| D | VirtualFileSystem.h | 54 llvm::sys::fs::file_type Type = llvm::sys::fs::file_type::status_error; 76 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() 474 llvm::sys::fs::file_type Type; 513 std::optional<llvm::sys::fs::file_type> Type, 538 std::optional<llvm::sys::fs::file_type> Type = std::nullopt, 581 std::optional<llvm::sys::fs::file_type> Type = std::nullopt,
|
| /openbsd/src/gnu/llvm/clang/lib/Serialization/ |
| 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; 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;
|
| D | ASTReaderInternals.h | 81 using file_type = ModuleFile *; variable 115 file_type ReadFileRef(const unsigned char *&d);
|
| /openbsd/src/gnu/llvm/lldb/source/Symbol/ |
| D | LocateSymbolFileMacOSX.cpp | 227 case file_type::directory_file: // Bundle directory? in LocateMacOSXFilesUsingDebugSymbols() 255 case file_type::fifo_file: // Forget pipes in LocateMacOSXFilesUsingDebugSymbols() 256 case file_type::socket_file: // We can't process socket files in LocateMacOSXFilesUsingDebugSymbols() 257 case file_type::file_not_found: // File doesn't exist... in LocateMacOSXFilesUsingDebugSymbols() 258 case file_type::status_error: in LocateMacOSXFilesUsingDebugSymbols() 261 case file_type::type_unknown: in LocateMacOSXFilesUsingDebugSymbols() 262 case file_type::regular_file: in LocateMacOSXFilesUsingDebugSymbols() 263 case file_type::symlink_file: in LocateMacOSXFilesUsingDebugSymbols() 264 case file_type::block_file: in LocateMacOSXFilesUsingDebugSymbols() 265 case file_type::character_file: in LocateMacOSXFilesUsingDebugSymbols()
|
| /openbsd/src/gnu/llvm/lldb/source/Plugins/Platform/MacOSX/ |
| D | PlatformDarwinKernel.h | 100 FindKDKandSDKDirectoriesInDirectory(void *baton, llvm::sys::fs::file_type ft, 107 llvm::sys::fs::file_type ft, 112 llvm::sys::fs::file_type ft, 116 GetKernelsAndKextsInDirectoryHelper(void *baton, llvm::sys::fs::file_type ft,
|
| D | PlatformDarwinKernel.cpp | 421 void *baton, llvm::sys::fs::file_type ft, llvm::StringRef path) { in FindKDKandSDKDirectoriesInDirectory() 427 if (ft == llvm::sys::fs::file_type::directory_file && in FindKDKandSDKDirectoriesInDirectory() 470 void *baton, llvm::sys::fs::file_type ft, llvm::StringRef path) { in GetKernelsAndKextsInDirectoryWithRecursion() 476 void *baton, llvm::sys::fs::file_type ft, llvm::StringRef path) { in GetKernelsAndKextsInDirectoryNoRecursion() 482 void *baton, llvm::sys::fs::file_type ft, llvm::StringRef path, in GetKernelsAndKextsInDirectoryHelper() 502 if (ft == llvm::sys::fs::file_type::regular_file || in GetKernelsAndKextsInDirectoryHelper() 503 ft == llvm::sys::fs::file_type::symlink_file) { in GetKernelsAndKextsInDirectoryHelper() 528 if (ft == llvm::sys::fs::file_type::directory_file) { in GetKernelsAndKextsInDirectoryHelper()
|
| D | PlatformDarwin.h | 173 DirectoryEnumerator(void *baton, llvm::sys::fs::file_type file_type,
|
| D | PlatformDarwinDevice.h | 49 llvm::sys::fs::file_type ft,
|
| /openbsd/src/gnu/llvm/llvm/lib/Support/ |
| D | FileOutputBuffer.cpp | 181 case fs::file_type::directory_file: in create() 183 case fs::file_type::regular_file: in create() 184 case fs::file_type::file_not_found: in create() 185 case fs::file_type::status_error: in create()
|
| 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()
|
| 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() 188 llvm::sys::fs::file_type::status_error, {}), 792 (Type == sys::fs::file_type::directory_file) in makeStatus() 804 llvm::sys::fs::file_type::directory_file, in InMemoryFileSystem() [all …]
|
| D | MemoryBuffer.cpp | 414 sys::fs::file_type Type = Status.type(); in getReadWriteFile() 415 if (Type != sys::fs::file_type::regular_file && in getReadWriteFile() 416 Type != sys::fs::file_type::block_file) in getReadWriteFile() 466 sys::fs::file_type Type = Status.type(); in getOpenFileImpl() 467 if (Type != sys::fs::file_type::regular_file && in getOpenFileImpl() 468 Type != sys::fs::file_type::block_file) in getOpenFileImpl()
|
| 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()
|
| /openbsd/src/gnu/llvm/lldb/include/lldb/Host/ |
| D | FileSystem.h | 177 void *baton, llvm::sys::fs::file_type file_type, llvm::StringRef); 180 llvm::sys::fs::file_type file_type, llvm::StringRef)>
|
| /openbsd/src/usr.bin/ssh/ |
| D | auth2-pubkeyfile.c | 442 int log_missing, char *file_type) in auth_openfile() argument 452 pw->pw_name, file_type, file, strerror(errno)); in auth_openfile() 455 pw->pw_name, file_type, file, strerror(errno)); in auth_openfile() 466 pw->pw_name, file_type, file); in auth_openfile() 479 auth_debug_add("Ignored %s: %s", file_type, line); in auth_openfile()
|
| /openbsd/src/gnu/usr.bin/perl/Porting/ |
| D | updateAUTHORS.pl | 124 for my $file_type (qw(authors_file mailmap_file exclude_file)) { 125 my $file= $self->{$file_type}; 127 ok(!$changes, "Is $file_type '$file' up to date?")
|
| /openbsd/src/gnu/usr.bin/cvs/src/ |
| D | import.c | 1034 mode_t file_type; local 1081 file_type = sb.st_mode & S_IFMT; 1084 if (!preserve_perms || file_type == S_IFREG) 1208 if (file_type == S_IFLNK) 1226 switch (file_type) 1233 (file_type == S_IFCHR 1268 if (file_type == S_IFLNK) 1285 switch (file_type) 1292 (file_type == S_IFCHR 1360 if (!preserve_perms || file_type == S_IFREG)
|
| /openbsd/src/usr.bin/cvs/ |
| D | release.c | 103 if (cf->file_type == CVS_FILE) in cvs_release_local() 118 if (cf->file_type == CVS_DIR) { in cvs_release_local()
|
| D | remote.c | 270 cf->file_type = CVS_DIR; in cvs_remote_classify_file() 272 cf->file_type = CVS_FILE; in cvs_remote_classify_file() 292 if (cvs_cmdop == CVS_OP_IMPORT && cf->file_type == CVS_FILE) in cvs_remote_classify_file()
|
| D | file.c | 246 cf->file_type = type; in cvs_file_get_cf() 357 if (cf->file_type == CVS_DIR) { in cvs_file_walklist() 668 if (cf->file_type == CVS_FILE) { in cvs_file_classify() 688 cf->file_type == CVS_DIR && tag != NULL) { in cvs_file_classify() 695 cf->file_type == CVS_FILE && tag != NULL) { in cvs_file_classify() 702 cf->file_type != CVS_DIR) { in cvs_file_classify() 709 cf->file_type != CVS_DIR) in cvs_file_classify() 714 cf->file_type != CVS_FILE) in cvs_file_classify() 719 if (cf->file_type == CVS_DIR) { in cvs_file_classify()
|
| D | remove.c | 127 if (cf->file_type != CVS_DIR) { in cvs_remove_force() 146 if (cf->file_type == CVS_DIR) { in cvs_remove_local()
|
| D | file.h | 47 int file_type; member
|
| /openbsd/src/gnu/llvm/lldb/source/Target/ |
| D | Platform.cpp | 422 RecurseCopy_Callback(void *baton, llvm::sys::fs::file_type ft, in RecurseCopy_Callback() 428 case fs::file_type::fifo_file: in RecurseCopy_Callback() 429 case fs::file_type::socket_file: in RecurseCopy_Callback() 434 case fs::file_type::directory_file: { in RecurseCopy_Callback() 466 case fs::file_type::symlink_file: { in RecurseCopy_Callback() 488 case fs::file_type::regular_file: { in RecurseCopy_Callback() 575 case fs::file_type::directory_file: { in Install() 594 case fs::file_type::regular_file: in Install() 599 case fs::file_type::symlink_file: { in Install() 606 case fs::file_type::fifo_file: in Install() [all …]
|