HomeSort by: relevance | last modified time | path
    Searched refs:Path (Results 1 - 25 of 382) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/external/gpl2/gmake/dist/w32/include/
pathstuff.h 1 /* Definitions for Windows path manipulation.
21 extern char * convert_Path_to_windows32(char *Path, char to_delim);
22 extern char * convert_vpath_to_windows32(char *Path, char to_delim);
  /src/external/gpl3/binutils/dist/gprofng/src/
i18n.cc 26 init_locale (char *Path) //set up for internationalization
  /src/external/gpl3/binutils.old/dist/gprofng/src/
i18n.cc 26 init_locale (char *Path) //set up for internationalization
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/
PDB.cpp 23 Error llvm::pdb::loadDataForPDB(PDB_ReaderType Type, StringRef Path,
27 return NativeSession::createFromPdbPath(Path, Session);
30 return DIASession::createFromPdb(Path, Session);
36 Error llvm::pdb::loadDataForEXE(PDB_ReaderType Type, StringRef Path,
40 Expected<std::string> PdbPath = NativeSession::searchForPdb({Path});
47 return DIASession::createFromExe(Path, Session);
  /src/external/apache2/llvm/dist/clang/lib/DirectoryWatcher/
DirectoryScanner.h 16 /// Gets names (filenames) of items in directory at \p Path.
17 /// \returns empty vector if \p Path is not a directory, doesn't exist or can't
19 std::vector<std::string> scanDirectory(llvm::StringRef Path);
25 /// Gets status of file (or directory) at \p Path.
26 /// \returns llvm::None if \p Path doesn't exist or can't get the status.
27 llvm::Optional<llvm::sys::fs::file_status> getFileStatus(llvm::StringRef Path);
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/
PDB.h 22 Error loadDataForPDB(PDB_ReaderType Type, StringRef Path,
25 Error loadDataForEXE(PDB_ReaderType Type, StringRef Path,
  /src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
FuzzerIO.h 19 long GetEpoch(const std::string &Path);
21 Unit FileToVector(const std::string &Path, size_t MaxSize = 0,
24 std::string FileToString(const std::string &Path);
26 void CopyFileToErr(const std::string &Path);
28 void WriteToFile(const Unit &U, const std::string &Path);
30 void ReadDirToVectorOfUnits(const char *Path, Vector<Unit> *V,
40 // Returns path to a TmpDir.
55 bool IsFile(const std::string &Path);
56 size_t FileSize(const std::string &Path);
71 std::string Basename(const std::string &Path);
    [all...]
FuzzerIOPosix.cpp 28 bool IsFile(const std::string &Path) {
30 if (stat(Path.c_str(), &St))
35 static bool IsDirectory(const std::string &Path) {
37 if (stat(Path.c_str(), &St))
42 size_t FileSize(const std::string &Path) {
44 if (stat(Path.c_str(), &St))
49 std::string Basename(const std::string &Path) {
50 size_t Pos = Path.rfind(GetSeparator());
51 if (Pos == std::string::npos) return Path;
52 assert(Pos < Path.size())
    [all...]
FuzzerIO.cpp 26 long GetEpoch(const std::string &Path) {
28 if (stat(Path.c_str(), &St))
33 Unit FileToVector(const std::string &Path, size_t MaxSize, bool ExitOnError) {
34 std::ifstream T(Path, std::ios::binary);
36 Printf("No such directory: %s; exiting\n", Path.c_str());
53 std::string FileToString(const std::string &Path) {
54 std::ifstream T(Path, std::ios::binary);
59 void CopyFileToErr(const std::string &Path) {
60 Printf("%s", FileToString(Path).c_str());
63 void WriteToFile(const Unit &U, const std::string &Path) {
    [all...]
FuzzerIOWindows.cpp 27 static bool IsFile(const std::string &Path, const DWORD &FileAttributes) {
36 CreateFileA(Path.c_str(), 0, FILE_SHARE_READ, NULL, OPEN_EXISTING,
40 Printf("CreateFileA() failed for \"%s\" (Error code: %lu).\n", Path.c_str(),
48 Printf("GetFileType() failed for \"%s\" (Error code: %lu).\n", Path.c_str(),
63 bool IsFile(const std::string &Path) {
64 DWORD Att = GetFileAttributesA(Path.c_str());
68 Path.c_str(), GetLastError());
72 return IsFile(Path, Att);
75 std::string Basename(const std::string &Path) {
76 size_t Pos = Path.find_last_of("/\\")
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Testing/Support/
SupportHelpers.h 16 #include "llvm/Support/Path.h"
114 SmallString<128> Path;
125 EC = llvm::sys::fs::createUniqueDirectory(Name, Path);
128 std::string UnresolvedPath(Path.str());
129 EC = llvm::sys::fs::real_path(UnresolvedPath, Path);
132 Path = Name;
133 EC = llvm::sys::fs::create_directory(Path);
136 Path.clear();
141 if (!Path.empty()) {
142 EXPECT_FALSE(llvm::sys::fs::remove_directories(Path.str()))
153 StringRef path() const { return Path; } function in class:llvm::unittest::TempDir
160 SmallString<128> path(StringRef component) const { function in class:llvm::unittest::TempDir
198 StringRef path() const { return Path; } function in class:llvm::unittest::TempLink
242 StringRef path() const { return Path; } function in class:llvm::unittest::TempFile
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/
TCE.cpp 24 // Path mangling to find libexec
25 std::string Path(getDriver().Dir);
27 Path += "/../libexec";
28 getProgramPaths().push_back(Path);
MipsLinux.cpp 17 #include "llvm/Support/Path.h"
50 llvm::sys::path::append(P, "include");
59 for (const auto &Path : Callback(SelectedMultilib))
61 D.getInstalledDir() + Path);
99 for (std::string Path : Callback(SelectedMultilib)) {
100 Path = getDriver().getInstalledDir() + Path + "/c++/v1";
101 if (llvm::sys::fs::exists(Path)) {
102 addSystemInclude(DriverArgs, CC1Args, Path);
122 SmallString<128> Path(getDriver().ResourceDir)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/TextAPI/
TextAPIContext.h 25 std::string Path;
  /src/external/apache2/llvm/dist/clang/lib/Basic/
FileSystemStatCache.cpp 16 #include "llvm/Support/Path.h"
25 /// path, using the cache to accelerate it if possible. This returns true if
26 /// the path does not exist or false if it exists.
34 FileSystemStatCache::get(StringRef Path, llvm::vfs::Status &Status,
43 RetCode = Cache->getStat(Path, Status, isFile, F, FS);
47 llvm::ErrorOr<llvm::vfs::Status> StatusOrErr = FS.status(Path);
61 auto OwnedFile = FS.openFileForRead(Path);
83 // If the path doesn't exist, return failure.
87 // If the path exists, make sure that its "directoryness" matches the clients
102 MemorizeStatCalls::getStat(StringRef Path, llvm::vfs::Status &Status
    [all...]
  /src/external/mpl/bind/dist/bin/tests/system/isctest/vars/
autoconf.py 12 from pathlib import Path
17 ac_vars_dir = Path(__file__).resolve().parent / ".ac_vars"
19 path
20 for path in ac_vars_dir.iterdir()
21 if path.is_file() and not path.name.endswith(".in")
  /src/external/apache2/llvm/dist/llvm/lib/Support/
FileCollector.cpp 13 #include "llvm/Support/Path.h"
34 static bool isCaseSensitivePath(StringRef Path) {
35 SmallString<256> TmpDest = Path, UpperDest, RealDest;
38 if (sys::fs::real_path(Path, TmpDest))
40 Path = TmpDest;
42 // Change path to all upper case and ask for its real path, if the latter
43 // exists and is equal to path, it's not case sensitive. Default to case
46 UpperDest = Path.upper();
47 if (!sys::fs::real_path(UpperDest, RealDest) && Path.equals(RealDest)
    [all...]
TarWriter.cpp 28 #include "llvm/Support/Path.h"
101 static void writePaxHeader(raw_fd_ostream &OS, StringRef Path) {
104 std::string PaxAttr = formatPax("path", Path);
118 // Path fits in a Ustar header if
120 // - Path is less than 100 characters long, or
121 // - Path is in the form of "<prefix>/<name>" where <prefix> is less
125 // If Path fits in a Ustar header, updates Prefix and Name and returns true.
127 static bool splitUstar(StringRef Path, StringRef &Prefix, StringRef &Name) {
128 if (Path.size() < sizeof(UstarHeader::Name))
    [all...]
FileOutputBuffer.cpp 18 #include "llvm/Support/Path.h"
36 OnDiskBuffer(StringRef Path, fs::TempFile Temp, fs::mapped_file_region Buf)
37 : FileOutputBuffer(Path), Buffer(std::move(Buf)), Temp(std::move(Temp)) {}
77 InMemoryBuffer(StringRef Path, MemoryBlock Buf, std::size_t BufSize,
79 : FileOutputBuffer(Path), Buffer(Buf), BufferSize(BufSize),
117 createInMemoryBuffer(StringRef Path, size_t Size, unsigned Mode) {
123 return std::make_unique<InMemoryBuffer>(Path, MB, Size, Mode);
127 createOnDiskBuffer(StringRef Path, size_t Size, unsigned Mode) {
129 fs::TempFile::create(Path + ".tmp%%%%%%%", Mode);
149 return createInMemoryBuffer(Path, Size, Mode)
    [all...]
  /src/sys/external/bsd/acpica/dist/common/
dmextern.c 107 char *Path);
117 char **Path);
121 char *Path,
136 char *Path);
140 char *Path,
147 char *Path);
185 * Path - Path with parent prefix
189 * DESCRIPTION: Returns the full pathname of a path with parent prefix
197 char *Path)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Tooling/
FileMatchTrie.cpp 17 #include "llvm/Support/Path.h"
41 /// Each node has storage for up to one path and a map mapping a path segment to
49 /// An insert of a path
52 /// - If the node has a path 'p2' but no children, take the last path segment
58 /// An insert operation is linear in the number of a path's segments.
60 // We cannot put relative paths into the FileMatchTrie as then a path can be
61 // a postfix of another path, violating a core assumption of the trie.
62 if (llvm::sys::path::is_relative(NewPath)
    [all...]
  /src/external/mpl/bind/dist/doc/arm/_ext/
mergegrammar.py 16 from pathlib import Path
25 for file in Path("../misc/").glob("*.zoneopt"):
43 with Path("../misc/options").open(encoding="ascii") as fp:
  /src/external/apache2/llvm/dist/clang/lib/DirectoryWatcher/mac/
DirectoryWatcher-mac.cpp 15 #include "llvm/Support/Path.h"
114 StringRef Path = ((const char **)EventPaths)[i];
125 Path == ctx->WatchedPath) {
136 llvm::sys::path::filename(Path));
139 if (!getFileStatus(Path).hasValue()) {
141 llvm::sys::path::filename(Path));
144 llvm::sys::path::filename(Path));
    [all...]
  /src/external/apache2/llvm/dist/llvm/bindings/ocaml/bitwriter/
bitwriter_ocaml.c 25 value llvm_write_bitcode_file(LLVMModuleRef M, value Path) {
26 int Result = LLVMWriteBitcodeToFile(M, String_val(Path));
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
FileOutputBuffer.h 41 /// to the file at the specified path.
60 /// Returns path where file will show up if buffer is committed.
80 FileOutputBuffer(StringRef Path) : FinalPath(Path) {}

Completed in 31 milliseconds

1 2 3 4 5 6 7 8 91011>>