Lines Matching refs:As
38 template <> Expected<bool> python::As<bool>(Expected<PythonObject> &&obj) { in As() function in python
45 Expected<long long> python::As<long long>(Expected<PythonObject> &&obj) { in As() function in python
53 python::As<unsigned long long>(Expected<PythonObject> &&obj) { in As() function in python
60 Expected<std::string> python::As<std::string>(Expected<PythonObject> &&obj) { in As() function in python
850 cantFail(As<long long>(pyarginfo.get().GetAttribute("count"))); in GetArgInfo()
852 cantFail(As<bool>(pyarginfo.get().GetAttribute("has_varargs"))); in GetArgInfo()
1033 Expected<std::string> backtrace = As<std::string>( in ReadBacktrace()
1051 auto readable = As<bool>(obj.CallMethod("readable")); in GetOptionsForPyObject()
1054 auto writable = As<bool>(obj.CallMethod("writable")); in GetOptionsForPyObject()
1089 auto closed = As<bool>(m_py_obj.GetAttribute("closed")); in IsPythonSideValid()
1246 auto bytes_written = As<long long>(m_py_obj.CallMethod("write", pybuffer)); in Write()
1300 As<long long>(m_py_obj.CallMethod("write", pystring.get())); in Write()
1318 auto pystring = As<PythonString>( in Read()
1477 auto f = As<PythonCallable>(globals.GetItem("main")); in Init()