Lines Matching refs:kCmp
66 Word (*kCmp)(Word,Word) );
71 Word (*kCmp)(Word,Word) );
989 Word (*kCmp)(Word,Word);
996 static Bool avl_removeroot_wrk(AvlNode** t, Word(*kCmp)(Word,Word));
1057 Word (*kCmp)(Word,Word) )
1073 cmpres = kCmp( (*rootp)->key, a->key );
1079 if (avl_insert_wrk(&left_subtree, oldV, a, kCmp)) {
1112 if (avl_insert_wrk(&right_subtree, oldV, a, kCmp)) {
1156 Word(*kCmp)(Word,Word) )
1159 Word cmpres = kCmp( (*rootp)->key, a->key );
1165 ch = avl_remove_wrk(&left_subtree, a, kCmp);
1201 ch = avl_remove_wrk(&right_subtree, a, kCmp);
1235 return avl_removeroot_wrk(rootp, kCmp);
1245 Word(*kCmp)(Word,Word) )
1270 ch = avl_remove_wrk(rootp, a, kCmp);
1280 AvlNode* avl_find_node ( AvlNode* t, Word k, Word(*kCmp)(Word,Word) )
1285 cmpres = kCmp(t->key, k);
1389 Word (*kCmp)(Word,Word) )
1392 fm->kCmp = kCmp;
1401 Word (*kCmp)(Word,Word) )
1405 initFM(fm, alloc_nofail, dealloc, kCmp);
1448 avl_insert_wrk( &fm->root, &oldV, node, fm->kCmp );
1458 AvlNode* node = avl_find_node( fm->root, key, fm->kCmp );
1460 avl_remove_wrk( &fm->root, node, fm->kCmp );
1473 AvlNode* node = avl_find_node( fm->root, key, fm->kCmp );