/external/python/cpython3/Objects/ |
H A D | boolobject.c | 63 return PyLong_Type.tp_as_number->nb_and(a, b); 71 return PyLong_Type.tp_as_number->nb_or(a, b); 79 return PyLong_Type.tp_as_number->nb_xor(a, b); 164 &PyLong_Type, /* tp_base */
|
H A D | longobject.c | 202 return (PyLongObject*)PyObject_INIT_VAR(result, &PyLong_Type, size); 4802 if (type != &PyLong_Type) 4855 assert(PyType_IsSubtype(type, &PyLong_Type)); 4856 tmp = (PyLongObject *)long_new(&PyLong_Type, args, kwds); 5297 if (type != &PyLong_Type) { 5423 PyTypeObject PyLong_Type = { variable 5515 if (Py_TYPE(v) == &PyLong_Type) { 5532 (void)PyObject_INIT(v, &PyLong_Type);
|
H A D | bytesobject.c | 1574 (PyObject*)&PyLong_Type); 1577 (PyObject*)&PyLong_Type);
|
H A D | object.c | 1568 if (PyType_Ready(&PyLong_Type) < 0)
|
H A D | floatobject.c | 1484 PyNumberMethods *long_methods = PyLong_Type.tp_as_number;
|
H A D | typeobject.c | 4684 else if (PyType_IsSubtype(base, &PyLong_Type)) 6148 h = PyLong_Type.tp_hash(res);
|
/external/python/cpython3/Modules/clinic/ |
H A D | _hashopenssl.c.h | 37 &password, &salt, &PyLong_Type, &n_obj, &PyLong_Type, &r_obj, &PyLong_Type, &p_obj, &maxmem, &dklen)) {
|
/external/python/cpython2/Include/ |
H A D | longobject.h | 12 PyAPI_DATA(PyTypeObject) PyLong_Type; 16 #define PyLong_CheckExact(op) (Py_TYPE(op) == &PyLong_Type)
|
/external/python/cpython3/Include/ |
H A D | longobject.h | 12 PyAPI_DATA(PyTypeObject) PyLong_Type; 16 #define PyLong_CheckExact(op) (Py_TYPE(op) == &PyLong_Type)
|
/external/python/cpython2/Objects/ |
H A D | intobject.c | 475 return PyLong_Type.tp_as_number->nb_add((PyObject *)v, (PyObject *)w); 488 return PyLong_Type.tp_as_number->nb_subtract((PyObject *)v, 553 return PyLong_Type.tp_as_number->nb_multiply(v, w); 626 return PyLong_Type.tp_as_number->nb_divide((PyObject *)x, 647 return PyLong_Type.tp_as_number->nb_divide((PyObject *)x, 677 return PyLong_Type.tp_as_number->nb_true_divide( 697 return PyLong_Type.tp_as_number->nb_remainder((PyObject *)x, 715 return PyLong_Type.tp_as_number->nb_divmod((PyObject *)x, 771 return PyLong_Type.tp_as_number->nb_power( 782 return PyLong_Type [all...] |
H A D | longobject.c | 76 return PyObject_NEW_VAR(PyLongObject, &PyLong_Type, size); 4015 if (type != &PyLong_Type) 4073 assert(PyType_IsSubtype(type, &PyLong_Type)); 4074 tmp = (PyLongObject *)long_new(&PyLong_Type, args, kwds); 4316 PyTypeObject PyLong_Type = { variable
|
H A D | floatobject.c | 1722 PyNumberMethods *long_methods = PyLong_Type.tp_as_number;
|
H A D | object.c | 2141 if (PyType_Ready(&PyLong_Type) < 0)
|
H A D | typeobject.c | 3832 else if (PyType_IsSubtype(base, &PyLong_Type)) 5511 h = PyLong_Type.tp_hash(res);
|
/external/python/cpython2/Modules/_sqlite/ |
H A D | module.c | 158 if (type == &PyInt_Type || type == &PyLong_Type || type == &PyFloat_Type
|
/external/python/cpython3/Modules/_sqlite/ |
H A D | module.c | 165 if (type == &PyLong_Type || type == &PyFloat_Type
|
/external/python/cpython3/Modules/ |
H A D | _json.c | 1016 else if (!is_float && s->parse_int != (PyObject *) &PyLong_Type) 1514 PyObject *encoded = PyLong_Type.tp_str(obj); 1682 kstr = PyLong_Type.tp_str(key);
|
H A D | socketmodule.c | 4220 &PyLong_Type, &opobj, &iv, 4221 &PyLong_Type, &assoclenobj, &flags)) {
|
H A D | _pickle.c | 3808 else if (type == &PyLong_Type) {
|
/external/python/cpython3/Modules/_decimal/ |
H A D | _decimal.c | 5676 _py_long_multiply = PyLong_Type.tp_as_number->nb_multiply; 5677 _py_long_floor_divide = PyLong_Type.tp_as_number->nb_floor_divide; 5678 _py_long_power = PyLong_Type.tp_as_number->nb_power; 5682 ASSIGN_PTR(_py_long_bit_length, cfunc_noargs(&PyLong_Type, "bit_length"));
|
/external/python/cpython3/Python/ |
H A D | bltinmodule.c | 2727 SETBUILTIN("int", &PyLong_Type);
|
/external/python/cpython2/Python/ |
H A D | bltinmodule.c | 2728 SETBUILTIN("long", &PyLong_Type);
|
/external/python/cpython2/Modules/ |
H A D | cPickle.c | 2619 if (type == &PyLong_Type) {
|