Searched refs:cmp_ctx (Results 1 – 6 of 6) sorted by relevance
/third_party/e2fsprogs/lib/support/ |
D | dict.c | 270 new->cmp_ctx = NULL; in dict_create() 298 void dict_set_cmp_context(dict_t *dict, const void *cmp_ctx) in dict_set_cmp_context() argument 300 dict_assert (!dict->cmp_ctx); in dict_set_cmp_context() 303 dict->cmp_ctx = cmp_ctx; in dict_set_cmp_context() 479 result = dict->compare(dict->cmp_ctx, key, root->key); in dict_lookup() 492 && dict->compare(dict->cmp_ctx, key, root->key)) in dict_lookup() 516 int result = dict->compare(dict->cmp_ctx, key, root->key); in dict_lower_bound() 548 int result = dict->compare(dict->cmp_ctx, key, root->key); in dict_upper_bound() 593 result = dict->compare(dict->cmp_ctx, key, where->key); in dict_insert() 1274 static int comparef(const void *cmp_ctx, const void *key1, const void *key2) in comparef() argument
|
D | dict.h | 72 const void *cmp_ctx; member
|
D | mkquota.c | 237 static int dict_uint_cmp(const void *cmp_ctx EXT2FS_ATTR((unused)), in dict_uint_cmp()
|
/third_party/e2fsprogs/e2fsck/ |
D | rehash.c | 248 static int same_name(const struct name_cmp_ctx *cmp_ctx, char *s1, in same_name() argument 251 if (!cmp_ctx->casefold) in same_name() 254 return !ext2fs_casefold_cmp(cmp_ctx->tbl, in same_name() 456 const struct name_cmp_ctx *cmp_ctx) in duplicate_search_and_fix() argument 479 !same_name(cmp_ctx, ent->dir->name, in duplicate_search_and_fix() 511 !same_name(cmp_ctx, new_name, new_len, in duplicate_search_and_fix()
|
D | pass2.c | 335 static int dict_de_cmp(const void *cmp_ctx EXT2FS_ATTR((unused)), in dict_de_cmp() 352 static int dict_de_cf_cmp(const void *cmp_ctx, const void *a, const void *b) in dict_de_cf_cmp() argument 354 const struct ext2fs_nls_table *tbl = cmp_ctx; in dict_de_cf_cmp()
|
D | pass1b.c | 107 static int dict_int_cmp(const void *cmp_ctx EXT2FS_ATTR((unused)), in dict_int_cmp()
|