| /freebsd-src/contrib/llvm-project/llvm/include/llvm/TextAPI/ |
| H A D | TextAPIWriter.h | 34 const FileType FileKind = FileType::Invalid, 37 /// Get TAPI FileType from the input string. 39 /// \param FT String of input to map to FileType. 40 static FileType parseFileType(const StringRef FT) { in parseFileType() 41 return StringSwitch<FileType>(FT) in parseFileType() 42 .Case("tbd-v1", FileType::TBD_V1) in parseFileType() 43 .Case("tbd-v2", FileType::TBD_V2) in parseFileType() 44 .Case("tbd-v3", FileType::TBD_V3) in parseFileType() 45 .Case("tbd-v4", FileType::TBD_V4) in parseFileType() 46 .Case("tbd-v5", FileType::TBD_V5) in parseFileType() [all …]
|
| H A D | TextAPIReader.h | 21 enum FileType : unsigned; 32 static Expected<FileType> canRead(MemoryBufferRef InputBuffer);
|
| /freebsd-src/tools/regression/poll/ |
| H A D | pipepoll.c | 19 static int filetype; variable 50 filetype == FT_PIPE ? "Pipe" : in report_state() 51 filetype == FT_SOCKETPAIR ? "Sock" : "FIFO", in report_state() 95 if (filetype == FT_FIFO) { in child() 103 if (filetype == FT_FIFO) { in child() 113 if (filetype != FT_FIFO) { in child() 192 if (filetype == FT_FIFO) { in child() 225 if (filetype == FT_FIFO) { in parent() 249 if (filetype != FT_FIFO) in parent() 285 for (filetype = 0; filetype < FT_END; filetype++) { in main() [all …]
|
| H A D | pipeselect.c | 26 static int filetype; variable 42 filetype == FT_PIPE ? "Pipe" : in report() 43 filetype == FT_SOCKETPAIR ? "Sock" : "FIFO", in report() 66 if (filetype == FT_FIFO) { in child() 74 if (filetype == FT_FIFO) { in child() 97 if (filetype != FT_FIFO) { in child() 179 if (filetype == FT_FIFO) { in child() 222 if (filetype == FT_FIFO) { in parent() 246 if (filetype != FT_FIFO) in parent() 282 for (filetype = 0; filetype < FT_END; filetype++) { in main() [all …]
|
| /freebsd-src/contrib/llvm-project/llvm/lib/TextAPI/ |
| H A D | TextStub.cpp | 279 assert((!Ctx || Ctx->FileKind != FileType::Invalid) && in mapping() 283 if (Ctx->FileKind == FileType::TBD_V1) in mapping() 290 if (Ctx->FileKind == FileType::TBD_V3) in mapping() 301 assert((!Ctx || Ctx->FileKind != FileType::Invalid) && in mapping() 307 if (Ctx->FileKind == FileType::TBD_V3) in mapping() 463 if (File->getFileType() != FileType::TBD_V3) in NormalizedTBD() 470 if (File->getFileType() != FileType::TBD_V3) in NormalizedTBD() 477 if (File->getFileType() != FileType::TBD_V3) in NormalizedTBD() 520 if (File->getFileType() != FileType::TBD_V3) in NormalizedTBD() 527 if (File->getFileType() != FileType in NormalizedTBD() [all...] |
| H A D | TextStubCommon.cpp | 49 assert((!Ctx || Ctx->FileKind != FileType::Invalid) && in output() 96 assert((!Ctx || Ctx->FileKind != FileType::Invalid) && in input() 100 if (Ctx && Ctx->FileKind == FileType::TBD_V3) { in input() 120 if (Ctx && Ctx->FileKind != FileType::TBD_V3) in input() 192 assert((!Ctx || Ctx->FileKind != FileType::Invalid) && in input() 195 if (Ctx->FileKind == FileType::TBD_V4) { in input()
|
| H A D | TextAPIContext.h | 25 FileType FileKind;
|
| /freebsd-src/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | InclusionRewriter.cpp | 33 SrcMgr::CharacteristicKind FileType; member 34 IncludedFile(FileID Id, SrcMgr::CharacteristicKind FileType) in IncludedFile() 35 : Id(Id), FileType(FileType) {} in IncludedFile() 58 void Process(FileID FileId, SrcMgr::CharacteristicKind FileType); 70 SrcMgr::CharacteristicKind FileType, 73 SrcMgr::CharacteristicKind FileType) override; 80 SrcMgr::CharacteristicKind FileType) override; 86 SrcMgr::CharacteristicKind FileType, 119 SrcMgr::CharacteristicKind FileType, in WriteLineInfo() 118 WriteLineInfo(StringRef Filename,int Line,SrcMgr::CharacteristicKind FileType,StringRef Extra) WriteLineInfo() argument 192 InclusionDirective(SourceLocation HashLoc,const Token &,StringRef,bool,CharSourceRange,OptionalFileEntryRef,StringRef,StringRef,const Module * Imported,SrcMgr::CharacteristicKind FileType) InclusionDirective() argument 380 Process(FileID FileId,SrcMgr::CharacteristicKind FileType) Process() argument [all...] |
| /freebsd-src/contrib/file/magic/Magdir/ |
| H A D | wordprocessors | 166 # Note: filetype 26 for VRS and filetype 36 for WPD apparently is wrong 219 >>>9 byte x Corel WordPerfect: Unknown filetype %d 225 >>>9 byte x Corel Shell: Unknown filetype %d 233 >>>9 byte x Corel Notebook: Unknown filetype %d 238 >>>9 byte x Corel Calculator: Unknown filetype %d 242 >>>9 byte x Corel File Manager: Unknown filetype %d 248 >>>9 byte x Corel Calendar: Unknown filetype %d 256 >>>9 byte x Corel Program Editor/Ed Editor: Unknown filetype %d 263 >>>9 byte x Corel Macro Editor: Unknown filetype [all...] |
| /freebsd-src/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | PPCallbacks.h | 50 SrcMgr::CharacteristicKind FileType, 64 /// \param FileType The \p CharacteristicKind of the file the \p Lexer moved 72 SrcMgr::CharacteristicKind FileType, in LexedFileChanged() 85 SrcMgr::CharacteristicKind FileType) {} 164 /// \param FileType The characteristic kind, indicates whether a file or in LeftSubmodule() 175 SrcMgr::CharacteristicKind FileType) {} 373 SrcMgr::CharacteristicKind FileType); 481 SrcMgr::CharacteristicKind FileType, in InclusionDirective() 483 First->FileChanged(Loc, Reason, FileType, PrevFID); in InclusionDirective() 484 Second->FileChanged(Loc, Reason, FileType, PrevFI in InclusionDirective() 71 LexedFileChanged(FileID FID,LexedFileChangeReason Reason,SrcMgr::CharacteristicKind FileType,FileID PrevFID,SourceLocation Loc) LexedFileChanged() argument 84 FileSkipped(const FileEntryRef & SkippedFile,const Token & FilenameTok,SrcMgr::CharacteristicKind FileType) FileSkipped() argument 143 InclusionDirective(SourceLocation HashLoc,const Token & IncludeTok,StringRef FileName,bool IsAngled,CharSourceRange FilenameRange,OptionalFileEntryRef File,StringRef SearchPath,StringRef RelativePath,const Module * Imported,SrcMgr::CharacteristicKind FileType) InclusionDirective() argument 445 FileChanged(SourceLocation Loc,FileChangeReason Reason,SrcMgr::CharacteristicKind FileType,FileID PrevFID) FileChanged() argument 452 LexedFileChanged(FileID FID,LexedFileChangeReason Reason,SrcMgr::CharacteristicKind FileType,FileID PrevFID,SourceLocation Loc) LexedFileChanged() argument 459 FileSkipped(const FileEntryRef & SkippedFile,const Token & FilenameTok,SrcMgr::CharacteristicKind FileType) FileSkipped() argument 477 InclusionDirective(SourceLocation HashLoc,const Token & IncludeTok,StringRef FileName,bool IsAngled,CharSourceRange FilenameRange,OptionalFileEntryRef File,StringRef SearchPath,StringRef RelativePath,const Module * Imported,SrcMgr::CharacteristicKind FileType) InclusionDirective() argument [all...] |
| /freebsd-src/contrib/llvm-project/clang/lib/Lex/ |
| H A D | PPCallbacks.cpp | 19 SrcMgr::CharacteristicKind FileType) {} in HasInclude() argument 26 SrcMgr::CharacteristicKind FileType) { in HasInclude() argument 27 First->HasInclude(Loc, FileName, IsAngled, File, FileType); in HasInclude() 28 Second->HasInclude(Loc, FileName, IsAngled, File, FileType); in HasInclude()
|
| /freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ParallelCG.cpp | |
| H A D | LLVMTargetMachine.cpp | 133 CodeGenFileType FileType, 136 createMCStreamer(Out, DwoOut, FileType, Context); in addAsmPrinter() 151 raw_pwrite_stream &Out, raw_pwrite_stream *DwoOut, CodeGenFileType FileType, in addAsmPrinter() 160 switch (FileType) { in createMCStreamer() 211 CodeGenFileType FileType, bool DisableVerify, in createMCStreamer() 222 if (addAsmPrinter(PM, Out, DwoOut, FileType, MMIWP->getMMI().getContext())) in createMCStreamer() 225 // MIR printing is redundant with -filetype=null. in createMCStreamer() 226 if (FileType != CodeGenFileType::Null) in createMCStreamer() 137 addAsmPrinter(PassManagerBase & PM,raw_pwrite_stream & Out,raw_pwrite_stream * DwoOut,CodeGenFileType FileType,MCContext & Context) addAsmPrinter() argument 155 createMCStreamer(raw_pwrite_stream & Out,raw_pwrite_stream * DwoOut,CodeGenFileType FileType,MCContext & Context) createMCStreamer() argument 235 addPassesToEmitFile(PassManagerBase & PM,raw_pwrite_stream & Out,raw_pwrite_stream * DwoOut,CodeGenFileType FileType,bool DisableVerify,MachineModuleInfoWrapperPass * MMIWP) addPassesToEmitFile() argument
|
| /freebsd-src/contrib/llvm-project/llvm/tools/bugpoint/ |
| H A D | ToolRunner.h | 49 enum FileType { AsmFile, ObjectFile, CFile }; enum 56 /// either a .s file, or a .c file, specified by FileType), with the specified 64 FileType fileType, const std::string &InputFile, 72 Error MakeSharedObject(const std::string &InputFile, FileType fileType, 121 virtual Expected<CC::FileType> OutputCode(const std::string &Bitcode, 176 Expected<CC::FileType> OutputCode(const std::string &Bitcode,
|
| H A D | ToolRunner.cpp | 433 Expected<CC::FileType> LLC::OutputCode(const std::string &Bitcode, in OutputCode() 458 LLCArgs.push_back("-filetype=obj"); in OutputCode() 474 Expected<CC::FileType> Result = in compileProgram() 491 Expected<CC::FileType> FileKind = in ExecuteProgram() 624 FileType fileType, in ExecuteProgram() argument 642 if (fileType != ObjectFile) { in ExecuteProgram() 644 if (fileType == CFile) { in ExecuteProgram() 765 Error CC::MakeSharedObject(const std::string &InputFile, FileType fileType, in MakeSharedObject() argument 790 if (fileType != ObjectFile) { in MakeSharedObject() 792 CCArgs.push_back(fileType == AsmFile ? "assembler" : "c"); in MakeSharedObject()
|
| /freebsd-src/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | HeaderIncludeGen.cpp | 50 SrcMgr::CharacteristicKind FileType, 54 SrcMgr::CharacteristicKind FileType) override; 103 SrcMgr::CharacteristicKind FileType, 107 SrcMgr::CharacteristicKind FileType) override; 250 SrcMgr::CharacteristicKind FileType) { in FileSkipped() argument 254 if (!ShouldShowHeader(FileType)) in FileSkipped() 316 SrcMgr::CharacteristicKind FileType) { in FileSkipped() argument 317 if (!shouldRecordNewFile(FileType, FilenameTok.getLocation(), SM)) in FileSkipped()
|
| H A D | DependencyFile.cpp | 39 SrcMgr::CharacteristicKind FileType, FileID PrevFID, in LexedFileChanged() 51 /*FromModule*/ false, isSystem(FileType), /*IsModuleFile*/ false, in LexedFileChanged() 56 SrcMgr::CharacteristicKind FileType) override { in FileSkipped() 60 /*IsSystem=*/isSystem(FileType), in FileSkipped() 84 SrcMgr::CharacteristicKind FileType) override { in HasInclude() 107 SrcMgr::CharacteristicKind FileType) override { in moduleMapFileRead() 113 /*IsSystem=*/isSystem(FileType),
|
| /freebsd-src/tests/sys/cddl/zfs/tests/devices/ |
| H A D | devices_common.kshlib | 1 # vim: filetype=sh 37 typeset filetype=$1 40 case $filetype in 100 log_fail "'$filetype' is wrong."
|
| /freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/devices/ |
| H A D | devices_common.kshlib | 43 typeset filetype=$1 47 case $filetype in 105 log_fail "'$filetype' is wrong."
|
| /freebsd-src/contrib/libarchive/unzip/ |
| H A D | bsdunzip.c | 762 mode_t filetype; in extract_file() 770 filetype = archive_entry_filetype(e); in extract_file() 783 if (!S_ISDIR(filetype) && !S_ISREG(filetype) && !S_ISLNK(filetype)) { 791 if (S_ISDIR(filetype) && j_opt) { in extract() local 817 if (S_ISDIR(filetype)) in extract() 830 mode_t filetype; in extract() 837 filetype = archive_entry_filetype(e); in extract() 840 if (!S_ISDIR(filetype) in extract() 859 mode_t filetype; extract_stdout() local [all...] |
| /freebsd-src/contrib/lib9p/pytest/ |
| H A D | p9conn.py | 926 def create(self, fid, name, perm, mode, filetype=None, extension=b''): argument 942 Otherwise, callers can leave filetype=None and encode the bits 950 if filetype is not None: 957 }[filetype] 1362 startdir=None, filetype=None): argument 1380 }[filetype] 1440 qid, iounit = self._uxcreate(filetype, fid, components[0], 1449 if filetype != 'dir': 1479 def _uxcreate(self, filetype, fid, name, oflags, omode_byte, perm, gid): argument 1490 if filetype == 'dir': [all …]
|
| /freebsd-src/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86CodeGenPassBuilder.cpp | 60 CodeGenFileType FileType, const CGPassBuilderOption &Opt, 63 return CGPB.buildPipeline(MPM, Out, DwoOut, FileType); 52 buildCodeGenPipeline(ModulePassManager & MPM,MachineFunctionPassManager & MFPM,MachineFunctionAnalysisManager &,raw_pwrite_stream & Out,raw_pwrite_stream * DwoOut,CodeGenFileType FileType,CGPassBuilderOption Opt,PassInstrumentationCallbacks * PIC) buildCodeGenPipeline() argument
|
| /freebsd-src/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DirectXTargetMachine.cpp | 112 CodeGenFileType FileType, bool DisableVerify, in registerPassBuilderCallbacks() 117 switch (FileType) { in registerPassBuilderCallbacks() 132 if (addAsmPrinter(PM, Out, DwoOut, FileType, in addPassesToEmitFile() 127 addPassesToEmitFile(PassManagerBase & PM,raw_pwrite_stream & Out,raw_pwrite_stream * DwoOut,CodeGenFileType FileType,bool DisableVerify,MachineModuleInfoWrapperPass * MMIWP) addPassesToEmitFile() argument
|
| /freebsd-src/contrib/libarchive/libarchive/test/ |
| H A D | test_write_format_cpio.c | 88 * Write a file with a name, filetype, and size. in test_format() 99 * Write a file with a name and filetype but no size. in test_format() 110 * Write a file with a name and size but no filetype. in test_format() 120 * Write a file with a size and filetype but no name. in test_format()
|
| /freebsd-src/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | TapiFile.h | 49 bool hasSegmentInfo() { return FileKind >= MachO::FileType::TBD_V5; } in hasSegmentInfo() 69 MachO::FileType FileKind;
|