/freebsd-11-stable/contrib/llvm-project/llvm/tools/bugpoint/ |
H A D | FindBugs.cpp | 54 std::string Filename; local 55 if (runPasses(*Program, PassesToRun, Filename, false)) { 79 Expected<bool> Diff = diffProgram(*Program, Filename, "", false); 92 sys::fs::remove(Filename);
|
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-cov/ |
H A D | CoverageFilters.cpp | 32 bool NameRegexCoverageFilter::matchesFilename(StringRef Filename) const { 33 return llvm::Regex(Regex).match(Filename); 69 bool CoverageFilters::matchesFilename(StringRef Filename) const { 71 if (Filter->matchesFilename(Filename))
|
/freebsd-11-stable/usr.sbin/cron/crontab/ |
H A D | crontab.c | 62 static char Filename[MAX_FNAME]; variable 144 Filename[0] = '\0'; 193 (void) strncpy (Filename, argv[optind], (sizeof Filename)-1); 194 Filename[(sizeof Filename)-1] = '\0'; 217 if (!strcmp(Filename, "-")) { 219 } else if (realpath(Filename, resolved_path) != NULL && 223 if (!(NewCrontab = fopen(Filename, "r"))) 224 err(ERROR_EXIT, "%s", Filename); [all...] |
/freebsd-11-stable/sys/contrib/dev/acpica/compiler/ |
H A D | aslsupport.l | 212 char *Filename; 259 Filename = ACPI_ALLOCATE_ZEROED (strlen (Token) + 1); 260 strcpy (Filename, Token); 261 FlSetFilename (Filename); 298 Gbl_PreviousIncludeFilename = Gbl_Files[ASL_FILE_INPUT].Filename; 304 "Include: Closing \"%s\"\n\n", Gbl_Files[ASL_FILE_INPUT].Filename); 321 Gbl_Files[ASL_FILE_INPUT].Filename = Fnode->Filename; 341 * Filename - Name of the file 354 char *Filename) [all...] |
H A D | cvdisasm.c | 478 FNode->Filename, FNode->Parent->Filename); 483 AcpiOsPrintf ("Include (\"%s\")\n", FNode->Filename); 485 FNode->Filename); 510 char *Filename = Op->Common.CvFilename; local 516 Filename); 517 FNode = CvFilenameExists (Filename, AcpiGbl_FileTreeRoot); 521 * At this point, each Filename should exist in AcpiGbl_FileTreeRoot 526 Filename, strerror (errno)); 541 AcpiUtStricmp (Current->Filename, AcpiGbl_CurrentFilenam [all...] |
H A D | aslfileio.c | 179 sprintf (MsgBuffer, "\"%s\" (%s) - %s", Gbl_Files[FileId].Filename, 191 * Filename - file pathname to open 204 char *Filename, 210 Gbl_Files[FileId].Filename = Filename; 213 File = fopen (Filename, Mode); 495 if (!Info->Filename) 500 if (remove (Info->Filename)) 503 Info->Filename, Info->Description); 507 Info->Filename 202 FlOpenFile( UINT32 FileId, char *Filename, char *Mode) argument [all...] |
H A D | aslerror.c | 181 char *Filename, 194 char *Filename, 502 fprintf (OutputFile, "%-8s", Enode->Filename); 533 Gbl_Files[ASL_FILE_SOURCE_OUTPUT].Filename); 543 Gbl_Files[ASL_FILE_SOURCE_OUTPUT].Filename); 572 Gbl_Files[ASL_FILE_SOURCE_OUTPUT].Filename); 588 fprintf (OutputFile, "%s", Enode->Filename); 688 if (!Enode->Filename) 791 * Filename - source filename 810 char *Filename, 802 AslInitEnode( ASL_ERROR_MSG **InputEnode, UINT8 Level, UINT16 MessageId, UINT32 LineNumber, UINT32 LogicalLineNumber, UINT32 LogicalByteOffset, UINT32 Column, char *Filename, char *ExtraMessage, char *SourceLine, ASL_ERROR_MSG *SubError) argument 880 AslCommonError2( UINT8 Level, UINT16 MessageId, UINT32 LineNumber, UINT32 Column, char *SourceLine, char *Filename, char *ExtraMessage) argument 914 AslCommonError( UINT8 Level, UINT16 MessageId, UINT32 CurrentLineNumber, UINT32 LogicalLineNumber, UINT32 LogicalByteOffset, UINT32 Column, char *Filename, char *ExtraMessage) argument 951 AslLogNewError( UINT8 Level, UINT16 MessageId, UINT32 LineNumber, UINT32 LogicalLineNumber, UINT32 LogicalByteOffset, UINT32 Column, char *Filename, char *Message, char *SourceLine, ASL_ERROR_MSG *SubError) argument [all...] |
H A D | aslascii.c | 177 * PARAMETERS: Filename - Full input filename 193 char *Filename, 205 Handle = fopen (Filename, "rb"); 296 AslError (ASL_ERROR, ASL_MSG_NON_ASCII, NULL, Filename); 192 FlIsFileAsciiSource( char *Filename, BOOLEAN DisplayErrors) argument
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/ |
H A D | DependencyScanningFilesystem.cpp | 19 StringRef Filename, llvm::vfs::FileSystem &FS, bool Minimize) { 22 FS.openFileForRead(Filename); 130 static bool shouldMinimize(StringRef Filename) { argument 131 StringRef Ext = llvm::sys::path::extension(Filename); 144 static bool shouldCacheStatFailures(StringRef Filename) { argument 145 StringRef Ext = llvm::sys::path::extension(Filename); 148 return shouldMinimize(Filename); // Only cache stat failures on source files. 153 const StringRef Filename) { 154 if (const CachedFileSystemEntry *Entry = getCachedEntry(Filename)) { 161 bool KeepOriginalSource = IgnoredFiles.count(Filename) || 18 createFileEntry( StringRef Filename, llvm::vfs::FileSystem &FS, bool Minimize) argument 152 getOrCreateFileSystemEntry( const StringRef Filename) argument 201 StringRef Filename = Path.toStringRef(OwnedFilename); local 261 StringRef Filename = Path.toStringRef(OwnedFilename); local [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Driver/ |
H A D | XRayArgs.cpp | 137 for (const auto &Filename : 139 if (D.getVFS().exists(Filename)) { 140 AlwaysInstrumentFiles.push_back(Filename); 141 ExtraDeps.push_back(Filename); 143 D.Diag(clang::diag::err_drv_no_such_file) << Filename; 146 for (const auto &Filename : 148 if (D.getVFS().exists(Filename)) { 149 NeverInstrumentFiles.push_back(Filename); 150 ExtraDeps.push_back(Filename); 152 D.Diag(clang::diag::err_drv_no_such_file) << Filename; [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-lto/ |
H A D | llvm-lto.cpp | 331 for (auto &Filename : InputFilenames) { 332 ExitOnError ExitOnErr("llvm-lto: error loading file '" + Filename + "': "); 334 ExitOnErr(getModuleSummaryIndexForFile(Filename)); 337 report_fatal_error(Filename + " does not contain an index"); 352 outs() << "Index " << Filename << " contains " 367 for (auto &Filename : InputFilenames) { 370 getLocalLTOModule(Filename, Buffer, Options); 373 outs() << Filename << ":\n"; 379 static std::unique_ptr<MemoryBuffer> loadFile(StringRef Filename) { argument 380 ExitOnError ExitOnErr("llvm-lto: error loading file '" + Filename 467 const auto &Filename = ModPath.first(); local 511 writeModuleToFile(Module &TheModule, StringRef Filename) argument 572 auto &Filename = InputFilenames[i]; local 824 auto &Filename = InputFilenames[i]; local [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/ |
H A D | CompilationDatabase.h | 46 CompileCommand(Twine Directory, Twine Filename, argument 48 : Directory(Directory.str()), Filename(Filename.str()), 55 std::string Filename; member in struct:clang::tooling::CompileCommand 69 return LHS.Directory == RHS.Directory && LHS.Filename == RHS.Filename &&
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/ |
H A D | DependencyScanningFilesystem.h | 49 static CachedFileSystemEntry createFileEntry(StringRef Filename, 160 void setCachedEntry(StringRef Filename, const CachedFileSystemEntry *Entry) { argument 161 bool IsInserted = Cache.try_emplace(Filename, Entry).second; 166 const CachedFileSystemEntry *getCachedEntry(StringRef Filename) { argument 167 auto It = Cache.find(Filename); 172 getOrCreateFileSystemEntry(const StringRef Filename);
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IRReader/ |
H A D | IRReader.h | 45 getLazyIRFileModule(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, 67 std::unique_ptr<Module> parseIRFile(StringRef Filename, SMDiagnostic &Err,
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | DynamicLibrary.h | 85 static bool LoadLibraryPermanently(const char *Filename, argument 87 return !getPermanentLibrary(Filename, ErrMsg).isValid();
|
H A D | MemoryBuffer.h | 80 getFile(const Twine &Filename, int64_t FileSize = -1, 87 getFileAsStream(const Twine &Filename); 93 getOpenFileSlice(sys::fs::file_t FD, const Twine &Filename, uint64_t MapSize, 103 getOpenFile(sys::fs::file_t FD, const Twine &Filename, uint64_t FileSize, 123 /// Open the specified file as a MemoryBuffer, or open stdin if the Filename 126 getFileOrSTDIN(const Twine &Filename, int64_t FileSize = -1, 131 getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset, 180 getFile(const Twine &Filename, int64_t FileSize = -1, 185 getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset, 242 getFile(const Twine &Filename, int64_ [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | MemoryBuffer.cpp | 108 getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize, 143 MemoryBuffer::getFileOrSTDIN(const Twine &Filename, int64_t FileSize, argument 146 StringRef NameRef = Filename.toStringRef(NameBuf); 150 return getFile(Filename, FileSize, RequiresNullTerminator); 231 MemoryBuffer::getFile(const Twine &Filename, int64_t FileSize, argument 233 return getFileAux<MemoryBuffer>(Filename, FileSize, FileSize, 0, 239 getOpenFileImpl(sys::fs::file_t FD, const Twine &Filename, uint64_t FileSize, 245 getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize, argument 248 sys::fs::openNativeFileForRead(Filename, sys::fs::OF_None); 252 auto Ret = getOpenFileImpl<MB>(FD, Filename, FileSiz 259 getFile(const Twine &Filename, int64_t FileSize, bool IsVolatile) argument 267 getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset, bool IsVolatile) argument 364 getReadWriteFile(const Twine &Filename, uint64_t FileSize, uint64_t MapSize, uint64_t Offset) argument 405 getFile(const Twine &Filename, int64_t FileSize) argument 411 getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset) argument 418 getOpenFileImpl(sys::fs::file_t FD, const Twine &Filename, uint64_t FileSize, uint64_t MapSize, int64_t Offset, bool RequiresNullTerminator, bool IsVolatile) argument 482 getOpenFile(sys::fs::file_t FD, const Twine &Filename, uint64_t FileSize, bool RequiresNullTerminator, bool IsVolatile) argument 489 getOpenFileSlice(sys::fs::file_t FD, const Twine &Filename, uint64_t MapSize, int64_t Offset, bool IsVolatile) argument 507 getFileAsStream(const Twine &Filename) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/ |
H A D | DIPrinter.cpp | 73 std::string Filename = Info.FileName; local 74 if (Filename == DILineInfo::BadString) 75 Filename = DILineInfo::Addr2LineBadString; 77 Filename = llvm::sys::path::filename(Filename); 79 OS << Filename << ":" << Info.Line; 83 printContext(Filename, Info.Line); 86 OS << " Filename: " << Filename << "\n"; local
|
/freebsd-11-stable/contrib/diff/ |
H A D | config.h | 46 # define FILESYSTEM_PREFIX_LEN(Filename) \ 47 ((Filename)[0] && (Filename)[1] == ':' ? 2 : 0) 49 # define FILESYSTEM_PREFIX_LEN(Filename) 0
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | RemarkStreamer.h | 33 const Optional<std::string> Filename; member in class:llvm::RemarkStreamer 42 Optional<StringRef> Filename = None); 45 return Filename ? Optional<StringRef>(*Filename) : None;
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Frontend/ |
H A D | Utils.h | 84 /// Called when a new file is seen. Return true if \p Filename should be added 88 virtual bool sawDependency(StringRef Filename, bool FromModule, 97 /// Add a dependency \p Filename if it has not been seen before and 99 virtual void maybeAddDependency(StringRef Filename, bool FromModule, 106 bool addDependency(StringRef Filename); 127 bool sawDependency(StringRef Filename, bool FromModule, bool IsSystem, 165 virtual bool insertSeen(StringRef Filename) { return Seen.insert(Filename).second; } argument 166 virtual void addFile(StringRef Filename, StringRef FileDst = {});
|
/freebsd-11-stable/sys/contrib/dev/acpica/common/ |
H A D | adisasm.c | 168 char *Filename); 174 char *Filename, 280 * PARAMETERS: Filename - AML input filename 294 char *Filename, 309 if (Filename) 313 Status = AcGetAllTablesFromFile (Filename, 318 Filename, AcpiFormatException (Status)); 324 Status = AdDoExternalFileList (Filename); 393 File, Filename, DisasmFilename); 431 * Filename 292 AdAmlDisassemble( BOOLEAN OutToFile, char *Filename, char *Prefix, char **OutFilename) argument 441 AdDisassembleOneTable( ACPI_TABLE_HEADER *Table, FILE *File, char *Filename, char *DisasmFilename) argument 708 AdDoExternalFileList( char *Filename) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/ |
H A D | InterpolatingCompilationDatabase.cpp | 92 types::ID guessType(StringRef Filename, bool *Certain = nullptr) { argument 95 types::lookupTypeForExtension(path::extension(Filename).substr(1)); 134 : Cmd(std::move(C)), Type(guessType(Cmd.Filename)), 204 CompileCommand transferTo(StringRef Filename) const { 206 Result.Filename = Filename; 208 auto TargetType = guessType(Filename, &TypeCertain); 233 Result.CommandLine.push_back(Filename); 234 Result.Heuristic = "inferred from " + Cmd.Filename; 351 std::string Filename local 415 pickWinner(const DenseMap<size_t, int> &Candidates, StringRef Filename, types::ID PreferredLanguage) const argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IRReader/ |
H A D | IRReader.cpp | 52 std::unique_ptr<Module> llvm::getLazyIRFileModule(StringRef Filename, argument 57 MemoryBuffer::getFileOrSTDIN(Filename); 59 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, 95 std::unique_ptr<Module> llvm::parseIRFile(StringRef Filename, SMDiagnostic &Err, argument 100 MemoryBuffer::getFileOrSTDIN(Filename); 102 Err = SMDiagnostic(Filename, SourceMgr::DK_Error,
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Basic/ |
H A D | FileManager.cpp | 71 /// Filename can point to either a real file or a virtual file. 73 getDirectoryFromFile(FileManager &FileMgr, StringRef Filename, argument 75 if (Filename.empty()) 78 if (llvm::sys::path::is_separator(Filename[Filename.size() - 1])) 81 StringRef DirName = llvm::sys::path::parent_path(Filename); 195 FileManager::getFile(StringRef Filename, bool openFile, bool CacheFailure) { argument 196 auto Result = getFileRef(Filename, openFile, CacheFailure); 203 FileManager::getFileRef(StringRef Filename, bool openFile, bool CacheFailure) { argument 208 SeenFileEntries.insert({Filename, st 336 getVirtualFile(StringRef Filename, off_t Size, time_t ModificationTime) argument 468 StringRef Filename = Entry->getName(); local 483 getBufferForFileImpl(StringRef Filename, int64_t FileSize, bool isVolatile) argument [all...] |