Lines Matching refs:cmp
51 * @return An element with cmp(key, elem)==0 or NULL if no such element exists in
54 void *av_tree_find(const struct AVTreeNode *root, void *key, int (*cmp)(void *key, const void *b), void *next[2]);
75 * void *tree_insert(struct AVTreeNode **rootp, void *key, int (*cmp)(void *key, const void *b), AVTreeNode **next){
77 * return av_tree_insert(rootp, key, cmp, next);
79 * void *tree_remove(struct AVTreeNode **rootp, void *key, int (*cmp)(void *key, const void *b, AVTreeNode **next)){
81 * return av_tree_insert(rootp, key, cmp, next);
89 void *av_tree_insert(struct AVTreeNode **rootp, void *key, int (*cmp)(void *key, const void *b), struct AVTreeNode **next);
95 * @param cmp a comparison function that returns < 0 for a element below the
99 * @note The cmp function should use the same ordering used to construct the
102 void av_tree_enumerate(struct AVTreeNode *t, void *opaque, int (*cmp)(void *opaque, void *elem), int (*enu)(void *opaque, void *elem));