Home
last modified time | relevance | path

Searched refs:ckh (Results 1 – 16 of 16) sorted by relevance

/external/jemalloc/src/
Dckh.c43 static bool ckh_grow(tsd_t *tsd, ckh_t *ckh);
44 static void ckh_shrink(tsd_t *tsd, ckh_t *ckh);
53 ckh_bucket_search(ckh_t *ckh, size_t bucket, const void *key) in ckh_bucket_search() argument
59 cell = &ckh->tab[(bucket << LG_CKH_BUCKET_CELLS) + i]; in ckh_bucket_search()
60 if (cell->key != NULL && ckh->keycomp(key, cell->key)) in ckh_bucket_search()
71 ckh_isearch(ckh_t *ckh, const void *key) in ckh_isearch() argument
75 assert(ckh != NULL); in ckh_isearch()
77 ckh->hash(key, hashes); in ckh_isearch()
80 bucket = hashes[0] & ((ZU(1) << ckh->lg_curbuckets) - 1); in ckh_isearch()
81 cell = ckh_bucket_search(ckh, bucket, key); in ckh_isearch()
[all …]
/external/jemalloc_new/src/
Dckh.c53 static bool ckh_grow(tsd_t *tsd, ckh_t *ckh);
54 static void ckh_shrink(tsd_t *tsd, ckh_t *ckh);
63 ckh_bucket_search(ckh_t *ckh, size_t bucket, const void *key) { in ckh_bucket_search() argument
68 cell = &ckh->tab[(bucket << LG_CKH_BUCKET_CELLS) + i]; in ckh_bucket_search()
69 if (cell->key != NULL && ckh->keycomp(key, cell->key)) { in ckh_bucket_search()
81 ckh_isearch(ckh_t *ckh, const void *key) { in ckh_isearch() argument
84 assert(ckh != NULL); in ckh_isearch()
86 ckh->hash(key, hashes); in ckh_isearch()
89 bucket = hashes[0] & ((ZU(1) << ckh->lg_curbuckets) - 1); in ckh_isearch()
90 cell = ckh_bucket_search(ckh, bucket, key); in ckh_isearch()
[all …]
/external/jemalloc_new/test/unit/
Dckh.c5 ckh_t ckh; in TEST_BEGIN() local
9 assert_false(ckh_new(tsd, &ckh, 2, ckh_string_hash, in TEST_BEGIN()
11 ckh_delete(tsd, &ckh); in TEST_BEGIN()
13 assert_false(ckh_new(tsd, &ckh, 3, ckh_pointer_hash, in TEST_BEGIN()
15 ckh_delete(tsd, &ckh); in TEST_BEGIN()
21 ckh_t ckh; in TEST_BEGIN() local
33 assert_false(ckh_new(tsd, &ckh, 2, ckh_string_hash, in TEST_BEGIN()
35 assert_zu_eq(ckh_count(&ckh), 0, in TEST_BEGIN()
37 ckh_count(&ckh)); in TEST_BEGIN()
41 ckh_insert(tsd, &ckh, strs[i], strs[i]); in TEST_BEGIN()
[all …]
/external/jemalloc/test/unit/
Dckh.c6 ckh_t ckh; in TEST_BEGIN() local
10 assert_false(ckh_new(tsd, &ckh, 2, ckh_string_hash, in TEST_BEGIN()
12 ckh_delete(tsd, &ckh); in TEST_BEGIN()
14 assert_false(ckh_new(tsd, &ckh, 3, ckh_pointer_hash, in TEST_BEGIN()
16 ckh_delete(tsd, &ckh); in TEST_BEGIN()
23 ckh_t ckh; in TEST_BEGIN() local
35 assert_false(ckh_new(tsd, &ckh, 2, ckh_string_hash, in TEST_BEGIN()
37 assert_zu_eq(ckh_count(&ckh), 0, in TEST_BEGIN()
39 ckh_count(&ckh)); in TEST_BEGIN()
43 ckh_insert(tsd, &ckh, strs[i], strs[i]); in TEST_BEGIN()
[all …]
/external/jemalloc_new/include/jemalloc/internal/
Dckh.h70 bool ckh_new(tsd_t *tsd, ckh_t *ckh, size_t minitems, ckh_hash_t *hash,
72 void ckh_delete(tsd_t *tsd, ckh_t *ckh);
75 size_t ckh_count(ckh_t *ckh);
83 bool ckh_iter(ckh_t *ckh, size_t *tabind, void **key, void **data);
90 bool ckh_insert(tsd_t *tsd, ckh_t *ckh, const void *key, const void *data);
91 bool ckh_remove(tsd_t *tsd, ckh_t *ckh, const void *searchkey, void **key,
93 bool ckh_search(ckh_t *ckh, const void *searchkey, void **key, void **data);
/external/jemalloc/include/jemalloc/internal/
Dckh.h67 bool ckh_new(tsd_t *tsd, ckh_t *ckh, size_t minitems, ckh_hash_t *hash,
69 void ckh_delete(tsd_t *tsd, ckh_t *ckh);
70 size_t ckh_count(ckh_t *ckh);
71 bool ckh_iter(ckh_t *ckh, size_t *tabind, void **key, void **data);
72 bool ckh_insert(tsd_t *tsd, ckh_t *ckh, const void *key, const void *data);
73 bool ckh_remove(tsd_t *tsd, ckh_t *ckh, const void *searchkey, void **key,
75 bool ckh_search(ckh_t *ckh, const void *searchkey, void **key, void **data);
Djemalloc_internal.h.in375 #include "jemalloc/internal/ckh.h"
408 #include "jemalloc/internal/ckh.h"
511 #include "jemalloc/internal/ckh.h"
544 #include "jemalloc/internal/ckh.h"
/external/jemalloc/
DAndroid.bp124 "src/ckh.c",
225 "test/unit/ckh.c",
DMakefile.in93 $(srcroot)src/ckh.c \
157 $(srcroot)test/unit/ckh.c \
/external/jemalloc_new/
DAndroid.bp117 "src/ckh.c",
227 "test/unit/ckh.c",
DMakefile.in98 $(srcroot)src/ckh.c \
168 $(srcroot)test/unit/ckh.c \
/external/hyphenation-patterns/de/
Dhyph-de-1996.pat.txt3334 2ckh
/external/cldr/tools/java/org/unicode/cldr/util/data/
Diso-639-3_Name_Index.tab1332 ckh Chak Chak
Diso-639-3.tab1285 ckh I L Chak
Dlanguage-subtag-registry7857 Subtag: ckh
/external/icu/icu4c/source/data/misc/
DsupplementalData.txt4990 "ckh",