Home
last modified time | relevance | path

Searched refs:PyInt_Type (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython2/Objects/
Dboolobject.c73 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 */
Dintobject.c110 (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()
Dobject.c2149 if (PyType_Ready(&PyInt_Type) < 0) in _Py_ReadyTypes()
Dtypeobject.c3893 else if (PyType_IsSubtype(base, &PyInt_Type))
/external/python/cpython2/Include/
Dintobject.h28 PyAPI_DATA(PyTypeObject) PyInt_Type;
32 #define PyInt_CheckExact(op) (Py_TYPE(op) == &PyInt_Type)
/external/python/cpython2/Doc/c-api/
Dint.rst16 .. 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/PC/os2vacpp/
Dpython.def48 PyInt_Type
/external/python/cpython2/Modules/_sqlite/
Dmodule.c158 if (type == &PyInt_Type || type == &PyLong_Type || type == &PyFloat_Type in module_register_adapter()
/external/tensorflow/tensorflow/python/framework/
Dop_def_util.cc33 #define PY_INT_TYPE PyInt_Type
/external/python/cpython2/Modules/
D_randommodule.c237 n = PyInt_Type.tp_as_number->nb_absolute(arg); in random_seed()
D_json.c1385 if (s->parse_int != (PyObject *)&PyInt_Type) { in _match_number_str()
DcPickle.c2628 if (type == &PyInt_Type) { in save()
/external/python/cpython2/PC/os2emx/
Dpython27.def367 "PyInt_Type"
/external/python/cpython2/Python/
Dbltinmodule.c2737 SETBUILTIN("int", &PyInt_Type); in _PyBuiltin_Init()