Home
last modified time | relevance | path

Searched refs:PyDict_GetItemString (Results 1 – 25 of 43) sorted by relevance

12

/external/python/cpython2/Python/
Dimport.c445 value = PyDict_GetItemString(modules, "__builtin__"); in PyImport_Cleanup()
452 value = PyDict_GetItemString(modules, "sys"); in PyImport_Cleanup()
465 v = PyDict_GetItemString(dict, *(p+1)); in PyImport_Cleanup()
473 value = PyDict_GetItemString(modules, "__main__"); in PyImport_Cleanup()
536 value = PyDict_GetItemString(modules, "sys"); in PyImport_Cleanup()
543 value = PyDict_GetItemString(modules, "__builtin__"); in PyImport_Cleanup()
588 mod = PyDict_GetItemString(modules, name); in _PyImport_FixupExtension()
611 dict = PyDict_GetItemString(extensions, filename); in _PyImport_FindExtension()
679 if (PyDict_GetItemString(modules, name) == NULL) in remove_module()
711 if (PyDict_GetItemString(d, "__builtins__") == NULL) { in PyImport_ExecCodeModuleEx()
[all …]
D_warnings.c467 *registry = PyDict_GetItemString(globals, "__warningregistry__"); in setup_context()
483 *module = PyDict_GetItemString(globals, "__name__"); in setup_context()
493 *filename = PyDict_GetItemString(globals, "__file__"); in setup_context()
661 loader = PyDict_GetItemString(module_globals, "__loader__"); in warnings_warn_explicit()
662 module_name = PyDict_GetItemString(module_globals, "__name__"); in warnings_warn_explicit()
Dimportdl.c58 m = PyDict_GetItemString(PyImport_GetModuleDict(), name); in _PyImport_LoadDynamicModule()
Dsysmodule.c56 return PyDict_GetItemString(sd, name); in PySys_GetObject()
77 if (PyDict_GetItemString(sd, name) == NULL) in PySys_SetObject()
92 PyObject *builtins = PyDict_GetItemString(modules, "__builtin__"); in sys_displayhook()
1414 PyDict_GetItemString(sysdict, "displayhook")); in _PySys_Init()
1416 PyDict_GetItemString(sysdict, "excepthook")); in _PySys_Init()
Ddynload_beos.c139 py_id = PyDict_GetItemString( beos_dyn_images, name ); in beos_add_dyn()
Dbltinmodule.c666 if (PyDict_GetItemString(globals, "__builtins__") == NULL) { in builtin_eval()
752 if (PyDict_GetItemString(globals, "__builtins__") == NULL) { in builtin_execfile()
1254 if (PyDict_GetItemString(globals, "__builtins__") == NULL) { in builtin_input()
1368 keyfunc = PyDict_GetItemString(kwds, "key"); in min_max()
Dpythonrun.c711 if (PyDict_GetItemString(d, "__builtins__") == NULL) { in initmain()
922 if (PyDict_GetItemString(d, "__file__") == NULL) { in PyRun_SimpleFileExFlags()
Derrors.c598 if (PyDict_GetItemString(dict, "__module__") == NULL) { in PyErr_NewException()
/external/python/cpython2/Objects/
Dstructseq.c18 PyDict_GetItemString((tp)->tp_dict, visible_length_key))
21 PyDict_GetItemString((tp)->tp_dict, real_length_key))
25 PyDict_GetItemString((tp)->tp_dict, unnamed_fields_key))
213 if (dict && (ob = PyDict_GetItemString( in structseq_new()
Dmoduleobject.c70 (nameobj = PyDict_GetItemString(d, "__name__")) == NULL || in PyModule_GetName()
90 (fileobj = PyDict_GetItemString(d, "__file__")) == NULL || in PyModule_GetFilename()
Dtypeobject.c295 mod = PyDict_GetItemString(type->tp_dict, "__module__"); in type_module()
338 mod = PyDict_GetItemString(type->tp_dict, "__abstractmethods__"); in type_abstractmethods()
597 result = PyDict_GetItemString(type->tp_dict, "__doc__"); in type_get_doc()
2183 slots = PyDict_GetItemString(dict, "__slots__"); in type_new()
2396 if (PyDict_GetItemString(dict, "__module__") == NULL) { in type_new()
2399 tmp = PyDict_GetItemString(tmp, "__name__"); in type_new()
2415 PyObject *doc = PyDict_GetItemString(dict, "__doc__"); in type_new()
2430 tmp = PyDict_GetItemString(dict, "__new__"); in type_new()
3001 sorted = PyDict_GetItemString(builtins, "sorted"); in object_new()
3245 slotnames = PyDict_GetItemString(clsdict, "__slotnames__"); in slotnames()
[all …]
/external/python/cpython2/Modules/
Dzipimport.c127 files = PyDict_GetItemString(zip_directory_cache, path); in zipimporter_init()
272 if (PyDict_GetItemString(self->files, path) != NULL) { in get_module_info()
451 toc_entry = PyDict_GetItemString(self->files, path); in zipimporter_get_data()
504 toc_entry = PyDict_GetItemString(self->files, path); in zipimporter_get_source()
1185 toc_entry = PyDict_GetItemString(self->files, path); in get_mtime_of_source()
1253 toc_entry = PyDict_GetItemString(self->files, path); in get_module_code()
Dxxmodule.c69 PyObject *v = PyDict_GetItemString(self->x_attr, name); in Xxo_getattr()
D_localemodule.c104 string = PyDict_GetItemString(mods, "string"); in fixup_ulcase()
107 strop=PyDict_GetItemString(mods, "strop"); in fixup_ulcase()
D_elementtree.c3079 elementpath_obj = PyDict_GetItemString(g, "ElementPath");
3081 elementtree_copyelement_obj = PyDict_GetItemString(g, "copyelement");
3093 elementtree_deepcopy_obj = PyDict_GetItemString(g, "deepcopy");
3094 elementtree_iter_obj = PyDict_GetItemString(g, "iter");
3095 elementtree_itertext_obj = PyDict_GetItemString(g, "itertext");
Dtimemodule.c366 PyObject *accept = PyDict_GetItemString(moddict, in gettmarg()
/external/python/cpython2/Mac/Modules/
DautoGIL.c62 v = PyDict_GetItemString(tstate_dict, "autoGIL.InstalledAutoGIL"); in autoGIL_installAutoGIL()
DNav.c55 if ( (pyfunc = PyDict_GetItemString(dict, "eventProc")) == NULL ) { in my_eventProc()
82 if ( (pyfunc = PyDict_GetItemString(dict, "previewProc")) == NULL ) { in my_previewProc()
108 if ( (pyfunc = PyDict_GetItemString(dict, "filterProc")) == NULL ) { in my_filterProc()
/external/python/cpython2/Include/
Ddictobject.h150 PyAPI_FUNC(PyObject *) PyDict_GetItemString(PyObject *dp, const char *key);
/external/python/cpython2/PC/os2vacpp/
Dpython.def124 PyDict_GetItemString
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c413 if (PyDict_GetItemString(result->tp_dict, "_abstract_")) in StructUnionType_new()
437 fields = PyDict_GetItemString((PyObject *)dict, "_fields_"); in StructUnionType_new()
959 proto = PyDict_GetItemString(typedict, "_type_"); /* Borrowed ref */ in PyCPointerType_new()
1393 proto = PyDict_GetItemString(typedict, "_length_"); /* Borrowed ref */ in PyCArrayType_new()
1402 proto = PyDict_GetItemString(typedict, "_type_"); /* Borrowed ref */ in PyCArrayType_new()
2313 ob = PyDict_GetItemString((PyObject *)stgdict, "_flags_"); in make_funcptrtype_dict()
2322 ob = PyDict_GetItemString((PyObject *)stgdict, "_argtypes_"); in make_funcptrtype_dict()
2332 ob = PyDict_GetItemString((PyObject *)stgdict, "_restype_"); in make_funcptrtype_dict()
3613 if (kwds && (v = PyDict_GetItemString(kwds, name))) { in _get_arg()
4160 fields = PyDict_GetItemString((PyObject *)dict, "_fields_"); in _init_pos_args()
Dcallbacks.c192 if (NULL == PyDict_GetItemString((PyObject *)dict, "_needs_com_addref_")) in TryAddRef()
/external/python/cpython2/Modules/_sqlite/
Dstatement.c294 current_param = PyDict_GetItemString(parameters, binding_name); in pysqlite_statement_bind_parameters()
/external/protobuf/python/google/protobuf/pyext/
Drepeated_composite_container.cc381 PyObject* sort_func = PyDict_GetItemString(kwds, "sort_function"); in Sort()
/external/python/cpython2/Doc/c-api/
Ddict.rst115 .. c:function:: PyObject* PyDict_GetItemString(PyObject *p, const char *key)

12