Home
last modified time | relevance | path

Searched refs:newtab (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython3/Include/cpython/
Dimport.h35 PyAPI_FUNC(int) PyImport_ExtendInittab(struct _inittab *newtab);
/external/python/cpython3/Python/
Dimport.c2445 PyImport_ExtendInittab(struct _inittab *newtab) in PyImport_ExtendInittab() argument
2452 for (n = 0; newtab[n].name != NULL; n++) in PyImport_ExtendInittab()
2480 memcpy(p + i, newtab, (n + 1) * sizeof(struct _inittab)); in PyImport_ExtendInittab()
2493 struct _inittab newtab[2]; in PyImport_AppendInittab() local
2495 memset(newtab, '\0', sizeof newtab); in PyImport_AppendInittab()
2497 newtab[0].name = name; in PyImport_AppendInittab()
2498 newtab[0].initfunc = initfunc; in PyImport_AppendInittab()
2500 return PyImport_ExtendInittab(newtab); in PyImport_AppendInittab()
/external/python/cpython2/Include/
Dimport.h55 PyAPI_FUNC(int) PyImport_ExtendInittab(struct _inittab *newtab);
/external/python/cpython2/Python/
Dimport.c3478 PyImport_ExtendInittab(struct _inittab *newtab) in PyImport_ExtendInittab() argument
3485 for (n = 0; newtab[n].name != NULL; n++) in PyImport_ExtendInittab()
3502 memcpy(p+i, newtab, (n+1) * sizeof(struct _inittab)); in PyImport_ExtendInittab()
3512 struct _inittab newtab[2]; in PyImport_AppendInittab() local
3514 memset(newtab, '\0', sizeof newtab); in PyImport_AppendInittab()
3516 newtab[0].name = (char *)name; in PyImport_AppendInittab()
3517 newtab[0].initfunc = initfunc; in PyImport_AppendInittab()
3519 return PyImport_ExtendInittab(newtab); in PyImport_AppendInittab()
/external/libchrome/third_party/ply/
Dlex.py149 newtab = { }
160 newtab[key] = newre
161 c.lexstatere = newtab
/external/ply/ply/ply/
Dlex.py152 newtab = {}
163 newtab[key] = newre
164 c.lexstatere = newtab
/external/python/pycparser/pycparser/ply/
Dlex.py152 newtab = {}
163 newtab[key] = newre
164 c.lexstatere = newtab
/external/selinux/python/sepolgen/src/sepolgen/
Dlex.py152 newtab = {}
163 newtab[key] = newre
164 c.lexstatere = newtab
/external/python/cpython2/Doc/c-api/
Dimport.rst269 .. c:function:: int PyImport_ExtendInittab(struct _inittab *newtab)
271 Add a collection of modules to the table of built-in modules. The *newtab*
/external/python/cpython3/Doc/c-api/
Dimport.rst295 .. c:function:: int PyImport_ExtendInittab(struct _inittab *newtab)
297 Add a collection of modules to the table of built-in modules. The *newtab*