Lines Matching refs:borrowed
1135 OwnedPythonFile(const PythonFile &file, bool borrowed, Args... args) in OwnedPythonFile() argument
1136 : Base(args...), m_py_obj(file), m_borrowed(borrowed) { in OwnedPythonFile()
1196 SimplePythonFile(const PythonFile &file, bool borrowed, int fd, in SimplePythonFile() argument
1198 : OwnedPythonFile(file, borrowed, fd, options, false) {} in SimplePythonFile()
1249 PythonIOFile(const PythonFile &file, bool borrowed) in PythonIOFile() argument
1250 : OwnedPythonFile(file, borrowed) {} in PythonIOFile()
1295 BinaryPythonFile(int fd, const PythonFile &file, bool borrowed) in BinaryPythonFile() argument
1296 : PythonIOFile(file, borrowed), in BinaryPythonFile()
1349 TextPythonFile(int fd, const PythonFile &file, bool borrowed) in TextPythonFile() argument
1350 : PythonIOFile(file, borrowed), in TextPythonFile()
1402 llvm::Expected<FileSP> PythonFile::ConvertToFile(bool borrowed) { in ConvertToFile() argument
1410 return ConvertToFileForcingUseOfScriptingIOMethods(borrowed); in ConvertToFile()
1425 if (borrowed) { in ConvertToFile()
1431 std::make_shared<SimplePythonFile>(*this, borrowed, fd, options.get())); in ConvertToFile()
1441 PythonFile::ConvertToFileForcingUseOfScriptingIOMethods(bool borrowed) { in ConvertToFileForcingUseOfScriptingIOMethods() argument
1482 std::make_shared<TextPythonFile>(fd, *this, borrowed)); in ConvertToFileForcingUseOfScriptingIOMethods()
1493 std::make_shared<BinaryPythonFile>(fd, *this, borrowed)); in ConvertToFileForcingUseOfScriptingIOMethods()