Lines Matching defs:borrowed
1016 OwnedPythonFile(const PythonFile &file, bool borrowed, Args... args)
1017 : Base(args...), m_py_obj(file), m_borrowed(borrowed) {
1078 SimplePythonFile(const PythonFile &file, bool borrowed, int fd,
1080 : OwnedPythonFile(file, borrowed, fd, options, false) {}
1129 PythonIOFile(const PythonFile &file, bool borrowed)
1130 : OwnedPythonFile(file, borrowed) {}
1177 BinaryPythonFile(int fd, const PythonFile &file, bool borrowed)
1178 : PythonIOFile(file, borrowed),
1235 TextPythonFile(int fd, const PythonFile &file, bool borrowed)
1236 : PythonIOFile(file, borrowed),
1291 llvm::Expected<FileSP> PythonFile::ConvertToFile(bool borrowed) {
1299 return ConvertToFileForcingUseOfScriptingIOMethods(borrowed);
1317 if (borrowed) {
1323 std::make_shared<SimplePythonFile>(*this, borrowed, fd, options.get()));
1333 PythonFile::ConvertToFileForcingUseOfScriptingIOMethods(bool borrowed) {
1367 std::make_shared<TextPythonFile>(fd, *this, borrowed));
1378 std::make_shared<BinaryPythonFile>(fd, *this, borrowed));