Home
last modified time | relevance | path

Searched refs:hash_fn (Results 1 – 25 of 28) sorted by relevance

12

/external/skia/include/private/
DSkChecksum.h19 extern uint32_t (*hash_fn)(const void*, size_t, uint32_t);
63 return SkOpts::hash_fn(&k, sizeof(K), 0); in operator()
67 return SkOpts::hash_fn(k.c_str(), k.size(), 0); in operator()
/external/skqp/include/private/
DSkChecksum.h19 extern uint32_t (*hash_fn)(const void*, size_t, uint32_t);
63 return SkOpts::hash_fn(&k, sizeof(K), 0); in operator()
67 return SkOpts::hash_fn(k.c_str(), k.size(), 0); in operator()
/external/skqp/src/opts/
DSkOpts_crc32.cpp15 hash_fn = crc32::hash_fn; in Init_crc32()
DSkOpts_sse42.cpp15 hash_fn = sse42::hash_fn; in Init_sse42()
DSkChecksum_opts.h31 /*not static*/ inline uint32_t hash_fn(const void* vdata, size_t bytes, uint32_t seed) { in hash_fn() function
87 /*not static*/ inline uint32_t hash_fn(const void* vdata, size_t bytes, uint32_t hash) { in hash_fn() function
131 /*not static*/ inline uint32_t hash_fn(const void* vdata, size_t bytes, uint32_t hash) { in hash_fn() function
176 /*not static*/ inline uint32_t hash_fn(const void* vdata, size_t bytes, uint32_t hash) { in hash_fn() function
/external/skia/src/opts/
DSkOpts_crc32.cpp15 hash_fn = crc32::hash_fn; in Init_crc32()
DSkOpts_sse42.cpp15 hash_fn = sse42::hash_fn; in Init_sse42()
DSkChecksum_opts.h31 /*not static*/ inline uint32_t hash_fn(const void* vdata, size_t bytes, uint32_t seed) { in hash_fn() function
87 /*not static*/ inline uint32_t hash_fn(const void* vdata, size_t bytes, uint32_t hash) { in hash_fn() function
131 /*not static*/ inline uint32_t hash_fn(const void* vdata, size_t bytes, uint32_t hash) { in hash_fn() function
176 /*not static*/ inline uint32_t hash_fn(const void* vdata, size_t bytes, uint32_t hash) { in hash_fn() function
/external/libchrome/libchrome_tools/patch/
Dhash.patch16 + std::hash<std::string> hash_fn;
17 + return hash_fn(std::string(data, len));
/external/skia/src/core/
DSkOpts.h51 extern uint32_t (*hash_fn)(const void*, size_t, uint32_t seed);
53 return hash_fn(data, bytes, seed);
DSkColorSpace.cpp21 fToXYZD50Hash = SkOpts::hash_fn(fToXYZD50_3x3, 9*sizeof(float), 0); in SkColorSpace()
24 fTransferFnHash = SkOpts::hash_fn(fTransferFn, 7*sizeof(float), 0); in SkColorSpace()
DSkOpts.cpp75 DEFINE_DEFAULT(hash_fn);
/external/skqp/src/core/
DSkOpts.h51 extern uint32_t (*hash_fn)(const void*, size_t, uint32_t seed);
53 return hash_fn(data, bytes, seed);
DSkColorSpace.cpp21 fToXYZD50Hash = SkOpts::hash_fn(fToXYZD50_3x3, 9*sizeof(float), 0); in SkColorSpace()
24 fTransferFnHash = SkOpts::hash_fn(fTransferFn, 7*sizeof(float), 0); in SkColorSpace()
DSkOpts.cpp75 DEFINE_DEFAULT(hash_fn);
/external/libchrome/base/
Dhash.cc10 std::hash<std::string> hash_fn; in SuperFastHash() local
11 return hash_fn(std::string(data, len)); in SuperFastHash()
/external/tensorflow/tensorflow/core/kernels/
Dunique_op.cc134 auto hash_fn = [&Tin](const Eigen::Index& key) { in Compute() local
156 std::unordered_map<int64, int64, decltype(hash_fn), decltype(equal_to_fn)> in Compute()
157 uniq(0, hash_fn, equal_to_fn); in Compute()
/external/e2fsprogs/lib/ext2fs/
Dtdb.c241 unsigned int (*hash_fn)(TDB_DATA *key); member
747 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK); in tdb_chainlock()
755 return tdb_lock_nonblock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK); in tdb_chainlock_nonblock()
761 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK | TDB_MARK_LOCK); in tdb_chainlock_mark()
767 return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK | TDB_MARK_LOCK); in tdb_chainlock_unmark()
772 return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK); in tdb_chainunlock()
777 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_RDLCK); in tdb_chainlock_read()
782 return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_RDLCK); in tdb_chainunlock_read()
2924 …tdb->travlocks.off = tdb_find_lock_hash(tdb, oldkey, tdb->hash_fn(&oldkey), tdb->travlocks.lock_rw… in tdb_nextkey()
3195 hash = tdb->hash_fn(&key); in tdb_fetch()
[all …]
/external/skia/src/gpu/mtl/
DGrMtlResourceProvider.h63 return SkOpts::hash_fn(desc.asKey(), desc.keyLength(), 0); in operator()
/external/skia/tools/gpu/
DMemoryCache.h53 return key.fKey ? SkOpts::hash_fn(key.fKey->data(), key.fKey->size(), 0) : 0; in operator()
/external/skqp/tools/gpu/
DMemoryCache.h53 return key.fKey ? SkOpts::hash_fn(key.fKey->data(), key.fKey->size(), 0) : 0; in operator()
/external/skqp/src/sksl/
DSkSLString.h163 return SkOpts::hash_fn(s.c_str(), s.size(), 0);
/external/skia/src/sksl/
DSkSLString.h163 return SkOpts::hash_fn(s.c_str(), s.size(), 0);
/external/skia/src/gpu/vk/
DGrVkResourceProvider.h218 return SkOpts::hash_fn(desc.asKey(), desc.keyLength(), 0); in operator()
/external/skqp/src/gpu/vk/
DGrVkResourceProvider.h211 return SkOpts::hash_fn(desc.asKey(), desc.keyLength(), 0); in operator()

12