Home
last modified time | relevance | path

Searched refs:StructGrpType (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Modules/
Dgrpmodule.c38 PyTypeObject *StructGrpType; member
60 v = PyStructSequence_New(get_grp_state(module)->StructGrpType); in mkgrent()
318 state->StructGrpType = PyStructSequence_NewType(&struct_group_type_desc); in grpmodule_exec()
319 if (state->StructGrpType == NULL) { in grpmodule_exec()
322 if (PyModule_AddType(module, state->StructGrpType) < 0) { in grpmodule_exec()
334 Py_VISIT(get_grp_state(m)->StructGrpType); in grpmodule_traverse()
339 Py_CLEAR(get_grp_state(m)->StructGrpType); in grpmodule_clear()
/external/python/cpython2/Modules/
Dgrpmodule.c33 static PyTypeObject StructGrpType; variable
39 PyObject *v = PyStructSequence_New(&StructGrpType), *w; in mkgrent()
201 PyStructSequence_InitType(&StructGrpType, &struct_group_type_desc); in initgrp()
202 PyDict_SetItemString(d, "struct_group", (PyObject *) &StructGrpType); in initgrp()