Searched defs:FileName (Results 1 - 25 of 121) sorted by path

12345

/external/autotest/client/site_tests/firmware_TouchMTB/
H A Dtest_conf.py955 class FileName: class in inherits:
958 filename = FileName()
/external/clang/include/clang/Basic/
H A DModule.h132 std::string FileName; member in struct:clang::Module::UnresolvedHeaderDirective
/external/clang/include/clang/Frontend/
H A DCommandLineSourceLoc.h26 std::string FileName; member in struct:clang::ParsedSourceLocation
42 PSL.FileName = LineSplit.first;
46 if (PSL.FileName == "-")
47 PSL.FileName = "<stdin>";
76 if (Val.FileName.empty()) {
/external/clang/include/clang/Lex/
H A DPPCallbacks.h60 /// \param FilenameTok The file name token in \#include "FileName" directive
71 /// \param FileName The name of the file being included, as written in the
80 virtual bool FileNotFound(StringRef FileName, argument
95 /// \param FileName The name of the file being included, as written in the
117 /// file was found. This is equal to FileName except for framework includes.
124 StringRef FileName,
347 bool FileNotFound(StringRef FileName,
349 return First->FileNotFound(FileName, RecoveryPath) ||
350 Second->FileNotFound(FileName, RecoveryPath);
354 StringRef FileName, boo
122 InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, bool IsAngled, CharSourceRange FilenameRange, const FileEntry *File, StringRef SearchPath, StringRef RelativePath, const Module *Imported) argument
[all...]
H A DPreprocessingRecord.h214 StringRef FileName; member in class:clang::InclusionDirective
234 InclusionKind Kind, StringRef FileName,
242 StringRef getFileName() const { return FileName; }
494 StringRef FileName, bool IsAngled,
/external/clang/include/clang/Serialization/
H A DASTReader.h1124 ASTReadResult ReadASTCore(StringRef FileName, ModuleKind Type,
1358 /// \param FileName The name of the AST file to load.
1369 ASTReadResult ReadAST(StringRef FileName, ModuleKind Type,
1462 void addInMemoryBuffer(StringRef &FileName, argument
1464 ModuleMgr.addInMemoryBuffer(FileName, std::move(Buffer));
H A DGlobalModuleIndex.h81 std::string FileName; member in struct:clang::GlobalModuleIndex::ModuleInfo
H A DModule.h114 std::string FileName; member in class:clang::serialization::ModuleFile
123 return FileName + ".timestamp";
/external/clang/lib/Basic/
H A DSanitizerBlacklist.cpp36 bool SanitizerBlacklist::isBlacklistedFile(StringRef FileName, argument
38 return SCL->inSection("src", FileName, Category);
/external/clang/lib/CodeGen/
H A DCGDeclCXX.cpp452 SmallString<128> FileName; local
458 FileName = llvm::sys::path::filename(MainFile->getName());
460 FileName = "<null>";
463 for (size_t i = 0; i < FileName.size(); ++i) {
466 if (!isPreprocessingNumberBody(FileName[i]))
467 FileName[i] = '_';
471 FTy, llvm::Twine("_GLOBAL__sub_I_", FileName), FI);
/external/clang/lib/Driver/
H A DJob.cpp225 void Command::setResponseFile(const char *FileName) { argument
226 ResponseFile = FileName;
228 ResponseFileFlag += FileName;
H A DToolChains.cpp1787 StringRef FileName = llvm::sys::path::filename(FilePath); local
1790 if (!(FileName.startswith(LibDeviceName) && FileName.endswith(".bc")))
1792 StringRef GpuArch = FileName.slice(
1793 LibDeviceName.size(), FileName.find('.', LibDeviceName.size()));
/external/clang/lib/Format/
H A DFormat.cpp1218 ArrayRef<tooling::Range> Ranges, StringRef FileName,
1260 Replaces.insert(tooling::Replacement(FileName, Includes.front().Offset,
1270 IncludeCategoryManager(const FormatStyle &Style, StringRef FileName) argument
1271 : Style(Style), FileName(FileName) {
1272 FileStem = llvm::sys::path::stem(FileName);
1275 IsMainFile = FileName.endswith(".c") || FileName.endswith(".cc") ||
1276 FileName.endswith(".cpp") || FileName
1216 sortCppIncludes(const FormatStyle &Style, const SmallVectorImpl<IncludeDirective> &Includes, ArrayRef<tooling::Range> Ranges, StringRef FileName, tooling::Replacements &Replaces, unsigned *Cursor) argument
1313 StringRef FileName; member in class:clang::format::__anon1352::IncludeCategoryManager
[all...]
H A DSortJavaScriptImports.cpp433 StringRef FileName) {
436 Environment::CreateVirtualEnvironment(Code, FileName, Ranges);
430 sortJavaScriptImports(const FormatStyle &Style, StringRef Code, ArrayRef<tooling::Range> Ranges, StringRef FileName) argument
H A DTokenAnalyzer.cpp37 // This sets up an virtual file system with file \p FileName containing \p
40 Environment::CreateVirtualEnvironment(StringRef Code, StringRef FileName, argument
60 FileName, 0, llvm::MemoryBuffer::getMemBuffer(
61 Code, FileName, /*RequiresNullTerminator=*/false));
62 FileID ID = VirtualSM->createFileID(FileMgr->getFile(FileName),
H A DTokenAnalyzer.h52 // This sets up an virtual file system with file \p FileName containing \p
55 CreateVirtualEnvironment(StringRef Code, StringRef FileName,
60 StringRef getFileName() const { return FileName; }
68 StringRef FileName; member in class:clang::format::Environment
/external/clang/lib/Frontend/
H A DCompilerInstance.cpp498 Loc.FileName, Loc.Line, Loc.Column,
503 } else if (EnableCodeCompletion(getPreprocessor(), Loc.FileName,
1334 bool CompilerInstance::loadModuleFile(StringRef FileName) { argument
1337 Timer.init("Preloading " + FileName.str(), *FrontendTimerGroup);
1386 switch (ModuleManager->ReadAST(FileName, serialization::MK_ExplicitModule,
1398 << FileName; local
1640 << MissingHeader.IsUmbrella << MissingHeader.FileName;
H A DDependencyFile.cpp63 StringRef FileName, bool IsAngled,
68 DepCollector.maybeAddDependency(FileName, /*FromModule*/false,
189 StringRef FileName, bool IsAngled,
296 StringRef FileName,
305 AddFilename(FileName);
294 InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, bool IsAngled, CharSourceRange FilenameRange, const FileEntry *File, StringRef SearchPath, StringRef RelativePath, const Module *Imported) argument
H A DDependencyGraph.cpp50 StringRef FileName, bool IsAngled,
70 StringRef FileName,
116 StringRef FileName = AllFiles[I]->getName(); local
117 if (FileName.startswith(SysRoot))
118 FileName = FileName.substr(SysRoot.size());
120 OS << DOT::EscapeString(FileName)
68 InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, bool IsAngled, CharSourceRange FilenameRange, const FileEntry *File, StringRef SearchPath, StringRef RelativePath, const Module *Imported) argument
H A DModuleDependencyCollector.cpp65 // FIXME: this shouldn't be necessary once we have FileName instances
161 StringRef FileName = path::filename(SrcPath); local
176 path::append(RealPath, FileName);
H A DPrintPreprocessedOutput.cpp127 StringRef FileName, bool IsAngled,
316 StringRef FileName,
338 << FileName
314 InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, bool IsAngled, CharSourceRange FilenameRange, const FileEntry *File, StringRef SearchPath, StringRef RelativePath, const Module *Imported) argument
H A DSerializedDiagnosticPrinter.cpp388 unsigned SDiagsWriter::getEmitFile(const char *FileName){ argument
389 if (!FileName)
392 unsigned &entry = State->Files[FileName];
398 StringRef Name(FileName);
469 EmitRecordID(RECORD_FILENAME, "FileName", Stream, Record);
/external/clang/lib/Frontend/Rewrite/
H A DInclusionRewriter.cpp67 StringRef FileName, bool IsAngled,
175 StringRef /*FileName*/,
409 const char *FileName = FromFile.getBufferIdentifier(); local
417 WriteLineInfo(FileName, 1, FileType, "");
419 WriteLineInfo(FileName, 1, FileType, " 1");
450 WriteLineInfo(FileName, Line - 1, FileType, "");
469 WriteLineInfo(FileName, Line, FileType, LineInfoExtra);
481 WriteLineInfo(FileName, Line, FileType);
487 WriteLineInfo(FileName, Line, FileType);
541 WriteLineInfo(FileName, Lin
[all...]
/external/clang/lib/Lex/
H A DHeaderSearch.cpp153 auto FileName = llvm::sys::path::filename(ModuleMapPath); local
156 llvm::hash_combine(DirName.lower(), FileName.lower());
253 StringRef FileName, SourceLocation IncludeLoc, const DirectoryEntry *Dir,
258 const FileEntry *File = getFileMgr().getFile(FileName, /*OpenFile=*/true);
1094 bool HeaderSearch::hasModuleMap(StringRef FileName, argument
1102 StringRef DirName = FileName;
252 getFileAndSuggestModule( StringRef FileName, SourceLocation IncludeLoc, const DirectoryEntry *Dir, bool IsSystemHeaderDir, Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule) argument
H A DModuleMap.cpp147 static bool isBuiltinHeader(StringRef FileName) { argument
148 return llvm::StringSwitch<bool>(FileName)
1592 std::string FileName = Tok.getString(); local
1595 StringRef FileNameRef = FileName;
1599 llvm::sys::path::append(ModuleMapFileName, FileName);
1767 Header.FileName = Tok.getString();
1782 if (llvm::sys::path::is_absolute(Header.FileName)) {
1783 RelativePathName = Header.FileName;
1794 llvm::sys::path::append(RelativePathName, "Headers", Header.FileName);
1804 Header.FileName);
[all...]

Completed in 454 milliseconds

12345