/external/python/cpython3/Objects/ |
D | accu.c | 47 ret = PyList_Append(acc->large, joined); in flush_accumulator() 60 if (PyList_Append(acc->small, unicode)) in _PyAccu_Accumulate()
|
D | namespaceobject.c | 110 loop_error = PyList_Append(pairs, item); in namespace_repr()
|
/external/python/cpython2/Modules/ |
D | _json.c | 486 if (PyList_Append(chunks, chunk)) { in scanstring_str() 585 if (PyList_Append(chunks, chunk)) { in scanstring_str() 654 if (PyList_Append(chunks, chunk)) { in scanstring_unicode() 752 if (PyList_Append(chunks, chunk)) { in scanstring_unicode() 943 if (PyList_Append(pairs, item) == -1) { in _parse_object_str() 1069 if (PyList_Append(pairs, item) == -1) { in _parse_object_unicode() 1164 if (PyList_Append(rval, val) == -1) in _parse_array_str() 1231 if (PyList_Append(rval, val) == -1) in _parse_array_unicode() 1959 int rval = PyList_Append(lst, stolen); in _steal_list_append() 2082 return PyList_Append(rval, empty_dict); in encoder_listencode_dict() [all …]
|
D | grpmodule.c | 51 if (x == NULL || PyList_Append(w, x) != 0) { in mkgrent() 146 if (v == NULL || PyList_Append(d, v) != 0) { in grp_getgrall()
|
D | _heapqmodule.c | 133 if (PyList_Append(heap, item) == -1) in heappush() 321 if (PyList_Append(heap, elem) == -1) { in nlargest() 490 if (PyList_Append(heap, elem) == -1) { in nsmallest()
|
D | gcmodule.c | 311 if (PyList_Append(py_list, op)) { in append_objects() 789 if (PyList_Append(garbage, op) < 0) in handle_finalizers() 812 PyList_Append(garbage, op); in delete_garbage() 1236 if (PyList_Append(resultlist, obj) < 0) in gc_referrers_for() 1267 return PyList_Append(list, obj) < 0; in referentsvisit()
|
D | spwdmodule.c | 145 if (v == NULL || PyList_Append(d, v) != 0) { in spwd_getspall()
|
D | pwdmodule.c | 168 if (v == NULL || PyList_Append(d, v) != 0) {
|
D | stropmodule.c | 54 err = PyList_Append(list, item); in split_whitespace() 69 err = PyList_Append(list, item); in split_whitespace() 128 err = PyList_Append(list, item); in strop_splitfields() 143 err = PyList_Append(list, item); in strop_splitfields()
|
D | fmmodule.c | 207 err = PyList_Append(fontlist, v); in clientproc()
|
/external/python/cpython3/Objects/stringlib/ |
D | split.h | 25 if (PyList_Append(list, sub)) { \ 40 if (PyList_Append(list, sub)) { \ 376 if (PyList_Append(list, str_obj)) in STRINGLIB()
|
/external/python/cpython2/Objects/stringlib/ |
D | split.h | 28 if (PyList_Append(list, sub)) { \ 43 if (PyList_Append(list, sub)) { \ 379 if (PyList_Append(list, str_obj)) in stringlib_splitlines()
|
/external/python/cpython2/Python/ |
D | peephole.c | 63 if (PyList_Append(consts, newconst)) { in tuple_of_constants() 176 if (PyList_Append(consts, newconst)) { in fold_binops_on_constants() 229 if (PyList_Append(consts, newconst)) { in fold_unaryops_on_constants() 405 if (PyList_Append(consts, Py_None) == -1) in PyCode_Optimize()
|
D | pyarena.c | 208 int r = PyList_Append(arena->a_objects, obj); in PyArena_AddPyObject()
|
/external/python/cpython3/Include/ |
D | listobject.h | 34 PyAPI_FUNC(int) PyList_Append(PyObject *, PyObject *);
|
/external/python/cpython3/Modules/ |
D | grpmodule.c | 71 if (x == NULL || PyList_Append(w, x) != 0) { in mkgrent() 295 if (v == NULL || PyList_Append(d, v) != 0) { in grp_getgrall_impl()
|
D | _sre.c | 802 status = PyList_Append(list, item); in _sre_SRE_Pattern_findall_impl() 934 status = PyList_Append(list, item); in _sre_SRE_Pattern_split_impl() 944 status = PyList_Append(list, item); in _sre_SRE_Pattern_split_impl() 962 status = PyList_Append(list, item); in _sre_SRE_Pattern_split_impl() 1072 status = PyList_Append(list, item); in pattern_subx() 1096 status = PyList_Append(list, item); in pattern_subx() 1114 status = PyList_Append(list, item); in pattern_subx() 1261 if (PyList_Append(flag_items, item) < 0) { in pattern_repr() 1274 if (PyList_Append(flag_items, item) < 0) { in pattern_repr()
|
D | spwdmodule.c | 176 if (v == NULL || PyList_Append(d, v) != 0) { in spwd_getspall_impl()
|
D | gcmodule.c | 339 if (PyList_Append(py_list, op)) { in append_objects() 931 if (PyList_Append(gcstate->garbage, op) < 0) { in handle_legacy_finalizers() 996 if (PyList_Append(gcstate->garbage, op) < 0) { in delete_garbage() 1661 if (PyList_Append(resultlist, obj) < 0) in gc_referrers_for() 1696 return PyList_Append(list, obj) < 0; in referentsvisit() 1825 if (PyList_Append(result, dict)) { in gc_get_stats_impl()
|
/external/python/cpython2/Include/ |
D | listobject.h | 52 PyAPI_FUNC(int) PyList_Append(PyObject *, PyObject *);
|
/external/python/cpython3/Modules/_sqlite/ |
D | cursor.c | 186 if (PyList_Append(self->row_cast_map, converter) != 0) { in pysqlite_build_row_cast_map() 430 if (PyList_Append(parameters_list, second_argument) != 0) { in _pysqlite_query_execute() 805 PyList_Append(list, row); in pysqlite_cursor_fetchmany() 832 PyList_Append(list, row); in pysqlite_cursor_fetchall()
|
D | row.c | 171 if (PyList_Append(list, PyTuple_GET_ITEM(PyTuple_GET_ITEM(self->description, i), 0)) != 0) { in pysqlite_row_keys()
|
/external/python/cpython2/Modules/_sqlite/ |
D | cursor.c | 226 if (PyList_Append(self->row_cast_map, converter) != 0) { in pysqlite_build_row_cast_map() 514 if (PyList_Append(parameters_list, second_argument) != 0) { in _pysqlite_query_execute() 960 PyList_Append(list, row); in pysqlite_cursor_fetchmany() 995 PyList_Append(list, row); in pysqlite_cursor_fetchall()
|
/external/python/cpython3/Python/ |
D | pyarena.c | 205 int r = PyList_Append(arena->a_objects, obj); in PyArena_AddPyObject()
|
/external/python/cpython2/Modules/_io/ |
D | iobase.c | 640 if (PyList_Append(result, line) < 0) { in iobase_readlines() 883 r = PyList_Append(chunks, data); in rawiobase_readall()
|