/kernel/linux/linux-5.10/tools/lib/bpf/ |
H A D | hashmap.c | 38 void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, in hashmap__init() argument 41 map->hash_fn = hash_fn; in hashmap__init() 51 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn, in hashmap__new() argument 59 hashmap__init(map, hash_fn, equal_fn, ctx); in hashmap__new() 118 h = hash_bits(map->hash_fn(cur->key, map->ctx), new_cap_bits); in hashmap_grow() 167 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap__insert() 191 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap__insert() 211 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap__find() 226 h = hash_bits(map->hash_fn(ke in hashmap__delete() [all...] |
H A D | hashmap.h | 53 hashmap_hash_fn hash_fn; member 63 #define HASHMAP_INIT(hash_fn, equal_fn, ctx) { \ 64 .hash_fn = (hash_fn), \ 73 void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, 75 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn, 181 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \ 189 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | hashmap.c | 38 void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, in hashmap__init() argument 41 map->hash_fn = hash_fn; in hashmap__init() 51 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn, in hashmap__new() argument 59 hashmap__init(map, hash_fn, equal_fn, ctx); in hashmap__new() 118 h = hash_bits(map->hash_fn(cur->key, map->ctx), new_cap_bits); in hashmap_grow() 167 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap__insert() 191 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap__insert() 211 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap__find() 226 h = hash_bits(map->hash_fn(ke in hashmap__delete() [all...] |
H A D | hashmap.h | 53 hashmap_hash_fn hash_fn; member 63 #define HASHMAP_INIT(hash_fn, equal_fn, ctx) { \ 64 .hash_fn = (hash_fn), \ 73 void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, 75 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn, 181 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \ 189 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \
|
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | hashmap.c | 38 void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, in hashmap__init() argument 41 map->hash_fn = hash_fn; in hashmap__init() 51 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn, in hashmap__new() argument 59 hashmap__init(map, hash_fn, equal_fn, ctx); in hashmap__new() 118 h = hash_bits(map->hash_fn(cur->key, map->ctx), new_cap_bits); in hashmap_grow() 167 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap_insert() 191 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap_insert() 211 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap_find() 226 h = hash_bits(map->hash_fn(ke in hashmap_delete() [all...] |
H A D | hashmap.h | 73 hashmap_hash_fn hash_fn; member 83 void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, 85 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn, 194 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \ 202 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | hashmap.c | 38 void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, in hashmap__init() argument 41 map->hash_fn = hash_fn; in hashmap__init() 51 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn, in hashmap__new() argument 59 hashmap__init(map, hash_fn, equal_fn, ctx); in hashmap__new() 118 h = hash_bits(map->hash_fn(cur->key, map->ctx), new_cap_bits); in hashmap_grow() 167 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap_insert() 191 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap_insert() 211 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap_find() 226 h = hash_bits(map->hash_fn(ke in hashmap_delete() [all...] |
H A D | hashmap.h | 73 hashmap_hash_fn hash_fn; member 83 void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, 85 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn, 194 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \ 202 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \
|
/third_party/libbpf/src/ |
H A D | hashmap.c | 38 void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, in hashmap__init() argument 41 map->hash_fn = hash_fn; in hashmap__init() 51 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn, in hashmap__new() argument 59 hashmap__init(map, hash_fn, equal_fn, ctx); in hashmap__new() 118 h = hash_bits(map->hash_fn(cur->key, map->ctx), new_cap_bits); in hashmap_grow() 167 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap_insert() 191 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap_insert() 211 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap_find() 226 h = hash_bits(map->hash_fn(ke in hashmap_delete() [all...] |
H A D | hashmap.h | 73 hashmap_hash_fn hash_fn; member 83 void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, 85 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn, 194 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \ 202 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \
|
/third_party/skia/src/opts/ |
H A D | SkOpts_crc32.cpp | 15 hash_fn = crc32::hash_fn; in Init_crc32()
|
H A D | SkOpts_sse42.cpp | 15 hash_fn = sse42::hash_fn; in Init_sse42()
|
/third_party/skia/include/private/ |
H A D | SkChecksum.h | 58 return SkOpts::hash_fn(&k, sizeof(K), 0); in operator ()() 62 return SkOpts::hash_fn(k.c_str(), k.size(), 0); in operator ()()
|
H A D | SkOpts_spi.h | 18 extern uint32_t SK_SPI (*hash_fn)(const void* data, size_t bytes, uint32_t seed);
|
/third_party/skia/src/gpu/d3d/ |
H A D | GrD3DResourceProvider.h | 109 return SkOpts::hash_fn(desc.asKey(), desc.keyLength(), 0); in operator ()() 147 return SkOpts::hash_fn(key.data(), in operator ()()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | hashmap.c | 13 static size_t hash_fn(const void *k, void *ctx) in hash_fn() function 50 map = hashmap__new(hash_fn, equal_fn, NULL); in test_hashmap_generic() 341 map = hashmap__new(hash_fn, equal_fn, NULL); in test_hashmap_empty()
|
/third_party/skia/experimental/graphite/src/ |
H A D | UniformCache.cpp | 16 return SkOpts::hash_fn(ud->data(), ud->dataSize(), 0); in operator ()()
|
H A D | ResourceProvider.h | 60 return SkOpts::hash_fn(desc.asKey(), desc.keyLength(), 0); in operator ()()
|
/third_party/skia/src/gpu/ |
H A D | GrDDLContext.cpp | 102 return SkOpts::hash_fn(desc.asKey(), desc.keyLength(), 0); in operator ()()
|
/third_party/skia/src/core/ |
H A D | SkOpts.h | 60 return hash_fn(data, bytes, seed); in hash()
|
H A D | SkColorSpace.cpp | 23 fTransferFnHash = SkOpts::hash_fn(&fTransferFn, 7*sizeof(float), 0); in SkColorSpace() 24 fToXYZD50Hash = SkOpts::hash_fn(&fToXYZD50, 9*sizeof(float), 0); in SkColorSpace()
|
/third_party/skia/src/gpu/mtl/ |
H A D | GrMtlResourceProvider.h | 77 return SkOpts::hash_fn(desc.asKey(), desc.keyLength(), 0); in operator ()()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | hashmap.c | 14 static size_t hash_fn(long k, void *ctx) in hash_fn() function 51 map = hashmap__new(hash_fn, equal_fn, NULL); in test_hashmap_generic() 419 map = hashmap__new(hash_fn, equal_fn, NULL); in test_hashmap_empty()
|
/third_party/skia/src/sksl/ |
H A D | SkSLMain.cpp | 39 decltype(hash_fn) hash_fn = skslc_standalone::hash_fn; member
|
/third_party/skia/src/gpu/dawn/ |
H A D | GrDawnGpu.h | 246 return SkOpts::hash_fn(desc.asKey(), desc.keyLength(), 0); in operator ()() 252 return SkOpts::hash_fn(&samplerState, sizeof(samplerState), 0); in operator ()()
|