Searched refs:PyIntObject (Results 1 – 12 of 12) sorted by relevance
/external/python/cpython2/Objects/ |
D | intobject.c | 8 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 …]
|
D | boolobject.c | 153 sizeof(PyIntObject), 194 PyIntObject _Py_ZeroStruct = { 199 PyIntObject _Py_TrueStruct = {
|
D | abstract.c | 1642 PyIntObject *io = (PyIntObject*)o; 1826 res = _PyInt_Format((PyIntObject*)index, base, 1);
|
/external/python/cpython2/Include/ |
D | intobject.h | 26 } PyIntObject; typedef 55 #define PyInt_AS_LONG(op) (((PyIntObject *)(op))->ob_ival) 73 PyAPI_FUNC(PyObject*) _PyInt_Format(PyIntObject* v, int base, int newstyle);
|
D | boolobject.h | 10 typedef PyIntObject PyBoolObject; 20 PyAPI_DATA(PyIntObject) _Py_ZeroStruct, _Py_TrueStruct;
|
/external/python/cpython2/Doc/c-api/ |
D | int.rst | 11 .. 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/ |
D | cgensupport.c | 72 *p_arg = PyInt_AS_LONG((PyIntObject *)v); in extractdouble() 93 *p_arg = (float) PyInt_AS_LONG((PyIntObject *)v); in extractfloat()
|
D | cPickle.c | 762 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/ |
D | formatter.h | 1441 return _PyInt_Format((PyIntObject*)value, base, 1); in int_format()
|
/external/python/cpython2/Python/ |
D | marshal.c | 240 long x = PyInt_AS_LONG((PyIntObject *)v); in w_object()
|
/external/python/cpython2/Doc/data/ |
D | refcounts.dat | 542 PyInt_AS_LONG:PyIntObject*:io:0:
|
/external/python/cpython2/Doc/extending/ |
D | newtypes.rst | 77 } PyIntObject;
|