Home
last modified time | relevance | path

Searched refs:FileName (Results 1 – 25 of 236) sorted by relevance

12345678910

/external/llvm/tools/sancov/
Dsancov.cc190 return std::tie(FileName, Line) < std::tie(RHS.FileName, RHS.Line); in operator <()
193 std::string FileName; member
199 return std::tie(FileName, FunctionName) < in operator <()
200 std::tie(RHS.FileName, RHS.FunctionName); in operator <()
203 std::string FileName; member
238 FileName = normalizeFilename(FileName); in AddrInfo()
242 static std::string normalizeFilename(const std::string &FileName) { in normalizeFilename()
243 SmallString<256> S(FileName); in normalizeFilename()
260 if (DefaultBlacklist && DefaultBlacklist->inSection("src", AI.FileName)) in isBlacklisted()
264 if (UserBlacklist && UserBlacklist->inSection("src", AI.FileName)) in isBlacklisted()
[all …]
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DSourceContext.cs79 public string FileName { property in Google.Protobuf.WellKnownTypes.SourceContext
97 if (FileName != other.FileName) return false; in Equals()
103 if (FileName.Length != 0) hash ^= FileName.GetHashCode(); in GetHashCode()
112 if (FileName.Length != 0) { in WriteTo()
114 output.WriteString(FileName); in WriteTo()
120 if (FileName.Length != 0) { in CalculateSize()
121 size += 1 + pb::CodedOutputStream.ComputeStringSize(FileName); in CalculateSize()
130 if (other.FileName.Length != 0) { in MergeFrom()
131 FileName = other.FileName; in MergeFrom()
143 FileName = input.ReadString(); in MergeFrom()
/external/swiftshader/third_party/LLVM/include/llvm/DebugInfo/
DDIContext.h28 const char *FileName; variable
32 DILineInfo() : FileName("<invalid>"), Line(0), Column(0) {} in DILineInfo()
34 : FileName(fileName), Line(line), Column(column) {} in DILineInfo()
36 const char *getFileName() const { return FileName; } in getFileName()
42 std::strcmp(FileName, RHS.FileName) == 0;
/external/lzma/CPP/7zip/UI/Console/
DPercentPrinter.cpp22 FileName.Empty(); in ClearCurState()
103 && _printedState.FileName == st.FileName in Print()
140 if (!FileName.IsEmpty() && _s.Len() < MaxLen) in Print()
144 StdOut_Convert_UString_to_AString(FileName, _temp); in Print()
148 unsigned len = FileName.Len(); in Print()
155 _tempU = FileName; in Print()
156 _tempU.Delete(len / 2, FileName.Len() - len); in Print()
/external/clang/lib/Tooling/
DFileMatchTrie.cpp100 StringRef FileName, in findEquivalent() argument
104 if (Comparator.equivalent(StringRef(Path), FileName)) in findEquivalent()
108 StringRef Element(llvm::sys::path::filename(FileName.drop_back( in findEquivalent()
114 Comparator, FileName, IsAmbiguous, in findEquivalent()
123 if (Comparator.equivalent(AllChildren[i], FileName)) { in findEquivalent()
178 StringRef FileMatchTrie::findEquivalent(StringRef FileName, in findEquivalent() argument
180 if (llvm::sys::path::is_relative(FileName)) { in findEquivalent()
185 StringRef Result = Root->findEquivalent(*Comparator, FileName, IsAmbiguous); in findEquivalent()
/external/clang/lib/Frontend/
DDependencyGraph.cpp50 StringRef FileName, bool IsAngled,
70 StringRef FileName, in InclusionDirective() argument
116 StringRef FileName = AllFiles[I]->getName(); in OutputGraphFile() local
117 if (FileName.startswith(SysRoot)) in OutputGraphFile()
118 FileName = FileName.substr(SysRoot.size()); in OutputGraphFile()
120 OS << DOT::EscapeString(FileName) in OutputGraphFile()
/external/clang/include/clang/Frontend/
DCommandLineSourceLoc.h26 std::string FileName; member
42 PSL.FileName = LineSplit.first; in FromString()
46 if (PSL.FileName == "-") in FromString()
47 PSL.FileName = "<stdin>"; in FromString()
76 if (Val.FileName.empty()) { in parse()
/external/llvm/tools/llvm-link/
Dllvm-link.cpp142 const std::string &FileName)>
148 const char *argv0, const std::string &FileName)> in ModuleLazyLoaderCache()
153 Module &operator()(const char *argv0, const std::string &FileName);
155 std::unique_ptr<Module> takeModule(const std::string &FileName) { in takeModule() argument
156 auto I = ModuleMap.find(FileName); in takeModule()
228 std::string FileName = Import.substr(Idx + 1, std::string::npos); in importFunctions() local
231 auto &SrcModule = ModuleLoaderCache(argv0, FileName); in importFunctions()
234 errs() << argv0 << ": " << FileName in importFunctions()
242 << FunctionName << " from " << FileName << "\n"; in importFunctions()
250 << " from " << FileName << "\n"; in importFunctions()
[all …]
/external/clang/unittests/Tooling/
DCompilationDatabaseTest.cpp142 static CompileCommand findCompileArgsInJsonDatabase(StringRef FileName, in findCompileArgsInJsonDatabase() argument
149 std::vector<CompileCommand> Commands = Database->getCompileCommands(FileName); in findCompileArgsInJsonDatabase()
158 StringRef FileName("//net/dir/filename"); in TEST() local
164 FileName, in TEST()
168 "\"file\":\"" + FileName + "\"}]").str(), in TEST()
261 StringRef FileName("//net/path/to/a-file.cpp"); in TEST() local
265 FileName, in TEST()
268 "\"file\":\"" + FileName + "\"}]").str(), in TEST()
282 "\"file\":\"" + FileName + "\"}]").str(), in TEST()
290 StringRef FileName("//net/path/to/a-file.cpp"); in TEST() local
[all …]
/external/clang/lib/Format/
DFormat.cpp1218 ArrayRef<tooling::Range> Ranges, StringRef FileName, in sortCppIncludes() argument
1260 Replaces.insert(tooling::Replacement(FileName, Includes.front().Offset, in sortCppIncludes()
1270 IncludeCategoryManager(const FormatStyle &Style, StringRef FileName) in IncludeCategoryManager() argument
1271 : Style(Style), FileName(FileName) { in IncludeCategoryManager()
1272 FileStem = llvm::sys::path::stem(FileName); in IncludeCategoryManager()
1275 IsMainFile = FileName.endswith(".c") || FileName.endswith(".cc") || in IncludeCategoryManager()
1276 FileName.endswith(".cpp") || FileName.endswith(".c++") || in IncludeCategoryManager()
1277 FileName.endswith(".cxx") || FileName.endswith(".m") || in IncludeCategoryManager()
1278 FileName.endswith(".mm"); in IncludeCategoryManager()
1313 StringRef FileName; member in clang::format::__anon6a407afc0511::IncludeCategoryManager
[all …]
/external/llvm/include/llvm/IR/
DDiagnosticInfo.h278 DiagnosticInfoSampleProfile(StringRef FileName, unsigned LineNum,
281 : DiagnosticInfo(DK_SampleProfile, Severity), FileName(FileName), in DiagnosticInfo()
283 DiagnosticInfoSampleProfile(StringRef FileName, const Twine &Msg,
285 : DiagnosticInfo(DK_SampleProfile, Severity), FileName(FileName), in DiagnosticInfo()
298 StringRef getFileName() const { return FileName; } in getFileName()
304 StringRef FileName;
317 DiagnosticInfoPGOProfile(const char *FileName, const Twine &Msg,
319 : DiagnosticInfo(DK_PGOProfile, Severity), FileName(FileName), Msg(Msg) {} in DiagnosticInfo()
328 const char *getFileName() const { return FileName; } in getFileName()
333 const char *FileName;
/external/clang/lib/Serialization/
DModuleManager.cpp57 ModuleManager::addModule(StringRef FileName, ModuleKind Type, in addModule() argument
77 if (lookupModuleFile(FileName, ExpectedSize, ExpectedModTime, Entry)) { in addModule()
82 if (!Entry && FileName != "-") { in addModule()
94 New->FileName = FileName.str(); in addModule()
116 if (std::unique_ptr<llvm::MemoryBuffer> Buffer = lookupBuffer(FileName)) { in addModule()
123 if (FileName == "-") { in addModule()
247 ModuleManager::addInMemoryBuffer(StringRef FileName, in addInMemoryBuffer() argument
251 FileMgr.getVirtualFile(FileName, Buffer->getBufferSize(), 0); in addInMemoryBuffer()
412 bool ModuleManager::lookupModuleFile(StringRef FileName, in lookupModuleFile() argument
418 File = FileMgr.getFile(FileName, /*openFile=*/true, /*cacheFailure=*/false); in lookupModuleFile()
[all …]
/external/libchrome/sandbox/win/src/
Dpolicy_params.h31 POLPARAMS_BEGIN(FileName)
34 POLPARAMS_END(FileName)
36 static_assert(OpenFile::NAME == static_cast<int>(FileName::NAME),
38 static_assert(OpenFile::BROKER == static_cast<int>(FileName::BROKER),
/external/clang/unittests/AST/
DMatchVerifier.h98 StringRef FileName; in match() local
102 FileName = "input.c"; in match()
106 FileName = "input.c"; in match()
110 FileName = "input.cc"; in match()
114 FileName = "input.cc"; in match()
117 FileName = "input.cl"; in match()
120 FileName = "input.mm"; in match()
126 if (!tooling::runToolOnCodeWithArgs(Factory->create(), Code, Args, FileName)) in match()
/external/llvm/lib/Support/
DLockFileManager.cpp143 LockFileManager::LockFileManager(StringRef FileName) in LockFileManager() argument
145 this->FileName = FileName; in LockFileManager()
146 if (std::error_code EC = sys::fs::make_absolute(this->FileName)) { in LockFileManager()
148 S.append(this->FileName.str()); in LockFileManager()
152 LockFileName = this->FileName; in LockFileManager()
310 if (!sys::fs::exists(FileName)) in waitForUnlock()
DProcess.cpp30 const std::string& FileName) in FindInEnvPath() argument
32 assert(!path::is_absolute(FileName)); in FindInEnvPath()
47 path::append(FilePath, FileName); in FindInEnvPath()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldChecker.cpp335 StringRef FileName; in evalStubAddr() local
337 FileName = RemainingExpr.substr(0, ComaIdx).rtrim(); in evalStubAddr()
364 FileName, SectionName, Symbol, PCtx.IsInsideLoad); in evalStubAddr()
380 StringRef FileName; in evalSectionAddr() local
382 FileName = RemainingExpr.substr(0, ComaIdx).rtrim(); in evalSectionAddr()
401 FileName, SectionName, PCtx.IsInsideLoad); in evalSectionAddr()
758 RuntimeDyldCheckerImpl::findSectionAddrInfo(StringRef FileName, in findSectionAddrInfo() argument
761 auto SectionMapItr = Stubs.find(FileName); in findSectionAddrInfo()
764 ErrorMsg += FileName; in findSectionAddrInfo()
784 FileName + "'\n").str()); in findSectionAddrInfo()
[all …]
DRuntimeDyldCheckerImpl.h50 StringRef FileName,
53 std::pair<uint64_t, std::string> getSectionAddr(StringRef FileName,
57 std::pair<uint64_t, std::string> getStubAddrFor(StringRef FileName,
/external/clang/tools/clang-format/
DClangFormat.cpp113 static FileID createInMemoryFile(StringRef FileName, MemoryBuffer *Source, in createInMemoryFile() argument
116 MemFS->addFileNoOwn(FileName, 0, Source); in createInMemoryFile()
117 return Sources.createFileID(Files.getFile(FileName), SourceLocation(), in createInMemoryFile()
240 static bool format(StringRef FileName) { in format() argument
242 MemoryBuffer::getFileOrSTDIN(FileName); in format()
253 StringRef AssumedFileName = (FileName == "-") ? AssumeFileName : FileName; in format()
296 if (FileName == "-") in format()
/external/lzma/CPP/7zip/Bundles/SFXSetup/
DExtractEngine.cpp27 FString FileName; member
40 if (!fi.Find(FileName)) in Process2()
53 options.filePath = fs2us(FileName); in Process2()
107 t.FileName = fileName; in ExtractArchive()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DProcess.cpp30 const std::string& FileName) in FindInEnvPath() argument
32 assert(!path::is_absolute(FileName)); in FindInEnvPath()
47 path::append(FilePath, FileName); in FindInEnvPath()
/external/llvm/include/llvm/DebugInfo/
DDIContext.h30 std::string FileName; member
36 : FileName("<invalid>"), FunctionName("<invalid>"), Line(0), Column(0) {} in DILineInfo()
40 FileName == RHS.FileName && FunctionName == RHS.FunctionName;
/external/clang/include/clang/Lex/
DPPCallbacks.h80 virtual bool FileNotFound(StringRef FileName, in FileNotFound() argument
124 StringRef FileName, in InclusionDirective() argument
347 bool FileNotFound(StringRef FileName, in FileNotFound() argument
349 return First->FileNotFound(FileName, RecoveryPath) || in FileNotFound()
350 Second->FileNotFound(FileName, RecoveryPath); in FileNotFound()
354 StringRef FileName, bool IsAngled, in InclusionDirective() argument
358 First->InclusionDirective(HashLoc, IncludeTok, FileName, IsAngled, in InclusionDirective()
361 Second->InclusionDirective(HashLoc, IncludeTok, FileName, IsAngled, in InclusionDirective()
/external/clang/lib/Lex/
DPreprocessingRecord.cpp27 StringRef FileName, in InclusionDirective() argument
35 = (char*)PPRec.Allocate(FileName.size() + 1, llvm::alignOf<char>()); in InclusionDirective()
36 memcpy(Memory, FileName.data(), FileName.size()); in InclusionDirective()
37 Memory[FileName.size()] = 0; in InclusionDirective()
38 this->FileName = StringRef(Memory, FileName.size()); in InclusionDirective()
437 StringRef FileName, in InclusionDirective() argument
477 = new (*this) clang::InclusionDirective(*this, Kind, FileName, !IsAngled, in InclusionDirective()
/external/clang/unittests/Format/
DSortImportsTestJS.cpp24 StringRef FileName = "input.js"; in sort() local
29 applyAllReplacements(Code, sortIncludes(Style, Code, Ranges, FileName)); in sort()
32 *Sorted, reformat(Style, *Sorted, Ranges, FileName)); in sort()

12345678910