/third_party/python/Objects/ |
D | longobject.c | 50 static PyLongObject * 51 maybe_small_long(PyLongObject *v) in maybe_small_long() 57 return (PyLongObject *)get_small_int(ival); in maybe_small_long() 66 _PyLong_Negate(PyLongObject **x_p) in _PyLong_Negate() 68 PyLongObject *x; in _PyLong_Negate() 70 x = (PyLongObject *)*x_p; in _PyLong_Negate() 76 *x_p = (PyLongObject *)PyLong_FromLong(-MEDIUM_VALUE(x)); in _PyLong_Negate() 103 static PyLongObject * 104 long_normalize(PyLongObject *v) in long_normalize() 121 ((PY_SSIZE_T_MAX - offsetof(PyLongObject, ob_digit))/sizeof(digit)) [all …]
|
D | abstract.c | 1470 Py_SETREF(result, _PyLong_Copy((PyLongObject *)result)); in PyNumber_Index() 1571 Py_SETREF(result, _PyLong_Copy((PyLongObject *)result)); in PyNumber_Long() 1585 Py_SETREF(result, _PyLong_Copy((PyLongObject *)result)); in PyNumber_Long()
|
D | listobject.c | 2094 PyLongObject *vl, *wl; sdigit v0, w0; int res; in unsafe_long_compare() 2102 vl = (PyLongObject*)v; in unsafe_long_compare() 2103 wl = (PyLongObject*)w; in unsafe_long_compare()
|
/third_party/python/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`. This function always succeeds. 35 Return true if its argument is a :c:type:`PyLongObject`, but not a subtype of 36 :c:type:`PyLongObject`. This function always succeeds. 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 …]
|
/third_party/python/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); 170 PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
|
/third_party/python/Modules/cjkcodecs/clinic/ |
D | multibytecodec.c.h | 212 PyLongObject *statelong); 218 PyLongObject *statelong; in _multibytecodec_MultibyteIncrementalEncoder_setstate() 224 statelong = (PyLongObject *)arg; in _multibytecodec_MultibyteIncrementalEncoder_setstate()
|
/third_party/python/Modules/_sqlite/ |
D | util.c | 115 if (_PyLong_AsByteArray((PyLongObject *)py_val, in _pysqlite_long_as_int64()
|
/third_party/python/Include/internal/ |
D | pycore_interp.h | 290 PyLongObject* small_ints[_PY_NSMALLNEGINTS + _PY_NSMALLPOSINTS];
|
/third_party/python/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() 773 PyLongObject *ob; in r_PyLong()
|
/third_party/python/Modules/ |
D | _struct.c | 937 res = _PyLong_AsByteArray((PyLongObject *)v, in bp_longlong() 953 res = _PyLong_AsByteArray((PyLongObject *)v, in bp_ulonglong() 1152 res = _PyLong_AsByteArray((PyLongObject*)v, in lp_longlong() 1168 res = _PyLong_AsByteArray((PyLongObject*)v, in lp_ulonglong()
|
D | _randommodule.c | 321 res = _PyLong_AsByteArray((PyLongObject *)n, in random_seed()
|
D | mathmodule.c | 2291 x = _PyLong_Frexp((PyLongObject *)arg, &e); in loghelper()
|
D | _tkinter.c | 1094 if (_PyLong_AsByteArray((PyLongObject *)value, in AsObj()
|
D | _pickle.c | 2172 i = _PyLong_AsByteArray((PyLongObject *)obj, in save_long()
|
/third_party/python/Modules/cjkcodecs/ |
D | multibytecodec.c | 966 PyLongObject *statelong) in _multibytecodec_MultibyteIncrementalEncoder_setstate_impl() 1244 PyLongObject *statelong; in _multibytecodec_MultibyteIncrementalDecoder_setstate_impl()
|
/third_party/python/Doc/data/ |
D | stable_abi.dat | 335 type,PyLongObject,3.2,
|
/third_party/python/Modules/_io/ |
D | textio.c | 2362 PyLongObject *cookieLong = (PyLongObject *)PyNumber_Long(cookieObj); in textiowrapper_parse_cookie()
|
/third_party/python/Modules/_decimal/ |
D | _decimal.c | 2119 PyLongObject *l = (PyLongObject *)v; in dec_from_long() 3348 PyLongObject *pylong; in dec_as_long()
|
/third_party/python/Misc/ |
D | stable_abi.txt | 47 struct PyLongObject
|
/third_party/python/Tools/c-analyzer/ |
D | TODO | 157 Objects/longobject.c:small_ints static PyLongObject small_ints[NSM…
|