Home
last modified time | relevance | path

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

/external/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 …]
/external/llvm/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()
751 SmallVectorImpl<char> &ResultPath, in createUniqueFile() argument
753 return createUniqueEntity(Model, ResultFd, ResultPath, false, Mode, FS_File); in createUniqueFile()
[all …]
/external/llvm/unittests/Support/
DPath.cpp1010 SmallString<64> ResultPath; in TEST_F() local
1012 fs::getPathFromOpenFD(FileDescriptor, ResultPath); in TEST_F()
1020 ASSERT_NO_ERROR(fs::getUniqueID(Twine(ResultPath), D2)); in TEST_F()
1037 SmallVector<char, 8> ResultPath; in TEST_F() local
1039 fs::getPathFromOpenFD(FileDescriptor, ResultPath); in TEST_F()
1046 SmallVector<char, 8> ExactSizedPath(ResultPath.size()); in TEST_F()
1048 ResultPath = ExactSizedPath; in TEST_F()
1054 ASSERT_NO_ERROR(fs::getUniqueID(Twine(ResultPath), D2)); in TEST_F()
1073 SmallVector<char, 8> ResultPath; in TEST_F() local
1075 fs::getPathFromOpenFD(FileDescriptor, ResultPath); in TEST_F()
[all …]
/external/fonttools/Windows/
Dfonttools-win-setup.iss129 …difyPathString(OldPath, DirName: string; Method: integer; Quotes: boolean; var ResultPath: string);
185 ConcatPath(Dirs, Quotes, ResultPath);
198 OldPath, ResultPath: String;
254 ModifyPathString(OldPath, DirName, Method, True, ResultPath);
265 AutoexecLines.Insert(FirstPathLineNo, '@PATH='+ResultPath);
286 OldPath, ResultPath: string;
317 ModifyPathString(OldPath, DirName, Method, False, ResultPath);
320 if not RegWriteStringValue(RegRootKey, RegSubKeyName, RegValueName, ResultPath) then
/external/llvm/lib/Support/Unix/
DPath.inc625 std::error_code getPathFromOpenFD(int FD, SmallVectorImpl<char> &ResultPath) {
632 ResultPath.reserve(MAXPATHLEN);
633 if (::fcntl(FD, F_GETPATH, ResultPath.begin()) == -1)
636 ResultPath.set_size(strlen(ResultPath.begin()));
644 ResultPath.reserve(PATH_MAX);
647 ssize_t CharCount = ::readlink(ProcPath, ResultPath.begin(), ResultPath.capacity());
652 if (static_cast<size_t>(CharCount) == ResultPath.capacity()) {
658 ResultPath.reserve(sb.st_size + 1);
659 CharCount = ::readlink(ProcPath, ResultPath.begin(), ResultPath.capacity());
667 ResultPath.set_size(static_cast<size_t>(CharCount));
/external/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));
/external/llvm/include/llvm/Support/
DFileSystem.h581 SmallVectorImpl<char> &ResultPath,
586 SmallVectorImpl<char> &ResultPath);
598 SmallVectorImpl<char> &ResultPath);
602 SmallVectorImpl<char> &ResultPath);
605 SmallVectorImpl<char> &ResultPath);
611 std::error_code getPathFromOpenFD(int FD, SmallVectorImpl<char> &ResultPath);
/external/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);
/external/llvm/tools/dsymutil/
Ddsymutil.cpp165 llvm::SmallVectorImpl<char> &ResultPath) { in getUniqueFile() argument
172 return llvm::sys::fs::createUniqueFile(Model, ResultPath); in getUniqueFile()
173 return llvm::sys::fs::createUniqueFile(Model, ResultFD, ResultPath); in getUniqueFile()
/external/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp292 SmallString<128> Model, ResultPath; in ReportDiag() local
303 llvm::sys::fs::createUniqueFile(Model, FD, ResultPath)) { in ReportDiag()
340 llvm::sys::path::filename(ResultPath)); in ReportDiag()
/external/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);
/external/llvm/lib/Support/Windows/
DPath.inc817 std::error_code getPathFromOpenFD(int FD, SmallVectorImpl<char> &ResultPath) {
850 return windows::UTF16ToUTF8(TempPath.data(), CharCount, ResultPath);