Searched refs:PythonInteger (Results 1 – 3 of 3) sorted by relevance
77 PythonInteger i(PyRefType::Borrowed, m_py_obj); in AsLongLong()93 PythonInteger i(PyRefType::Borrowed, m_py_obj); in AsUnsignedLongLong()110 PythonInteger i(PyRefType::Borrowed, m_py_obj); in AsModuloUnsignedLongLong()169 if (PythonInteger::Check(m_py_obj)) in GetObjectType()268 return PythonInteger(PyRefType::Borrowed, m_py_obj) in CreateStructuredObject()484 PythonInteger::PythonInteger(int64_t value) { SetInteger(value); } in PythonInteger() function in PythonInteger486 bool PythonInteger::Check(PyObject *py_obj) { in Check()499 void PythonInteger::Convert(PyRefType &type, PyObject *&py_obj) { in Convert()527 void PythonInteger::SetInteger(int64_t value) { in SetInteger()528 *this = Take<PythonInteger>(PyLong_FromLongLong(value)); in SetInteger()[all …]
71 class PythonInteger; variable485 class PythonInteger : public TypedPythonObject<PythonInteger> {489 PythonInteger() : TypedPythonObject() {} // MSVC requires this for some reason491 explicit PythonInteger(int64_t value);
728 ret_val = unwrapOrSetPythonException(As<long long>(pfunc.Call(PythonInteger(max))));758 PythonObject result = pfunc(PythonInteger(idx));