Home
last modified time | relevance | path

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

12

/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.c218 !PyList_SetItem(sys_path, 0, argv0)) in RunMainFromImporter()
Dflmodule.c62 PyList_SetItem(allgenerics, i, (PyObject *)g); in knowgeneric()
107 PyList_SetItem(allgenerics, i, (PyObject *)NULL); in forgetgeneric()
135 PyList_SetItem(allgenerics, i, (PyObject *)NULL); in releaseobjects()
Dcstubs502 PyList_SetItem(v, i, w);
558 PyList_SetItem(v, i*4+j, w);
588 PyList_SetItem(v, i, w);
597 PyList_SetItem(PyList_GetItem(v, i), j, w);
D_localemodule.c78 if (PyList_SetItem(result, i, val)) { in copy_grouping()
Dselectmodule.c166 if (PyList_SetItem(list, i, o) < 0) in set2list()
593 if ((PyList_SetItem(result_list, j, value)) == -1) { in poll_poll()
Dreadline.c795 if (PyList_SetItem(m, i, s) == -1) in on_completion_display_matches_hook()
/external/selinux/libselinux/src/
Dselinuxswig_python.i64 PyList_SetItem(list, i, PyString_FromString((*$1)[i]));
97 PyList_SetItem(plist, i, PyString_FromString((*$1)[i]));
114 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/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/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/Python/
Dstructmember.c18 PyList_SetItem(v, i, in listmembers()
Dsysmodule.c1558 PyList_SetItem(v, i, w); in makepathobject()
1612 PyList_SetItem(av, i, v); in makeargvobject()
/external/python/cpython2/PC/os2vacpp/
Dpython.def228 PyList_SetItem
/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/python/cpython2/Mac/Modules/
DNav.c354 PyList_SetItem(rv, i, rvitem); in navrr_getattr()
385 PyList_SetItem(rv, i, rvitem); in navrr_getattr()
/external/python/cpython2/Objects/
Dmethodobject.c337 PyList_SetItem(v, i, PyString_FromString(ml->ml_name)); in listmethodchain()

12