/third_party/python/Objects/ |
D | boolobject.c | 88 return PyLong_Type.tp_as_number->nb_and(a, b); in bool_and() 96 return PyLong_Type.tp_as_number->nb_or(a, b); in bool_or() 104 return PyLong_Type.tp_as_number->nb_xor(a, b); in bool_xor() 189 &PyLong_Type, /* tp_base */
|
D | listobject.c | 2097 assert(Py_IS_TYPE(v, &PyLong_Type)); in unsafe_long_compare() 2098 assert(Py_IS_TYPE(w, &PyLong_Type)); in unsafe_long_compare() 2307 if (key_type == &PyLong_Type && in list_sort_impl() 2328 else if (key_type == &PyLong_Type && ints_are_bounded) { in list_sort_impl()
|
D | longobject.c | 143 _PyObject_InitVar((PyVarObject*)result, &PyLong_Type, size); in _PyLong_New() 4963 if (type != &PyLong_Type) in long_new_impl() 5014 assert(PyType_IsSubtype(type, &PyLong_Type)); in long_subtype_new() 5015 tmp = (PyLongObject *)long_new_impl(&PyLong_Type, x, obase); in long_subtype_new() 5542 if (long_obj != NULL && type != &PyLong_Type) { in int_from_bytes_impl() 5649 PyTypeObject PyLong_Type = { variable
|
D | floatobject.c | 1545 PyNumberMethods *long_methods = PyLong_Type.tp_as_number; in float_as_integer_ratio_impl()
|
D | object.c | 1837 INIT_TYPE(PyLong_Type); in _PyTypes_Init()
|
D | typeobject.c | 5716 else if (PyType_IsSubtype(base, &PyLong_Type)) { in inherit_special() 7463 h = PyLong_Type.tp_hash(res); in slot_tp_hash()
|
/third_party/python/Include/ |
D | longobject.h | 12 PyAPI_DATA(PyTypeObject) PyLong_Type; 16 #define PyLong_CheckExact(op) Py_IS_TYPE(op, &PyLong_Type)
|
/third_party/python/Modules/_sqlite/ |
D | module.c | 167 if (type == &PyLong_Type || type == &PyFloat_Type in pysqlite_register_adapter_impl()
|
/third_party/python/Modules/ |
D | _testcapimodule.c | 1097 newfunc tp_new = PyType_GetSlot(&PyLong_Type, Py_tp_new); in test_get_statictype_slots() 1098 if (PyLong_Type.tp_new != tp_new) { in test_get_statictype_slots() 1103 reprfunc tp_repr = PyType_GetSlot(&PyLong_Type, Py_tp_repr); in test_get_statictype_slots() 1104 if (PyLong_Type.tp_repr != tp_repr) { in test_get_statictype_slots() 1109 ternaryfunc tp_call = PyType_GetSlot(&PyLong_Type, Py_tp_call); in test_get_statictype_slots() 1115 binaryfunc nb_add = PyType_GetSlot(&PyLong_Type, Py_nb_add); in test_get_statictype_slots() 1116 if (PyLong_Type.tp_as_number->nb_add != nb_add) { in test_get_statictype_slots() 1121 lenfunc mp_length = PyType_GetSlot(&PyLong_Type, Py_mp_length); in test_get_statictype_slots() 1127 void *over_value = PyType_GetSlot(&PyLong_Type, Py_bf_releasebuffer + 1); in test_get_statictype_slots() 1133 tp_new = PyType_GetSlot(&PyLong_Type, 0); in test_get_statictype_slots()
|
D | _json.c | 987 else if (!is_float && s->parse_int != (PyObject *) &PyLong_Type) in _match_number_unicode() 1420 PyObject *encoded = PyLong_Type.tp_repr(obj); in encoder_listencode_obj() 1583 kstr = PyLong_Type.tp_repr(key); in encoder_listencode_dict()
|
D | socketmodule.c | 4659 &PyLong_Type, &opobj, &iv, 4660 &PyLong_Type, &assoclenobj, &flags)) {
|
D | _pickle.c | 4292 else if (type == &PyLong_Type) { in save()
|
/third_party/python/Doc/c-api/ |
D | long.rst | 21 .. c:var:: PyTypeObject PyLong_Type
|
/third_party/python/Doc/data/ |
D | stable_abi.dat | 359 var,PyLong_Type,3.2,
|
/third_party/python/PC/ |
D | python3dll.c | 830 EXPORT_DATA(PyLong_Type)
|
/third_party/python/Modules/_decimal/ |
D | _decimal.c | 5692 _py_long_multiply = PyLong_Type.tp_as_number->nb_multiply; in PyInit__decimal() 5693 _py_long_floor_divide = PyLong_Type.tp_as_number->nb_floor_divide; in PyInit__decimal() 5694 _py_long_power = PyLong_Type.tp_as_number->nb_power; in PyInit__decimal() 5698 ASSIGN_PTR(_py_long_bit_length, cfunc_noargs(&PyLong_Type, "bit_length")); in PyInit__decimal()
|
/third_party/python/Python/ |
D | pystate.c | 1915 if (_register_xidata(xidregistry, &PyLong_Type, _long_shared) != 0) { in _register_builtins_for_crossinterpreter_data()
|
D | bltinmodule.c | 3025 SETBUILTIN("int", &PyLong_Type); in _PyBuiltin_Init()
|
/third_party/python/Modules/cjkcodecs/ |
D | multibytecodec.c | 1250 &buffer, &PyLong_Type, &statelong)) in _multibytecodec_MultibyteIncrementalDecoder_setstate_impl()
|
/third_party/python/Misc/ |
D | stable_abi.txt | 870 data PyLong_Type
|
/third_party/python/Tools/c-analyzer/ |
D | TODO | 860 Objects/longobject.c:PyLong_Type PyTypeObject PyLong_Type
|
/third_party/python/Lib/test/ |
D | clinic.test | 135 a: object(subclass_of="&PyLong_Type")
|
/third_party/python/Tools/c-analyzer/cpython/ |
D | ignored.tsv | 1641 Objects/longobject.c - PyLong_Type -
|