/third_party/python/Objects/stringlib/ |
D | split.h | 38 PyList_SET_ITEM(list, count, sub); \ 77 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in STRINGLIB() 129 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in STRINGLIB() 177 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in STRINGLIB() 216 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in STRINGLIB() 269 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in STRINGLIB() 318 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in STRINGLIB()
|
/third_party/python/Include/internal/ |
D | pycore_blocks_output_buffer.h | 131 PyList_SET_ITEM(buffer->list, 0, b); in _BlocksOutputBuffer_InitAndGrow() 172 PyList_SET_ITEM(buffer->list, 0, b); in _BlocksOutputBuffer_InitWithSize()
|
/third_party/python/Modules/ |
D | _heapqmodule.c | 161 PyList_SET_ITEM(heap, 0, lastelt); in heappop_internal() 197 PyList_SET_ITEM(heap, 0, item); in heapreplace_internal() 274 PyList_SET_ITEM(heap, 0, item); in _heapq_heappushpop_impl()
|
D | _queuemodule.c | 163 PyList_SET_ITEM(self->lst, self->lst_pos, Py_None); in simplequeue_pop_item() 171 PyList_SET_ITEM(self->lst, self->lst_pos, item); in simplequeue_pop_item()
|
D | _weakref.c | 97 PyList_SET_ITEM(result, i, (PyObject *) current); in weakref_getweakrefs()
|
D | selectmodule.c | 701 PyList_SET_ITEM(result_list, j, value); in select_poll_poll_impl() 993 PyList_SET_ITEM(result_list, i, value); in select_devpoll_poll_impl() 1613 PyList_SET_ITEM(elist, i, etuple); in select_epoll_poll_impl() 2222 PyList_SET_ITEM(result, i, (PyObject *)ch); in select_kqueue_control_impl()
|
D | ossaudiodev.c | 1073 PyList_SET_ITEM(labels, i, s); in build_namelists() 1078 PyList_SET_ITEM(names, i, s); in build_namelists()
|
D | _elementtree.c | 959 PyList_SET_ITEM(children, i, child); in _elementtree_Element___getstate___impl() 1761 PyList_SET_ITEM(list, i, item); in element_subscr() 1849 PyList_SET_ITEM(recycle, i, self->extra->children[cur]); in element_ass_subscr() 1923 PyList_SET_ITEM(recycle, i, self->extra->children[cur]); in element_ass_subscr() 2775 PyList_SET_ITEM(list, 0, self->data); in treebuilder_handle_data() 2776 Py_INCREF(data); PyList_SET_ITEM(list, 1, data); in treebuilder_handle_data()
|
D | _asynciomodule.c | 722 PyList_SET_ITEM(fut->fut_callbacks, 0, tup); /* borrow */ in future_add_done_callback() 1038 PyList_SET_ITEM(newlist, j, item); in _asyncio_Future_remove_done_callback() 1259 PyList_SET_ITEM(new_list, 0, tup0); in FutureObj_get_callbacks() 1265 PyList_SET_ITEM(new_list, i + 1, cb); in FutureObj_get_callbacks()
|
D | arraymodule.c | 1630 PyList_SET_ITEM(list, i, v); in array_array_tolist_impl() 2058 PyList_SET_ITEM(converted_items, i, pyfloat); in array__array_reconstructor_impl() 2080 PyList_SET_ITEM(converted_items, i, pyfloat); in array__array_reconstructor_impl() 2159 PyList_SET_ITEM(converted_items, i, pylong); in array__array_reconstructor_impl()
|
D | _localemodule.c | 92 PyList_SET_ITEM(result, i, val); in copy_grouping()
|
D | pyexpat.c | 390 PyList_SET_ITEM(container, i, n); in my_StartElementHandler() 391 PyList_SET_ITEM(container, i+1, v); in my_StartElementHandler()
|
D | readline.c | 1061 PyList_SET_ITEM(m, i, s); in on_completion_display_matches_hook()
|
/third_party/python/Include/cpython/ |
D | listobject.h | 33 #define PyList_SET_ITEM(op, i, v) ((void)(_PyList_CAST(op)->ob_item[i] = (v))) macro
|
/third_party/python/Python/ |
D | _warnings.c | 94 PyList_SET_ITEM(filters, pos++, in init_filters() 96 PyList_SET_ITEM(filters, pos++, in init_filters() 98 PyList_SET_ITEM(filters, pos++, in init_filters() 100 PyList_SET_ITEM(filters, pos++, in init_filters() 102 PyList_SET_ITEM(filters, pos++, in init_filters()
|
D | modsupport.c | 200 PyList_SET_ITEM(v, i, w); in do_mklist()
|
D | marshal.c | 908 PyList_SET_ITEM(p->refs, idx, o); in r_ref_insert() 1210 PyList_SET_ITEM(v, i, v2); in r_object()
|
D | sysmodule.c | 3158 PyList_SET_ITEM(v, i, w); in makepathobject() 3193 PyList_SET_ITEM(list, i, v); in make_sys_argv()
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | descriptor_containers.cc | 486 PyList_SET_ITEM(list.get(), index, key); in Keys() 502 PyList_SET_ITEM(list.get(), index, value); in Values() 528 PyList_SET_ITEM(list.get(), index, obj.release()); in Items()
|
D | repeated_composite_container.cc | 267 PyList_SET_ITEM(result, i, GetItem(self, cur, length)); in Subscript()
|
D | descriptor_pool.cc | 472 PyList_SET_ITEM(result.get(), i, extension); // Steals the reference. in FindAllExtensions()
|
/third_party/python/Doc/c-api/ |
D | list.rst | 84 .. c:function:: void PyList_SET_ITEM(PyObject *list, Py_ssize_t i, PyObject *o)
|
/third_party/python/Misc/NEWS.d/ |
D | 3.10.0a3.rst | 1499 :c:func:`PyList_SET_ITEM`, :c:func:`PyTuple_SET_ITEM` and 1501 example, ``x = PyList_SET_ITEM(a, b, c)`` and ``PyList_SET_ITEM(a, b, c) = 1503 (PyList_SET_ITEM (a, b, c) < 0) ...`` test. Patch by Zackery Spytz and
|
/third_party/python/Doc/data/ |
D | refcounts.dat | 1127 PyList_SET_ITEM:void::: 1128 PyList_SET_ITEM:PyObject*:list:0: 1129 PyList_SET_ITEM:Py_ssize_t:i:: 1130 PyList_SET_ITEM:PyObject*:o:0:
|
/third_party/python/Modules/_io/ |
D | textio.c | 1713 PyList_SET_ITEM(list, 0, self->pending_bytes); in _io_TextIOWrapper_write_impl() 1714 PyList_SET_ITEM(list, 1, b); in _io_TextIOWrapper_write_impl()
|