Home
last modified time | relevance | path

Searched refs:key_compare_func (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/include/qemu/
H A Dqtree.h58 QTree *q_tree_new(GCompareFunc key_compare_func);
59 QTree *q_tree_new_with_data(GCompareDataFunc key_compare_func,
61 QTree *q_tree_new_full(GCompareDataFunc key_compare_func,
99 static inline QTree *q_tree_new(GCompareFunc key_compare_func) in q_tree_new() argument
101 return g_tree_new(key_compare_func); in q_tree_new()
104 static inline QTree *q_tree_new_with_data(GCompareDataFunc key_compare_func, in q_tree_new_with_data() argument
107 return g_tree_new_with_data(key_compare_func, key_compare_data); in q_tree_new_with_data()
110 static inline QTree *q_tree_new_full(GCompareDataFunc key_compare_func, in q_tree_new_full() argument
115 return g_tree_new_full(key_compare_func, key_compare_data, in q_tree_new_full()
/openbmc/qemu/util/
H A Dqtree.c148 q_tree_new(GCompareFunc key_compare_func) in q_tree_new() argument
150 g_return_val_if_fail(key_compare_func != NULL, NULL); in q_tree_new()
152 return q_tree_new_full((GCompareDataFunc) key_compare_func, NULL, in q_tree_new()
167 q_tree_new_with_data(GCompareDataFunc key_compare_func, in q_tree_new_with_data() argument
170 g_return_val_if_fail(key_compare_func != NULL, NULL); in q_tree_new_with_data()
172 return q_tree_new_full(key_compare_func, key_compare_data, in q_tree_new_with_data()
194 q_tree_new_full(GCompareDataFunc key_compare_func, in q_tree_new_full() argument
201 g_return_val_if_fail(key_compare_func != NULL, NULL); in q_tree_new_full()
205 tree->key_compare = key_compare_func; in q_tree_new_full()