Searched refs:PyFloatObject (Results 1 – 15 of 15) sorted by relevance
/external/python/cpython3/Doc/c-api/ |
D | float.rst | 11 .. c:type:: PyFloatObject 24 Return true if its argument is a :c:type:`PyFloatObject` or a subtype of 25 :c:type:`PyFloatObject`. 30 Return true if its argument is a :c:type:`PyFloatObject`, but not a subtype of 31 :c:type:`PyFloatObject`. 36 Create a :c:type:`PyFloatObject` object based on the string value in *str*, or 42 Create a :c:type:`PyFloatObject` object from *v*, or ``NULL`` on failure.
|
/external/python/cpython2/Doc/c-api/ |
D | float.rst | 11 .. c:type:: PyFloatObject 26 Return true if its argument is a :c:type:`PyFloatObject` or a subtype of 27 :c:type:`PyFloatObject`. 35 Return true if its argument is a :c:type:`PyFloatObject`, but not a subtype of 36 :c:type:`PyFloatObject`. 43 Create a :c:type:`PyFloatObject` object based on the string value in *str*, or 50 Create a :c:type:`PyFloatObject` object from *v*, or *NULL* on failure. 99 .. c:function:: void PyFloat_AsString(char *buf, PyFloatObject *v) 111 .. c:function:: void PyFloat_AsReprString(char *buf, PyFloatObject *v)
|
/external/python/cpython2/Include/ |
D | floatobject.h | 17 } PyFloatObject; typedef 56 #define PyFloat_AS_DOUBLE(op) (((PyFloatObject *)(op))->ob_fval) 62 PyAPI_FUNC(void) PyFloat_AsReprString(char*, PyFloatObject *v); 69 PyAPI_FUNC(void) PyFloat_AsString(char*, PyFloatObject *v);
|
/external/python/cpython2/Objects/ |
D | floatobject.c | 25 #define N_FLOATOBJECTS ((BLOCK_SIZE - BHEAD_SIZE) / sizeof(PyFloatObject)) 29 PyFloatObject objects[N_FLOATOBJECTS]; 35 static PyFloatObject *free_list = NULL; 37 static PyFloatObject * 40 PyFloatObject *p, *q; in fill_free_list() 42 p = (PyFloatObject *) PyMem_MALLOC(sizeof(PyFloatBlock)); in fill_free_list() 44 return (PyFloatObject *) PyErr_NoMemory(); in fill_free_list() 143 register PyFloatObject *op; in PyFloat_FromDouble() 150 free_list = (PyFloatObject *)Py_TYPE(op); in PyFloat_FromDouble() 248 float_dealloc(PyFloatObject *op) in float_dealloc() [all …]
|
D | abstract.c | 1809 PyFloatObject *po = (PyFloatObject *)o;
|
/external/python/cpython3/Objects/ |
D | floatobject.c | 28 static PyFloatObject *free_list = NULL; 118 PyFloatObject *op = free_list; in PyFloat_FromDouble() 120 free_list = (PyFloatObject *) Py_TYPE(op); in PyFloat_FromDouble() 123 op = (PyFloatObject*) PyObject_MALLOC(sizeof(PyFloatObject)); in PyFloat_FromDouble() 217 float_dealloc(PyFloatObject *op) in float_dealloc() 326 float_repr(PyFloatObject *v) in float_repr() 537 float_hash(PyFloatObject *v) in float_hash() 810 float_neg(PyFloatObject *v) in float_neg() 816 float_abs(PyFloatObject *v) in float_abs() 822 float_bool(PyFloatObject *v) in float_bool() [all …]
|
/external/python/cpython3/Include/ |
D | floatobject.h | 18 } PyFloatObject; typedef 51 #define PyFloat_AS_DOUBLE(op) (((PyFloatObject *)(op))->ob_fval)
|
/external/python/cpython2/Modules/ |
D | cgensupport.c | 68 *p_arg = PyFloat_AS_DOUBLE((PyFloatObject *)v); in extractdouble() 89 *p_arg = (float) PyFloat_AS_DOUBLE((PyFloatObject *)v); in extractfloat()
|
D | mathmodule.c | 1094 double dx = PyFloat_AS_DOUBLE((PyFloatObject *)arg); in math_factorial()
|
D | cPickle.c | 1200 double x = PyFloat_AS_DOUBLE((PyFloatObject *)args); in save_float()
|
/external/python/cpython3/Modules/ |
D | mathmodule.c | 2065 double dx = PyFloat_AS_DOUBLE((PyFloatObject *)arg); in math_factorial()
|
D | _pickle.c | 2244 double x = PyFloat_AS_DOUBLE((PyFloatObject *)obj); in save_float()
|
/external/python/cpython3/Doc/extending/ |
D | newtypes_tutorial.rst | 85 } PyFloatObject;
|
/external/python/cpython3/Tools/c-analyzer/ |
D | TODO | 96 Objects/floatobject.c:free_list static PyFloatObject *free_list
|
D | known.tsv | 291 Objects/floatobject.c - free_list variable static PyFloatObject *free_list
|