Home
last modified time | relevance | path

Searched refs:ResultPath (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DPath.cpp169 SmallVectorImpl<char> &ResultPath, bool MakeAbsolute, in createUniqueEntity() argument
179 sys::fs::createUniquePath(Model, ResultPath, MakeAbsolute); in createUniqueEntity()
183 EC = sys::fs::openFileForReadWrite(Twine(ResultPath.begin()), ResultFD, in createUniqueEntity()
197 EC = sys::fs::access(ResultPath.begin(), sys::fs::AccessMode::Exist); in createUniqueEntity()
206 EC = sys::fs::create_directory(ResultPath.begin(), false); in createUniqueEntity()
764 void createUniquePath(const Twine &Model, SmallVectorImpl<char> &ResultPath, in createUniquePath() argument
779 ResultPath = ModelStorage; in createUniquePath()
780 ResultPath.push_back(0); in createUniquePath()
781 ResultPath.pop_back(); in createUniquePath()
786 ResultPath[i] = "0123456789abcdef"[sys::Process::GetRandomNumber() & 15]; in createUniquePath()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DPath.cpp162 SmallVectorImpl<char> &ResultPath, in createUniqueEntity() argument
180 ResultPath = ModelStorage; in createUniqueEntity()
182 ResultPath.push_back(0); in createUniqueEntity()
183 ResultPath.pop_back(); in createUniqueEntity()
189 ResultPath[i] = "0123456789abcdef"[sys::Process::GetRandomNumber() & 15]; in createUniqueEntity()
196 sys::fs::openFileForWrite(Twine(ResultPath.begin()), ResultFD, in createUniqueEntity()
208 sys::fs::access(ResultPath.begin(), sys::fs::AccessMode::Exist); in createUniqueEntity()
218 sys::fs::create_directory(ResultPath.begin(), false)) { in createUniqueEntity()
753 SmallVectorImpl<char> &ResultPath, in createUniqueFile() argument
755 return createUniqueEntity(Model, ResultFd, ResultPath, false, Mode, FS_File); in createUniqueFile()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DPath.inc641 std::error_code getPathFromOpenFD(int FD, SmallVectorImpl<char> &ResultPath) {
648 ResultPath.reserve(MAXPATHLEN);
649 if (::fcntl(FD, F_GETPATH, ResultPath.begin()) == -1)
652 ResultPath.set_size(strlen(ResultPath.begin()));
660 ResultPath.reserve(PATH_MAX);
663 ssize_t CharCount = ::readlink(ProcPath, ResultPath.begin(), ResultPath.capacity());
668 if (static_cast<size_t>(CharCount) == ResultPath.capacity()) {
674 ResultPath.reserve(sb.st_size + 1);
675 CharCount = ::readlink(ProcPath, ResultPath.begin(), ResultPath.capacity());
683 ResultPath.set_size(static_cast<size_t>(CharCount));
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DFileSystem.h803 void createUniquePath(const Twine &Model, SmallVectorImpl<char> &ResultPath,
828 SmallVectorImpl<char> &ResultPath,
834 SmallVectorImpl<char> &ResultPath,
885 SmallVectorImpl<char> &ResultPath);
890 SmallVectorImpl<char> &ResultPath);
893 SmallVectorImpl<char> &ResultPath);
903 SmallVectorImpl<char> &ResultPath);
915 SmallVectorImpl<char> &ResultPath);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DFileSystem.h592 SmallVectorImpl<char> &ResultPath,
597 SmallVectorImpl<char> &ResultPath);
609 SmallVectorImpl<char> &ResultPath);
613 SmallVectorImpl<char> &ResultPath);
616 SmallVectorImpl<char> &ResultPath);
622 std::error_code getPathFromOpenFD(int FD, SmallVectorImpl<char> &ResultPath);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DCaching.cpp41 SmallString<64> ResultPath; in localCache() local
43 Twine(EntryPath), sys::fs::OF_UpdateAtime, &ResultPath); in localCache()
DThinLTOCodeGenerator.cpp357 SmallString<64> ResultPath; in tryLoadingBuffer() local
359 Twine(EntryPath), sys::fs::OF_UpdateAtime, &ResultPath); in tryLoadingBuffer()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DPath.inc811 std::error_code getPathFromOpenFD(int FD, SmallVectorImpl<char> &ResultPath) {
844 return windows::UTF16ToUTF8(TempPath.data(), CharCount, ResultPath);