Searched refs:_inittab (Results 1 – 5 of 5) sorted by relevance
27 struct _inittab { struct31 PyAPI_DATA(struct _inittab *) PyImport_Inittab; argument32 PyAPI_FUNC(int) PyImport_ExtendInittab(struct _inittab *newtab);
36 extern struct _inittab _PyImport_Inittab[];38 struct _inittab *PyImport_Inittab = _PyImport_Inittab;39 static struct _inittab *inittab_copy = NULL;1005 for (struct _inittab *p = PyImport_Inittab; p->name != NULL; p++) { in create_builtin()2239 PyImport_ExtendInittab(struct _inittab *newtab) in PyImport_ExtendInittab()2241 struct _inittab *p; in PyImport_ExtendInittab()2260 if (i + n <= SIZE_MAX / sizeof(struct _inittab) - 1) { in PyImport_ExtendInittab()2261 size_t size = sizeof(struct _inittab) * (i + n + 1); in PyImport_ExtendInittab()2272 memcpy(p, PyImport_Inittab, (i+1) * sizeof(struct _inittab)); in PyImport_ExtendInittab()2274 memcpy(p + i, newtab, (n + 1) * sizeof(struct _inittab)); in PyImport_ExtendInittab()[all …]
34 struct _inittab _PyImport_Inittab[] = {
84 struct _inittab _PyImport_Inittab[] = {
280 .. c:type:: struct _inittab289 struct _inittab {295 .. c:function:: int PyImport_ExtendInittab(struct _inittab *newtab)