/external/python/cpython3/Objects/ |
D | boolobject.c | 64 return PyLong_Type.tp_as_number->nb_and(a, b); in bool_and() 72 return PyLong_Type.tp_as_number->nb_or(a, b); in bool_or() 80 return PyLong_Type.tp_as_number->nb_xor(a, b); in bool_xor() 165 &PyLong_Type, /* tp_base */
|
D | longobject.c | 214 return (PyLongObject*)PyObject_INIT_VAR(result, &PyLong_Type, size); in _PyLong_New() 4800 if (type != &PyLong_Type) in long_new_impl() 4850 assert(PyType_IsSubtype(type, &PyLong_Type)); in long_subtype_new() 4851 tmp = (PyLongObject *)long_new_impl(&PyLong_Type, x, obase); in long_subtype_new() 5273 if (long_obj != NULL && type != &PyLong_Type) { in int_from_bytes_impl() 5379 PyTypeObject PyLong_Type = { variable 5471 if (Py_TYPE(v) == &PyLong_Type) { in _PyLong_Init() 5488 (void)PyObject_INIT(v, &PyLong_Type); in _PyLong_Init()
|
D | listobject.c | 2059 assert(v->ob_type == &PyLong_Type); in unsafe_long_compare() 2256 if (key_type == &PyLong_Type) { in list_sort_impl() 2273 else if (key_type == &PyLong_Type && ints_are_bounded) { in list_sort_impl()
|
D | bytesobject.c | 1594 (PyObject*)&PyLong_Type); in bytes_richcompare() 1597 (PyObject*)&PyLong_Type); in bytes_richcompare()
|
D | floatobject.c | 1546 PyNumberMethods *long_methods = PyLong_Type.tp_as_number; in float_as_integer_ratio_impl()
|
D | object.c | 1753 if (PyType_Ready(&PyLong_Type) < 0) in _Py_ReadyTypes()
|
/external/python/cpython3/Modules/clinic/ |
D | _hashopenssl.c.h | 37 …&password, &salt, &PyLong_Type, &n_obj, &PyLong_Type, &r_obj, &PyLong_Type, &p_obj, &maxmem, &dkle… in _hashlib_scrypt()
|
/external/python/cpython2/Objects/ |
D | intobject.c | 478 return PyLong_Type.tp_as_number->nb_add((PyObject *)v, (PyObject *)w); in int_add() 491 return PyLong_Type.tp_as_number->nb_subtract((PyObject *)v, in int_sub() 556 return PyLong_Type.tp_as_number->nb_multiply(v, w); in int_mul() 629 return PyLong_Type.tp_as_number->nb_divide((PyObject *)x, in int_div() 650 return PyLong_Type.tp_as_number->nb_divide((PyObject *)x, in int_classic_div() 680 return PyLong_Type.tp_as_number->nb_true_divide( in int_true_divide() 700 return PyLong_Type.tp_as_number->nb_remainder((PyObject *)x, in int_mod() 718 return PyLong_Type.tp_as_number->nb_divmod((PyObject *)x, in int_divmod() 774 return PyLong_Type.tp_as_number->nb_power( in int_pow() 785 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 | bytesobject.c | 1589 (PyObject*)&PyLong_Type); in bytes_richcompare() 1592 (PyObject*)&PyLong_Type); in bytes_richcompare()
|
D | floatobject.c | 1721 PyNumberMethods *long_methods = PyLong_Type.tp_as_number; in float_as_integer_ratio()
|
/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/cpython3/Include/ |
D | longobject.h | 12 PyAPI_DATA(PyTypeObject) PyLong_Type; 16 #define PyLong_CheckExact(op) (Py_TYPE(op) == &PyLong_Type)
|
/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/cpython3/Modules/_sqlite/ |
D | module.c | 172 if (type == &PyLong_Type || type == &PyFloat_Type in module_register_adapter()
|
/external/python/cpython3/Modules/ |
D | _randommodule.c | 265 n = PyLong_Type.tp_as_number->nb_absolute(arg); in random_seed()
|
D | _json.c | 1015 else if (!is_float && s->parse_int != (PyObject *) &PyLong_Type) in _match_number_unicode() 1479 PyObject *encoded = PyLong_Type.tp_str(obj); in encoder_listencode_obj() 1643 kstr = PyLong_Type.tp_str(key); in encoder_listencode_dict()
|
/external/python/cpython2/Modules/ |
D | _randommodule.c | 240 n = PyLong_Type.tp_as_number->nb_absolute(arg); in random_seed()
|
/external/python/cpython2/Doc/c-api/ |
D | long.rst | 16 .. c:var:: PyTypeObject PyLong_Type
|
/external/python/cpython3/PC/ |
D | python3.def | 338 PyLong_Type=python37.PyLong_Type DATA
|
/external/python/cpython3/Lib/test/ |
D | clinic.test | 118 a: object(subclass_of="&PyLong_Type") 163 …&PyLong_Type, &a, &PyTuple_Type, &b, &PyList_Type, &c, &PySet_Type, &d, &PyFrozenSet_Type, &e, &Py…
|
/external/python/cpython3/Doc/c-api/ |
D | long.rst | 21 .. c:var:: PyTypeObject PyLong_Type
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 420 "PyLong_Type"
|
/external/python/cpython3/Modules/_decimal/ |
D | _decimal.c | 5548 _py_long_multiply = PyLong_Type.tp_as_number->nb_multiply; in PyInit__decimal() 5549 _py_long_floor_divide = PyLong_Type.tp_as_number->nb_floor_divide; in PyInit__decimal() 5550 _py_long_power = PyLong_Type.tp_as_number->nb_power; in PyInit__decimal() 5554 ASSIGN_PTR(_py_long_bit_length, cfunc_noargs(&PyLong_Type, "bit_length")); in PyInit__decimal()
|