Home
last modified time | relevance | path

Searched refs:ckh (Results 1 – 8 of 8) 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/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/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.bp108 "src/ckh.c",
206 "test/unit/ckh.c",
DMakefile.in93 $(srcroot)src/ckh.c \
157 $(srcroot)test/unit/ckh.c \
/external/hyphenation-patterns/de/
Dhyph-de-1996.pat.txt2941 2ckh
/external/icu/icu4c/source/data/misc/
DsupplementalData.txt4709 "ckh",