Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Dselectmodule.c187 pylist *rfd2obj, *wfd2obj, *efd2obj; in select_select() local
196 pylist wfd2obj[FD_SETSIZE + 1]; in select_select()
241 wfd2obj = PyMem_NEW(pylist, FD_SETSIZE + 1); in select_select()
243 if (rfd2obj == NULL || wfd2obj == NULL || efd2obj == NULL) { in select_select()
245 if (wfd2obj) PyMem_DEL(wfd2obj); in select_select()
254 wfd2obj[0].sentinel = -1; in select_select()
258 if ((omax=seq2set(ofdlist, &ofdset, wfd2obj)) < 0) in select_select()
285 ofdlist = set2list(&ofdset, wfd2obj); in select_select()
299 reap_obj(wfd2obj); in select_select()
303 PyMem_DEL(wfd2obj); in select_select()
/external/python/cpython3/Modules/
Dselectmodule.c186 pylist *rfd2obj, *wfd2obj, *efd2obj; in select_select() local
195 pylist wfd2obj[FD_SETSIZE + 1]; in select_select()
236 wfd2obj = PyMem_NEW(pylist, FD_SETSIZE + 1); in select_select()
238 if (rfd2obj == NULL || wfd2obj == NULL || efd2obj == NULL) { in select_select()
240 if (wfd2obj) PyMem_DEL(wfd2obj); in select_select()
250 wfd2obj[0].sentinel = -1; in select_select()
254 if ((omax=seq2set(ofdlist, &ofdset, wfd2obj)) < 0) in select_select()
309 ofdlist = set2list(&ofdset, wfd2obj); in select_select()
323 reap_obj(wfd2obj); in select_select()
327 PyMem_DEL(wfd2obj); in select_select()