/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 | 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 | pwdmodule.c | 168 if (v == NULL || PyList_Append(d, v) != 0) {
|
D | fmmodule.c | 207 err = PyList_Append(fontlist, v); in clientproc()
|
/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()
|
/external/python/cpython3/Modules/ |
D | grpmodule.c | 56 if (x == NULL || PyList_Append(w, x) != 0) { in mkgrent() 189 if (v == NULL || PyList_Append(d, v) != 0) { in grp_getgrall_impl()
|
D | gcmodule.c | 222 if (PyList_Append(py_list, op)) { in append_objects() 666 if (PyList_Append(_PyRuntime.gc.garbage, op) < 0) in handle_legacy_finalizers() 756 PyList_Append(_PyRuntime.gc.garbage, op); in delete_garbage() 1254 if (PyList_Append(resultlist, obj) < 0) in gc_referrers_for() 1285 return PyList_Append(list, obj) < 0; in referentsvisit() 1377 if (PyList_Append(result, dict)) { in gc_get_stats_impl()
|
D | _sre.c | 809 status = PyList_Append(list, item); in _sre_SRE_Pattern_findall_impl() 941 status = PyList_Append(list, item); in _sre_SRE_Pattern_split_impl() 951 status = PyList_Append(list, item); in _sre_SRE_Pattern_split_impl() 969 status = PyList_Append(list, item); in _sre_SRE_Pattern_split_impl() 1080 status = PyList_Append(list, item); in pattern_subx() 1104 status = PyList_Append(list, item); in pattern_subx() 1122 status = PyList_Append(list, item); in pattern_subx() 1269 if (PyList_Append(flag_items, item) < 0) { in pattern_repr() 1282 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 | pwdmodule.c | 195 if (v == NULL || PyList_Append(d, v) != 0) { in pwd_getpwall_impl()
|
/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/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/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/cpython2/Include/ |
D | listobject.h | 52 PyAPI_FUNC(int) PyList_Append(PyObject *, PyObject *);
|
/external/protobuf/python/google/protobuf/pyext/ |
D | repeated_composite_container.cc | 118 if (PyList_Append(self->child_messages, py_cmsg.get()) < 0) { in UpdateChildMessages() 155 if (PyList_Append(self->child_messages, py_cmsg) < 0) { in AddToAttached() 173 if (PyList_Append(self->child_messages, py_cmsg) < 0) { in AddToReleased()
|
/external/python/cpython3/Modules/_sqlite/ |
D | cursor.c | 188 if (PyList_Append(self->row_cast_map, converter) != 0) { in pysqlite_build_row_cast_map() 450 if (PyList_Append(parameters_list, second_argument) != 0) { in _pysqlite_query_execute() 836 PyList_Append(list, row); in pysqlite_cursor_fetchmany() 871 PyList_Append(list, row); in pysqlite_cursor_fetchall()
|
/external/python/cpython3/Include/ |
D | listobject.h | 57 PyAPI_FUNC(int) PyList_Append(PyObject *, PyObject *);
|
/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()
|
D | connection.c | 313 if (PyList_Append(connection->cursors, weakref) != 0) { in pysqlite_connection_register_cursor() 820 if (PyList_Append(new_list, weakref) != 0) { in _pysqlite_drop_unused_statement_references() 851 if (PyList_Append(new_list, weakref) != 0) { in _pysqlite_drop_unused_cursor_references() 1242 if (PyList_Append(self->statements, weakref) != 0) { in pysqlite_connection_call()
|
/external/python/cpython3/Python/ |
D | pyarena.c | 205 int r = PyList_Append(arena->a_objects, obj); in PyArena_AddPyObject()
|