Home
last modified time | relevance | path

Searched refs:cmp_ctx (Results 1 – 6 of 6) sorted by relevance

/third_party/e2fsprogs/lib/support/
Ddict.c270 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
Ddict.h72 const void *cmp_ctx; member
Dmkquota.c237 static int dict_uint_cmp(const void *cmp_ctx EXT2FS_ATTR((unused)), in dict_uint_cmp()
/third_party/e2fsprogs/e2fsck/
Drehash.c248 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()
Dpass2.c335 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()
Dpass1b.c107 static int dict_int_cmp(const void *cmp_ctx EXT2FS_ATTR((unused)), in dict_int_cmp()