Lines Matching refs:borrowed
1035 OwnedPythonFile(const PythonFile &file, bool borrowed, Args... args) in OwnedPythonFile() argument
1036 : Base(args...), m_py_obj(file), m_borrowed(borrowed) { in OwnedPythonFile()
1096 SimplePythonFile(const PythonFile &file, bool borrowed, int fd, in SimplePythonFile() argument
1098 : OwnedPythonFile(file, borrowed, fd, options, false) {} in SimplePythonFile()
1147 PythonIOFile(const PythonFile &file, bool borrowed) in PythonIOFile() argument
1148 : OwnedPythonFile(file, borrowed) {} in PythonIOFile()
1193 BinaryPythonFile(int fd, const PythonFile &file, bool borrowed) in BinaryPythonFile() argument
1194 : PythonIOFile(file, borrowed), in BinaryPythonFile()
1247 TextPythonFile(int fd, const PythonFile &file, bool borrowed) in TextPythonFile() argument
1248 : PythonIOFile(file, borrowed), in TextPythonFile()
1298 llvm::Expected<FileSP> PythonFile::ConvertToFile(bool borrowed) { in ConvertToFile() argument
1306 return ConvertToFileForcingUseOfScriptingIOMethods(borrowed); in ConvertToFile()
1324 if (borrowed) { in ConvertToFile()
1330 std::make_shared<SimplePythonFile>(*this, borrowed, fd, options.get())); in ConvertToFile()
1340 PythonFile::ConvertToFileForcingUseOfScriptingIOMethods(bool borrowed) { in ConvertToFileForcingUseOfScriptingIOMethods() argument
1374 std::make_shared<TextPythonFile>(fd, *this, borrowed)); in ConvertToFileForcingUseOfScriptingIOMethods()
1385 std::make_shared<BinaryPythonFile>(fd, *this, borrowed)); in ConvertToFileForcingUseOfScriptingIOMethods()