/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | FileSystem.h | 827 std::error_code createUniqueFile(const Twine &Model, int &ResultFD, 884 int &ResultFD, 951 std::error_code openFile(const Twine &Name, int &ResultFD, 1032 openFileForWrite(const Twine &Name, int &ResultFD, 1035 return openFile(Name, ResultFD, Disp, FA_Write, Flags, Mode); 1073 inline std::error_code openFileForReadWrite(const Twine &Name, int &ResultFD, 1077 return openFile(Name, ResultFD, Disp, FA_Write | FA_Read, Flags, Mode); 1114 std::error_code openFileForRead(const Twine &Name, int &ResultFD,
|
/third_party/skia/third_party/externals/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()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | Path.cpp | 168 createUniqueEntity(const Twine &Model, int &ResultFD, in createUniqueEntity() argument 183 EC = sys::fs::openFileForReadWrite(Twine(ResultPath.begin()), ResultFD, in createUniqueEntity() 816 createTemporaryFile(const Twine &Model, int &ResultFD, in createTemporaryFile() argument 823 return createUniqueEntity(P.begin(), ResultFD, ResultPath, true, in createTemporaryFile() 828 createTemporaryFile(const Twine &Prefix, StringRef Suffix, int &ResultFD, in createTemporaryFile() argument 831 return createTemporaryFile(Prefix + Middle + Suffix, ResultFD, ResultPath, in createTemporaryFile() 836 int &ResultFD, in createTemporaryFile() argument 838 return createTemporaryFile(Prefix, Suffix, ResultFD, ResultPath, FS_File); in createTemporaryFile()
|
/third_party/skia/third_party/externals/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,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/ |
D | Path.inc | 953 std::error_code openFile(const Twine &Name, int &ResultFD, 963 if ((ResultFD = sys::RetryAfterSignal(-1, Open)) < 0) 967 int r = fcntl(ResultFD, F_SETFD, FD_CLOEXEC); 986 std::error_code openFileForRead(const Twine &Name, int &ResultFD, 990 openFile(Name, ResultFD, CD_OpenExisting, FA_Read, Flags, 0666); 1002 if (::fcntl(ResultFD, F_GETPATH, Buffer) != -1) 1008 snprintf(ProcPath, sizeof(ProcPath), "/proc/self/fd/%d", ResultFD); 1026 file_t ResultFD; 1027 std::error_code EC = openFileForRead(Name, ResultFD, Flags, RealPath); 1030 return ResultFD;
|
/third_party/skia/third_party/externals/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) {
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/ |
D | Path.inc | 1043 static std::error_code nativeFileToFd(Expected<HANDLE> H, int &ResultFD, 1052 ResultFD = -1; 1056 ResultFD = ::_open_osfhandle(intptr_t(*H), CrtOpenFlags); 1057 if (ResultFD == -1) { 1176 std::error_code openFile(const Twine &Name, int &ResultFD, 1183 return nativeFileToFd(*Result, ResultFD, Flags); 1199 std::error_code openFileForRead(const Twine &Name, int &ResultFD, 1203 return nativeFileToFd(std::move(NativeFile), ResultFD, OF_None);
|
/third_party/skia/third_party/externals/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;
|