Home
last modified time | relevance | path

Searched refs:PyDict_GetItem (Results 1 – 25 of 42) sorted by relevance

12

/external/protobuf/python/google/protobuf/pyext/
Dextension_dict.cc106 PyObject* value = PyDict_GetItem(self->values, key); in subscript()
192 PyObject* value = PyDict_GetItem(self->values, extension); in ClearExtension()
233 PyObject* result = PyDict_GetItem(extensions_by_name.get(), name); in _FindExtensionByName()
248 PyObject* result = PyDict_GetItem(extensions_by_number.get(), number); in _FindExtensionByNumber()
Dmessage.cc236 PyObject* py_descriptor = PyDict_GetItem(dict, kDESCRIPTOR); in New()
1672 PyDict_GetItem(self->composite_fields, arg) : NULL; in CheckAndGetInteger()
1976 PyDict_GetItem(extensions_by_name.get(), full_name.get()); in CheckAndGetInteger()
2008 existing_extension = PyDict_GetItem(extensions_by_number.get(), number.get()); in CheckAndGetInteger()
2645 PyDict_GetItem(self->composite_fields, name) : NULL; in CheckAndGetInteger()
Dmap_container.cc615 PyObject* ret = PyDict_GetItem(self->message_dict, key.get()); in GetCMessage()
/external/python/cpython2/Python/
Dsymtable.c292 v = PyDict_GetItem(st->st_symbols, k); in PySymtable_Lookup()
309 PyObject *v = PyDict_GetItem(ste->ste_symbols, name); in PyST_GetScope()
390 if (bound && PyDict_GetItem(bound, name)) { in analyze_name()
400 if (PyDict_GetItem(global, name)) { in analyze_name()
411 if (bound && PyDict_GetItem(bound, name)) { in analyze_name()
421 else if (global && PyDict_GetItem(global, name)) { in analyze_name()
463 if (!PyDict_GetItem(free, name)) in analyze_cells()
539 w = PyDict_GetItem(scope, name); in update_symbols()
560 PyObject *o = PyDict_GetItem(symbols, name); in update_symbols()
585 if (!PyDict_GetItem(bound, name)) in update_symbols()
[all …]
D_warnings.c57 warnings_module = PyDict_GetItem(all_modules, warnings_str); in get_warnings_attr()
176 already_warned = PyDict_GetItem(registry, key); in already_warned()
Dimport.c1245 importer = PyDict_GetItem(path_importer_cache, p); in get_path_importer()
2363 pkgname = PyDict_GetItem(globals, pkgstr); in get_parent()
2390 modname = PyDict_GetItem(globals, namestr); in get_parent()
2394 modpath = PyDict_GetItem(globals, pathstr); in get_parent()
2796 parent = PyDict_GetItem(modules, parentname); in PyImport_ReloadModule()
Dceval.c2305 x = PyDict_GetItem(v, w); in PyEval_EvalFrameEx()
2318 x = PyDict_GetItem(f->f_globals, w); in PyEval_EvalFrameEx()
2320 x = PyDict_GetItem(f->f_builtins, w); in PyEval_EvalFrameEx()
2373 x = PyDict_GetItem(f->f_globals, w); in PyEval_EvalFrameEx()
2375 x = PyDict_GetItem(f->f_builtins, w); in PyEval_EvalFrameEx()
4470 if (PyDict_GetItem(kwdict, key) != NULL) { in update_keyword_args()
5158 PyDict_GetItem(locals, name) == v) { in string_concatenate()
Dcodecs.c118 result = PyDict_GetItem(interp->codec_search_cache, v); in _PyCodec_Lookup()
/external/python/cpython2/Modules/
Dthreadmodule.c411 PyDict_GetItem(tstate->dict, self->key)) in local_clear()
445 dummy = PyDict_GetItem(tdict, self->key); in _ldict()
561 value = PyDict_GetItem(ldict, name); in local_getattro()
587 ldict = PyDict_GetItem(self->dummies, dummyweakref); in _localdummy_destroyed()
DcPickle.c750 if (!( mv = PyDict_GetItem(self->memo, id))) { in get()
959 if (PyDict_GetItem(self->fast_memo, key)) { in fast_save_enter()
1553 if (PyDict_GetItem(self->memo, py_tuple_id)) { in save_tuple()
1579 if (PyDict_GetItem(self->memo, py_tuple_id)) { in save_tuple()
2243 py_code = PyDict_GetItem(extension_registry, two_tuple); in save_global()
2541 if (PyDict_GetItem(self->memo, py_ob_id)) { in save_reduce()
2660 if (PyDict_GetItem(self->memo, py_ob_id)) { in save()
2755 __reduce__ = PyDict_GetItem(dispatch_table, (PyObject *)type); in save()
3352 module = PyDict_GetItem(module, py_module_name); in find_class()
4217 value = PyDict_GetItem(self->memo, py_str); in load_get()
[all …]
D_hotshot.c352 list = PyDict_GetItem(self->info, key); in unpack_add_info()
780 obj = PyDict_GetItem(self->filemap, fcode->co_filename); in get_fileno()
814 PyObject *name = PyDict_GetItem(dict, obj); in get_fileno()
Dpyexpat.c397 value = PyDict_GetItem(self->intern, result); in string_intern()
1899 errors_module = PyDict_GetItem(d, errmod_name); in MODULE_INITFUNC()
1909 model_module = PyDict_GetItem(d, modelmod_name); in MODULE_INITFUNC()
Dimageop.c104 bco = PyDict_GetItem(ImageopDict, bcos); in imageop_backward_compatible()
D_elementtree.c944 value = PyDict_GetItem(self->extra->attrib, key); in element_get()
2086 value = PyDict_GetItem(self->names, key);
2191 value = PyDict_GetItem(self->entity, key);
/external/python/cpython2/Modules/_sqlite/
Dmicroprotocols.c89 adapter = PyDict_GetItem(psyco_adapters, key); in pysqlite_microprotocols_adapt()
Dcache.c123 node = (pysqlite_Node*)PyDict_GetItem(self->mapping, key); in pysqlite_cache_get()
/external/python/cpython2/Include/
Ddictobject.h110 PyAPI_FUNC(PyObject *) PyDict_GetItem(PyObject *mp, PyObject *key);
/external/python/cpython2/Objects/
Ddictobject.c708 PyDict_GetItem(PyObject *op, PyObject *key) in PyDict_GetItem() function
1553 if (override || PyDict_GetItem(d, key) == NULL) { in PyDict_MergeFromSeq2()
1619 PyDict_GetItem(a, entry->me_key) == NULL)) { in PyDict_Merge()
1650 if (!override && PyDict_GetItem(a, key) != NULL) { in PyDict_Merge()
1787 thisbval = PyDict_GetItem((PyObject *)b, thiskey); in characterize()
1895 bval = PyDict_GetItem((PyObject *)b, key); in dict_equal()
2455 rv = PyDict_GetItem(v, kv); in PyDict_GetItemString()
3151 found = PyDict_GetItem((PyObject *)dv->dv_dict, key); in dictitems_contains()
Dclassobject.c59 if (PyDict_GetItem(dict, docstr) == NULL) { in PyClass_New()
63 if (PyDict_GetItem(dict, modstr) == NULL) { in PyClass_New()
66 PyObject *modname = PyDict_GetItem(globals, namestr); in PyClass_New()
207 PyObject *value = PyDict_GetItem(cp->cl_dict, name); in class_lookup()
751 v = PyDict_GetItem(inst->in_dict, name); in instance_getattr2()
804 v = PyDict_GetItem(inst->in_dict, name); in _PyInstance_Lookup()
Dfuncobject.c51 module = PyDict_GetItem(globals, __name__); in PyFunction_New()
Dframeobject.c638 builtins = PyDict_GetItem(globals, builtin_object); in PyFrame_New()
/external/python/cpython2/Doc/c-api/
Ddict.rst109 .. c:function:: PyObject* PyDict_GetItem(PyObject *p, PyObject *key)
117 This is the same as :c:func:`PyDict_GetItem`, but *key* is specified as a
/external/python/cpython2/PC/os2vacpp/
Dpython.def123 PyDict_GetItem
/external/python/cpython2/Modules/_ctypes/
Dcallproc.c150 errobj = PyDict_GetItem(dict, error_object_name); in CTYPES_CAPSULE_INSTANTIATE_DESTRUCTOR()
1824 result = PyDict_GetItem(_ctypes_ptrtype_cache, cls); in POINTER()
1880 typ = PyDict_GetItem(_ctypes_ptrtype_cache, (PyObject *)Py_TYPE(arg)); in pointer()
/external/python/cpython2/Doc/data/
Drefcounts.dat215 PyDict_GetItem:PyObject*::0:0
216 PyDict_GetItem:PyObject*:p:0:
217 PyDict_GetItem:PyObject*:key:0:

12