Home
last modified time | relevance | path

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

/third_party/python/Modules/
Dtermios.c104 PyList_SetItem(cc, i, v); in termios_tcgetattr_impl()
114 PyList_SetItem(cc, VMIN, v); in termios_tcgetattr_impl()
118 PyList_SetItem(cc, VTIME, v); in termios_tcgetattr_impl()
124 PyList_SetItem(v, 0, PyLong_FromLong((long)mode.c_iflag)); in termios_tcgetattr_impl()
125 PyList_SetItem(v, 1, PyLong_FromLong((long)mode.c_oflag)); in termios_tcgetattr_impl()
126 PyList_SetItem(v, 2, PyLong_FromLong((long)mode.c_cflag)); in termios_tcgetattr_impl()
127 PyList_SetItem(v, 3, PyLong_FromLong((long)mode.c_lflag)); in termios_tcgetattr_impl()
128 PyList_SetItem(v, 4, PyLong_FromLong((long)ispeed)); in termios_tcgetattr_impl()
129 PyList_SetItem(v, 5, PyLong_FromLong((long)ospeed)); in termios_tcgetattr_impl()
134 PyList_SetItem(v, 6, cc); in termios_tcgetattr_impl()
Dxxmodule.c193 PyList_SetItem(list, 1, PyLong_FromLong(0L)); in xx_bug()
Dselectmodule.c195 if (PyList_SetItem(list, i, o) < 0) in set2list()
D_elementtree.c2723 if (PyList_SetItem(self->stack, self->index, this) < 0) in treebuilder_handle_start()
/third_party/selinux/libselinux/src/
Dselinuxswig_python.i70 PyList_SetItem(list, i, PyString_FromString((*$1)[i]));
103 PyList_SetItem(plist, i, PyString_FromString((*$1)[i]));
120 PyList_SetItem(plist, i, PyString_FromString((*$1)[i]));
Daudit2why.c406 PyList_SetItem(outboollist, len++, bool_); in analyze()
/third_party/libxml2/python/
Dtypes.c564 PyList_SetItem(ret, i, libxml_xmlNodePtrWrap(node)); in libxml_xmlXPathObjectPtrWrap()
588 PyList_SetItem(ret, i, ns); in libxml_xmlXPathObjectPtrWrap()
592 PyList_SetItem(ret, i, libxml_xmlNodePtrWrap(node)); in libxml_xmlXPathObjectPtrWrap()
643 PyList_SetItem(list, 0, tuple); in libxml_xmlXPathObjectPtrWrap()
661 PyList_SetItem(list, 0, tuple); in libxml_xmlXPathObjectPtrWrap()
670 PyList_SetItem(list, 1, tuple); in libxml_xmlXPathObjectPtrWrap()
697 PyList_SetItem(list, i, pyobj); in libxml_xmlXPathObjectPtrWrap()
Dlibxml.c1328 PyList_SetItem(nameList, count, newName); in pythonAttributeDecl()
/third_party/python/Doc/c-api/
Dlist.rst43 setting all items to a real object with :c:func:`PyList_SetItem`.
72 .. c:function:: int PyList_SetItem(PyObject *list, Py_ssize_t index, PyObject *item)
86 Macro form of :c:func:`PyList_SetItem` without error checking. This is
92 :c:func:`PyList_SetItem`, does *not* discard a reference to any item that
Dintro.rst338 single: PyList_SetItem()
342 :c:func:`PyList_SetItem` and :c:func:`PyTuple_SetItem`, which steal a reference
367 and :c:func:`PyList_SetItem`.
/third_party/python/Include/
Dlistobject.h32 PyAPI_FUNC(int) PyList_SetItem(PyObject *, Py_ssize_t, PyObject *);
/third_party/python/Modules/_ssl/
Dcert.c62 PyList_SetItem(result, i, ocert); in _PySSL_CertificateFromX509Stack()
/third_party/python/Doc/data/
Drefcounts.dat27 # example PyList_SetItem(list, i, item). This lists as a 0 change for
1132 PyList_SetItem:int:::
1133 PyList_SetItem:PyObject*:list:0:
1134 PyList_SetItem:Py_ssize_t:index::
1135 PyList_SetItem:PyObject*:item:0:
Dstable_abi.dat330 function,PyList_SetItem,3.2,
/third_party/python/Python/
Dpystate.c747 return PyList_SetItem(interp->modules_by_index, in _PyState_AddModule()
797 return PyList_SetItem(interp->modules_by_index, index, Py_None); in PyState_RemoveModule()
/third_party/libnl/python/netlink/
Dcapi.i978 PyList_SetItem(listobj, i, polobj); in nla_policy_array()
/third_party/boost/tools/build/src/engine/
Dbuiltins.cpp2134 PyList_SetItem( pyResult, i, PyString_FromString( object_str( in bjam_call()
2265 PyList_SetItem( result, i, PyString_FromString( object_str( list_item( in bjam_variable()
/third_party/python/PC/
Dpython3dll.c316 EXPORT_FUNC(PyList_SetItem)
/third_party/python/Doc/extending/
Dextending.rst989 :c:func:`PyList_SetItem`. These functions take over ownership of the item passed
1021 PyList_SetItem(list, 1, PyLong_FromLong(0L));
1029 Let's follow the control flow into :c:func:`PyList_SetItem`. The list owns
1053 PyList_SetItem(list, 1, PyLong_FromLong(0L));
/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor.cc566 PyList_SetItem(range_list, i, PyTuple_Pack(2, start, end)); in GetExtensionRanges()
/third_party/python/Misc/
Dstable_abi.txt814 function PyList_SetItem
/third_party/python/Parser/
Dpegen.c819 if (PyList_SetItem(ret, i, value) < 0) { in _PyPegen_get_memo_statistics()
/third_party/python/Objects/
Dlistobject.c245 PyList_SetItem(PyObject *op, Py_ssize_t i, in PyList_SetItem() function
/third_party/skia/third_party/externals/libwebp/swig/
Dlibwebp_python_wrap.c1278 PyList_SetItem(result, 0, o2); in SWIG_Python_AppendOutput()
/third_party/flutter/skia/third_party/externals/libwebp/swig/
Dlibwebp_python_wrap.c1273 PyList_SetItem(result, 0, o2); in SWIG_Python_AppendOutput()