Searched refs:PyObject_SetItem (Results 1 - 13 of 13) sorted by relevance
/third_party/python/Objects/ |
H A D | odictobject.c | 220 PyDict_SetItem PyObject_SetItem 1026 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()
|
H A D | weakrefobject.c | 609 res = PyObject_SetItem(obj, key, value); in proxy_setitem()
|
H A D | abstract.c | 203 PyObject_SetItem(PyObject *o, PyObject *key, PyObject *value) in PyObject_SetItem() function 2372 r = PyObject_SetItem(o, okey, value); in PyMapping_SetItemString()
|
H A D | frameobject.c | 1186 if (PyObject_SetItem(locals, name, value) != 0) { in _PyFrame_FastToLocalsWithError()
|
H A D | dictobject.c | 2339 status = PyObject_SetItem(d, key, value); in _PyDict_FromKeys()
|
/third_party/python/Python/ |
H A D | import.c | 300 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()
|
H A D | ceval.c | 2303 err = PyObject_SetItem(container, sub, v); 2770 err = PyObject_SetItem(ns, name, v); 3379 err = PyObject_SetItem(LOCALS(), &_Py_ID(__annotations__), 7602 err = PyObject_SetItem(locals, name, value);
|
H A D | pylifecycle.c | 1406 if (PyObject_SetItem(modules, name, Py_None) < 0) { \ in finalize_remove_modules()
|
/third_party/python/Include/ |
H A D | abstract.h | 297 PyAPI_FUNC(int) PyObject_SetItem(PyObject *o, PyObject *key, PyObject *v);
|
/third_party/python/PC/ |
H A D | python3dll.c | 484 EXPORT_FUNC(PyObject_SetItem)
|
/third_party/python/Modules/ |
H A D | _collectionsmodule.c | 1988 if (PyObject_SetItem((PyObject *)dd, key, value) < 0) { in defdict_missing() 2373 if (PyObject_SetItem(mapping, key, newval) < 0) in _collections__count_elements_impl()
|
H A D | _operator.c | 555 if (-1 == PyObject_SetItem(a, b, c)) in _operator_setitem_impl()
|
H A D | _pickle.c | 6561 if (PyObject_SetItem(dict, key, value) < 0) { in do_setitems() 6712 if (PyObject_SetItem(dict, d_key, d_value) < 0) { in load_build()
|
Completed in 69 milliseconds