Home
last modified time | relevance | path

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

12

/external/python/cpython3/Doc/c-api/
Dmapping.rst8 See also :c:func:`PyObject_GetItem`, :c:func:`PyObject_SetItem` and
41 See also :c:func:`PyObject_SetItem`.
Dintro.rst298 :c:func:`PySequence_SetItem` and :c:func:`PyObject_SetItem` refuse to do this
316 It is much more common to use :c:func:`PyObject_SetItem` and friends with items
335 if (PyObject_SetItem(target, index, item) < 0) {
556 if (PyObject_SetItem(dict, key, incremented_item) < 0)
Dobject.rst417 .. c:function:: int PyObject_SetItem(PyObject *o, PyObject *key, PyObject *v)
/external/python/cpython3/Python/
Dimport.c341 return PyObject_SetItem(modules, name, m); in _PyImport_SetModule()
469 if (PyObject_SetItem(modules, name, Py_None) < 0) { \ in PyImport_Cleanup()
654 if (PyObject_SetItem(modules, name, mod) < 0) in _PyImport_FixupExtensionObject()
738 if (PyObject_SetItem(modules, name, mod) == -1) { in _PyImport_FindExtensionObjectEx()
804 if (PyObject_SetItem(modules, name, m) != 0) { in _PyImport_AddModuleObject()
Dceval.c1576 err = PyObject_SetItem(container, sub, v); in _PyEval_EvalFrameDefault()
1937 err = PyObject_SetItem(ns, name, v); in _PyEval_EvalFrameDefault()
2432 err = PyObject_SetItem(f->f_locals, ann_str, ann_dict); in _PyEval_EvalFrameDefault()
4914 err = PyObject_SetItem(locals, name, value); in import_all_from()
/external/python/cpython3/Objects/
Dodictobject.c985 else if (PyObject_SetItem((PyObject *)self, key, default_value) >= 0) { in OrderedDict_setdefault_impl()
1220 res = PyObject_SetItem((PyObject *)od_copy, in odict_copy()
2184 res = PyObject_SetItem(self, key, value); in mutablemapping_add_pairs()
2257 res = PyObject_SetItem(self, key, value); in mutablemapping_update()
Dweakrefobject.c579 return PyObject_SetItem(PyWeakref_GET_OBJECT(proxy), key, value); in WRAP_BINARY()
Dframeobject.c855 if (PyObject_SetItem(dict, key, value) != 0) in map_to_dict()
Dabstract.c191 PyObject_SetItem(PyObject *o, PyObject *key, PyObject *value) in PyObject_SetItem() function
2133 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/cpython2/Include/
Dabstract.h453 PyAPI_FUNC(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)
/external/python/cpython3/Include/
Dabstract.h443 PyAPI_FUNC(int) PyObject_SetItem(PyObject *o, PyObject *key, PyObject *v);
/external/python/cpython3/PC/
Dpython3.def492 PyObject_SetItem=python37.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.dat1759 PyObject_SetItem:int:::
1760 PyObject_SetItem:PyObject*:o:0:
1761 PyObject_SetItem:PyObject*:key:0:
1762 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.c2004 if (PyObject_SetItem((PyObject *)dd, key, value) < 0) { in defdict_missing()
2348 if (PyObject_SetItem(mapping, key, newval) < 0) in _count_elements()
D_operator.c540 if (-1 == PyObject_SetItem(a, b, c)) in _operator_setitem_impl()

12