Home
last modified time | relevance | path

Searched refs:hasher (Results 1 – 7 of 7) sorted by relevance

/frameworks/minikin/tests/unittest/
DHasherTest.cpp31 Hasher hasher; in TEST() local
32 hasher.update(1); in TEST()
33 EXPECT_EQ(hasher.hash(), hasher.hash()); in TEST()
34 hasher.update(2); in TEST()
35 EXPECT_EQ(hasher.hash(), hasher.hash()); in TEST()
/frameworks/compile/mclinker/include/mcld/ADT/
DHashBase.h70 typedef HashFunctionTy hasher; typedef
88 hasher& hash() { return m_Hasher; } in hash()
90 const hasher& hash() const { return m_Hasher; } in hash()
124 hasher m_Hasher;
DHashTable.h40 typedef HashFunctionTy hasher; typedef
/frameworks/base/tests/DynamicCodeLoggerIntegrationTests/src/com/android/server/pm/dex/
DDynamicCodeLoggerIntegrationTests.java377 MessageDigest hasher = MessageDigest.getInstance(SHA_256); in copyAndHashResource() local
390 hasher.update(buffer, 0, numRead); in copyAndHashResource()
396 return toHexString(hasher); in copyAndHashResource()
400 MessageDigest hasher = MessageDigest.getInstance(SHA_256); in hashOf() local
401 hasher.update(input.getBytes()); in hashOf()
402 return toHexString(hasher); in hashOf()
405 private static String toHexString(MessageDigest hasher) { in toHexString() argument
407 for (byte b : hasher.digest()) { in toHexString()
/frameworks/minikin/libs/minikin/
DLocaleListCache.cpp111 Hasher hasher; in operator ()() local
114 hasher.update(static_cast<uint32_t>((id >> 32) & 0xFFFFFFFF)); in operator ()()
115 hasher.update(static_cast<uint32_t>(id & 0xFFFFFFFF)); in operator ()()
117 return hasher.hash(); in operator ()()
/frameworks/base/tools/lock_agent/java/com/android/lock_checker/
DLockHook.java94 static <T> boolean shouldDumpStacktrace(StacktraceHasher hasher, Map<String, T> dumpedSet, in shouldDumpStacktrace() argument
96 final String stacktraceHash = hasher.stacktraceHash(st, from, to); in shouldDumpStacktrace()
/frameworks/compile/mclinker/lib/Target/
DGNULDBackend.cpp1210 hash::StringHash<hash::DJB> hasher; in emitGNUHashTab() local
1211 uint32_t djbhash = hasher((*symbol)->name()); in emitGNUHashTab()