/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | FileSystem.h | 757 std::error_code createUniqueFile(const Twine &Model, int &ResultFD, 814 int &ResultFD, 881 std::error_code openFile(const Twine &Name, int &ResultFD, 919 openFileForWrite(const Twine &Name, int &ResultFD, 922 return openFile(Name, ResultFD, Disp, FA_Write, Flags, Mode); 960 inline std::error_code openFileForReadWrite(const Twine &Name, int &ResultFD, 964 return openFile(Name, ResultFD, Disp, FA_Write | FA_Read, Flags, Mode); 1001 std::error_code openFileForRead(const Twine &Name, int &ResultFD,
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-exegesis/lib/ |
D | BenchmarkRunner.cpp | 188 int ResultFD = 0; in writeObjectFile() local 191 "snippet", "o", ResultFD, ResultPath))) in writeObjectFile() 193 llvm::raw_fd_ostream OFS(ResultFD, true /*ShouldClose*/); in writeObjectFile()
|
D | BenchmarkResult.cpp | 280 int ResultFD = 0; in writeYaml() local 282 openFileForWrite(Filename, ResultFD, llvm::sys::fs::CD_CreateAlways, in writeYaml() 286 llvm::raw_fd_ostream Ostr(ResultFD, true /*shouldClose*/); in writeYaml()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | Path.cpp | 161 static std::error_code createUniqueEntity(const Twine &Model, int &ResultFD, in createUniqueEntity() argument 196 sys::fs::openFileForWrite(Twine(ResultPath.begin()), ResultFD, in createUniqueEntity() 765 createTemporaryFile(const Twine &Model, int &ResultFD, in createTemporaryFile() argument 772 return createUniqueEntity(P.begin(), ResultFD, ResultPath, in createTemporaryFile() 777 createTemporaryFile(const Twine &Prefix, StringRef Suffix, int &ResultFD, in createTemporaryFile() argument 780 return createTemporaryFile(Prefix + Middle + Suffix, ResultFD, ResultPath, in createTemporaryFile() 785 int &ResultFD, in createTemporaryFile() argument 787 return createTemporaryFile(Prefix, Suffix, ResultFD, ResultPath, FS_File); in createTemporaryFile()
|
/external/llvm/lib/Support/ |
D | Path.cpp | 161 static std::error_code createUniqueEntity(const Twine &Model, int &ResultFD, in createUniqueEntity() argument 196 sys::fs::openFileForWrite(Twine(ResultPath.begin()), ResultFD, in createUniqueEntity() 763 createTemporaryFile(const Twine &Model, int &ResultFD, in createTemporaryFile() argument 770 return createUniqueEntity(P.begin(), ResultFD, ResultPath, in createTemporaryFile() 775 createTemporaryFile(const Twine &Prefix, StringRef Suffix, int &ResultFD, in createTemporaryFile() argument 778 return createTemporaryFile(Prefix + Middle + Suffix, ResultFD, ResultPath, in createTemporaryFile() 783 int &ResultFD, in createTemporaryFile() argument 785 return createTemporaryFile(Prefix, Suffix, ResultFD, ResultPath, FS_File); in createTemporaryFile()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | Path.cpp | 169 createUniqueEntity(const Twine &Model, int &ResultFD, in createUniqueEntity() argument 204 sys::fs::openFileForReadWrite(Twine(ResultPath.begin()), ResultFD, in createUniqueEntity() 783 createTemporaryFile(const Twine &Model, int &ResultFD, in createTemporaryFile() argument 790 return createUniqueEntity(P.begin(), ResultFD, ResultPath, true, in createTemporaryFile() 795 createTemporaryFile(const Twine &Prefix, StringRef Suffix, int &ResultFD, in createTemporaryFile() argument 798 return createTemporaryFile(Prefix + Middle + Suffix, ResultFD, ResultPath, in createTemporaryFile() 803 int &ResultFD, in createTemporaryFile() argument 805 return createTemporaryFile(Prefix, Suffix, ResultFD, ResultPath, FS_File); in createTemporaryFile()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Unix/ |
D | Path.inc | 765 std::error_code openFile(const Twine &Name, int &ResultFD, 775 if ((ResultFD = sys::RetryAfterSignal(-1, Open)) < 0) 779 int r = fcntl(ResultFD, F_SETFD, FD_CLOEXEC); 798 std::error_code openFileForRead(const Twine &Name, int &ResultFD, 802 openFile(Name, ResultFD, CD_OpenExisting, FA_Read, Flags, 0666); 814 if (::fcntl(ResultFD, F_GETPATH, Buffer) != -1) 820 snprintf(ProcPath, sizeof(ProcPath), "/proc/self/fd/%d", ResultFD); 838 file_t ResultFD; 839 std::error_code EC = openFileForRead(Name, ResultFD, Flags, RealPath); 842 return ResultFD;
|
/external/llvm/include/llvm/Support/ |
D | FileSystem.h | 580 std::error_code createUniqueFile(const Twine &Model, int &ResultFD, 597 int &ResultFD, 642 std::error_code openFileForWrite(const Twine &Name, int &ResultFD, 645 std::error_code openFileForRead(const Twine &Name, int &ResultFD,
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | FileSystem.h | 591 std::error_code createUniqueFile(const Twine &Model, int &ResultFD, 608 int &ResultFD, 653 std::error_code openFileForWrite(const Twine &Name, int &ResultFD, 656 std::error_code openFileForRead(const Twine &Name, int &ResultFD,
|
/external/llvm/tools/dsymutil/ |
D | dsymutil.cpp | 164 static std::error_code getUniqueFile(const llvm::Twine &Model, int &ResultFD, in getUniqueFile() argument 173 return llvm::sys::fs::createUniqueFile(Model, ResultFD, ResultPath); in getUniqueFile()
|
/external/llvm/lib/Support/Unix/ |
D | Path.inc | 560 std::error_code openFileForRead(const Twine &Name, int &ResultFD, 564 while ((ResultFD = open(P.begin(), O_RDONLY)) < 0) { 576 if (::fcntl(ResultFD, F_GETPATH, Buffer) != -1) 582 snprintf(ProcPath, sizeof(ProcPath), "/proc/self/fd/%d", ResultFD); 595 std::error_code openFileForWrite(const Twine &Name, int &ResultFD, 618 while ((ResultFD = open(P.begin(), OpenFlags, Mode)) < 0) {
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/ |
D | Path.inc | 576 std::error_code openFileForRead(const Twine &Name, int &ResultFD, 580 while ((ResultFD = open(P.begin(), O_RDONLY)) < 0) { 592 if (::fcntl(ResultFD, F_GETPATH, Buffer) != -1) 598 snprintf(ProcPath, sizeof(ProcPath), "/proc/self/fd/%d", ResultFD); 611 std::error_code openFileForWrite(const Twine &Name, int &ResultFD, 634 while ((ResultFD = open(P.begin(), OpenFlags, Mode)) < 0) {
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Windows/ |
D | Path.inc | 998 static std::error_code nativeFileToFd(Expected<HANDLE> H, int &ResultFD, 1007 ResultFD = -1; 1011 ResultFD = ::_open_osfhandle(intptr_t(*H), CrtOpenFlags); 1012 if (ResultFD == -1) { 1131 std::error_code openFile(const Twine &Name, int &ResultFD, 1138 return nativeFileToFd(*Result, ResultFD, Flags); 1154 std::error_code openFileForRead(const Twine &Name, int &ResultFD, 1158 return nativeFileToFd(std::move(NativeFile), ResultFD, OF_None);
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/ |
D | Path.inc | 704 std::error_code openFileForRead(const Twine &Name, int &ResultFD, 750 ResultFD = FD; 754 std::error_code openFileForWrite(const Twine &Name, int &ResultFD, 807 ResultFD = FD;
|
/external/llvm/lib/Support/Windows/ |
D | Path.inc | 710 std::error_code openFileForRead(const Twine &Name, int &ResultFD, 756 ResultFD = FD; 760 std::error_code openFileForWrite(const Twine &Name, int &ResultFD, 813 ResultFD = FD;
|