Lines Matching defs:set
121 struct win_fd_set *set = read ? op->readset_in : op->writeset_in;
129 if (set->fd_count == op->num_fds_in_fd_sets) {
132 /* set pointer will have changed and needs reiniting! */
133 set = read ? op->readset_in : op->writeset_in;
135 set->fd_array[set->fd_count] = s;
137 ent->read_pos_plus1 = set->fd_count+1;
139 ent->write_pos_plus1 = set->fd_count+1;
140 return (set->fd_count++);
148 struct win_fd_set *set = read ? op->readset_in : op->writeset_in;
158 if (--set->fd_count != (unsigned)i) {
161 s2 = set->fd_array[i] = set->fd_array[set->fd_count];