Home
last modified time | relevance | path

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

123

/external/python/cpython2/Modules/
Dtermios.c97 PyList_SetItem(cc, i, v); in termios_tcgetattr()
107 PyList_SetItem(cc, VMIN, v); in termios_tcgetattr()
111 PyList_SetItem(cc, VTIME, v); in termios_tcgetattr()
117 PyList_SetItem(v, 0, PyInt_FromLong((long)mode.c_iflag)); in termios_tcgetattr()
118 PyList_SetItem(v, 1, PyInt_FromLong((long)mode.c_oflag)); in termios_tcgetattr()
119 PyList_SetItem(v, 2, PyInt_FromLong((long)mode.c_cflag)); in termios_tcgetattr()
120 PyList_SetItem(v, 3, PyInt_FromLong((long)mode.c_lflag)); in termios_tcgetattr()
121 PyList_SetItem(v, 4, PyInt_FromLong((long)ispeed)); in termios_tcgetattr()
122 PyList_SetItem(v, 5, PyInt_FromLong((long)ospeed)); in termios_tcgetattr()
123 PyList_SetItem(v, 6, cc); in termios_tcgetattr()
Dxxmodule.c190 PyList_SetItem(list, 1, PyInt_FromLong(0L)); in xx_bug()
Dclmodule.c362 PyList_SetItem(list, i, v); in doParams()
511 PyList_SetItem(list, i, PyInt_FromLong(PVbuffer[i])); in clm_QueryParams()
514 PyList_SetItem(list, i, Py_None); in clm_QueryParams()
516 PyList_SetItem(list, i, in clm_QueryParams()
772 PyList_SetItem(list, i, PyInt_FromLong(PVbuffer[i])); in cl_QueryAlgorithms()
775 PyList_SetItem(list, i, Py_None); in cl_QueryAlgorithms()
777 PyList_SetItem(list, i, in cl_QueryAlgorithms()
Dalmodule.c1200 PyList_SetItem(list, i, PyInt_FromLong(PVbuffer[i])); in alp_getstatus()
1516 PyList_SetItem(item, j, PyInt_FromLong((long) ((int *) pvs[i].value.ptr)[j])); in al_GetParams()
1519PyList_SetItem(item, j, PyLong_FromLongLong(((long long *) pvs[i].value.ptr)[j])); in al_GetParams()
1522PyList_SetItem(item, j, PyFloat_FromDouble(alFixedToDouble(((long long *) pvs[i].value.ptr)[j]))); in al_GetParams()
1536 PyList_SetItem(v, i, Py_BuildValue("(iO)", pvs[i].param, in al_GetParams()
1656 PyList_SetItem(res, i, item) < 0) { in al_QueryValues()
1856 PyList_SetItem(v, i, PyInt_FromLong(PVbuffer[i])); in al_queryparams()
1894 PyList_SetItem(list, i, PyInt_FromLong(PVbuffer[i])); in doParams()
Dmain.c228 !PyList_SetItem(sys_path, 0, argv0)) in RunMainFromImporter()
/external/python/cpython3/Modules/
Dtermios.c110 PyList_SetItem(cc, i, v); in termios_tcgetattr()
120 PyList_SetItem(cc, VMIN, v); in termios_tcgetattr()
124 PyList_SetItem(cc, VTIME, v); in termios_tcgetattr()
130 PyList_SetItem(v, 0, PyLong_FromLong((long)mode.c_iflag)); in termios_tcgetattr()
131 PyList_SetItem(v, 1, PyLong_FromLong((long)mode.c_oflag)); in termios_tcgetattr()
132 PyList_SetItem(v, 2, PyLong_FromLong((long)mode.c_cflag)); in termios_tcgetattr()
133 PyList_SetItem(v, 3, PyLong_FromLong((long)mode.c_lflag)); in termios_tcgetattr()
134 PyList_SetItem(v, 4, PyLong_FromLong((long)ispeed)); in termios_tcgetattr()
135 PyList_SetItem(v, 5, PyLong_FromLong((long)ospeed)); in termios_tcgetattr()
140 PyList_SetItem(v, 6, cc); in termios_tcgetattr()
Dxxmodule.c193 PyList_SetItem(list, 1, PyLong_FromLong(0L)); in xx_bug()
/external/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.c407 PyList_SetItem(outboollist, len++, bool_); in analyze()
/external/libxml2/python/
Dtypes.c440 PyList_SetItem(ret, i, libxml_xmlNodePtrWrap(node)); in libxml_xmlXPathObjectPtrWrap()
464 PyList_SetItem(ret, i, ns); in libxml_xmlXPathObjectPtrWrap()
468 PyList_SetItem(ret, i, libxml_xmlNodePtrWrap(node)); in libxml_xmlXPathObjectPtrWrap()
519 PyList_SetItem(list, 0, tuple); in libxml_xmlXPathObjectPtrWrap()
537 PyList_SetItem(list, 0, tuple); in libxml_xmlXPathObjectPtrWrap()
546 PyList_SetItem(list, 1, tuple); in libxml_xmlXPathObjectPtrWrap()
573 PyList_SetItem(list, i, pyobj); in libxml_xmlXPathObjectPtrWrap()
/external/python/cpython3/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
/external/python/cpython2/Doc/c-api/
Dlist.rst48 setting all items to a real object with :c:func:`PyList_SetItem`.
97 .. c:function:: int PyList_SetItem(PyObject *list, Py_ssize_t index, PyObject *item)
114 Macro form of :c:func:`PyList_SetItem` without error checking. This is
120 :c:func:`PyList_SetItem`, does *not* discard a reference to any item that
/external/python/cpython3/Include/
Dlistobject.h32 PyAPI_FUNC(int) PyList_SetItem(PyObject *, Py_ssize_t, PyObject *);
/external/python/cpython2/RISCOS/Modules/
Dswimodule.c242 for(k=0;k<n;k++) PyList_SetItem(result,k,PyInt_FromSsize_t(p[i+k])); in block_slice()
299 { PyList_SetItem(list, 0, PyString_FromString("length")); in PyBlock_GetAttr()
300 PyList_SetItem(list, 1, PyString_FromString("start")); in PyBlock_GetAttr()
301 PyList_SetItem(list, 2, PyString_FromString("end")); in PyBlock_GetAttr()
Ddrawfmodule.c612 { PyList_SetItem(list, 0, PyString_FromString("size")); in PyDrawF_GetAttr()
613 PyList_SetItem(list, 1, PyString_FromString("start")); in PyDrawF_GetAttr()
/external/python/cpython2/Include/
Dlistobject.h50 PyAPI_FUNC(int) PyList_SetItem(PyObject *, Py_ssize_t, PyObject *);
/external/python/cpython2/PC/os2vacpp/
Dpython.def228 PyList_SetItem
/external/python/cpython2/Python/
Dstructmember.c18 PyList_SetItem(v, i, in listmembers()
/external/python/cpython2/Mac/Modules/cf/
Dpycfbridge.c47 if (PyList_SetItem(rv, i, item_py) < 0) goto err; in PyCF_CF2Python_sequence()
/external/python/cpython2/Mac/Modules/scrap/
D_Scrapmodule.c192 if ( !item || PyList_SetItem(_res, i, item) < 0 ) { in ScrapObj_GetScrapFlavorInfoList()
/external/python/cpython2/Doc/data/
Drefcounts.dat27 # example PyList_SetItem(list, i, item). This lists as a 0 change for
618 PyList_SetItem:int:::
619 PyList_SetItem:PyObject*:list:0:
620 PyList_SetItem:int:index::
621 PyList_SetItem:PyObject*:item:0:
/external/tensorflow/tensorflow/python/lib/core/
Dpy_func.cc119 PyList_SetItem(lst, i, arg); in MakeArgTuple()
/external/python/cpython2/Objects/
Dmethodobject.c337 PyList_SetItem(v, i, PyString_FromString(ml->ml_name)); in listmethodchain()
/external/tensorflow/tensorflow/lite/toco/python/
Dtoco_python_api.cc233 PyList_SetItem(list, i, op_dict); in TocoGetPotentiallySupportedOps()
/external/python/cpython2/Mac/Modules/
DNav.c354 PyList_SetItem(rv, i, rvitem); in navrr_getattr()
385 PyList_SetItem(rv, i, rvitem); in navrr_getattr()

123