Searched refs:fd_array (Results 1 – 4 of 4) sorted by relevance
132 int *fd_array = NULL; in closefrom_procfs() local164 ptr = reallocarray(fd_array, fd_array_size, sizeof(int)); in closefrom_procfs()169 fd_array = ptr; in closefrom_procfs()172 fd_array[fd_array_used++] = fd; in closefrom_procfs()176 closefrom_close(fd_array[i]); in closefrom_procfs()178 free(fd_array); in closefrom_procfs()
61 SOCKET fd_array[1]; member139 set->fd_array[set->fd_count] = s; in do_fd_set()165 s2 = set->fd_array[i] = set->fd_array[set->fd_count]; in do_fd_clear()265 memcpy(out->fd_array, in->fd_array, in->fd_count * (sizeof(SOCKET))); in fd_set_copy()340 s = win32op->readset_out->fd_array[i]; in win32_dispatch()350 s = win32op->exset_out->fd_array[i]; in win32_dispatch()360 s = win32op->writeset_out->fd_array[i]; in win32_dispatch()
160 if (((fd_set FAR *)(set))->fd_array[__i] == (SOCKET) fd) { \162 ((fd_set FAR *)(set))->fd_array[__i] = \163 ((fd_set FAR *)(set))->fd_array[__i+1]; \176 if (((fd_set FAR *)(set))->fd_array[__i] == (SOCKET)(fd)) { \182 ((fd_set FAR *)(set))->fd_array[__i] = (SOCKET)(fd); \