Lines Matching refs:borrowed
1073 OwnedPythonFile(const PythonFile &file, bool borrowed, Args... args) in OwnedPythonFile() argument
1074 : Base(args...), m_py_obj(file), m_borrowed(borrowed) { in OwnedPythonFile()
1134 SimplePythonFile(const PythonFile &file, bool borrowed, int fd, in SimplePythonFile() argument
1136 : OwnedPythonFile(file, borrowed, fd, options, false) {} in SimplePythonFile()
1185 PythonIOFile(const PythonFile &file, bool borrowed) in PythonIOFile() argument
1186 : OwnedPythonFile(file, borrowed) {} in PythonIOFile()
1231 BinaryPythonFile(int fd, const PythonFile &file, bool borrowed) in BinaryPythonFile() argument
1232 : PythonIOFile(file, borrowed), in BinaryPythonFile()
1285 TextPythonFile(int fd, const PythonFile &file, bool borrowed) in TextPythonFile() argument
1286 : PythonIOFile(file, borrowed), in TextPythonFile()
1336 llvm::Expected<FileSP> PythonFile::ConvertToFile(bool borrowed) { in ConvertToFile() argument
1344 return ConvertToFileForcingUseOfScriptingIOMethods(borrowed); in ConvertToFile()
1362 if (borrowed) { in ConvertToFile()
1368 std::make_shared<SimplePythonFile>(*this, borrowed, fd, options.get())); in ConvertToFile()
1378 PythonFile::ConvertToFileForcingUseOfScriptingIOMethods(bool borrowed) { in ConvertToFileForcingUseOfScriptingIOMethods() argument
1412 std::make_shared<TextPythonFile>(fd, *this, borrowed)); in ConvertToFileForcingUseOfScriptingIOMethods()
1423 std::make_shared<BinaryPythonFile>(fd, *this, borrowed)); in ConvertToFileForcingUseOfScriptingIOMethods()