/external/python/cpython3/Objects/ |
D | longobject.c | 49 static PyLongObject * 50 maybe_small_long(PyLongObject *v) in maybe_small_long() 56 return (PyLongObject *)get_small_int(ival); in maybe_small_long() 71 _PyLong_Negate(PyLongObject **x_p) in _PyLong_Negate() 73 PyLongObject *x; in _PyLong_Negate() 75 x = (PyLongObject *)*x_p; in _PyLong_Negate() 81 *x_p = (PyLongObject *)PyLong_FromLong(-MEDIUM_VALUE(x)); in _PyLong_Negate() 108 static PyLongObject * 109 long_normalize(PyLongObject *v) in long_normalize() 243 ((PY_SSIZE_T_MAX - offsetof(PyLongObject, ob_digit))/sizeof(digit)) [all …]
|
D | abstract.c | 1431 Py_SETREF(result, _PyLong_Copy((PyLongObject *)result)); in PyNumber_Long() 1438 Py_SETREF(result, _PyLong_Copy((PyLongObject *)result)); in PyNumber_Long() 1450 Py_SETREF(result, _PyLong_Copy((PyLongObject *)result)); in PyNumber_Long() 1466 Py_SETREF(result, _PyLong_Copy((PyLongObject *)result)); in PyNumber_Long()
|
D | listobject.c | 2075 PyLongObject *vl, *wl; sdigit v0, w0; int res; in unsafe_long_compare() 2083 vl = (PyLongObject*)v; in unsafe_long_compare() 2084 wl = (PyLongObject*)w; in unsafe_long_compare()
|
/external/python/cpython2/Objects/ |
D | longobject.c | 46 static PyLongObject * 47 long_normalize(register PyLongObject *v) in long_normalize() 63 ((PY_SSIZE_T_MAX - offsetof(PyLongObject, ob_digit))/sizeof(digit)) 65 PyLongObject * 76 return PyObject_NEW_VAR(PyLongObject, &PyLong_Type, size); in _PyLong_New() 80 _PyLong_Copy(PyLongObject *src) in _PyLong_Copy() 82 PyLongObject *result; in _PyLong_Copy() 103 PyLongObject *v; in PyLong_FromLong() 147 PyLongObject *v; in PyLong_FromUnsignedLong() 174 PyLongObject *v; in PyLong_FromDouble() [all …]
|
/external/python/cpython3/Doc/c-api/ |
D | long.rst | 16 .. c:type:: PyLongObject 29 Return true if its argument is a :c:type:`PyLongObject` or a subtype of 30 :c:type:`PyLongObject`. 35 Return true if its argument is a :c:type:`PyLongObject`, but not a subtype of 36 :c:type:`PyLongObject`. 41 Return a new :c:type:`PyLongObject` object from *v*, or ``NULL`` on failure. 50 Return a new :c:type:`PyLongObject` object from a C :c:type:`unsigned long`, or 56 Return a new :c:type:`PyLongObject` object from a C :c:type:`Py_ssize_t`, or 62 Return a new :c:type:`PyLongObject` object from a C :c:type:`size_t`, or 68 Return a new :c:type:`PyLongObject` object from a C :c:type:`long long`, or ``NULL`` [all …]
|
/external/python/cpython2/Doc/c-api/ |
D | long.rst | 11 .. c:type:: PyLongObject 26 Return true if its argument is a :c:type:`PyLongObject` or a subtype of 27 :c:type:`PyLongObject`. 35 Return true if its argument is a :c:type:`PyLongObject`, but not a subtype of 36 :c:type:`PyLongObject`. 43 Return a new :c:type:`PyLongObject` object from *v*, or *NULL* on failure. 48 Return a new :c:type:`PyLongObject` object from a C :c:type:`unsigned long`, or 54 Return a new :c:type:`PyLongObject` object from a C :c:type:`Py_ssize_t`, or 62 Return a new :c:type:`PyLongObject` object from a C :c:type:`size_t`, or 70 Return a new :c:type:`PyLongObject` object from a C :c:type:`long long`, or *NULL* [all …]
|
D | int.rst | 43 Return a new :c:type:`PyIntObject` or :c:type:`PyLongObject` based on the string 53 and overflow warnings are being suppressed, a :c:type:`PyLongObject` will be 102 :c:type:`PyLongObject`, if it is not already one, and then return its value as 111 :c:type:`PyLongObject`, if it is not already one, and then return its value as 120 :c:type:`PyLongObject`, if it is not already one, and then return its value as
|
/external/python/cpython2/Include/ |
D | longobject.h | 10 typedef struct _longobject PyLongObject; /* Revealed in longintrepr.h */ typedef 43 PyAPI_FUNC(double) _PyLong_Frexp(PyLongObject *a, Py_ssize_t *e); 115 PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
|
D | longintrepr.h | 95 PyAPI_FUNC(PyLongObject *) _PyLong_New(Py_ssize_t); 98 PyAPI_FUNC(PyObject *) _PyLong_Copy(PyLongObject *src);
|
/external/python/cpython3/Include/ |
D | longintrepr.h | 90 PyAPI_FUNC(PyLongObject *) _PyLong_New(Py_ssize_t); 93 PyAPI_FUNC(PyObject *) _PyLong_Copy(PyLongObject *src);
|
D | longobject.h | 10 typedef struct _longobject PyLongObject; /* Revealed in longintrepr.h */ typedef 89 PyAPI_FUNC(double) _PyLong_Frexp(PyLongObject *a, Py_ssize_t *e); 172 PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
|
/external/python/cpython3/Modules/cjkcodecs/clinic/ |
D | multibytecodec.c.h | 217 PyLongObject *statelong); 223 PyLongObject *statelong; in _multibytecodec_MultibyteIncrementalEncoder_setstate() 229 statelong = (PyLongObject *)arg; in _multibytecodec_MultibyteIncrementalEncoder_setstate()
|
/external/python/cpython3/Modules/_sqlite/ |
D | util.c | 121 if (_PyLong_AsByteArray((PyLongObject *)py_val, in _pysqlite_long_as_int64()
|
/external/python/cpython2/Modules/_sqlite/ |
D | util.c | 163 if (_PyLong_AsByteArray((PyLongObject *)py_val, in _pysqlite_long_as_int64()
|
/external/python/cpython3/Include/internal/ |
D | pycore_interp.h | 155 PyLongObject* small_ints[_PY_NSMALLNEGINTS + _PY_NSMALLPOSINTS];
|
/external/python/cpython2/Python/ |
D | marshal.c | 169 w_PyLong(const PyLongObject *ob, WFILE *p) in w_PyLong() 255 PyLongObject *ob = (PyLongObject *)v; in w_object() 582 PyLongObject *ob; in r_PyLong()
|
/external/python/cpython3/Modules/ |
D | mathmodule.c | 2309 x = _PyLong_Frexp((PyLongObject *)arg, &e); in loghelper() 3140 Py_SETREF(n, _PyLong_Copy((PyLongObject *)n)); in math_perm_impl() 3151 Py_SETREF(k, _PyLong_Copy((PyLongObject *)k)); in math_perm_impl() 3263 Py_SETREF(n, _PyLong_Copy((PyLongObject *)n)); in math_comb_impl() 3274 Py_SETREF(k, _PyLong_Copy((PyLongObject *)k)); in math_comb_impl()
|
D | _struct.c | 926 res = _PyLong_AsByteArray((PyLongObject *)v, in bp_longlong() 942 res = _PyLong_AsByteArray((PyLongObject *)v, in bp_ulonglong() 1141 res = _PyLong_AsByteArray((PyLongObject*)v, in lp_longlong() 1157 res = _PyLong_AsByteArray((PyLongObject*)v, in lp_ulonglong()
|
D | _randommodule.c | 319 res = _PyLong_AsByteArray((PyLongObject *)n, in random_seed()
|
/external/python/cpython2/Modules/ |
D | _struct.c | 865 res = _PyLong_AsByteArray((PyLongObject *)v, in bp_longlong() 881 res = _PyLong_AsByteArray((PyLongObject *)v, in bp_ulonglong() 1087 res = _PyLong_AsByteArray((PyLongObject*)v, in lp_longlong() 1103 res = _PyLong_AsByteArray((PyLongObject*)v, in lp_ulonglong()
|
D | mathmodule.c | 1296 x = _PyLong_Frexp((PyLongObject *)arg, &e); in loghelper()
|
/external/python/cpython3/Python/ |
D | marshal.c | 227 w_PyLong(const PyLongObject *ob, char flag, WFILE *p) in w_PyLong() 381 w_PyLong((PyLongObject *)v, flag, p); in w_complex_object() 388 w_PyLong((PyLongObject*)v, flag, p); in w_complex_object() 769 PyLongObject *ob; in r_PyLong()
|
/external/python/cpython3/Modules/cjkcodecs/ |
D | multibytecodec.c | 944 PyLongObject *statelong) in _multibytecodec_MultibyteIncrementalEncoder_setstate_impl() 1247 PyLongObject *statelong; in _multibytecodec_MultibyteIncrementalDecoder_setstate_impl()
|
/external/python/cpython2/Modules/_io/ |
D | textio.c | 1932 PyLongObject *cookieLong = (PyLongObject *)PyNumber_Long(cookieObj); in textiowrapper_parse_cookie()
|
/external/python/cpython3/Modules/_io/ |
D | textio.c | 2352 PyLongObject *cookieLong = (PyLongObject *)PyNumber_Long(cookieObj); in textiowrapper_parse_cookie()
|