Home
last modified time | relevance | path

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

12

/third_party/python/Modules/
Dtermios.c176 mode.c_iflag = (tcflag_t) PyLong_AsLong(PyList_GetItem(term, 0)); in termios_tcsetattr_impl()
177 mode.c_oflag = (tcflag_t) PyLong_AsLong(PyList_GetItem(term, 1)); in termios_tcsetattr_impl()
178 mode.c_cflag = (tcflag_t) PyLong_AsLong(PyList_GetItem(term, 2)); in termios_tcsetattr_impl()
179 mode.c_lflag = (tcflag_t) PyLong_AsLong(PyList_GetItem(term, 3)); in termios_tcsetattr_impl()
180 speed_t ispeed = (speed_t) PyLong_AsLong(PyList_GetItem(term, 4)); in termios_tcsetattr_impl()
181 speed_t ospeed = (speed_t) PyLong_AsLong(PyList_GetItem(term, 5)); in termios_tcsetattr_impl()
182 PyObject *cc = PyList_GetItem(term, 6); in termios_tcsetattr_impl()
197 v = PyList_GetItem(cc, i); in termios_tcsetattr_impl()
Dxxmodule.c191 item = PyList_GetItem(list, 0); in xx_bug()
Dsyslogmodule.c89 scriptobj = PyList_GetItem(argv, 0); in syslog_get_argv()
/third_party/python/Include/
Dlistobject.h31 PyAPI_FUNC(PyObject *) PyList_GetItem(PyObject *, Py_ssize_t);
/third_party/libnl/python/netlink/genl/
Dcapi.i89 pobj = PyList_GetItem(p, 0); in py_genlmsg_parse()
/third_party/python/Doc/c-api/
Dlist.rst59 .. c:function:: PyObject* PyList_GetItem(PyObject *list, Py_ssize_t index)
69 Macro form of :c:func:`PyList_GetItem` without error checking.
Dintro.rst422 Thus, if you extract an item from a list using :c:func:`PyList_GetItem`, you
428 single: PyList_GetItem()
432 the items in a list of integers; once using :c:func:`PyList_GetItem`, and once
446 item = PyList_GetItem(list, i); /* Can't fail */
Dstable.rst82 For example, while :c:func:`PyList_GetItem` is available, its “unsafe” macro
/third_party/python/Tools/peg_generator/peg_extension/
Dpeg_extension.c139 PyObject *value = PyList_GetItem(list, i); // Borrowed reference. in dump_memo_stats()
/third_party/python/Modules/_sqlite/
Dconnection.c209 weakref = PyList_GetItem(self->statements, i); in pysqlite_do_all_statements()
224 weakref = PyList_GetItem(self->cursors, i); in pysqlite_do_all_statements()
827 weakref = PyList_GetItem(self->statements, i); in _pysqlite_drop_unused_statement_references()
858 weakref = PyList_GetItem(self->cursors, i); in _pysqlite_drop_unused_cursor_references()
Dstatement.c266 PyObject *item = PyList_GetItem(parameters, i); in pysqlite_statement_bind_parameters()
/third_party/selinux/libselinux/src/
Daudit2why.c359 strObj = PyList_GetItem(listObj, i); /* Can't fail */ in analyze()
/third_party/python/Python/
Dtraceback.c331 v = PyList_GetItem(syspath, i); in _Py_FindSourceFile()
D_warnings.c1032 source_line = PyList_GetItem(source_list, lineno-1); in get_source_line()
Dcodecs.c173 func = PyList_GetItem(interp->codec_search_path, i); in _PyCodec_Lookup()
Dimport.c962 PyObject *hook = PyList_GetItem(path_hooks, j); in get_path_importer()
/third_party/libxml2/python/
Dtypes.c786 node = PyList_GetItem(obj, i); in libxml_xmlXPathObjectPtrConvert()
/third_party/libnl/python/netlink/
Dcapi.i877 pobj = PyList_GetItem(p, 0); in py_nla_parse_nested()
/third_party/python/Doc/data/
Dstable_abi.dat325 function,PyList_GetItem,3.2,
Drefcounts.dat1107 PyList_GetItem:PyObject*::0:
1108 PyList_GetItem:PyObject*:list:0:
1109 PyList_GetItem:Py_ssize_t:index::
/third_party/python/PC/
Dpython3dll.c311 EXPORT_FUNC(PyList_GetItem)
/third_party/python/Doc/faq/
Dextending.rst85 :c:func:`PyList_GetItem`.
/third_party/python/Doc/extending/
Dextending.rst977 :c:func:`PyTuple_GetItem`, :c:func:`PyList_GetItem`, :c:func:`PyDict_GetItem`, and
1019 PyObject *item = PyList_GetItem(list, 0);
1050 PyObject *item = PyList_GetItem(list, 0);
1074 PyObject *item = PyList_GetItem(list, 0);
/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor_containers.cc358 PyObject* value2 = PyList_GetItem(other, index); in DescriptorSequence_Equal()
/third_party/python/Misc/
Dstable_abi.txt804 function PyList_GetItem

12