Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Dselectmodule.c187 pylist *rfd2obj, *wfd2obj, *efd2obj; in select_select() local
197 pylist efd2obj[FD_SETSIZE + 1]; in select_select()
242 efd2obj = PyMem_NEW(pylist, FD_SETSIZE + 1); in select_select()
243 if (rfd2obj == NULL || wfd2obj == NULL || efd2obj == NULL) { in select_select()
246 if (efd2obj) PyMem_DEL(efd2obj); in select_select()
255 efd2obj[0].sentinel = -1; in select_select()
260 if ((emax=seq2set(efdlist, &efdset, efd2obj)) < 0) in select_select()
286 efdlist = set2list(&efdset, efd2obj); in select_select()
300 reap_obj(efd2obj); in select_select()
304 PyMem_DEL(efd2obj); in select_select()
/external/python/cpython3/Modules/
Dselectmodule.c186 pylist *rfd2obj, *wfd2obj, *efd2obj; in select_select() local
196 pylist efd2obj[FD_SETSIZE + 1]; in select_select()
237 efd2obj = PyMem_NEW(pylist, FD_SETSIZE + 1); in select_select()
238 if (rfd2obj == NULL || wfd2obj == NULL || efd2obj == NULL) { in select_select()
241 if (efd2obj) PyMem_DEL(efd2obj); in select_select()
251 efd2obj[0].sentinel = -1; in select_select()
256 if ((emax=seq2set(efdlist, &efdset, efd2obj)) < 0) in select_select()
310 efdlist = set2list(&efdset, efd2obj); in select_select()
324 reap_obj(efd2obj); in select_select()
328 PyMem_DEL(efd2obj); in select_select()