Home
last modified time | relevance | path

Searched refs:Directory (Results 1 – 25 of 223) sorted by relevance

123456789

/openbsd-src/gnu/llvm/clang/include/clang/Tooling/
H A DCompilationDatabase.h46 CompileCommand(const Twine &Directory, const Twine &Filename, in CompileCommand()
48 : Directory(Directory.str()), Filename(Filename.str()), in CompileCommand()
52 std::string Directory; member
69 return LHS.Directory == RHS.Directory && LHS.Filename == RHS.Filename &&
185 const Twine &Directory = ".");
195 loadFromBuffer(StringRef Directory, StringRef Data, std::string &ErrorMsg);
199 FixedCompilationDatabase(const Twine &Directory,
H A DCompilationDatabasePluginRegistry.h36 loadFromDirectory(StringRef Directory, std::string &ErrorMessage) = 0;
/openbsd-src/gnu/llvm/clang/lib/Tooling/
H A DCompilationDatabase.cpp80 findCompilationDatabaseFromDirectory(StringRef Directory, in findCompilationDatabaseFromDirectory() argument
84 while (!Directory.empty()) { in findCompilationDatabaseFromDirectory()
88 CompilationDatabase::loadFromDirectory(Directory, LoadErrorMessage)) in findCompilationDatabaseFromDirectory()
92 ErrorStream << "No compilation database found in " << Directory.str() in findCompilationDatabaseFromDirectory()
97 Directory = llvm::sys::path::parent_path(Directory); in findCompilationDatabaseFromDirectory()
107 StringRef Directory = llvm::sys::path::parent_path(AbsolutePath); in autoDetectFromSource() local
110 findCompilationDatabaseFromDirectory(Directory, ErrorMessage); in autoDetectFromSource()
326 const Twine &Directory) { in loadFromCommandLine() argument
339 return std::make_unique<FixedCompilationDatabase>(Directory, StrippedArgs); in loadFromCommandLine()
356 FixedCompilationDatabase::loadFromBuffer(StringRef Directory, StringRef Data, in loadFromBuffer() argument
[all …]
H A DJSONCompilationDatabase.cpp163 loadFromDirectory(StringRef Directory, std::string &ErrorMessage) override { in loadFromDirectory() argument
164 SmallString<1024> JSONDatabasePath(Directory); in loadFromDirectory()
351 llvm::yaml::ScalarNode *Directory = nullptr; in parse() local
390 Directory = ValueString; in parse()
413 if (!Directory) { in parse()
422 SmallString<128> AbsolutePath(Directory->getValue(DirectoryStorage)); in parse()
429 auto Cmd = CompileCommandRef(Directory, File, *Command, Output); in parse()
/openbsd-src/gnu/llvm/llvm/utils/
H A DGenLibDeps.pl31 my $Directory = $ARGV[0];
32 if (!defined($Directory) || ! -d "$Directory") {
69 opendir DIR,$Directory;
87 `$ranlibPath $Directory/$lib`;
111 open DEFS, "$nmPath -sg $Directory/$lib|";
153 open UDEFS, "$nmPath -Aup $Directory/$lib|";
169 open DEFS, "$nmPath -g $Directory/$lib|";
183 open DEFS, "$nmPath -g $Directory/$obj |";
208 "$nmPath -u $Directory/$lib | sed -e 's/^[ 0]* U //' | sort | uniq |";
233 open UNDEFS, "$nmPath -u $Directory/$lib |";
H A Dfindsym.pl14 my $Directory = $ARGV[0];
19 opendir DIR,$Directory;
28 "nm $Directory/$lib | grep '$Symbol' | sort --key=3 | uniq |";
/openbsd-src/gnu/usr.bin/cvs/doc/
H A Dcvsclient.info-241 `Directory LOCAL-DIRECTORY \n'
46 and the other commands; normal usage is to send `Directory' for
48 and then a final `Directory' for the original directory, then the
50 which the command is occurring (i.e. the last `Directory' which is
66 C: Directory .
78 directory to pass back to the server in a subsequent `Directory'
82 C: Directory moddir
98 Of course, the various `Directory' requests for a single command
102 Each `Directory' request specifies a brand-new LOCAL-DIRECTORY and
104 relative to paths specified in any previous `Directory' request.
[all …]
H A Dcvsclient.texi561 @item Directory @var{local-directory} \n
567 @code{Directory} for each directory in which there will be an
568 @code{Entry} or @code{Modified}, and then a final @code{Directory}
572 @code{Directory} which is sent before the command);
591 C: Directory .
605 @code{Directory} request. For example, a subsequent @code{update}
609 C: Directory moddir
626 the various @code{Directory} requests for a single command (for example,
630 Each @code{Directory} request specifies a brand-new
633 specified in any previous @code{Directory} request.
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Object/
H A DBuildID.cpp61 auto GetDebugPath = [&](StringRef Directory) { in fetch() argument
62 SmallString<128> Path{Directory}; in fetch()
82 for (const auto &Directory : DebugFileDirectories) { in fetch() local
84 SmallString<128> Path = GetDebugPath(Directory); in fetch()
/openbsd-src/gnu/llvm/llvm/include/llvm/MC/
H A DMCDwarf.h272 Expected<unsigned> tryGetFile(StringRef &Directory, StringRef &FileName,
295 void setRootFile(StringRef Directory, StringRef FileName, in setRootFile()
298 CompilationDir = std::string(Directory); in setRootFile()
326 void maybeSetRootFile(StringRef Directory, StringRef FileName, in maybeSetRootFile() argument
331 Header.setRootFile(Directory, FileName, Checksum, Source); in maybeSetRootFile()
334 unsigned getFile(StringRef Directory, StringRef FileName, in getFile() argument
338 return cantFail(Header.tryGetFile(Directory, FileName, Checksum, Source, in getFile()
363 Expected<unsigned> tryGetFile(StringRef &Directory, StringRef &FileName,
367 unsigned getFile(StringRef &Directory, StringRef &FileName,
371 return cantFail(tryGetFile(Directory, FileName, Checksum, Source,
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/Object/
H A DMinidump.h36 ArrayRef<minidump::Directory> streams() const { return Streams; } in streams()
39 ArrayRef<uint8_t> getRawStream(const minidump::Directory &Stream) const { in getRawStream()
166 ArrayRef<minidump::Directory> Streams, in MinidumpFile()
186 ArrayRef<minidump::Directory> Streams;
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DModuleDebugInfoPrinter.cpp61 static void printFile(raw_ostream &O, StringRef Filename, StringRef Directory, in printFile() argument
67 if (!Directory.empty()) in printFile()
68 O << Directory << "/"; in printFile()
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DFileCollector.cpp62 StringRef Directory = sys::path::parent_path(SrcPath); in updateWithRealPath() local
68 auto DirWithSymlink = CachedDirs.find(Directory); in updateWithRealPath()
72 if (sys::fs::real_path(Directory, RealPath)) in updateWithRealPath()
74 CachedDirs[Directory] = std::string(RealPath.str()); in updateWithRealPath()
/openbsd-src/gnu/llvm/clang/lib/Lex/
H A DModuleMap.cpp184 auto *Directory = M->Directory; in findHeader() local
185 SmallString<128> FullPathName(Directory->getName()); in findHeader()
238 if (!NormalHdrFile && Directory->getName().endswith(".framework")) { in findHeader()
242 FullPathName.assign(Directory->getName()); in findHeader()
298 !BuiltinIncludeDir || BuiltinIncludeDir == Mod->Directory || in resolveAsBuiltinHeader()
1051 Result->Directory = FrameworkDir; in inferFrameworkModule()
1055 Result->getTopLevelModule()->Directory->getName().size()); in inferFrameworkModule()
1488 const DirectoryEntry *Directory; member in clang::ModuleMapParser
1554 const DirectoryEntry *Directory, bool IsSystem) in ModuleMapParser() argument
1556 ModuleMapFile(ModuleMapFile), Directory(Directory), in ModuleMapParser()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DMCDwarf.cpp562 MCDwarfLineTable::tryGetFile(StringRef &Directory, StringRef &FileName, in tryGetFile() argument
566 return Header.tryGetFile(Directory, FileName, Checksum, Source, DwarfVersion, in tryGetFile()
570 static bool isRootFile(const MCDwarfFile &RootFile, StringRef &Directory, in isRootFile() argument
579 MCDwarfLineTableHeader::tryGetFile(StringRef &Directory, StringRef &FileName, in tryGetFile() argument
583 if (Directory == CompilationDir) in tryGetFile()
584 Directory = ""; in tryGetFile()
587 Directory = ""; in tryGetFile()
596 if (DwarfVersion >= 5 && isRootFile(RootFile, Directory, FileName, Checksum)) in tryGetFile()
604 std::make_pair((Directory + Twine('\0') + FileName).toStringRef(Buffer), in tryGetFile()
626 if (Directory.empty()) { in tryGetFile()
[all …]
H A DMCAsmStreamer.cpp63 void printDwarfFileDirective(unsigned FileNo, StringRef Directory,
271 unsigned FileNo, StringRef Directory, StringRef Filename,
275 void emitDwarfFile0Directive(StringRef Directory, StringRef Filename,
1541 unsigned FileNo, StringRef Directory, StringRef Filename, in printDwarfFileDirective() argument
1546 if (!UseDwarfDirectory && !Directory.empty()) { in printDwarfFileDirective()
1548 Directory = ""; in printDwarfFileDirective()
1550 FullPathName = Directory; in printDwarfFileDirective()
1552 Directory = ""; in printDwarfFileDirective()
1558 if (!Directory.empty()) { in printDwarfFileDirective()
1559 PrintQuotedString(Directory, OS); in printDwarfFileDirective()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/
H A DMinidumpEmitter.cpp173 static Directory layout(BlobAllocator &File, Stream &S) { in layout()
174 Directory Result; in layout()
235 std::vector<Directory> StreamDirectory(Obj.Streams.size()); in yaml2minidump()
/openbsd-src/gnu/llvm/llvm/utils/lit/tests/Inputs/shtest-shell/
H A Ddiff-r-error-4.txt5 # Directory vs. File mismatch, "diff -r" should fail.
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVELFReader.cpp715 std::string Directory; in createLineAndFileRecords() local
716 if (Lines->getDirectoryForEntry(Entry, Directory)) in createLineAndFileRecords()
717 Directory = transformPath(Directory); in createLineAndFileRecords()
718 if (Directory.empty()) in createLineAndFileRecords()
719 Directory = std::string(CompileUnit->getCompilationDirectory()); in createLineAndFileRecords()
722 raw_string_ostream(String) << Directory << "/" << File; in createLineAndFileRecords()
/openbsd-src/gnu/llvm/compiler-rt/lib/memprof/
H A DREADME.txt5 Directory structure:
/openbsd-src/gnu/llvm/llvm/include/llvm/BinaryFormat/
H A DMinidump.h120 struct Directory { struct
124 static_assert(sizeof(Directory) == 12); argument
/openbsd-src/gnu/llvm/lldb/source/Plugins/ObjectFile/Minidump/
H A DMinidumpFileBuilder.h86 std::vector<llvm::minidump::Directory> m_directories;
/openbsd-src/gnu/llvm/compiler-rt/lib/asan/
H A DREADME.txt5 Directory structure:
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp66 std::string Directory; member in __anonbb4d0ff30111::HTMLDiagnostics
76 : DiagOpts(std::move(DiagOpts)), Directory(OutputDir), PP(pp), in HTMLDiagnostics()
265 if (std::error_code ec = llvm::sys::fs::create_directories(Directory)) { in ReportDiag()
267 << Directory << "': " << ec.message() << '\n'; in ReportDiag()
338 llvm::sys::path::append(ResultPath, Directory, FileName.str()); in ReportDiag()
354 llvm::errs() << "warning: could not create file in '" << Directory in ReportDiag()
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/Test2/modules/IPC/Driver/
H A DFiles.t110 ok(-d $tmpdir, "Directory not removed (different thread)");
115 ok(-d $tmpdir, "Directory not removed (different proc)");
121 ok(-d $tmpdir, "Directory not removed (no thread)");
126 ok(-d $tmpdir, "Directory not removed (no proc)");
129 ok(!-d $tmpdir, "Directory removed");

123456789