Home
last modified time | relevance | path

Searched refs:_PyAccu (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Include/
Daccu.h24 } _PyAccu; typedef
26 PyAPI_FUNC(int) _PyAccu_Init(_PyAccu *acc);
27 PyAPI_FUNC(int) _PyAccu_Accumulate(_PyAccu *acc, PyObject *unicode);
28 PyAPI_FUNC(PyObject *) _PyAccu_FinishAsList(_PyAccu *acc);
29 PyAPI_FUNC(PyObject *) _PyAccu_Finish(_PyAccu *acc);
30 PyAPI_FUNC(void) _PyAccu_Destroy(_PyAccu *acc);
/external/python/cpython3/Objects/
Daccu.c18 _PyAccu_Init(_PyAccu *acc) in _PyAccu_Init()
29 flush_accumulator(_PyAccu *acc) in flush_accumulator()
55 _PyAccu_Accumulate(_PyAccu *acc, PyObject *unicode) in _PyAccu_Accumulate()
76 _PyAccu_FinishAsList(_PyAccu *acc) in _PyAccu_FinishAsList()
93 _PyAccu_Finish(_PyAccu *acc) in _PyAccu_Finish()
111 _PyAccu_Destroy(_PyAccu *acc) in _PyAccu_Destroy()
/external/python/cpython3/Modules/
D_json.c110 encoder_listencode_list(PyEncoderObject *s, _PyAccu *acc, PyObject *seq, Py_ssize_t indent_level);
112 encoder_listencode_obj(PyEncoderObject *s, _PyAccu *acc, PyObject *obj, Py_ssize_t indent_level);
114 encoder_listencode_dict(PyEncoderObject *s, _PyAccu *acc, PyObject *dct, Py_ssize_t indent_level);
1352 _PyAccu acc; in encoder_call()
1449 _steal_accumulate(_PyAccu *acc, PyObject *stolen) in _steal_accumulate()
1458 encoder_listencode_obj(PyEncoderObject *s, _PyAccu *acc, in encoder_listencode_obj()
1554 encoder_listencode_dict(PyEncoderObject *s, _PyAccu *acc, in encoder_listencode_dict()
1711 encoder_listencode_list(PyEncoderObject *s, _PyAccu *acc, in encoder_listencode_list()
/external/python/cpython3/Modules/_io/
Dstringio.c34 _PyAccu accu;