Home
last modified time | relevance | path

Searched refs:_inittab (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython2/Include/
Dimport.h46 struct _inittab { struct
52 PyAPI_DATA(struct _inittab *) PyImport_Inittab; argument
55 PyAPI_FUNC(int) PyImport_ExtendInittab(struct _inittab *newtab);
/external/python/cpython3/Include/
Dimport.h120 struct _inittab { struct
124 PyAPI_DATA(struct _inittab *) PyImport_Inittab; argument
125 PyAPI_FUNC(int) PyImport_ExtendInittab(struct _inittab *newtab);
/external/python/cpython3/Python/
Dimport.c31 extern struct _inittab _PyImport_Inittab[];
33 struct _inittab *PyImport_Inittab = _PyImport_Inittab;
34 static struct _inittab *inittab_copy = NULL;
1164 struct _inittab *p; in _imp_create_builtin()
2304 PyImport_ExtendInittab(struct _inittab *newtab) in PyImport_ExtendInittab()
2306 struct _inittab *p; in PyImport_ExtendInittab()
2325 if (i + n <= SIZE_MAX / sizeof(struct _inittab) - 1) { in PyImport_ExtendInittab()
2326 size_t size = sizeof(struct _inittab) * (i + n + 1); in PyImport_ExtendInittab()
2337 memcpy(p, PyImport_Inittab, (i+1) * sizeof(struct _inittab)); in PyImport_ExtendInittab()
2339 memcpy(p + i, newtab, (n + 1) * sizeof(struct _inittab)); in PyImport_ExtendInittab()
[all …]
/external/python/cpython2/RISCOS/Modules/
Dconfig.c50 struct _inittab _PyImport_Inittab[] = {
/external/python/cpython2/PC/os2vacpp/
Dconfig.c50 struct _inittab _PyImport_Inittab[] = {
/external/python/cpython2/PC/os2emx/
Dconfig.c103 struct _inittab _PyImport_Inittab[] = {
/external/python/cpython2/PC/
Dconfig.c78 struct _inittab _PyImport_Inittab[] = {
/external/python/cpython2/Modules/
Dconfig.c96 struct _inittab _PyImport_Inittab[] = {
Dconfig.c.in33 struct _inittab _PyImport_Inittab[] = {
/external/python/cpython3/Modules/
Dconfig.c.in34 struct _inittab _PyImport_Inittab[] = {
/external/python/cpython2/Python/
Dimport.c93 extern struct _inittab _PyImport_Inittab[];
95 struct _inittab *PyImport_Inittab = _PyImport_Inittab;
2028 struct _inittab *p; in init_builtin()
3478 PyImport_ExtendInittab(struct _inittab *newtab) in PyImport_ExtendInittab()
3480 static struct _inittab *our_copy = NULL; in PyImport_ExtendInittab()
3481 struct _inittab *p; in PyImport_ExtendInittab()
3494 PyMem_RESIZE(p, struct _inittab, i+n+1); in PyImport_ExtendInittab()
3500 memcpy(p, PyImport_Inittab, (i+1) * sizeof(struct _inittab)); in PyImport_ExtendInittab()
3502 memcpy(p+i, newtab, (n+1) * sizeof(struct _inittab)); in PyImport_ExtendInittab()
3512 struct _inittab newtab[2]; in PyImport_AppendInittab()
/external/python/cpython3/PC/
Dconfig.c83 struct _inittab _PyImport_Inittab[] = {
/external/python/cpython2/Doc/c-api/
Dimport.rst254 .. c:type:: struct _inittab
263 struct _inittab {
269 .. c:function:: int PyImport_ExtendInittab(struct _inittab *newtab)
/external/python/cpython3/Doc/c-api/
Dimport.rst295 .. c:type:: struct _inittab
304 struct _inittab {
310 .. c:function:: int PyImport_ExtendInittab(struct _inittab *newtab)