Home
last modified time | relevance | path

Searched refs:compare_func (Results 1 – 13 of 13) sorted by relevance

/external/bluetooth/glib/glib/
Dgqsort.c120 GCompareDataFunc compare_func, in g_qsort_with_data() argument
129 g_return_if_fail (compare_func != NULL); in g_qsort_with_data()
157 if ((*compare_func) ((void *) mid, (void *) lo, user_data) < 0) in g_qsort_with_data()
159 if ((*compare_func) ((void *) hi, (void *) mid, user_data) < 0) in g_qsort_with_data()
163 if ((*compare_func) ((void *) mid, (void *) lo, user_data) < 0) in g_qsort_with_data()
175 while ((*compare_func) ((void *) left_ptr, (void *) mid, user_data) < 0) in g_qsort_with_data()
178 while ((*compare_func) ((void *) mid, (void *) right_ptr, user_data) < 0) in g_qsort_with_data()
251 if ((*compare_func) ((void *) run_ptr, (void *) tmp_ptr, user_data) < 0) in g_qsort_with_data()
263 while ((*compare_func) ((void *) run_ptr, (void *) tmp_ptr, user_data) < 0) in g_qsort_with_data()
Dgarray.h99 GCompareFunc compare_func);
101 GCompareDataFunc compare_func,
129 GCompareFunc compare_func);
131 GCompareDataFunc compare_func,
162 GCompareFunc compare_func);
164 GCompareDataFunc compare_func,
Dgslist.c851 GFunc compare_func, in g_slist_sort_merge() argument
861 cmp = ((GCompareDataFunc) compare_func) (l1->data, l2->data, user_data); in g_slist_sort_merge()
881 GFunc compare_func, in g_slist_sort_real() argument
903 return g_slist_sort_merge (g_slist_sort_real (list, compare_func, user_data), in g_slist_sort_real()
904 g_slist_sort_real (l2, compare_func, user_data), in g_slist_sort_real()
905 compare_func, in g_slist_sort_real()
924 GCompareFunc compare_func) in g_slist_sort() argument
926 return g_slist_sort_real (list, (GFunc) compare_func, NULL); in g_slist_sort()
941 GCompareDataFunc compare_func, in g_slist_sort_with_data() argument
944 return g_slist_sort_real (list, (GFunc) compare_func, user_data); in g_slist_sort_with_data()
Dgarray.c287 GCompareFunc compare_func) in g_array_sort() argument
296 compare_func); in g_array_sort()
301 GCompareDataFunc compare_func, in g_array_sort_with_data() argument
311 compare_func, in g_array_sort_with_data()
583 GCompareFunc compare_func) in g_ptr_array_sort() argument
590 compare_func); in g_ptr_array_sort()
595 GCompareDataFunc compare_func, in g_ptr_array_sort_with_data() argument
603 compare_func, in g_ptr_array_sort_with_data()
705 GCompareFunc compare_func) in g_byte_array_sort() argument
707 g_array_sort ((GArray *) array, compare_func); in g_byte_array_sort()
[all …]
Dglist.c895 GFunc compare_func, in g_list_sort_merge() argument
906 cmp = ((GCompareDataFunc) compare_func) (l1->data, l2->data, user_data); in g_list_sort_merge()
930 GFunc compare_func, in g_list_sort_real() argument
952 return g_list_sort_merge (g_list_sort_real (list, compare_func, user_data), in g_list_sort_real()
953 g_list_sort_real (l2, compare_func, user_data), in g_list_sort_real()
954 compare_func, in g_list_sort_real()
973 GCompareFunc compare_func) in g_list_sort() argument
975 return g_list_sort_real (list, (GFunc) compare_func, NULL); in g_list_sort()
992 GCompareDataFunc compare_func, in g_list_sort_with_data() argument
995 return g_list_sort_real (list, (GFunc) compare_func, user_data); in g_list_sort_with_data()
Dgslist.h98 GCompareFunc compare_func) G_GNUC_WARN_UNUSED_RESULT;
100 GCompareDataFunc compare_func,
Dglist.h102 GCompareFunc compare_func) G_GNUC_WARN_UNUSED_RESULT;
104 GCompareDataFunc compare_func,
Dgqsort.h41 GCompareDataFunc compare_func,
Dgqueue.c272 GCompareDataFunc compare_func, in g_queue_sort() argument
276 g_return_if_fail (compare_func != NULL); in g_queue_sort()
278 queue->head = g_list_sort_with_data (queue->head, compare_func, user_data); in g_queue_sort()
Dgqueue.h68 GCompareDataFunc compare_func,
/external/bluetooth/glib/gobject/
Dgvaluearray.c303 GCompareFunc compare_func) in g_value_array_sort() argument
305 g_return_val_if_fail (compare_func != NULL, NULL); in g_value_array_sort()
311 compare_func); in g_value_array_sort()
330 GCompareDataFunc compare_func, in g_value_array_sort_with_data() argument
334 g_return_val_if_fail (compare_func != NULL, NULL); in g_value_array_sort_with_data()
340 compare_func, user_data); in g_value_array_sort_with_data()
Dgvaluearray.h69 GCompareFunc compare_func);
71 GCompareDataFunc compare_func,
/external/dbus/dbus/
Ddbus-hash.c905 KeyCompareFunc compare_func, in find_generic_function() argument
919 if ((compare_func == NULL && key == entry->key) || in find_generic_function()
920 (compare_func != NULL && (* compare_func) (key, entry->key) == 0)) in find_generic_function()