/external/python/cpython2/Python/ |
D | import.c | 445 value = PyDict_GetItemString(modules, "__builtin__"); in PyImport_Cleanup() 454 value = PyDict_GetItemString(modules, "sys"); in PyImport_Cleanup() 469 v = PyDict_GetItemString(dict, *(p+1)); in PyImport_Cleanup() 479 value = PyDict_GetItemString(modules, "__main__"); in PyImport_Cleanup() 554 value = PyDict_GetItemString(modules, "sys"); in PyImport_Cleanup() 563 value = PyDict_GetItemString(modules, "__builtin__"); in PyImport_Cleanup() 610 mod = PyDict_GetItemString(modules, name); in _PyImport_FixupExtension() 633 dict = PyDict_GetItemString(extensions, filename); in _PyImport_FindExtension() 701 if (PyDict_GetItemString(modules, name) == NULL) in remove_module() 733 if (PyDict_GetItemString(d, "__builtins__") == NULL) { in PyImport_ExecCodeModuleEx() [all …]
|
D | _warnings.c | 473 *registry = PyDict_GetItemString(globals, "__warningregistry__"); in setup_context() 489 *module = PyDict_GetItemString(globals, "__name__"); in setup_context() 499 *filename = PyDict_GetItemString(globals, "__file__"); in setup_context() 667 loader = PyDict_GetItemString(module_globals, "__loader__"); in warnings_warn_explicit() 668 module_name = PyDict_GetItemString(module_globals, "__name__"); in warnings_warn_explicit()
|
D | importdl.c | 58 m = PyDict_GetItemString(PyImport_GetModuleDict(), name); in _PyImport_LoadDynamicModule()
|
D | sysmodule.c | 56 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()
|
D | dynload_beos.c | 139 py_id = PyDict_GetItemString( beos_dyn_images, name ); in beos_add_dyn()
|
D | bltinmodule.c | 667 if (PyDict_GetItemString(globals, "__builtins__") == NULL) { in builtin_eval() 753 if (PyDict_GetItemString(globals, "__builtins__") == NULL) { in builtin_execfile() 1255 if (PyDict_GetItemString(globals, "__builtins__") == NULL) { in builtin_input() 1369 keyfunc = PyDict_GetItemString(kwds, "key"); in min_max()
|
/external/python/cpython2/Objects/ |
D | moduleobject.c | 70 (nameobj = PyDict_GetItemString(d, "__name__")) == NULL || in PyModule_GetName() 90 (fileobj = PyDict_GetItemString(d, "__file__")) == NULL || in PyModule_GetFilename()
|
D | structseq.c | 18 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()
|
D | typeobject.c | 295 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() 2186 slots = PyDict_GetItemString(dict, "__slots__"); in type_new() 2399 if (PyDict_GetItemString(dict, "__module__") == NULL) { in type_new() 2402 tmp = PyDict_GetItemString(tmp, "__name__"); in type_new() 2418 PyObject *doc = PyDict_GetItemString(dict, "__doc__"); in type_new() 2433 tmp = PyDict_GetItemString(dict, "__new__"); in type_new() 3041 sorted = PyDict_GetItemString(builtins, "sorted"); in object_new() 3285 slotnames = PyDict_GetItemString(clsdict, "__slotnames__"); in slotnames() [all …]
|
/external/python/cpython3/Include/ |
D | odictobject.h | 36 PyDict_GetItemString(_PyObject_CAST(od), key)
|
D | dictobject.h | 57 PyAPI_FUNC(PyObject *) PyDict_GetItemString(PyObject *dp, const char *key);
|
/external/python/cpython2/Modules/ |
D | zipimport.c | 127 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()
|
D | xxmodule.c | 69 PyObject *v = PyDict_GetItemString(self->x_attr, name); in Xxo_getattr()
|
D | _localemodule.c | 104 string = PyDict_GetItemString(mods, "string"); in fixup_ulcase() 107 strop=PyDict_GetItemString(mods, "strop"); in fixup_ulcase()
|
D | _elementtree.c | 3168 elementpath_obj = PyDict_GetItemString(g, "ElementPath"); 3170 elementtree_copyelement_obj = PyDict_GetItemString(g, "copyelement"); 3182 elementtree_deepcopy_obj = PyDict_GetItemString(g, "deepcopy"); 3183 elementtree_iter_obj = PyDict_GetItemString(g, "iter"); 3184 elementtree_itertext_obj = PyDict_GetItemString(g, "itertext");
|
/external/python/cpython2/Mac/Modules/ |
D | autoGIL.c | 62 v = PyDict_GetItemString(tstate_dict, "autoGIL.InstalledAutoGIL"); in autoGIL_installAutoGIL()
|
D | Nav.c | 55 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/ |
D | dictobject.h | 153 PyAPI_FUNC(PyObject *) PyDict_GetItemString(PyObject *dp, const char *key);
|
/external/python/cffi/cffi/ |
D | _embedding.h | 227 mod = PyDict_GetItemString(modules, "_cffi_backend"); in _cffi_initialize_python()
|
/external/python/cpython3/Python/ |
D | sysmodule.c | 89 return PyDict_GetItemString(sd, name); in PySys_GetObject() 121 if (PyDict_GetItemString(sd, name) == NULL) { in sys_set_object() 2685 PyDict_GetItemString(sysdict, "displayhook")); in _PySys_InitCore() 2687 PyDict_GetItemString(sysdict, "excepthook")); in _PySys_InitCore() 2690 PyDict_GetItemString(sysdict, "breakpointhook")); in _PySys_InitCore() 2692 PyDict_GetItemString(sysdict, "unraisablehook")); in _PySys_InitCore()
|
D | pylifecycle.c | 164 interp->import_func = PyDict_GetItemString(interp->builtins, "__import__"); in init_importlib() 1690 if (PyDict_GetItemString(d, "__builtins__") == NULL) { in add_main_module() 1707 loader = PyDict_GetItemString(d, "__loader__"); in add_main_module()
|
/external/python/cpython2/PC/os2vacpp/ |
D | python.def | 124 PyDict_GetItemString
|
/external/python/cpython2/Modules/_ctypes/ |
D | _ctypes.c | 484 if (PyDict_GetItemString(result->tp_dict, "_abstract_")) in StructUnionType_new() 508 fields = PyDict_GetItemString((PyObject *)dict, "_fields_"); in StructUnionType_new() 1030 proto = PyDict_GetItemString(typedict, "_type_"); /* Borrowed ref */ in PyCPointerType_new() 1473 proto = PyDict_GetItemString(typedict, "_length_"); /* Borrowed ref */ in PyCArrayType_new() 1482 proto = PyDict_GetItemString(typedict, "_type_"); /* Borrowed ref */ in PyCArrayType_new() 2397 ob = PyDict_GetItemString((PyObject *)stgdict, "_flags_"); in make_funcptrtype_dict() 2406 ob = PyDict_GetItemString((PyObject *)stgdict, "_argtypes_"); in make_funcptrtype_dict() 2416 ob = PyDict_GetItemString((PyObject *)stgdict, "_restype_"); in make_funcptrtype_dict() 3710 if (kwds && (v = PyDict_GetItemString(kwds, name))) { in _get_arg() 4257 fields = PyDict_GetItemString((PyObject *)dict, "_fields_"); in _init_pos_args()
|
/external/python/cpython2/Modules/_sqlite/ |
D | statement.c | 294 current_param = PyDict_GetItemString(parameters, binding_name); in pysqlite_statement_bind_parameters()
|
/external/python/cpython3/Objects/ |
D | structseq.c | 181 if (dict && (ob = PyDict_GetItemString( in structseq_new_impl()
|