/third_party/libbpf/src/ |
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(key, map->ctx), map->cap_bits); in hashmap_delete()
|
D | hashmap.h | 73 hashmap_hash_fn hash_fn; member 83 #define HASHMAP_INIT(hash_fn, equal_fn, ctx) { \ argument 84 .hash_fn = (hash_fn), \ 93 void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, 95 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn, 204 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \ 212 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \
|
D | btf.c | 3331 hashmap_hash_fn hash_fn = btf_dedup_identity_hash_fn; local 3338 hash_fn = btf_dedup_collision_hash_fn; 3343 d->dedup_table = hashmap__new(hash_fn, btf_dedup_equal_fn, NULL);
|
/third_party/skia/src/opts/ |
D | SkOpts_sse42.cpp | 15 hash_fn = sse42::hash_fn; in Init_sse42()
|
D | SkOpts_crc32.cpp | 15 hash_fn = crc32::hash_fn; in Init_crc32()
|
D | SkChecksum_opts.h | 112 inline uint32_t hash_fn(const void* data, size_t len, uint32_t seed) { in hash_fn() function
|
/third_party/skia/include/private/ |
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()
|
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/ |
D | GrD3DResourceProvider.h | 109 return SkOpts::hash_fn(desc.asKey(), desc.keyLength(), 0); in operator() 147 return SkOpts::hash_fn(key.data(), in operator()
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnGpu.h | 238 return SkOpts::hash_fn(desc.asKey(), desc.keyLength(), 0); in operator() 244 return SkOpts::hash_fn(&samplerState, sizeof(samplerState), 0); in operator()
|
/third_party/skia/experimental/graphite/src/ |
D | UniformCache.cpp | 16 return SkOpts::hash_fn(ud->data(), ud->dataSize(), 0); in operator ()()
|
D | ResourceProvider.h | 60 return SkOpts::hash_fn(desc.asKey(), desc.keyLength(), 0); in operator()
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlResourceProvider.h | 77 return SkOpts::hash_fn(desc.asKey(), desc.keyLength(), 0); in operator()
|
/third_party/skia/src/gpu/ |
D | GrDDLContext.cpp | 102 return SkOpts::hash_fn(desc.asKey(), desc.keyLength(), 0); in operator ()()
|
/third_party/skia/src/sksl/ |
D | SkSLMain.cpp | 39 decltype(hash_fn) hash_fn = skslc_standalone::hash_fn; variable
|
/third_party/skia/src/core/ |
D | SkOpts.h | 60 return hash_fn(data, bytes, seed);
|
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()
|
D | SkOpts.cpp | 86 DEFINE_DEFAULT(hash_fn);
|
D | SkRuntimeEffect.cpp | 515 : fHash(SkOpts::hash_fn(baseProgram->fSource->c_str(), baseProgram->fSource->size(), 0)) in SkRuntimeEffect() 531 fHash = SkOpts::hash_fn(&options.forceNoInline, in SkRuntimeEffect() 533 fHash = SkOpts::hash_fn(&options.enforceES2Restrictions, in SkRuntimeEffect() 535 fHash = SkOpts::hash_fn(&options.allowFragCoord, in SkRuntimeEffect() 538 fHash = SkOpts::hash_fn(&options.useAF, sizeof(options.useAF), fHash); in SkRuntimeEffect()
|
D | SkCanvas.cpp | 1410 fMarkerStack->setMarker(SkOpts::hash_fn(name, strlen(name), 0), in markCTM() 1418 fMarkerStack->findMarker(SkOpts::hash_fn(name, strlen(name), 0), mx); in findMarkedCTM()
|
/third_party/skia/tools/gpu/ |
D | MemoryCache.h | 84 return key.fKey ? SkOpts::hash_fn(key.fKey->data(), key.fKey->size(), 0) : 0; in operator()
|
/third_party/skia/src/sksl/ir/ |
D | SkSLSymbolTable.h | 158 return SymbolKey{name, SkOpts::hash_fn(name.data(), name.size(), 0)}; in MakeSymbolKey()
|
/third_party/skia/src/gpu/vk/ |
D | GrVkResourceProvider.h | 256 return SkOpts::hash_fn(desc.asKey(), desc.keyLength(), 0); in operator()
|
/third_party/skia/src/gpu/gl/ |
D | GrGLGpu.h | 413 return SkOpts::hash_fn(desc.asKey(), desc.keyLength(), 0); in operator()
|
/third_party/libabigail/src/ |
D | abg-ir.cc | 20605 function_decl::hash hash_fn; in get_hash() local 20606 return hash_fn(*this); in get_hash()
|