Home
last modified time | relevance | path

Searched refs:PyObject_GetItem (Results 1 – 25 of 49) sorted by relevance

12

/external/python/cpython3/Doc/c-api/
Dmapping.rst8 See also :c:func:`PyObject_GetItem`, :c:func:`PyObject_SetItem` and
34 See also :c:func:`PyObject_GetItem`.
65 To get error reporting use :c:func:`PyObject_GetItem()` instead.
Ddict.rst206 and :c:func:`PyObject_GetItem`. If *override* is true, existing pairs in *a*
/external/python/cpython2/Modules/
Doperator.c130 spam2(op_getitem , PyObject_GetItem) in spami()
519 return PyObject_GetItem(obj, ig->item); in itemgetter_call()
531 val = PyObject_GetItem(obj, item); in itemgetter_call()
/external/python/cpython3/Objects/stringlib/
Dunicode_format.h171 newobj = PyObject_GetItem(obj, idx_obj); in getitem_idx()
184 newobj = PyObject_GetItem(obj, str); in getitem_str()
424 obj = PyObject_GetItem(kwargs, key); in get_field_object()
/external/python/cpython3/Python/
Dimport.c366 m = PyObject_GetItem(modules, name); in PyImport_GetModule()
489 value = PyObject_GetItem(modules, key); in PyImport_Cleanup()
788 m = PyObject_GetItem(modules, name); in _PyImport_AddModuleObject()
1907 builtins = PyObject_GetItem(globals, builtins_str); in PyImport_Import()
1924 import = PyObject_GetItem(builtins, import_str); in PyImport_Import()
Dceval.c1313 PyObject *res = PyObject_GetItem(container, sub); in _PyEval_EvalFrameDefault()
1911 bc = PyObject_GetItem(f->f_builtins, build_class_str); in _PyEval_EvalFrameDefault()
2071 v = PyObject_GetItem(locals, name); in _PyEval_EvalFrameDefault()
2093 v = PyObject_GetItem(f->f_builtins, name); in _PyEval_EvalFrameDefault()
2132 v = PyObject_GetItem(f->f_globals, name); in _PyEval_EvalFrameDefault()
2139 v = PyObject_GetItem(f->f_builtins, name); in _PyEval_EvalFrameDefault()
2199 value = PyObject_GetItem(locals, name); in _PyEval_EvalFrameDefault()
2422 ann_dict = PyObject_GetItem(f->f_locals, ann_str); in _PyEval_EvalFrameDefault()
/external/python/cpython3/Modules/_sqlite/
Drow.c145 return PyObject_GetItem(self->data, idx); in pysqlite_row_subscript()
/external/python/cpython3/Objects/
Dodictobject.c983 result = PyObject_GetItem((PyObject *)self, key); in OrderedDict_setdefault_impl()
1062 value = PyObject_GetItem(od, key); in _odict_popkey_hash()
1216 PyObject *value = PyObject_GetItem((PyObject *)od, in odict_copy()
2255 PyObject *value = PyObject_GetItem(other, key); in mutablemapping_update()
Dabstract.c143 PyObject_GetItem(PyObject *o, PyObject *key) in PyObject_GetItem() function
2114 r = PyObject_GetItem(o, okey); in PyMapping_GetItemString()
2157 v = PyObject_GetItem(o, key); in PyMapping_HasKey()
Dweakrefobject.c568 WRAP_BINARY(proxy_getitem, PyObject_GetItem) in WRAP_BINARY() argument
Dframeobject.c893 PyObject *value = PyObject_GetItem(dict, key); in dict_to_map()
/external/python/cpython3/Modules/
D_operator.c521 return PyObject_GetItem(a, b); in _operator_getitem_impl()
1001 return PyObject_GetItem(obj, ig->item); in itemgetter_call()
1013 val = PyObject_GetItem(obj, item); in itemgetter_call()
/external/python/cpython2/PC/os2vacpp/
Dpython.def314 PyObject_GetItem
/external/python/cpython2/Objects/stringlib/
Dstring_format.h258 newobj = PyObject_GetItem(obj, idx_obj); in getitem_idx()
271 newobj = PyObject_GetItem(obj, str); in getitem_str()
/external/python/cpython2/Include/
Dabstract.h444 PyAPI_FUNC(PyObject *) PyObject_GetItem(PyObject *o, PyObject *key);
/external/protobuf/python/google/protobuf/pyext/
Drepeated_composite_container.cc237 return PyObject_GetItem(self->child_messages, slice); in Subscript()
/external/python/cpython3/Include/
Dabstract.h435 PyAPI_FUNC(PyObject *) PyObject_GetItem(PyObject *o, PyObject *key);
/external/python/cpython2/Python/
Dpeephole.c138 newconst = PyObject_GetItem(v, w); in fold_binops_on_constants()
/external/python/cpython3/PC/
Dpython3.def471 PyObject_GetItem=python37.PyObject_GetItem
/external/python/cpython2/Doc/c-api/
Ddict.rst203 and :c:func:`PyObject_GetItem`. If *override* is true, existing pairs in *a*
/external/python/cpython2/Doc/data/
Drefcounts.dat974 PyObject_GetItem:PyObject*::+1:
975 PyObject_GetItem:PyObject*:o:0:
976 PyObject_GetItem:PyObject*:key:0:
/external/python/cpython2/Objects/
Dabstract.c135 PyObject_GetItem(PyObject *o, PyObject *key) in PyObject_GetItem() function
2473 r = PyObject_GetItem(o, okey);
2516 v = PyObject_GetItem(o, key);
Dframeobject.c880 PyObject *value = PyObject_GetItem(dict, key); in dict_to_map()
Dweakrefobject.c585 WRAP_BINARY(proxy_getitem, PyObject_GetItem) in WRAP_BINARY() argument
/external/tensorflow/tensorflow/python/util/
Dutil.cc401 PyObject* elem = PyObject_GetItem(mapping_, key.get()); in next()

12