Lines Matching refs:fdarray
13 void fdarray__init(struct fdarray *fda, int nr_autogrow) in fdarray__init()
21 int fdarray__grow(struct fdarray *fda, int nr) in fdarray__grow()
47 struct fdarray *fdarray__new(int nr_alloc, int nr_autogrow) in fdarray__new()
49 struct fdarray *fda = calloc(1, sizeof(*fda)); in fdarray__new()
63 void fdarray__exit(struct fdarray *fda) in fdarray__exit()
70 void fdarray__delete(struct fdarray *fda) in fdarray__delete()
76 int fdarray__add(struct fdarray *fda, int fd, short revents, enum fdarray_flags flags) in fdarray__add()
91 int fdarray__dup_entry_from(struct fdarray *fda, int pos, struct fdarray *from) in fdarray__dup_entry_from()
108 int fdarray__filter(struct fdarray *fda, short revents, in fdarray__filter()
109 void (*entry_destructor)(struct fdarray *fda, int fd, void *arg), in fdarray__filter()
136 int fdarray__poll(struct fdarray *fda, int timeout) in fdarray__poll()
141 int fdarray__fprintf(struct fdarray *fda, FILE *fp) in fdarray__fprintf()