Home
last modified time | relevance | path

Searched refs:Hasher (Results 1 – 5 of 5) sorted by relevance

/frameworks/minikin/tests/unittest/
DHasherTest.cpp24 EXPECT_EQ(Hasher().hash(), Hasher().hash()); in TEST()
25 EXPECT_EQ(Hasher().update(1).hash(), Hasher().update(1).hash()); in TEST()
29 EXPECT_EQ(Hasher().updateShorts(shorts1, 5).hash(), Hasher().updateShorts(shorts2, 5).hash()); in TEST()
31 Hasher hasher; in TEST()
/frameworks/minikin/include/minikin/
DHasher.h29 class Hasher {
31 Hasher() : mHash(0u) {} in Hasher() function
33 IGNORE_INTEGER_OVERFLOW inline Hasher& update(uint32_t data) { in update()
40 inline Hasher& updateShorts(const uint16_t* data, uint32_t length) { in updateShorts()
52 inline Hasher& updateString(const std::string& str) { in updateString()
DMinikinPaint.h93 return Hasher() in hash()
DLayoutPieces.h41 return Hasher() in hash()
DLayoutCache.h107 return Hasher() in computeHash()