Home
last modified time | relevance | path

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

123

/external/python/cpython2/Modules/_sqlite/
Dcursor.c397 PyTuple_SetItem(row, i, converted); in _pysqlite_fetch_one_row()
400 PyTuple_SetItem(row, i, Py_None); in _pysqlite_fetch_one_row()
552 if (PyTuple_SetItem(func_args, 0, operation) != 0) { in _pysqlite_query_execute()
690PyTuple_SetItem(descriptor, 0, _pysqlite_build_column_name(sqlite3_column_name(self->statement->st… in _pysqlite_query_execute()
691 Py_INCREF(Py_None); PyTuple_SetItem(descriptor, 1, Py_None); in _pysqlite_query_execute()
692 Py_INCREF(Py_None); PyTuple_SetItem(descriptor, 2, Py_None); in _pysqlite_query_execute()
693 Py_INCREF(Py_None); PyTuple_SetItem(descriptor, 3, Py_None); in _pysqlite_query_execute()
694 Py_INCREF(Py_None); PyTuple_SetItem(descriptor, 4, Py_None); in _pysqlite_query_execute()
695 Py_INCREF(Py_None); PyTuple_SetItem(descriptor, 5, Py_None); in _pysqlite_query_execute()
696 Py_INCREF(Py_None); PyTuple_SetItem(descriptor, 6, Py_None); in _pysqlite_query_execute()
[all …]
/external/python/cpython3/Modules/_sqlite/
Dcursor.c330 PyTuple_SetItem(row, i, converted); in _pysqlite_fetch_one_row()
457 if (PyTuple_SetItem(func_args, 0, operation) != 0) { in _pysqlite_query_execute()
554 PyTuple_SetItem(descriptor, 0, column_name); in _pysqlite_query_execute()
555 Py_INCREF(Py_None); PyTuple_SetItem(descriptor, 1, Py_None); in _pysqlite_query_execute()
556 Py_INCREF(Py_None); PyTuple_SetItem(descriptor, 2, Py_None); in _pysqlite_query_execute()
557 Py_INCREF(Py_None); PyTuple_SetItem(descriptor, 3, Py_None); in _pysqlite_query_execute()
558 Py_INCREF(Py_None); PyTuple_SetItem(descriptor, 4, Py_None); in _pysqlite_query_execute()
559 Py_INCREF(Py_None); PyTuple_SetItem(descriptor, 5, Py_None); in _pysqlite_query_execute()
560 Py_INCREF(Py_None); PyTuple_SetItem(descriptor, 6, Py_None); in _pysqlite_query_execute()
561 PyTuple_SetItem(self->description, i, descriptor); in _pysqlite_query_execute()
/external/libxml2/python/
Dtypes.c492 PyTuple_SetItem(tuple, 0, node); in libxml_xmlXPathObjectPtrWrap()
493 PyTuple_SetItem(tuple, 1, indexIntoNode); in libxml_xmlXPathObjectPtrWrap()
516 PyTuple_SetItem(tuple, 0, node); in libxml_xmlXPathObjectPtrWrap()
517 PyTuple_SetItem(tuple, 1, indexIntoNode); in libxml_xmlXPathObjectPtrWrap()
534 PyTuple_SetItem(tuple, 0, node); in libxml_xmlXPathObjectPtrWrap()
535 PyTuple_SetItem(tuple, 1, indexIntoNode); in libxml_xmlXPathObjectPtrWrap()
543 PyTuple_SetItem(tuple, 0, node); in libxml_xmlXPathObjectPtrWrap()
544 PyTuple_SetItem(tuple, 1, indexIntoNode); in libxml_xmlXPathObjectPtrWrap()
Dlibxml.c1641 PyTuple_SetItem(list, 0, libxml_xmlPythonErrorFuncCtxt); in libxml_xmlErrorFuncHandler()
1644 PyTuple_SetItem(list, 1, message); in libxml_xmlErrorFuncHandler()
1727 PyTuple_SetItem(list, 0, pyCtxt->arg); in libxml_xmlParserCtxtGenericErrorFuncHandler()
1729 PyTuple_SetItem(list, 1, libxml_charPtrWrap(str)); in libxml_xmlParserCtxtGenericErrorFuncHandler()
1730 PyTuple_SetItem(list, 2, libxml_intWrap(severity)); in libxml_xmlParserCtxtGenericErrorFuncHandler()
1731 PyTuple_SetItem(list, 3, Py_None); in libxml_xmlParserCtxtGenericErrorFuncHandler()
1850 PyTuple_SetItem(py_retval, 0, pyCtxt->f); in libxml_xmlParserCtxtGetErrorHandler()
1852 PyTuple_SetItem(py_retval, 1, pyCtxt->arg); in libxml_xmlParserCtxtGetErrorHandler()
1857 PyTuple_SetItem(py_retval, 0, Py_None); in libxml_xmlParserCtxtGetErrorHandler()
1859 PyTuple_SetItem(py_retval, 1, Py_None); in libxml_xmlParserCtxtGetErrorHandler()
[all …]
/external/python/cpython2/Mac/Modules/
D_scproxy.c102 PyTuple_SetItem(v, i, Py_None); in get_proxy_settings()
107 PyTuple_SetItem(v, i, Py_None); in get_proxy_settings()
110 PyTuple_SetItem(v, i, t); in get_proxy_settings()
/external/python/cpython3/Modules/
D_scproxy.c107 PyTuple_SetItem(v, i, Py_None); in get_proxy_settings()
112 PyTuple_SetItem(v, i, Py_None); in get_proxy_settings()
115 PyTuple_SetItem(v, i, t); in get_proxy_settings()
/external/tensorflow/tensorflow/python/framework/
Dpython_tensor_converter.cc123 PyTuple_SetItem(args.get(), 0, src); in Convert()
125 PyTuple_SetItem(args.get(), 1, PyLong_FromLong(dtype)); in Convert()
/external/python/cpython2/Modules/
Dglmodule.c72 PyTuple_SetItem(v, 0, mknewlongobject(retval)); in gl_qread()
73 PyTuple_SetItem(v, 1, mknewshortobject(arg1)); in gl_qread()
5546 PyTuple_SetItem(v, 0, mknewshortobject(arg1)); in gl_getdepth()
5547 PyTuple_SetItem(v, 1, mknewshortobject(arg2)); in gl_getdepth()
5562 PyTuple_SetItem(v, 0, mknewshortobject(arg1)); in gl_getcpos()
5563 PyTuple_SetItem(v, 1, mknewshortobject(arg2)); in gl_getcpos()
5578 PyTuple_SetItem(v, 0, mknewlongobject(arg1)); in gl_getsize()
5579 PyTuple_SetItem(v, 1, mknewlongobject(arg2)); in gl_getsize()
5594 PyTuple_SetItem(v, 0, mknewlongobject(arg1)); in gl_getorigin()
5595 PyTuple_SetItem(v, 1, mknewlongobject(arg2)); in gl_getorigin()
[all …]
D_functoolsmodule.c54 PyTuple_SetItem(args, 0, result); in functools_reduce()
55 PyTuple_SetItem(args, 1, op2); in functools_reduce()
Dcdmodule.c467 PyTuple_SetItem(args, 0, self->ob_cdcallbacks[type].ob_cdcallbackarg); in CD_callback()
468 PyTuple_SetItem(args, 1, PyInt_FromLong((long) type)); in CD_callback()
513 PyTuple_SetItem(args, 2, v); in CD_callback()
D_tkinter.c566 PyTuple_SetItem(v, i, w); in Split()
608 PyTuple_SetItem(result, k, elem); in SplitObj()
611 PyTuple_SetItem(result, i, newelem); in SplitObj()
1371 PyTuple_SetItem(result, i, elem); in FromObj()
2320 if (!s || PyTuple_SetItem(v, i, s)) { in Tkapp_SplitList()
2351 if (!s || PyTuple_SetItem(v, i, s)) { in Tkapp_SplitList()
2389 if (!s || PyTuple_SetItem(v, i, s)) { in Tkapp_Split()
2468 if (!s || PyTuple_SetItem(arg, i, s)) { in PythonCmd()
Dsvmodule.c569 sts = PyTuple_SetItem(bitvecobj, i, evenitem); in sv_CaptureBurst()
572 sts = PyTuple_SetItem(bitvecobj, i, odditem); in sv_CaptureBurst()
/external/python/cpython3/Include/
Dtupleobject.h33 PyAPI_FUNC(int) PyTuple_SetItem(PyObject *, Py_ssize_t, PyObject *);
/external/tensorflow/tensorflow/python/lib/core/
Dndarray_tensor.cc335 PyTuple_SetItem(field, 0, PyBytes_FromString("resource")); in GetPyArrayDescrForTensor()
337 PyTuple_SetItem(field, 0, PyUnicode_FromString("resource")); in GetPyArrayDescrForTensor()
339 PyTuple_SetItem(field, 1, PyArray_TypeObjectFromType(NPY_UBYTE)); in GetPyArrayDescrForTensor()
340 PyTuple_SetItem(field, 2, PyLong_FromLong(1)); in GetPyArrayDescrForTensor()
/external/python/cpython2/Include/
Dtupleobject.h43 PyAPI_FUNC(int) PyTuple_SetItem(PyObject *, Py_ssize_t, PyObject *);
/external/python/cpython2/Doc/includes/
Drun-func.c37 PyTuple_SetItem(pArgs, i, pValue); in main()
/external/python/cpython3/Doc/includes/
Drun-func.c38 PyTuple_SetItem(pArgs, i, pValue); in main()
/external/python/cpython3/Doc/c-api/
Dtuple.rst75 .. c:function:: int PyTuple_SetItem(PyObject *p, Py_ssize_t pos, PyObject *o)
89 Like :c:func:`PyTuple_SetItem`, but does no error checking, and should *only* be
95 :c:func:`PyTuple_SetItem`, does *not* discard a reference to any item that
Dintro.rst339 single: PyTuple_SetItem()
342 :c:func:`PyList_SetItem` and :c:func:`PyTuple_SetItem`, which steal a reference
352 PyTuple_SetItem(t, 0, PyLong_FromLong(1L));
353 PyTuple_SetItem(t, 1, PyLong_FromLong(2L));
354 PyTuple_SetItem(t, 2, PyUnicode_FromString("three"));
357 stolen by :c:func:`PyTuple_SetItem`. When you want to keep using an object
361 Incidentally, :c:func:`PyTuple_SetItem` is the *only* way to set tuple items;
364 :c:func:`PyTuple_SetItem` for tuples that you are creating yourself.
/external/python/cpython2/RISCOS/Modules/
Dswimodule.c411 PyTuple_SetItem(result,j,v); in swi_swi()
502 PyTuple_SetItem(result1, j, result11); in swi_tuples()
544 PyTuple_SetItem(result, j, result1); in swi_tuple()
/external/python/cpython2/Mac/Modules/snd/
D_Sndihooks.c412 PyTuple_SetItem(rsizes, i, PyInt_FromLong((long)fsizes[i]));
452 PyTuple_SetItem(rrates, i, obj);
/external/python/cpython2/Doc/c-api/
Dtuple.rst111 .. c:function:: int PyTuple_SetItem(PyObject *p, Py_ssize_t pos, PyObject *o)
127 Like :c:func:`PyTuple_SetItem`, but does no error checking, and should *only* be
Dintro.rst198 single: PyTuple_SetItem()
201 :c:func:`PyList_SetItem` and :c:func:`PyTuple_SetItem`, which steal a reference
211 PyTuple_SetItem(t, 0, PyInt_FromLong(1L));
212 PyTuple_SetItem(t, 1, PyInt_FromLong(2L));
213 PyTuple_SetItem(t, 2, PyString_FromString("three"));
216 stolen by :c:func:`PyTuple_SetItem`. When you want to keep using an object
220 Incidentally, :c:func:`PyTuple_SetItem` is the *only* way to set tuple items;
223 :c:func:`PyTuple_SetItem` for tuples that you are creating yourself.
/external/python/cpython2/PC/os2vacpp/
Dpython.def408 PyTuple_SetItem
/external/python/cpython2/Doc/data/
Drefcounts.dat1393 PyTuple_SetItem:int:::
1394 PyTuple_SetItem:PyTupleObject*:p:0:
1395 PyTuple_SetItem:int:pos::
1396 PyTuple_SetItem:PyObject*:o:0:

123