Home
last modified time | relevance | path

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

/external/skia/include/private/
DSkChecksum.h18 extern uint32_t (*hash_fn)(const void*, size_t, uint32_t);
62 return SkOpts::hash_fn(&k, sizeof(K), 0); in operator()
66 return SkOpts::hash_fn(k.c_str(), k.size(), 0); in operator()
/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 static uint32_t hash_fn(const void* vdata, size_t bytes, uint32_t seed) { in hash_fn() function
87 static uint32_t hash_fn(const void* vdata, size_t bytes, uint32_t hash) { in hash_fn() function
131 static uint32_t hash_fn(const void* vdata, size_t bytes, uint32_t hash) { in hash_fn() function
176 static uint32_t hash_fn(const void* vdata, size_t bytes, uint32_t hash) { in hash_fn() function
/external/libchrome/base/
Dhash.cc12 std::hash<std::string> hash_fn; in SuperFastHash() local
13 return hash_fn(std::string(data, len)); in SuperFastHash()
/external/skia/src/core/
DSkOpts.h61 extern uint32_t (*hash_fn)(const void*, size_t, uint32_t seed);
63 return hash_fn(data, bytes, seed);
DSkColorSpace_XYZ.cpp18 , fToXYZD50Hash(SkOpts::hash_fn(toXYZD50.values(), 16 * sizeof(SkMScalar), 0)) in SkColorSpace_XYZ()
28 , fToXYZD50Hash(SkOpts::hash_fn(toXYZD50.values(), 16 * sizeof(SkMScalar), 0)) in SkColorSpace_XYZ()
DSkOpts.cpp89 DEFINE_DEFAULT(hash_fn);
/external/e2fsprogs/lib/ext2fs/
Dtdb.c243 unsigned int (*hash_fn)(TDB_DATA *key); member
749 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK); in tdb_chainlock()
757 return tdb_lock_nonblock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK); in tdb_chainlock_nonblock()
763 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK | TDB_MARK_LOCK); in tdb_chainlock_mark()
769 return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK | TDB_MARK_LOCK); in tdb_chainlock_unmark()
774 return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK); in tdb_chainunlock()
779 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_RDLCK); in tdb_chainlock_read()
784 return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_RDLCK); in tdb_chainunlock_read()
2926 …tdb->travlocks.off = tdb_find_lock_hash(tdb, oldkey, tdb->hash_fn(&oldkey), tdb->travlocks.lock_rw… in tdb_nextkey()
3197 hash = tdb->hash_fn(&key); in tdb_fetch()
[all …]
Dtdb.h151 tdb_hash_func hash_fn);
/external/skia/src/sksl/
DSkSLString.h99 return SkOpts::hash_fn(s.c_str(), s.size(), 0);
/external/skia/src/gpu/vk/
DGrVkResourceProvider.h189 return SkOpts::hash_fn(desc.asKey(), desc.keyLength(), 0); in operator()
/external/skia/src/gpu/gl/
DGrGLGpu.h326 return SkOpts::hash_fn(desc.asKey(), desc.keyLength(), 0); in operator()