Home
last modified time | relevance | path

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

12

/external/python/cpython3/Objects/
Dodictobject.c1045 else if (PyObject_SetItem((PyObject *)od, key, failobj) >= 0) { in odict_setdefault()
1284 res = PyObject_SetItem((PyObject *)od_copy, in odict_copy()
2320 res = PyObject_SetItem(self, key, value); in mutablemapping_add_pairs()
2389 res = PyObject_SetItem(self, key, value); in mutablemapping_update()
Dframeobject.c796 if (PyObject_SetItem(dict, key, value) != 0) in map_to_dict()
Dweakrefobject.c579 return PyObject_SetItem(PyWeakref_GET_OBJECT(proxy), key, value); in WRAP_BINARY()
Dabstract.c170 PyObject_SetItem(PyObject *o, PyObject *key, PyObject *value) in PyObject_SetItem() function
2081 r = PyObject_SetItem(o, okey, value); in PyMapping_SetItemString()
/external/python/cpython2/PC/os2vacpp/
Dpython.def325 PyObject_SetItem
/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/cpython3/Doc/data/
Drefcounts.dat1054 PyObject_SetItem:int:::
1055 PyObject_SetItem:PyObject*:o:0:
1056 PyObject_SetItem:PyObject*:key:0:
1057 PyObject_SetItem:PyObject*:v:+1:
/external/python/cpython2/Include/
Dabstract.h453 PyAPI_FUNC(int) PyObject_SetItem(PyObject *o, PyObject *key, PyObject *v);
/external/python/cpython3/Doc/c-api/
Dintro.rst222 :c:func:`PySequence_SetItem` and :c:func:`PyObject_SetItem` refuse to do this
240 It is much more common to use :c:func:`PyObject_SetItem` and friends with items
259 if (PyObject_SetItem(target, index, item) < 0) {
480 if (PyObject_SetItem(dict, key, incremented_item) < 0)
Dobject.rst389 .. c:function:: int PyObject_SetItem(PyObject *o, PyObject *key, PyObject *v)
/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)
Dobject.rst378 .. c:function:: int PyObject_SetItem(PyObject *o, PyObject *key, PyObject *v)
/external/python/cpython3/Include/
Dabstract.h521 PyAPI_FUNC(int) PyObject_SetItem(PyObject *o, PyObject *key, PyObject *v);
/external/python/cpython3/PC/
Dpython3.def492 PyObject_SetItem=python36.PyObject_SetItem
/external/python/cpython2/Objects/
Dweakrefobject.c594 return PyObject_SetItem(PyWeakref_GET_OBJECT(proxy), key, value); in WRAP_BINARY()
Dframeobject.c807 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
2495 r = PyObject_SetItem(o, okey, value);
/external/python/cpython3/Python/
Dceval.c1727 err = PyObject_SetItem(container, sub, v); in _PyEval_EvalFrameDefault()
1781 err = PyObject_SetItem(ann_dict, name, ann); in _PyEval_EvalFrameDefault()
2177 err = PyObject_SetItem(ns, name, v); in _PyEval_EvalFrameDefault()
2675 err = PyObject_SetItem(f->f_locals, ann_str, ann_dict); in _PyEval_EvalFrameDefault()
5284 err = PyObject_SetItem(locals, name, value); in import_all_from()
/external/python/cpython2/Modules/
Doperator.c132 spam3n(op_setitem , PyObject_SetItem) in spami()
DcPickle.c4530 if (PyObject_SetItem(dict, key, value) < 0) { in do_setitems()
4630 if (PyObject_SetItem(dict, d_key, d_value) < 0) { in load_build()
6060 if (PyObject_SetItem(d, k, v) < 0) { in initcPickle()
D_collectionsmodule.c1468 if (PyObject_SetItem((PyObject *)dd, key, value) < 0) { in defdict_missing()
/external/python/cpython2/Python/
Dceval.c1909 err = PyObject_SetItem(v, w, u); in PyEval_EvalFrameEx()
2176 err = PyObject_SetItem(x, w, v); in PyEval_EvalFrameEx()
4765 res = PyObject_SetItem(u, slice, x); in assign_slice()
4928 err = PyObject_SetItem(locals, name, value); in import_all_from()
/external/python/cpython2/PC/os2emx/
Dpython27.def93 "PyObject_SetItem"
/external/python/cpython3/Modules/
D_collectionsmodule.c1988 if (PyObject_SetItem((PyObject *)dd, key, value) < 0) { in defdict_missing()
2337 if (PyObject_SetItem(mapping, key, newval) < 0) in _count_elements()
D_operator.c106 spam3n(op_setitem , PyObject_SetItem) in spami()

12