Searched refs:PyLong_Type (Results 1 – 12 of 12) sorted by relevance
/external/python/cpython2/Include/ |
D | longobject.h | 12 PyAPI_DATA(PyTypeObject) PyLong_Type; 16 #define PyLong_CheckExact(op) (Py_TYPE(op) == &PyLong_Type)
|
/external/python/cpython2/Objects/ |
D | intobject.c | 475 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 …]
|
D | longobject.c | 76 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
|
D | floatobject.c | 1722 PyNumberMethods *long_methods = PyLong_Type.tp_as_number; in float_as_integer_ratio()
|
D | object.c | 2141 if (PyType_Ready(&PyLong_Type) < 0) in _Py_ReadyTypes()
|
D | typeobject.c | 3832 else if (PyType_IsSubtype(base, &PyLong_Type)) 5511 h = PyLong_Type.tp_hash(res);
|
/external/python/cpython2/PC/os2vacpp/ |
D | python.def | 50 PyLong_Type
|
/external/python/cpython2/Modules/_sqlite/ |
D | module.c | 158 if (type == &PyInt_Type || type == &PyLong_Type || type == &PyFloat_Type in module_register_adapter()
|
/external/python/cpython2/Doc/c-api/ |
D | long.rst | 16 .. c:var:: PyTypeObject PyLong_Type
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 420 "PyLong_Type"
|
/external/python/cpython2/Python/ |
D | bltinmodule.c | 2728 SETBUILTIN("long", &PyLong_Type); in _PyBuiltin_Init()
|
/external/python/cpython2/Modules/ |
D | cPickle.c | 2619 if (type == &PyLong_Type) { in save()
|