Lines Matching refs:PythonFile
83 if (PythonFile::Check(m_py_obj)) in GetObjectType()
933 PythonFile::PythonFile() : PythonObject() {} in PythonFile() function in PythonFile
935 PythonFile::PythonFile(File &file, const char *mode) { Reset(file, mode); } in PythonFile() function in PythonFile
937 PythonFile::PythonFile(const char *path, const char *mode) { in PythonFile() function in PythonFile
943 PythonFile::PythonFile(PyRefType type, PyObject *o) { Reset(type, o); } in PythonFile() function in PythonFile
945 PythonFile::~PythonFile() {} in ~PythonFile()
947 bool PythonFile::Check(PyObject *py_obj) { in Check()
974 void PythonFile::Reset(PyRefType type, PyObject *py_obj) { in Reset()
979 if (!PythonFile::Check(py_obj)) { in Reset()
989 void PythonFile::Reset(File &file, const char *mode) { in Reset()
1007 uint32_t PythonFile::GetOptionsFromMode(llvm::StringRef mode) { in GetOptionsFromMode()
1024 bool PythonFile::GetUnderlyingFile(File &file) const { in GetUnderlyingFile()
1033 file.SetOptions(PythonFile::GetOptionsFromMode(py_mode.GetString())); in GetUnderlyingFile()