Searched refs:PyImport_Inittab (Results 1 – 5 of 5) sorted by relevance
38 struct _inittab *PyImport_Inittab = _PyImport_Inittab; variable259 PyImport_Inittab = _PyImport_Inittab; in _PyImport_Fini2()916 for (i = 0; PyImport_Inittab[i].name != NULL; i++) { in is_builtin()917 if (_PyUnicode_EqualToASCIIString(name, PyImport_Inittab[i].name)) { in is_builtin()918 if (PyImport_Inittab[i].initfunc == NULL) in is_builtin()1005 for (struct _inittab *p = PyImport_Inittab; p->name != NULL; p++) { in create_builtin()2250 for (i = 0; PyImport_Inittab[i].name != NULL; i++) in PyImport_ExtendInittab()2271 if (inittab_copy != PyImport_Inittab) { in PyImport_ExtendInittab()2272 memcpy(p, PyImport_Inittab, (i+1) * sizeof(struct _inittab)); in PyImport_ExtendInittab()2275 PyImport_Inittab = inittab_copy = p; in PyImport_ExtendInittab()
2041 for (Py_ssize_t i = 0; PyImport_Inittab[i].name != NULL; i++) { in list_builtin_module_names()2042 PyObject *name = PyUnicode_FromString(PyImport_Inittab[i].name); in list_builtin_module_names()
31 PyAPI_DATA(struct _inittab *) PyImport_Inittab;
425 :c:func:`Py_RunMain` now resets :c:data:`PyImport_Inittab` to its initial
382 automatically unless there's an entry in the :c:data:`PyImport_Inittab` table.