Home
last modified time | relevance | path

Searched refs:PyObject_SetItem (Results 1 – 25 of 44) sorted by relevance

12

/aosp_15_r20/external/python/cpython3/Doc/c-api/
Dmapping.rst8 See also :c:func:`PyObject_GetItem`, :c:func:`PyObject_SetItem` and
40 See also :c:func:`PyObject_SetItem`. This function *does not* steal a
Dintro.rst397 :c:func:`PySequence_SetItem` and :c:func:`PyObject_SetItem` refuse to do this
415 It is much more common to use :c:func:`PyObject_SetItem` and friends with items
434 if (PyObject_SetItem(target, index, item) < 0) {
662 if (PyObject_SetItem(dict, key, incremented_item) < 0)
/aosp_15_r20/external/python/cpython3/Objects/
Dodictobject.c1026 else if (PyObject_SetItem((PyObject *)self, key, default_value) >= 0) { in OrderedDict_setdefault_impl()
1218 res = PyObject_SetItem((PyObject *)od_copy, in odict_copy()
2175 res = PyObject_SetItem(self, key, value); in mutablemapping_add_pairs()
2225 res = PyObject_SetItem(self, key, value); in mutablemapping_update_arg()
Dweakrefobject.c609 res = PyObject_SetItem(obj, key, value); in WRAP_BINARY()
Dabstract.c203 PyObject_SetItem(PyObject *o, PyObject *key, PyObject *value) in PyObject_SetItem() function
2372 r = PyObject_SetItem(o, okey, value); in PyMapping_SetItemString()
/aosp_15_r20/external/python/cpython3/Python/
Dimport.c300 return PyObject_SetItem(modules, name, m); in _PyImport_SetModule()
427 if (PyObject_SetItem(modules, name, mod) < 0) { in _PyImport_FixupExtensionObject()
533 if (PyObject_SetItem(modules, name, mod) == -1) { in import_find_extension()
590 if (PyObject_SetItem(modules, name, m) != 0) { in import_add_module()
/aosp_15_r20/external/python/cpython2/Doc/data/
Drefcounts.dat1040 PyObject_SetItem:int:::
1041 PyObject_SetItem:PyObject*:o:0:
1042 PyObject_SetItem:PyObject*:key:0:
1043 PyObject_SetItem:PyObject*:v:+1:
/aosp_15_r20/external/python/cpython2/PC/os2vacpp/
Dpython.def325 PyObject_SetItem
/aosp_15_r20/external/python/cpython2/Doc/c-api/
Dintro.rst221 :c:func:`PySequence_SetItem` and :c:func:`PyObject_SetItem` refuse to do this
239 It is much more common to use :c:func:`PyObject_SetItem` and friends with items
258 if (PyObject_SetItem(target, index, item) < 0) {
472 if (PyObject_SetItem(dict, key, incremented_item) < 0)
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/
Dabstract.h297 PyAPI_FUNC(int) PyObject_SetItem(PyObject *o, PyObject *key, PyObject *v);
/aosp_15_r20/external/python/cpython3/Include/
Dabstract.h297 PyAPI_FUNC(int) PyObject_SetItem(PyObject *o, PyObject *key, PyObject *v);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/
Dabstract.h297 PyAPI_FUNC(int) PyObject_SetItem(PyObject *o, PyObject *key, PyObject *v);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/
Dabstract.h297 PyAPI_FUNC(int) PyObject_SetItem(PyObject *o, PyObject *key, PyObject *v);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/
Dabstract.h297 PyAPI_FUNC(int) PyObject_SetItem(PyObject *o, PyObject *key, PyObject *v);
/aosp_15_r20/external/python/cpython2/Include/
Dabstract.h453 PyAPI_FUNC(int) PyObject_SetItem(PyObject *o, PyObject *key, PyObject *v);
/aosp_15_r20/external/pytorch/torch/csrc/dynamo/
H A Dcpython_defs.c155 if (PyObject_SetItem(locals, name, value) != 0) { in THP_PyFrame_FastToLocalsWithError()
/aosp_15_r20/external/python/cpython3/Doc/data/
Drefcounts.dat1794 PyObject_SetItem:int:::
1795 PyObject_SetItem:PyObject*:o:0:
1796 PyObject_SetItem:PyObject*:key:0:
1797 PyObject_SetItem:PyObject*:v:+1:
/aosp_15_r20/external/python/cpython2/Python/
Dceval.c1921 err = PyObject_SetItem(v, w, u); in PyEval_EvalFrameEx()
2188 err = PyObject_SetItem(x, w, v); in PyEval_EvalFrameEx()
4804 res = PyObject_SetItem(u, slice, x); in assign_slice()
4967 err = PyObject_SetItem(locals, name, value); in import_all_from()
/aosp_15_r20/external/python/cpython2/Objects/
Dweakrefobject.c596 return PyObject_SetItem(PyWeakref_GET_OBJECT(proxy), key, value); in WRAP_BINARY()
Dframeobject.c843 if (PyObject_SetItem(dict, key, value) != 0) in map_to_dict()
Dabstract.c163 PyObject_SetItem(PyObject *o, PyObject *key, PyObject *value) in PyObject_SetItem() function
2492 r = PyObject_SetItem(o, okey, value);
/aosp_15_r20/external/python/cpython2/Modules/
Doperator.c132 spam3n(op_setitem , PyObject_SetItem) in spami()
/aosp_15_r20/external/python/cpython2/PC/os2emx/
Dpython27.def93 "PyObject_SetItem"
/aosp_15_r20/external/python/cpython3/Modules/
D_collectionsmodule.c1988 if (PyObject_SetItem((PyObject *)dd, key, value) < 0) { in defdict_missing()
2373 if (PyObject_SetItem(mapping, key, newval) < 0) in _collections__count_elements_impl()
/aosp_15_r20/external/python/cpython3/PC/
Dpython3dll.c484 EXPORT_FUNC(PyObject_SetItem)

12