Lines Matching refs:sorted_array
8 struct sorted_array { struct
22 struct sorted_array * argument
25 struct sorted_array *result; in sarray_create()
27 result = malloc(sizeof(struct sorted_array)); in sarray_create()
46 sarray_get(struct sorted_array *sarray) in sarray_get()
52 sarray_put(struct sorted_array *sarray) in sarray_put()
63 get_nth_element(struct sorted_array *sarray, unsigned int index) in get_nth_element()
74 compare(struct sorted_array *sarray, void *new) in compare()
105 sarray_add(struct sorted_array *sarray, void *element) in sarray_add()
128 sarray_empty(struct sorted_array *sarray) in sarray_empty()
134 sarray_contains(struct sorted_array *sarray, void *elem) in sarray_contains()
176 sarray_foreach(struct sorted_array *sarray, sarray_foreach_cb cb, void *arg) in sarray_foreach()