Searched refs:alt_grouplist (Results 1 – 2 of 2) sorted by relevance
4118 gid_t* alt_grouplist = grouplist; in posix_getgroups() local4132 alt_grouplist = grouplist; in posix_getgroups()4134 alt_grouplist = PyMem_Malloc(n * sizeof(gid_t)); in posix_getgroups()4135 if (alt_grouplist == NULL) { in posix_getgroups()4141 n = getgroups(n, alt_grouplist); in posix_getgroups()4143 if (alt_grouplist != grouplist) { in posix_getgroups()4144 PyMem_Free(alt_grouplist); in posix_getgroups()4158 alt_grouplist = grouplist; in posix_getgroups()4160 alt_grouplist = PyMem_Malloc(n * sizeof(gid_t)); in posix_getgroups()4161 if (alt_grouplist == NULL) { in posix_getgroups()[all …]
6236 gid_t* alt_grouplist = grouplist; in os_getgroups_impl() local6250 alt_grouplist = grouplist; in os_getgroups_impl()6252 alt_grouplist = PyMem_New(gid_t, n); in os_getgroups_impl()6253 if (alt_grouplist == NULL) { in os_getgroups_impl()6258 n = getgroups(n, alt_grouplist); in os_getgroups_impl()6260 if (alt_grouplist != grouplist) { in os_getgroups_impl()6261 PyMem_Free(alt_grouplist); in os_getgroups_impl()6275 alt_grouplist = grouplist; in os_getgroups_impl()6277 alt_grouplist = PyMem_New(gid_t, n); in os_getgroups_impl()6278 if (alt_grouplist == NULL) { in os_getgroups_impl()[all …]