Lines Matching defs:cmp
40 int (*cmp)(void *key, const void *b), void *next[2])
43 unsigned int v = cmp(key, t->elem);
47 return av_tree_find(t->child[(v >> 31) ^ 1], key, cmp, next);
50 av_tree_find(t->child[0], key, cmp, next);
51 av_tree_find(t->child[1], key, cmp, next);
60 int (*cmp)(void *key, const void *b), AVTreeNode **next)
64 unsigned int v = cmp(t->elem, key);
72 av_tree_find(t->child[i], key, cmp, next_elem);
81 ret = av_tree_insert(&t->child[v >> 31], key, cmp, next);
156 int (*cmp)(void *opaque, void *elem),
160 int v = cmp ? cmp(opaque, t->elem) : 0;
162 av_tree_enumerate(t->child[0], opaque, cmp, enu);
166 av_tree_enumerate(t->child[1], opaque, cmp, enu);
205 static int cmp(void *a, const void *b)
238 av_tree_insert(&root, (void *)(j + 1), cmp, &node);
244 av_tree_insert(&root, (void *)(j + 1), cmp, &node2);
245 k = av_tree_find(root, (void *)(j + 1), cmp, NULL);