Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-subzero/lib/Support/
DPath.cpp161 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/
DPath.cpp161 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/llvm/include/llvm/Support/
DFileSystem.h580 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/
DFileSystem.h591 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/
Ddsymutil.cpp164 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/
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/
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/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
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;
/external/llvm/lib/Support/Windows/
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;