Home
last modified time | relevance | path

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

12

/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.rst362 :c:func:`PySequence_SetItem` and :c:func:`PyObject_SetItem` refuse to do this
380 It is much more common to use :c:func:`PyObject_SetItem` and friends with items
399 if (PyObject_SetItem(target, index, item) < 0) {
620 if (PyObject_SetItem(dict, key, incremented_item) < 0)
Dobject.rst330 .. c:function:: int PyObject_SetItem(PyObject *o, PyObject *key, PyObject *v)
/external/python/cpython3/Objects/
Dodictobject.c1037 else if (PyObject_SetItem((PyObject *)self, key, default_value) >= 0) { in OrderedDict_setdefault_impl()
1272 res = PyObject_SetItem((PyObject *)od_copy, in odict_copy()
2224 res = PyObject_SetItem(self, key, value); in mutablemapping_add_pairs()
2275 res = PyObject_SetItem(self, key, value); in mutablemapping_update_arg()
Dweakrefobject.c633 res = PyObject_SetItem(obj, key, value); in WRAP_BINARY()
Dframeobject.c1003 if (PyObject_SetItem(dict, key, value) != 0) in map_to_dict()
Dabstract.c200 PyObject_SetItem(PyObject *o, PyObject *key, PyObject *value) in PyObject_SetItem() function
2240 r = PyObject_SetItem(o, okey, value); in PyMapping_SetItemString()
/external/python/cpython3/Python/
Dimport.c345 return PyObject_SetItem(modules, name, m); in _PyImport_SetModule()
512 if (PyObject_SetItem(modules, name, Py_None) < 0) { \ in _PyImport_Cleanup()
702 if (PyObject_SetItem(modules, name, mod) < 0) { in _PyImport_FixupExtensionObject()
802 if (PyObject_SetItem(modules, name, mod) == -1) { in import_find_extension()
878 if (PyObject_SetItem(modules, name, m) != 0) { in import_add_module()
Dceval.c1988 err = PyObject_SetItem(container, sub, v); in _PyEval_EvalFrameDefault()
2357 err = PyObject_SetItem(ns, name, v); in _PyEval_EvalFrameDefault()
2898 err = PyObject_SetItem(f->f_locals, ann_str, ann_dict); in _PyEval_EvalFrameDefault()
5369 err = PyObject_SetItem(locals, name, value); in import_all_from()
/external/python/cpython2/PC/os2vacpp/
Dpython.def325 PyObject_SetItem
/external/python/cpython3/Include/
Dabstract.h297 PyAPI_FUNC(int) PyObject_SetItem(PyObject *o, PyObject *key, PyObject *v);
/external/python/cpython2/Include/
Dabstract.h453 PyAPI_FUNC(int) PyObject_SetItem(PyObject *o, PyObject *key, PyObject *v);
/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:
/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)
/external/python/cpython3/PC/
Dpython3.def494 PyObject_SetItem=python39.PyObject_SetItem
/external/python/cpython2/Objects/
Dframeobject.c843 if (PyObject_SetItem(dict, key, value) != 0) in map_to_dict()
Dweakrefobject.c596 return PyObject_SetItem(PyWeakref_GET_OBJECT(proxy), key, value); in WRAP_BINARY()
Dabstract.c163 PyObject_SetItem(PyObject *o, PyObject *key, PyObject *value) in PyObject_SetItem() function
2492 r = PyObject_SetItem(o, okey, value);
/external/python/cpython3/Doc/data/
Drefcounts.dat1788 PyObject_SetItem:int:::
1789 PyObject_SetItem:PyObject*:o:0:
1790 PyObject_SetItem:PyObject*:key:0:
1791 PyObject_SetItem:PyObject*:v:+1:
/external/python/cpython2/Modules/
Doperator.c132 spam3n(op_setitem , PyObject_SetItem) in spami()
DcPickle.c4516 if (PyObject_SetItem(dict, key, value) < 0) { in do_setitems()
4616 if (PyObject_SetItem(dict, d_key, d_value) < 0) { in load_build()
6046 if (PyObject_SetItem(d, k, v) < 0) { in initcPickle()
/external/python/cpython2/PC/os2emx/
Dpython27.def93 "PyObject_SetItem"
/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()
/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()
D_operator.c540 if (-1 == PyObject_SetItem(a, b, c)) in _operator_setitem_impl()

12