/third_party/python/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()
|
/third_party/python/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()
|
/third_party/python/Modules/ |
D | grpmodule.c | 70 if (x == NULL || PyList_Append(w, x) != 0) { in mkgrent() 278 if (v == NULL || PyList_Append(d, v) != 0) { in grp_getgrall_impl()
|
D | _sre.c | 856 status = PyList_Append(list, item); in _sre_SRE_Pattern_findall_impl() 997 status = PyList_Append(list, item); in _sre_SRE_Pattern_split_impl() 1007 status = PyList_Append(list, item); in _sre_SRE_Pattern_split_impl() 1025 status = PyList_Append(list, item); in _sre_SRE_Pattern_split_impl() 1139 status = PyList_Append(list, item); in pattern_subx() 1163 status = PyList_Append(list, item); in pattern_subx() 1181 status = PyList_Append(list, item); in pattern_subx() 1337 if (PyList_Append(flag_items, item) < 0) { in pattern_repr() 1350 if (PyList_Append(flag_items, item) < 0) { in pattern_repr()
|
D | gcmodule.c | 352 if (PyList_Append(py_list, op)) { in append_objects() 944 if (PyList_Append(gcstate->garbage, op) < 0) { in handle_legacy_finalizers() 1009 if (PyList_Append(gcstate->garbage, op) < 0) { in delete_garbage() 1676 if (PyList_Append(resultlist, obj) < 0) in gc_referrers_for() 1713 return PyList_Append(list, obj) < 0; in referentsvisit() 1848 if (PyList_Append(result, dict)) { in gc_get_stats_impl()
|
D | spwdmodule.c | 186 if (v == NULL || PyList_Append(d, v) != 0) { in spwd_getspall_impl()
|
D | pwdmodule.c | 302 if (v == NULL || PyList_Append(d, v) != 0) { in pwd_getpwall_impl()
|
D | _lsprof.c | 527 err = PyList_Append(collect->sublist, sinfo); in statsForSubEntry() 567 err = PyList_Append(collect->list, info); in statsForEntry()
|
D | _queuemodule.c | 123 if (PyList_Append(self->lst, item) < 0) in _queue_SimpleQueue_put_impl()
|
D | nismodule.c | 457 if (!str || PyList_Append(list, str) < 0) in nis_maps()
|
D | _heapqmodule.c | 129 if (PyList_Append(heap, item)) in _heapq_heappush_impl()
|
D | _dbmmodule.c | 254 err = PyList_Append(v, item); in _dbm_dbm_keys_impl()
|
/third_party/python/Include/ |
D | listobject.h | 34 PyAPI_FUNC(int) PyList_Append(PyObject *, PyObject *);
|
/third_party/python/Modules/_sqlite/ |
D | cursor.c | 220 if (PyList_Append(self->row_cast_map, converter) != 0) { in pysqlite_build_row_cast_map() 466 if (PyList_Append(parameters_list, second_argument) != 0) { in _pysqlite_query_execute() 879 if (PyList_Append(list, row) < 0) { in pysqlite_cursor_fetchmany_impl() 917 if (PyList_Append(list, row) < 0) { in pysqlite_cursor_fetchall_impl()
|
D | row.c | 195 if (PyList_Append(list, PyTuple_GET_ITEM(PyTuple_GET_ITEM(self->description, i), 0)) != 0) { in pysqlite_row_keys_impl()
|
D | connection.c | 296 if (PyList_Append(connection->cursors, weakref) != 0) { in pysqlite_connection_register_cursor() 829 if (PyList_Append(new_list, weakref) != 0) { in _pysqlite_drop_unused_statement_references() 860 if (PyList_Append(new_list, weakref) != 0) { in _pysqlite_drop_unused_cursor_references() 1396 if (PyList_Append(self->statements, weakref) != 0) { in pysqlite_connection_call()
|
/third_party/python/Python/ |
D | pyarena.c | 206 int r = PyList_Append(arena->a_objects, obj); in _PyArena_AddPyObject()
|
D | symtable.c | 988 if (PyList_Append(st->st_stack, (PyObject *)ste) < 0) { in symtable_enter_block() 1015 if (PyList_Append(prev->ste_children, (PyObject *)ste) < 0) { in symtable_enter_block() 1090 if (PyList_Append(ste->ste_varnames, mangled) < 0) in symtable_add_def_helper() 1193 res = PyList_Append(st->st_cur->ste_directives, data); in symtable_record_directive()
|
/third_party/python/Include/internal/ |
D | pycore_blocks_output_buffer.h | 234 if (PyList_Append(buffer->list, b) < 0) { in _BlocksOutputBuffer_Grow()
|
/third_party/python/Modules/_io/ |
D | iobase.c | 727 if (PyList_Append(result, line) < 0) { in _io__IOBase_readlines_impl() 1000 r = PyList_Append(chunks, data); in _io__RawIOBase_readall_impl()
|
D | textio.c | 1718 if (PyList_Append(self->pending_bytes, b) < 0) { in _io_TextIOWrapper_write_impl() 2007 PyList_Append(chunks, result) < 0) in _io_TextIOWrapper_read_impl() 2016 if (result != NULL && PyList_Append(chunks, result) < 0) in _io_TextIOWrapper_read_impl() 2237 if (PyList_Append(chunks, s) < 0) { in _textiowrapper_readline() 2273 if (PyList_Append(chunks, remaining) < 0) in _textiowrapper_readline() 2279 if (PyList_Append(chunks, line) < 0) in _textiowrapper_readline()
|
D | bufferedio.c | 1112 if (PyList_Append(chunks, res) < 0) { in _buffered_readline() 1157 if (PyList_Append(chunks, res) < 0) { in _buffered_readline() 1167 if (res != NULL && PyList_Append(chunks, res) < 0) { in _buffered_readline() 1578 if (PyList_Append(chunks, data) < 0) in _bufferedreader_read_all()
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | repeated_scalar_container.cc | 326 PyList_Append(list, s.get()); in Subscript() 337 PyList_Append(list, s.get()); in Subscript()
|
/third_party/python/Doc/c-api/ |
D | list.rst | 104 .. c:function:: int PyList_Append(PyObject *list, PyObject *item)
|