Searched refs:cmp_func (Results 1 - 4 of 4) sorted by relevance
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | lut.h | 47 int (*cmp_func)(void *old_lhs, void *new_lhs)); 48 void *lut_lookup(struct lut *root, void *lhs, lut_cmp cmp_func); 49 void *lut_lookup_lhs(struct lut *root, void *lhs, lut_cmp cmp_func);
|
H A D | lut.c | 69 * root = lut_add(root, key, value, cmp_func); 71 * the cmp_func can be strcmp(). pass in NULL and instead of 72 * calling a cmp_func the routine will just look at the difference 78 lut_add(struct lut *root, void *lhs, void *rhs, lut_cmp cmp_func) argument 84 if (cmp_func) 85 diff = (*cmp_func)(tmp->lut_lhs, lhs); 116 lut_lookup(struct lut *root, void *lhs, lut_cmp cmp_func) argument 123 if (cmp_func) 124 diff = (*cmp_func)(root->lut_lhs, lhs); 139 lut_lookup_lhs(struct lut *root, void *lhs, lut_cmp cmp_func) argument [all...] |
H A D | tree.c | 321 lut_cmp cmp_func) 329 ASSERT(cmp_func != NULL); 332 return ((*cmp_func)(np1, np2)); 337 cmp_func)) 340 cmp_func)); 345 t, cmp_func)); 373 cmp_func)) 376 cmp_func)); 381 cmp_func)) 384 cmp_func)) 320 tree_treecmp(struct node *np1, struct node *np2, enum nodetype t, lut_cmp cmp_func) argument [all...] |
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | builtins.c | 522 cmp_func (char *arg, int flags) 597 cmp_func, 517 cmp_func (char *arg, int flags) function
|
Completed in 71 milliseconds