Home
last modified time | relevance | path

Searched refs:PyDict_GetItemWithError (Results 1 – 25 of 40) sorted by relevance

12

/external/python/cpython3/Include/
Dodictobject.h32 PyDict_GetItemWithError(_PyObject_CAST(od), key)
Ddictobject.h23 PyAPI_FUNC(PyObject *) PyDict_GetItemWithError(PyObject *mp, PyObject *key);
/external/python/cpython3/Modules/_sqlite/
Dmicroprotocols.c90 adapter = PyDict_GetItemWithError(psyco_adapters, key); in pysqlite_microprotocols_adapt()
Dcache.c121 node = (pysqlite_Node*)PyDict_GetItemWithError(self->mapping, key); in pysqlite_cache_get()
Dstatement.c293 current_param = PyDict_GetItemWithError(parameters, binding_name_obj); in pysqlite_statement_bind_parameters()
Dcursor.c115 retval = PyDict_GetItemWithError(_pysqlite_converters, upcase_key); in _pysqlite_get_converter()
/external/python/cpython3/Doc/c-api/
Ddict.rst103 To get error reporting use :c:func:`PyDict_GetItemWithError()` instead.
106 .. c:function:: PyObject* PyDict_GetItemWithError(PyObject *p, PyObject *key)
122 To get error reporting use :c:func:`PyDict_GetItemWithError()` instead.
/external/python/cpython3/Objects/
Dnamespaceobject.c103 value = PyDict_GetItemWithError(d, key); in namespace_repr()
Ddictobject.c1456 PyDict_GetItemWithError(PyObject *op, PyObject *key) in PyDict_GetItemWithError() function
1502 rv = PyDict_GetItemWithError(v, kv); in _PyDict_GetItemStringWithError()
2468 else if (PyDict_GetItemWithError(d, key) == NULL) { in PyDict_MergeFromSeq2()
2600 if (PyDict_GetItemWithError(a, key) != NULL) { in dict_merge()
4585 found = PyDict_GetItemWithError((PyObject *)dv->dv_dict, key); in dictitems_contains()
Dfuncobject.c25 module = PyDict_GetItemWithError(globals, __name__); in PyFunction_NewWithQualName()
Dobject.c1123 attr = PyDict_GetItemWithError(dict, name); in _PyObject_GetMethod()
1232 res = PyDict_GetItemWithError(dict, name); in _PyObject_GenericGetAttrWithDict()
/external/python/cpython3/Modules/
Dxxlimited.c82 PyObject *v = PyDict_GetItemWithError(self->x_attr, name); in Xxo_getattro()
Dxxmodule.c69 PyObject *v = PyDict_GetItemWithError(self->x_attr, name); in Xxo_getattro()
D_threadmodule.c856 dummy = PyDict_GetItemWithError(tdict, self->key); in _ldict()
976 value = PyDict_GetItemWithError(ldict, name); in local_getattro()
1006 ldict = PyDict_GetItemWithError(self->dummies, dummyweakref); in _localdummy_destroyed()
Dpyexpat.c229 value = PyDict_GetItemWithError(self->intern, result); in string_intern()
1617 if (PyDict_GetItemWithError(Xmlparsetype.tp_dict, PyDescr_NAME(descr))) { in init_handler_descrs()
1696 errors_module = PyDict_GetItemWithError(d, errmod_name); in MODULE_INITFUNC()
1706 model_module = PyDict_GetItemWithError(d, modelmod_name); in MODULE_INITFUNC()
D_testmultiphase.c74 PyObject *v = PyDict_GetItemWithError(self->x_attr, name); in Example_getattro()
D_pickle.c2007 if (PyDict_GetItemWithError(self->fast_memo, key)) { in fast_save_enter()
3525 item = PyDict_GetItemWithError(st->name_mapping_3to2, key); in fix_imports()
3562 item = PyDict_GetItemWithError(st->import_mapping_3to2, *module_name); in fix_imports()
3667 code_obj = PyDict_GetItemWithError(st->extension_registry, in save_global()
4385 reduce_func = PyDict_GetItemWithError(st->dispatch_table, in save()
6333 obj = PyDict_GetItemWithError(st->extension_cache, py_code); in load_extension()
6346 pair = PyDict_GetItemWithError(st->inverted_registry, py_code); in load_extension()
7104 item = PyDict_GetItemWithError(st->name_mapping_2to3, key); in _pickle_Unpickler_find_class_impl()
7130 item = PyDict_GetItemWithError(st->import_mapping_2to3, module_name); in _pickle_Unpickler_find_class_impl()
D_elementtree.c351 PyObject *attrib = PyDict_GetItemWithError(kwds, attrib_str); in get_attrib_from_keywords()
1401 value = PyDict_GetItemWithError(self->extra->attrib, key); in _elementtree_Element_get_impl()
3101 value = PyDict_GetItemWithError(self->names, key); in makeuniversal()
3228 value = PyDict_GetItemWithError(self->entity, key); in expat_default_handler()
/external/python/cpython3/Misc/NEWS.d/
D3.5.0b3.rst179 Set KeyError if PyDict_GetItemWithError returns NULL.
/external/python/cpython3/Python/
Dimport.c369 m = PyDict_GetItemWithError(modules, name); /* borrowed */ in import_get_module()
774 PyModuleDef* def = (PyModuleDef *)PyDict_GetItemWithError(extensions, key); in import_find_extension()
859 m = PyDict_GetItemWithError(modules, name); in import_add_module()
1199 importer = PyDict_GetItemWithError(path_importer_cache, p); in get_path_importer()
Dgetargs.c2194 current_arg = PyDict_GetItemWithError(kwargs, keyword); in vgetargskeywordsfast_impl()
2266 current_arg = PyDict_GetItemWithError(kwargs, keyword); in vgetargskeywordsfast_impl()
2452 current_arg = PyDict_GetItemWithError(kwargs, keyword); in _PyArg_UnpackKeywords()
2491 current_arg = PyDict_GetItemWithError(kwargs, keyword); in _PyArg_UnpackKeywords()
Dsymtable.c378 v = PyDict_GetItemWithError(st->st_blocks, k); in PySymtable_Lookup()
663 v = PyDict_GetItemWithError(symbols, name); in update_symbols()
1024 if ((o = PyDict_GetItemWithError(dict, mangled))) { in symtable_add_def_helper()
Dceval.c2489 v = PyDict_GetItemWithError(locals, name); in _PyEval_EvalFrameDefault()
2506 v = PyDict_GetItemWithError(f->f_globals, name); in _PyEval_EvalFrameDefault()
2515 v = PyDict_GetItemWithError(f->f_builtins, name); in _PyEval_EvalFrameDefault()
2671 value = PyDict_GetItemWithError(locals, name); in _PyEval_EvalFrameDefault()
4255 PyObject *def = PyDict_GetItemWithError(kwdefs, name); in _PyEval_EvalCode()
5539 PyObject *w = PyDict_GetItemWithError(locals, name); in unicode_concatenate()
/external/python/cpython3/Modules/_ctypes/
Dcallproc.c155 errobj = PyDict_GetItemWithError(dict, error_object_name); in _ctypes_get_errobj()
1883 result = PyDict_GetItemWithError(_ctypes_ptrtype_cache, cls); in POINTER()
1946 typ = PyDict_GetItemWithError(_ctypes_ptrtype_cache, (PyObject *)Py_TYPE(arg)); in pointer()
/external/python/cpython3/PC/
Dpython3.def101 PyDict_GetItemWithError=python39.PyDict_GetItemWithError

12