Home
last modified time | relevance | path

Searched refs:Path (Results 1 – 25 of 600) sorted by relevance

12345678910>>...24

/external/swiftshader/third_party/LLVM/include/llvm/Support/
DPathV1.h91 class Path {
101 LLVM_ATTRIBUTE_DEPRECATED(static Path GetRootDirectory(),
112 static Path GetTemporaryDirectory(std::string* ErrMsg = 0);
117 static void GetSystemLibraryPaths(std::vector<sys::Path>& Paths);
127 static void GetBitcodeLibraryPaths(std::vector<sys::Path>& Paths);
132 static Path FindLibrary(std::string& short_name);
139 static Path GetLLVMDefaultConfigDir();
146 static Path GetLLVMConfigDir();
155 static Path GetUserHomeDirectory();
160 static Path GetCurrentDirectory();
[all …]
DProgram.h58 ( const Path& path, ///< sys::Path object providing the path of the
67 const sys::Path** redirects = 0, ///< An optional array of pointers to
94 ( const Path& path, ///< The path to the child process executable.
123 static Path FindProgramByName(const std::string& name);
135 static int ExecuteAndWait(const Path& path,
138 const sys::Path** redirects = 0,
145 static void ExecuteNoWait(const Path& path,
148 const sys::Path** redirects = 0,
/external/swiftshader/third_party/LLVM/lib/Support/
DPath.cpp33 bool Path::operator==(const Path &that) const { in operator ==()
37 bool Path::operator<(const Path& that) const { in operator <()
41 Path
42 Path::GetLLVMConfigDir() { in GetLLVMConfigDir()
43 Path result; in GetLLVMConfigDir()
164 Path::isArchive() const { in isArchive()
172 Path::isDynamicLibrary() const { in isDynamicLibrary()
187 Path::isObjectFile() const { in isObjectFile()
194 Path
195 Path::FindLibrary(std::string& name) { in FindLibrary()
[all …]
DGraphWriter.cpp54 void llvm::DisplayGraph(const sys::Path &Filename, bool wait, in DisplayGraph()
58 sys::Path Graphviz(LLVM_PATH_GRAPHVIZ); in DisplayGraph()
90 if (sys::Program::ExecuteAndWait(sys::Path(LLVM_PATH_XDOT_PY), in DisplayGraph()
100 sys::Path PSFilename = Filename; in DisplayGraph()
103 sys::Path prog; in DisplayGraph()
107 prog = sys::Path(LLVM_PATH_CIRCO); in DisplayGraph()
110 prog = sys::Path(LLVM_PATH_TWOPI); in DisplayGraph()
113 prog = sys::Path(LLVM_PATH_NEATO); in DisplayGraph()
116 prog = sys::Path(LLVM_PATH_FDP); in DisplayGraph()
119 prog = sys::Path(LLVM_PATH_DOT); in DisplayGraph()
[all …]
/external/llvm/lib/Fuzzer/
DFuzzerIO.cpp26 bool IsFile(const std::string &Path) { in IsFile() argument
28 if (stat(Path.c_str(), &St)) in IsFile()
33 static long GetEpoch(const std::string &Path) { in GetEpoch() argument
35 if (stat(Path.c_str(), &St)) in GetEpoch()
52 std::string Path = DirPlusFile(Dir, E->d_name); in ListFilesInDirRecursive() local
54 V->push_back(Path); in ListFilesInDirRecursive()
56 ListFilesInDirRecursive(Path, Epoch, V, false); in ListFilesInDirRecursive()
63 Unit FileToVector(const std::string &Path, size_t MaxSize) { in FileToVector() argument
64 std::ifstream T(Path); in FileToVector()
66 Printf("No such directory: %s; exiting\n", Path.c_str()); in FileToVector()
[all …]
/external/clang/lib/AST/
DCXXInheritance.cpp30 for (paths_iterator Path = begin(), PathEnd = end(); Path != PathEnd; ++Path) in ComputeDeclsFound() local
31 Decls.insert(Path->Decls.front()); in ComputeDeclsFound()
92 [this, BaseDecl](const CXXBaseSpecifier *Specifier, CXXBasePath &Path) { in isDerivedFrom() argument
93 return FindBaseClass(Specifier, Path, BaseDecl); in isDerivedFrom()
113 [this, BaseDecl](const CXXBaseSpecifier *Specifier, CXXBasePath &Path) { in isVirtuallyDerivedFrom() argument
114 return FindVirtualBaseClass(Specifier, Path, BaseDecl); in isVirtuallyDerivedFrom()
323 Paths.Paths.remove_if([&Paths](const CXXBasePath &Path) { in lookupInBases() argument
324 for (const CXXBasePathElement &PE : Path) { in lookupInBases()
357 CXXBasePath &Path, in FindBaseClass() argument
366 CXXBasePath &Path, in FindVirtualBaseClass() argument
[all …]
/external/desugar/java/com/google/devtools/build/android/desugar/
DLambdaClassMaker.java23 import java.nio.file.Path;
34 private final Path rootDirectory;
35 private final Map<Path, LambdaInfo> generatedClasses = new LinkedHashMap<>();
37 public LambdaClassMaker(Path rootDirectory) { in LambdaClassMaker()
52 Path generatedClassFile = findOnlyUnprocessed(invokerInternalName + "$$Lambda$"); in generateLambdaClass()
60 public ImmutableMap<Path, LambdaInfo> drain() { in drain()
61 ImmutableMap<Path, LambdaInfo> result = ImmutableMap.copyOf(generatedClasses); in drain()
66 private Path findOnlyUnprocessed(String pathPrefix) throws IOException { in findOnlyUnprocessed()
71 Path rootPathPrefix = rootDirectory.resolve(pathPrefix); in findOnlyUnprocessed()
75 try (Stream<Path> paths = in findOnlyUnprocessed()
[all …]
DDesugar.java33 import java.nio.file.Path;
63 public List<Path> inputJars;
73 public List<Path> classpath;
84 public List<Path> bootclasspath;
113 public List<Path> outputJars;
157 Path dumpDirectory = Files.createTempDirectory("lambdas"); in main()
178 for (Path path : options.classpath) { in main()
181 for (Path path : options.bootclasspath) { in main()
198 Path inputPath = inputOutputPair.getInput(); in main()
199 Path outputPath = inputOutputPair.getOutput(); in main()
[all …]
/external/swiftshader/third_party/LLVM/tools/bugpoint/
DToolRunner.cpp56 static int RunProgramWithTimeout(const sys::Path &ProgramPath, in RunProgramWithTimeout()
58 const sys::Path &StdInFile, in RunProgramWithTimeout()
59 const sys::Path &StdOutFile, in RunProgramWithTimeout()
60 const sys::Path &StdErrFile, in RunProgramWithTimeout()
64 const sys::Path* redirects[3]; in RunProgramWithTimeout()
89 static int RunProgramRemotelyWithTimeout(const sys::Path &RemoteClientPath, in RunProgramRemotelyWithTimeout()
91 const sys::Path &StdInFile, in RunProgramRemotelyWithTimeout()
92 const sys::Path &StdOutFile, in RunProgramRemotelyWithTimeout()
93 const sys::Path &StdErrFile, in RunProgramRemotelyWithTimeout()
96 const sys::Path* redirects[3]; in RunProgramRemotelyWithTimeout()
[all …]
DExecutionDriver.cpp221 std::string Path = SafeInterpreterPath; in initializeExecutionEnvironment() local
222 if (Path.empty()) in initializeExecutionEnvironment()
223 Path = getToolName(); in initializeExecutionEnvironment()
232 SafeInterpreter = AbstractInterpreter::createLLC(Path.c_str(), Message, in initializeExecutionEnvironment()
243 SafeInterpreter = AbstractInterpreter::createLLC(Path.c_str(), Message, in initializeExecutionEnvironment()
255 SafeInterpreter = AbstractInterpreter::createCBE(Path.c_str(), Message, in initializeExecutionEnvironment()
265 SafeInterpreter = AbstractInterpreter::createLLC(Path.c_str(), Message, in initializeExecutionEnvironment()
278 SafeInterpreter = AbstractInterpreter::createLLC(Path.c_str(), Message, in initializeExecutionEnvironment()
284 SafeInterpreter = AbstractInterpreter::createCBE(Path.c_str(), Message, in initializeExecutionEnvironment()
312 sys::Path BitcodeFile (OutputPrefix + "-test-program.bc"); in compileProgram()
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/Unix/
DPath.inc1 //===- llvm/Support/Unix/Path.cpp - Unix Path Implementation -----*- C++ -*-===//
10 // This file implements the Unix specific portion of the Path class.
81 StringRef Path::GetEXESuffix() {
85 Path::Path(StringRef p)
88 Path::Path(const char *StrStart, unsigned StrLen)
91 Path&
92 Path::operator=(StringRef that) {
98 Path::isValid() const {
108 Path::isAbsolute(const char *NameStart, unsigned NameLen) {
116 Path::isAbsolute() const {
[all …]
/external/abi-dumper/
DMakefile.pl25 use File::Path qw(mkpath rmtree);
226 foreach my $Path (sort keys(%Files))
228 my $Inst = $Path;
230 if(-d $Path)
237 copy($Path, $Inst);
244 my $Path = $_[0];
245 return "" if(not $Path or not -f $Path);
246 open(FILE, $Path) || die ("can't open file \'$Path\': $!\n");
255 my ($Path, $Content) = @_;
256 return if(not $Path);
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
DPath.inc1 //===- llvm/Support/Win32/Path.cpp - Win32 Path Implementation ---*- C++ -*-===//
10 // This file provides the Win32 specific implementation of the Path class.
48 StringRef Path::GetEXESuffix() {
52 Path::Path(llvm::StringRef p)
57 Path::Path(const char *StrStart, unsigned StrLen)
62 Path&
63 Path::operator=(StringRef that) {
82 Path::isValid() const {
144 void Path::makeAbsolute() {
164 Path::isAbsolute(const char *NameStart, unsigned NameLen) {
[all …]
/external/llvm/lib/Support/
DPath.cpp235 i.Path = path; in begin()
243 i.Path = path; in end()
249 assert(Position < Path.size() && "Tried to increment past end!"); in operator ++()
255 if (Position == Path.size()) { in operator ++()
268 if (is_separator(Path[Position])) { in operator ++()
276 Component = Path.substr(Position, 1); in operator ++()
281 while (Position != Path.size() && in operator ++()
282 is_separator(Path[Position])) { in operator ++()
287 if (Position == Path.size()) { in operator ++()
295 size_t end_pos = Path.find_first_of(separators, Position); in operator ++()
[all …]
/external/abi-compliance-checker/
DMakefile.pl28 use File::Path qw(mkpath rmtree);
253 foreach my $Path (sort keys(%Files))
255 if($Path=~/Targets\//)
259 my $Inst = $Path;
261 if(-d $Path)
268 copy($Path, $Inst);
275 my $Path = $_[0];
276 return "" if(not $Path or not -f $Path);
277 open(FILE, $Path) || die ("can't open file \'$Path\': $!\n");
286 my ($Path, $Content) = @_;
[all …]
Dabi-compliance-checker.pl55 use File::Path qw(mkpath rmtree);
1615 my $Path = $MODULES_DIR."/Internals/$Name.pm";
1616 if(not -f $Path) {
1617 exitStatus("Module_Error", "can't access \'$Path\'");
1619 require $Path;
1626 my $Path = $MODULES_DIR."/Internals/$Module/".$Name;
1627 if(not -f $Path) {
1628 exitStatus("Module_Error", "can't access \'$Path\'");
1630 return readFile($Path);
1665 foreach my $Path (@Paths)
[all …]
/external/swiftshader/third_party/LLVM/lib/Linker/
DLinker.cpp68 Linker::addPath(const sys::Path& path) { in addPath()
75 LibPaths.push_back(sys::Path(paths[i])); in addPaths()
80 sys::Path::GetBitcodeLibraryPaths(LibPaths); in addSystemPaths()
81 LibPaths.insert(LibPaths.begin(),sys::Path("./")); in addSystemPaths()
98 Linker::LoadObject(const sys::Path &FN) { in LoadObject()
119 static inline sys::Path IsLibrary(StringRef Name, in IsLibrary()
120 const sys::Path &Directory) { in IsLibrary()
122 sys::Path FullPath(Directory); in IsLibrary()
138 FullPath.appendSuffix(sys::Path::GetDLLSuffix()); in IsLibrary()
165 sys::Path
[all …]
/external/clang/lib/Basic/
DVirtualFileSystem.cpp104 std::error_code FileSystem::makeAbsolute(SmallVectorImpl<char> &Path) const { in makeAbsolute()
105 if (llvm::sys::path::is_absolute(Path)) in makeAbsolute()
112 return llvm::sys::fs::make_absolute(WorkingDir.get(), Path); in makeAbsolute()
115 bool FileSystem::exists(const Twine &Path) { in exists() argument
116 auto Status = status(Path); in exists()
125 static bool pathHasTraversal(StringRef Path) { in pathHasTraversal() argument
127 for (StringRef Comp : llvm::make_range(path::begin(Path), path::end(Path))) in pathHasTraversal()
198 ErrorOr<Status> status(const Twine &Path) override;
199 ErrorOr<std::unique_ptr<File>> openFileForRead(const Twine &Path) override;
203 std::error_code setCurrentWorkingDirectory(const Twine &Path) override;
[all …]
DFileSystemStatCache.cpp43 bool FileSystemStatCache::get(const char *Path, FileData &Data, bool isFile, in get() argument
51 R = Cache->getStat(Path, Data, isFile, F, FS); in get()
55 llvm::ErrorOr<vfs::Status> Status = FS.status(Path); in get()
70 auto OwnedFile = FS.openFileForRead(Path); in get()
110 MemorizeStatCalls::getStat(const char *Path, FileData &Data, bool isFile, in getStat() argument
112 LookupResult Result = statChained(Path, Data, isFile, F, FS); in getStat()
122 if (!Data.IsDirectory || llvm::sys::path::is_absolute(Path)) in getStat()
123 StatCalls[Path] = Data; in getStat()
/external/abi-compliance-checker/modules/Internals/
DSysCheck.pm978 foreach my $Path (split(/\s*\n\s*/, parseTag(\$Content, "libs")))
980 if(not -e $Path) {
981 exitStatus("Access_Error", "can't access \'$Path\'");
983 $Path = get_abs_path($Path);
984 $Path=~s/[\/\\]+\Z//g;
985 $SysDescriptor{"Libs"}{$Path} = 1;
987 foreach my $Path (split(/\s*\n\s*/, parseTag(\$Content, "search_libs")))
989 if(not -d $Path) {
990 exitStatus("Access_Error", "can't access directory \'$Path\'");
992 $Path = get_abs_path($Path);
[all …]
/external/clang/lib/Tooling/
DFileMatchTrie.cpp59 if (Path.empty()) { in insert()
61 Path = NewPath; in insert()
66 if (NewPath == Path) in insert()
70 StringRef(Path).drop_back(ConsumedLength))); in insert()
71 Children[Element].Path = Path; in insert()
104 if (Comparator.equivalent(StringRef(Path), FileName)) in findEquivalent()
105 return StringRef(Path); in findEquivalent()
139 if (Path.empty()) in getAll()
142 Results.push_back(StringRef(Path)); in getAll()
156 std::string Path; member in clang::tooling::FileMatchTrieNode
/external/llvm/lib/DebugInfo/Symbolize/
DSymbolize.cpp148 const std::string &Path, const std::string &Basename) { in getDarwinDWARFResourceForPath() argument
149 SmallString<16> ResourceName = StringRef(Path); in getDarwinDWARFResourceForPath()
150 if (sys::path::extension(Path) != ".dSYM") { in getDarwinDWARFResourceForPath()
158 bool checkFileCRC(StringRef Path, uint32_t CRCHash) { in checkFileCRC() argument
160 MemoryBuffer::getFileOrSTDIN(Path); in checkFileCRC()
249 for (const auto &Path : Opts.DsymHints) { in lookUpDsymFile() local
250 DsymPaths.push_back(getDarwinDWARFResourceForPath(Path, Filename)); in lookUpDsymFile()
252 for (const auto &Path : DsymPaths) { in lookUpDsymFile() local
253 auto DbgObjOrErr = getOrCreateObject(Path, ArchName); in lookUpDsymFile()
271 ObjectFile *LLVMSymbolizer::lookUpDebuglinkObject(const std::string &Path, in lookUpDebuglinkObject() argument
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/
DLinker.h22 namespace sys { class Path; } variable
114 const std::vector<sys::Path>& getLibPaths() const { return LibPaths; } in getLibPaths()
136 void addPath(const sys::Path& path);
180 const std::vector<sys::Path> & Files ///< Files to link in
191 const sys::Path& File, ///< File to link in.
238 const sys::Path& Filename, ///< Filename of the archive to link
275 sys::Path FindLib(StringRef Filename);
283 std::auto_ptr<Module> LoadObject(const sys::Path& FN);
295 std::vector<sys::Path> LibPaths; ///< The library search paths
/external/llvm/lib/DebugInfo/PDB/
DPDB.cpp27 Error llvm::pdb::loadDataForPDB(PDB_ReaderType Type, StringRef Path, in loadDataForPDB() argument
31 return RawSession::createFromPdb(Path, Session); in loadDataForPDB()
34 return DIASession::createFromPdb(Path, Session); in loadDataForPDB()
40 Error llvm::pdb::loadDataForEXE(PDB_ReaderType Type, StringRef Path, in loadDataForEXE() argument
44 return RawSession::createFromExe(Path, Session); in loadDataForEXE()
47 return DIASession::createFromExe(Path, Session); in loadDataForEXE()
/external/protobuf/cmake/
DREADME.md22 C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64>cd C:\Path\to
23 C:\Path\to>
25 Where *C:\Path\to* is path to your real working directory.
29 C:\Path\to>mkdir install
33 C:\Path\to>set PATH=%PATH%;C:\Program Files (x86)\CMake\bin
37 C:\Path\to>set PATH=%PATH%;C:\Program Files\Git\cmd
48 C:\Path\to> git clone -b [release_tag] https://github.com/google/protobuf.git
55 C:\Path\to>cd protobuf
56 C:\Path\to\protobuf>
65 C:\Path\to\protobuf>git clone -b release-1.7.0 https://github.com/google/googlemock.git gmock
[all …]

12345678910>>...24