Home
last modified time | relevance | path

Searched refs:PyIntObject (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython2/Objects/
Dintobject.c8 static PyObject *int_int(PyIntObject *v);
35 #define N_INTOBJECTS ((BLOCK_SIZE - BHEAD_SIZE) / sizeof(PyIntObject))
39 PyIntObject objects[N_INTOBJECTS];
45 static PyIntObject *free_list = NULL;
47 static PyIntObject *
50 PyIntObject *p, *q; in fill_free_list()
52 p = (PyIntObject *) PyMem_MALLOC(sizeof(PyIntBlock)); in fill_free_list()
54 return (PyIntObject *) PyErr_NoMemory(); in fill_free_list()
79 static PyIntObject *small_ints[NSMALLNEGINTS + NSMALLPOSINTS];
89 register PyIntObject *v; in PyInt_FromLong()
[all …]
Dboolobject.c153 sizeof(PyIntObject),
194 PyIntObject _Py_ZeroStruct = {
199 PyIntObject _Py_TrueStruct = {
Dabstract.c1642 PyIntObject *io = (PyIntObject*)o;
1826 res = _PyInt_Format((PyIntObject*)index, base, 1);
/external/python/cpython2/Include/
Dintobject.h26 } PyIntObject; typedef
55 #define PyInt_AS_LONG(op) (((PyIntObject *)(op))->ob_ival)
73 PyAPI_FUNC(PyObject*) _PyInt_Format(PyIntObject* v, int base, int newstyle);
Dboolobject.h10 typedef PyIntObject PyBoolObject;
20 PyAPI_DATA(PyIntObject) _Py_ZeroStruct, _Py_TrueStruct;
/external/python/cpython2/Doc/c-api/
Dint.rst11 .. c:type:: PyIntObject
43 Return a new :c:type:`PyIntObject` or :c:type:`PyLongObject` based on the string
88 Will first attempt to cast the object to a :c:type:`PyIntObject`, if it is not
101 Will first attempt to cast the object to a :c:type:`PyIntObject` or
110 Will first attempt to cast the object to a :c:type:`PyIntObject` or
119 Will first attempt to cast the object to a :c:type:`PyIntObject` or
/external/python/cpython2/Modules/
Dcgensupport.c72 *p_arg = PyInt_AS_LONG((PyIntObject *)v); in extractdouble()
93 *p_arg = (float) PyInt_AS_LONG((PyIntObject *)v); in extractfloat()
DcPickle.c762 c_value = PyInt_AS_LONG((PyIntObject*)value); in get()
1019 long l = PyInt_AS_LONG((PyIntObject *)args); in save_bool()
1035 long l = PyInt_AS_LONG((PyIntObject *)args); in save_int()
2924 ik = PyInt_AS_LONG((PyIntObject*)k); in Pickle_getvalue()
2944 ik = PyInt_AS_LONG((PyIntObject *)k); in Pickle_getvalue()
2973 ik = PyInt_AS_LONG((PyIntObject *) in Pickle_getvalue()
2989 ik = PyInt_AS_LONG((PyIntObject*)k); in Pickle_getvalue()
/external/python/cpython2/Objects/stringlib/
Dformatter.h1441 return _PyInt_Format((PyIntObject*)value, base, 1); in int_format()
/external/python/cpython2/Python/
Dmarshal.c240 long x = PyInt_AS_LONG((PyIntObject *)v); in w_object()
/external/python/cpython2/Doc/data/
Drefcounts.dat542 PyInt_AS_LONG:PyIntObject*:io:0:
/external/python/cpython2/Doc/extending/
Dnewtypes.rst77 } PyIntObject;