Home
last modified time | relevance | path

Searched refs:PyList_SET_ITEM (Results 1 – 25 of 48) sorted by relevance

12

/third_party/python/Objects/stringlib/
Dsplit.h38 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/
Dpycore_blocks_output_buffer.h131 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.c161 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.c163 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.c97 PyList_SET_ITEM(result, i, (PyObject *) current); in weakref_getweakrefs()
Dselectmodule.c701 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()
Dossaudiodev.c1073 PyList_SET_ITEM(labels, i, s); in build_namelists()
1078 PyList_SET_ITEM(names, i, s); in build_namelists()
D_elementtree.c959 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.c722 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()
Darraymodule.c1630 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.c92 PyList_SET_ITEM(result, i, val); in copy_grouping()
Dpyexpat.c390 PyList_SET_ITEM(container, i, n); in my_StartElementHandler()
391 PyList_SET_ITEM(container, i+1, v); in my_StartElementHandler()
Dreadline.c1061 PyList_SET_ITEM(m, i, s); in on_completion_display_matches_hook()
/third_party/python/Include/cpython/
Dlistobject.h33 #define PyList_SET_ITEM(op, i, v) ((void)(_PyList_CAST(op)->ob_item[i] = (v))) macro
/third_party/python/Python/
D_warnings.c94 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()
Dmodsupport.c200 PyList_SET_ITEM(v, i, w); in do_mklist()
Dmarshal.c908 PyList_SET_ITEM(p->refs, idx, o); in r_ref_insert()
1210 PyList_SET_ITEM(v, i, v2); in r_object()
Dsysmodule.c3158 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/
Ddescriptor_containers.cc486 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()
Drepeated_composite_container.cc267 PyList_SET_ITEM(result, i, GetItem(self, cur, length)); in Subscript()
Ddescriptor_pool.cc472 PyList_SET_ITEM(result.get(), i, extension); // Steals the reference. in FindAllExtensions()
/third_party/python/Doc/c-api/
Dlist.rst84 .. c:function:: void PyList_SET_ITEM(PyObject *list, Py_ssize_t i, PyObject *o)
/third_party/python/Misc/NEWS.d/
D3.10.0a3.rst1499 :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/
Drefcounts.dat1127 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/
Dtextio.c1713 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()

12