Lines Matching refs:op
100 grow_fd_sets(struct win32op *op, unsigned new_num_fds)
104 EVUTIL_ASSERT(new_num_fds >= op->readset_in->fd_count &&
105 new_num_fds >= op->writeset_in->fd_count);
109 if (!(op->readset_in = mm_realloc(op->readset_in, size)))
111 if (!(op->writeset_in = mm_realloc(op->writeset_in, size)))
113 op->resize_out_sets = 1;
114 op->num_fds_in_fd_sets = new_num_fds;
119 do_fd_set(struct win32op *op, struct idx_info *ent, evutil_socket_t s, int read)
121 struct win_fd_set *set = read ? op->readset_in : op->writeset_in;
129 if (set->fd_count == op->num_fds_in_fd_sets) {
130 if (grow_fd_sets(op, op->num_fds_in_fd_sets*2))
133 set = read ? op->readset_in : op->writeset_in;
145 struct win32op *op, struct idx_info *ent, int read)
148 struct win_fd_set *set = read ? op->readset_in : op->writeset_in;