Lines Matching refs:name_unicode
95 PyObject *name_unicode = NULL, *name = NULL, *path = NULL, *m = NULL; in _PyImport_LoadDynamicModuleWithSpec() local
102 name_unicode = PyObject_GetAttrString(spec, "name"); in _PyImport_LoadDynamicModuleWithSpec()
103 if (name_unicode == NULL) { in _PyImport_LoadDynamicModuleWithSpec()
106 if (!PyUnicode_Check(name_unicode)) { in _PyImport_LoadDynamicModuleWithSpec()
112 name = get_encoded_name(name_unicode, &hook_prefix); in _PyImport_LoadDynamicModuleWithSpec()
122 if (PySys_Audit("import", "OOOOO", name_unicode, path, in _PyImport_LoadDynamicModuleWithSpec()
149 PyErr_SetImportError(msg, name_unicode, path); in _PyImport_LoadDynamicModuleWithSpec()
159 _Py_PackageContext = PyUnicode_AsUTF8(name_unicode); in _PyImport_LoadDynamicModuleWithSpec()
195 Py_DECREF(name_unicode); in _PyImport_LoadDynamicModuleWithSpec()
229 if (_PyImport_FixupExtensionObject(m, name_unicode, path, modules) < 0) in _PyImport_LoadDynamicModuleWithSpec()
232 Py_DECREF(name_unicode); in _PyImport_LoadDynamicModuleWithSpec()
239 Py_DECREF(name_unicode); in _PyImport_LoadDynamicModuleWithSpec()