Searched refs:PyInt_Type (Results 1 – 13 of 13) sorted by relevance
/external/python/cpython2/Objects/ |
D | boolobject.c | 73 return PyInt_Type.tp_as_number->nb_and(a, b); in bool_and() 82 return PyInt_Type.tp_as_number->nb_or(a, b); in bool_or() 91 return PyInt_Type.tp_as_number->nb_xor(a, b); in bool_xor() 181 &PyInt_Type, /* tp_base */
|
D | intobject.c | 110 (void)PyObject_INIT(v, &PyInt_Type); in PyInt_FromLong() 1067 if (type != &PyInt_Type) in int_new() 1123 assert(PyType_IsSubtype(type, &PyInt_Type)); in int_subtype_new() 1124 tmp = int_new(&PyInt_Type, args, kwds); in int_subtype_new() 1410 PyTypeObject PyInt_Type = { variable 1464 (void)PyObject_INIT(v, &PyInt_Type); in _PyInt_Init()
|
D | object.c | 2149 if (PyType_Ready(&PyInt_Type) < 0) in _Py_ReadyTypes()
|
D | typeobject.c | 3893 else if (PyType_IsSubtype(base, &PyInt_Type))
|
/external/python/cpython2/Doc/c-api/ |
D | int.rst | 16 .. c:var:: PyTypeObject PyInt_Type 26 Return true if *o* is of type :c:data:`PyInt_Type` or a subtype of 27 :c:data:`PyInt_Type`. 35 Return true if *o* is of type :c:data:`PyInt_Type`, but not a subtype of 36 :c:data:`PyInt_Type`.
|
/external/python/cpython2/Include/ |
D | intobject.h | 28 PyAPI_DATA(PyTypeObject) PyInt_Type; 32 #define PyInt_CheckExact(op) (Py_TYPE(op) == &PyInt_Type)
|
/external/python/cpython2/PC/os2vacpp/ |
D | python.def | 48 PyInt_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/Modules/ |
D | _randommodule.c | 237 n = PyInt_Type.tp_as_number->nb_absolute(arg); in random_seed()
|
D | _json.c | 1385 if (s->parse_int != (PyObject *)&PyInt_Type) { in _match_number_str()
|
D | cPickle.c | 2628 if (type == &PyInt_Type) { in save()
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 367 "PyInt_Type"
|
/external/python/cpython2/Python/ |
D | bltinmodule.c | 2737 SETBUILTIN("int", &PyInt_Type); in _PyBuiltin_Init()
|