Searched refs:ResultFD (Results 1 - 9 of 9) sorted by relevance

/external/llvm/lib/Support/
H A DPath.cpp161 static std::error_code createUniqueEntity(const Twine &Model, int &ResultFD, argument
196 sys::fs::openFileForWrite(Twine(ResultPath.begin()), ResultFD,
763 createTemporaryFile(const Twine &Model, int &ResultFD,
770 return createUniqueEntity(P.begin(), ResultFD, ResultPath,
775 createTemporaryFile(const Twine &Prefix, StringRef Suffix, int &ResultFD,
778 return createTemporaryFile(Prefix + Middle + Suffix, ResultFD, ResultPath,
783 int &ResultFD,
785 return createTemporaryFile(Prefix, Suffix, ResultFD, ResultPath, FS_File);
/external/llvm/tools/dsymutil/
H A Ddsymutil.cpp164 static std::error_code getUniqueFile(const llvm::Twine &Model, int &ResultFD, argument
173 return llvm::sys::fs::createUniqueFile(Model, ResultFD, ResultPath);
/external/swiftshader/third_party/llvm-subzero/lib/Support/
H A DPath.cpp161 static std::error_code createUniqueEntity(const Twine &Model, int &ResultFD, argument
196 sys::fs::openFileForWrite(Twine(ResultPath.begin()), ResultFD,
765 createTemporaryFile(const Twine &Model, int &ResultFD,
772 return createUniqueEntity(P.begin(), ResultFD, ResultPath,
777 createTemporaryFile(const Twine &Prefix, StringRef Suffix, int &ResultFD,
780 return createTemporaryFile(Prefix + Middle + Suffix, ResultFD, ResultPath,
785 int &ResultFD,
787 return createTemporaryFile(Prefix, Suffix, ResultFD, ResultPath, FS_File);
/external/llvm/include/llvm/Support/
H A DFileSystem.h576 /// @param ResultFD Set to the opened file's file descriptor.
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/
H A DFileSystem.h587 /// @param ResultFD Set to the opened file's file descriptor.
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/lib/Support/Unix/
H A DPath.inc560 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/
H A DPath.inc576 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/llvm/lib/Support/Windows/
H A DPath.inc710 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;
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
H A DPath.inc704 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;

Completed in 140 milliseconds