/aosp_15_r20/external/AFLplusplus/src/ |
H A D | afl-fuzz-python.c | 92 PyTuple_SetItem(py_args, 0, py_value); in fuzz_py() 103 PyTuple_SetItem(py_args, 1, py_value); in fuzz_py() 118 PyTuple_SetItem(py_args, 2, py_value); in fuzz_py() 172 PyTuple_SetItem(py_args, 0, py_value); in custom_describe_py() 336 PyTuple_SetItem(py_args, 0, py_value); in init_py() 533 PyTuple_SetItem(py_args, 0, py_value); in post_process_py() 589 PyTuple_SetItem(py_args, 0, py_value); in init_trim_py() 627 PyTuple_SetItem(py_args, 0, py_value); in fuzz_count_py() 666 PyTuple_SetItem(py_args, 0, py_value); in post_trim_py() 747 PyTuple_SetItem(py_args, 0, py_value); in havoc_mutation_py() [all …]
|
/aosp_15_r20/external/libxml2/python/ |
H A D | libxml.c | 1506 PyTuple_SetItem(list, 0, libxml_xmlPythonErrorFuncCtxt); in libxml_xmlErrorFuncHandler() 1509 PyTuple_SetItem(list, 1, message); in libxml_xmlErrorFuncHandler() 1596 PyTuple_SetItem(list, 0, pyCtxt->arg); in libxml_xmlParserCtxtErrorHandler() 1598 PyTuple_SetItem(list, 1, libxml_constcharPtrWrap(error->message)); in libxml_xmlParserCtxtErrorHandler() 1599 PyTuple_SetItem(list, 2, libxml_intWrap(severity)); in libxml_xmlParserCtxtErrorHandler() 1600 PyTuple_SetItem(list, 3, Py_None); in libxml_xmlParserCtxtErrorHandler() 1673 PyTuple_SetItem(py_retval, 0, pyCtxt->f); in libxml_xmlParserCtxtGetErrorHandler() 1675 PyTuple_SetItem(py_retval, 1, pyCtxt->arg); in libxml_xmlParserCtxtGetErrorHandler() 1680 PyTuple_SetItem(py_retval, 0, Py_None); in libxml_xmlParserCtxtGetErrorHandler() 1682 PyTuple_SetItem(py_retval, 1, Py_None); in libxml_xmlParserCtxtGetErrorHandler() [all …]
|
/aosp_15_r20/external/python/cpython2/Modules/_sqlite/ |
D | cursor.c | 397 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() 690 …PyTuple_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 …]
|
/aosp_15_r20/external/python/cpython2/Modules/ |
D | glmodule.c | 72 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.c | 54 PyTuple_SetItem(args, 0, result); in functools_reduce() 55 PyTuple_SetItem(args, 1, op2); in functools_reduce()
|
D | cdmodule.c | 467 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.c | 566 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()
|
/aosp_15_r20/external/armnn/python/pyarmnn/src/pyarmnn/swig/typemaps/ |
H A D | network_optimize.i | 30 PyTuple_SetItem(errMsgTuple, i, string); 34 PyTuple_SetItem($result, 0, network); 35 PyTuple_SetItem($result, 1, errMsgTuple);
|
H A D | vectors.i | 98 PyTuple_SetItem(localTuple, 0, first); in from_cpp_to_python() 99 PyTuple_SetItem(localTuple, 1, second); in from_cpp_to_python()
|
/aosp_15_r20/external/python/cpython2/Mac/Modules/ |
D | _scproxy.c | 102 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()
|
/aosp_15_r20/external/pytorch/torch/csrc/xpu/ |
H A D | Module.cpp | 117 PyTuple_SetItem( in THXPModule_getCurrentStream_wrap() 119 PyTuple_SetItem( in THXPModule_getCurrentStream_wrap() 121 PyTuple_SetItem( in THXPModule_getCurrentStream_wrap() 384 PyTuple_SetItem(default_xpu_generators.get(), i, cast_gen); in THXPModule_initExtension()
|
/aosp_15_r20/external/python/cpython3/Modules/ |
D | _scproxy.c | 107 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()
|
D | termios.c | 390 PyTuple_SetItem(v, 0, PyLong_FromLong((long)w.ws_row)); in termios_tcgetwinsize_impl() 391 PyTuple_SetItem(v, 1, PyLong_FromLong((long)w.ws_col)); in termios_tcgetwinsize_impl() 414 PyTuple_SetItem(v, 0, PyLong_FromLong((long)s.ts_lines)); in termios_tcgetwinsize_impl() 415 PyTuple_SetItem(v, 1, PyLong_FromLong((long)s.ts_cols)); in termios_tcgetwinsize_impl()
|
/aosp_15_r20/external/tensorflow/tensorflow/python/lib/core/ |
H A D | ndarray_tensor.cc | 343 PyTuple_SetItem(field, 0, PyBytes_FromString("resource")); in GetPyArrayDescrForTensor() 345 PyTuple_SetItem(field, 0, PyUnicode_FromString("resource")); in GetPyArrayDescrForTensor() 347 PyTuple_SetItem(field, 1, PyArray_TypeObjectFromType(NPY_UBYTE)); in GetPyArrayDescrForTensor() 348 PyTuple_SetItem(field, 2, PyLong_FromLong(1)); in GetPyArrayDescrForTensor()
|
/aosp_15_r20/external/tensorflow/tensorflow/python/framework/ |
H A D | python_tensor_converter.cc | 123 PyTuple_SetItem(args.get(), 0, src); in Convert() 125 PyTuple_SetItem(args.get(), 1, PyLong_FromLong(dtype)); in Convert()
|
/aosp_15_r20/external/pytorch/torch/csrc/cuda/ |
H A D | Module.cpp | 196 PyTuple_SetItem( in THCPModule_getCurrentStream_wrap() 198 PyTuple_SetItem( in THCPModule_getCurrentStream_wrap() 200 PyTuple_SetItem( in THCPModule_getCurrentStream_wrap() 229 PyTuple_SetItem( in THCPModule_getDefaultStream_wrap() 231 PyTuple_SetItem( in THCPModule_getDefaultStream_wrap() 233 PyTuple_SetItem( in THCPModule_getDefaultStream_wrap() 410 PyTuple_SetItem(output_tuple, i, THPVariable_Wrap(outputs[i])); in THCPModule_cudaJiteratorCompileAndLaunchKernel() 1427 PyTuple_SetItem(default_cuda_generators, i, (PyObject*)cast_gen); in THCPModule_initExtension()
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/upb/python/ |
D | descriptor_containers.c | 481 PyTuple_SetItem(item, 0, in PyUpb_ByNameMap_Items() 483 PyTuple_SetItem(item, 1, py_elem); in PyUpb_ByNameMap_Items() 697 PyTuple_SetItem(item, 0, PyLong_FromLong(number)); in PyUpb_ByNumberMap_Items() 698 PyTuple_SetItem(item, 1, py_elem); in PyUpb_ByNumberMap_Items()
|
/aosp_15_r20/external/python/cpython3/Doc/c-api/ |
D | tuple.rst | 75 .. 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
|
D | intro.rst | 374 single: PyTuple_SetItem() 377 :c:func:`PyList_SetItem` and :c:func:`PyTuple_SetItem`, which steal a reference 387 PyTuple_SetItem(t, 0, PyLong_FromLong(1L)); 388 PyTuple_SetItem(t, 1, PyLong_FromLong(2L)); 389 PyTuple_SetItem(t, 2, PyUnicode_FromString("three")); 392 stolen by :c:func:`PyTuple_SetItem`. When you want to keep using an object 396 Incidentally, :c:func:`PyTuple_SetItem` is the *only* way to set tuple items; 399 :c:func:`PyTuple_SetItem` for tuples that you are creating yourself.
|
/aosp_15_r20/external/python/cpython2/RISCOS/Modules/ |
D | swimodule.c | 411 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()
|
/aosp_15_r20/external/python/cpython2/Doc/c-api/ |
D | intro.rst | 198 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.
|
D | tuple.rst | 111 .. 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
|
/aosp_15_r20/external/python/cpython2/Mac/Modules/snd/ |
D | _Sndihooks.c | 412 PyTuple_SetItem(rsizes, i, PyInt_FromLong((long)fsizes[i])); 452 PyTuple_SetItem(rrates, i, obj);
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/ |
D | tupleobject.h | 33 PyAPI_FUNC(int) PyTuple_SetItem(PyObject *, Py_ssize_t, PyObject *);
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/ |
D | tupleobject.h | 33 PyAPI_FUNC(int) PyTuple_SetItem(PyObject *, Py_ssize_t, PyObject *);
|