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.c251 pylist *rfd2obj, *wfd2obj, *efd2obj; in select_select_impl() local
261 pylist efd2obj[FD_SETSIZE + 1]; in select_select_impl()
295 efd2obj = PyMem_NEW(pylist, FD_SETSIZE + 1); in select_select_impl()
296 if (rfd2obj == NULL || wfd2obj == NULL || efd2obj == NULL) { in select_select_impl()
299 if (efd2obj) PyMem_Free(efd2obj); in select_select_impl()
309 efd2obj[0].sentinel = -1; in select_select_impl()
314 if ((emax = seq2set(xlist, &efdset, efd2obj)) < 0) in select_select_impl()
368 xlist = set2list(&efdset, efd2obj); in select_select_impl()
382 reap_obj(efd2obj); in select_select_impl()
386 PyMem_Free(efd2obj); in select_select_impl()