Lines Matching defs:elt
158 gl_array_set_at (gl_list_t list, size_t position, const void *elt)
165 list->elements[position] = elt;
171 const void *elt)
188 if (equals (elt, list->elements[i]))
201 if (elt == list->elements[i])
214 const void *elt)
216 size_t index = gl_array_indexof_from_to (list, start_index, end_index, elt);
243 gl_array_add_first (gl_list_t list, const void *elt)
254 elements[0] = elt;
260 gl_array_add_last (gl_list_t list, const void *elt)
266 list->elements[count] = elt;
272 gl_array_add_before (gl_list_t list, gl_list_node_t node, const void *elt)
289 elements[position] = elt;
295 gl_array_add_after (gl_list_t list, gl_list_node_t node, const void *elt)
312 elements[position] = elt;
318 gl_array_add_at (gl_list_t list, size_t position, const void *elt)
332 elements[position] = elt;
379 gl_array_remove (gl_list_t list, const void *elt)
381 size_t position = gl_array_indexof_from_to (list, 0, list->count, elt);
492 const void *elt)
506 int cmp = compar (list->elements[mid], elt);
518 compar (list->elements[high], elt) == 0,
524 int cmp2 = compar (list->elements[mid2], elt);
549 const void *elt)
552 elt);
559 const void *elt)
562 gl_array_sortedlist_indexof_from_to (list, compar, low, high, elt);
568 const void *elt)
571 gl_array_sortedlist_indexof_from_to (list, compar, 0, list->count, elt);
577 const void *elt)
588 int cmp = compar (list->elements[mid], elt);
600 return gl_array_add_at (list, low, elt);
605 const void *elt)
607 size_t index = gl_array_sortedlist_indexof (list, compar, elt);