Home
last modified time | relevance | path

Searched refs:PyLong_Type (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython2/Include/
Dlongobject.h12 PyAPI_DATA(PyTypeObject) PyLong_Type;
16 #define PyLong_CheckExact(op) (Py_TYPE(op) == &PyLong_Type)
/external/python/cpython2/Objects/
Dintobject.c475 return PyLong_Type.tp_as_number->nb_add((PyObject *)v, (PyObject *)w); in int_add()
488 return PyLong_Type.tp_as_number->nb_subtract((PyObject *)v, in int_sub()
553 return PyLong_Type.tp_as_number->nb_multiply(v, w); in int_mul()
626 return PyLong_Type.tp_as_number->nb_divide((PyObject *)x, in int_div()
647 return PyLong_Type.tp_as_number->nb_divide((PyObject *)x, in int_classic_div()
677 return PyLong_Type.tp_as_number->nb_true_divide( in int_true_divide()
697 return PyLong_Type.tp_as_number->nb_remainder((PyObject *)x, in int_mod()
715 return PyLong_Type.tp_as_number->nb_divmod((PyObject *)x, in int_divmod()
771 return PyLong_Type.tp_as_number->nb_power( in int_pow()
782 return PyLong_Type.tp_as_number->nb_power( in int_pow()
[all …]
Dlongobject.c76 return PyObject_NEW_VAR(PyLongObject, &PyLong_Type, size); in _PyLong_New()
4015 if (type != &PyLong_Type) in long_new()
4073 assert(PyType_IsSubtype(type, &PyLong_Type)); in long_subtype_new()
4074 tmp = (PyLongObject *)long_new(&PyLong_Type, args, kwds); in long_subtype_new()
4316 PyTypeObject PyLong_Type = { variable
Dfloatobject.c1722 PyNumberMethods *long_methods = PyLong_Type.tp_as_number; in float_as_integer_ratio()
Dobject.c2141 if (PyType_Ready(&PyLong_Type) < 0) in _Py_ReadyTypes()
Dtypeobject.c3832 else if (PyType_IsSubtype(base, &PyLong_Type))
5511 h = PyLong_Type.tp_hash(res);
/external/python/cpython2/PC/os2vacpp/
Dpython.def50 PyLong_Type
/external/python/cpython2/Modules/_sqlite/
Dmodule.c158 if (type == &PyInt_Type || type == &PyLong_Type || type == &PyFloat_Type in module_register_adapter()
/external/python/cpython2/Doc/c-api/
Dlong.rst16 .. c:var:: PyTypeObject PyLong_Type
/external/python/cpython2/PC/os2emx/
Dpython27.def420 "PyLong_Type"
/external/python/cpython2/Python/
Dbltinmodule.c2728 SETBUILTIN("long", &PyLong_Type); in _PyBuiltin_Init()
/external/python/cpython2/Modules/
DcPickle.c2619 if (type == &PyLong_Type) { in save()