Home
last modified time | relevance | path

Searched refs:hashers (Results 1 – 9 of 9) sorted by relevance

/external/guava/guava/src/com/google/common/hash/
DAbstractCompositeHashFunction.java46 /* protected */ abstract HashCode makeHash(Hasher[] hashers); in makeHash() argument
50 final Hasher[] hashers = new Hasher[functions.length]; in newHasher() local
51 for (int i = 0; i < hashers.length; i++) { in newHasher()
52 hashers[i] = functions[i].newHasher(); in newHasher()
56 for (Hasher hasher : hashers) { in newHasher()
63 for (Hasher hasher : hashers) { in newHasher()
70 for (Hasher hasher : hashers) { in newHasher()
77 for (Hasher hasher : hashers) { in newHasher()
84 for (Hasher hasher : hashers) { in newHasher()
91 for (Hasher hasher : hashers) { in newHasher()
[all …]
DHashing.java427 HashCode makeHash(Hasher[] hashers) { in makeHash() argument
430 for (Hasher hasher : hashers) { in makeHash()
/external/webp/src/enc/
Dbackward_references_enc.c393 VP8LColorCache* const hashers, in AddSingleLiteral() argument
397 const uint32_t key = VP8LColorCacheGetIndex(hashers, pixel); in AddSingleLiteral()
398 if (VP8LColorCacheLookup(hashers, key) == pixel) { in AddSingleLiteral()
402 VP8LColorCacheSet(hashers, key, pixel); in AddSingleLiteral()
416 VP8LColorCache hashers; in BackwardReferencesRle() local
418 if (use_color_cache && !VP8LColorCacheInit(&hashers, cache_bits)) { in BackwardReferencesRle()
423 AddSingleLiteral(argb[0], use_color_cache, &hashers, refs); in BackwardReferencesRle()
440 VP8LColorCacheInsert(&hashers, argb[i + k]); in BackwardReferencesRle()
445 AddSingleLiteral(argb[i], use_color_cache, &hashers, refs); in BackwardReferencesRle()
449 if (use_color_cache) VP8LColorCacheClear(&hashers); in BackwardReferencesRle()
[all …]
Dbackward_references_cost_enc.c122 const uint32_t* const argb, VP8LColorCache* const hashers, in AddSingleLiteralWithCostModel() argument
127 const int ix = use_color_cache ? VP8LColorCacheContains(hashers, color) : -1; in AddSingleLiteralWithCostModel()
134 if (use_color_cache) VP8LColorCacheInsert(hashers, color); in AddSingleLiteralWithCostModel()
578 VP8LColorCache hashers; in BackwardReferencesHashChainDistanceOnly() local
590 cc_init = VP8LColorCacheInit(&hashers, cache_bits); in BackwardReferencesHashChainDistanceOnly()
606 AddSingleLiteralWithCostModel(argb, &hashers, cost_model, 0, use_color_cache, in BackwardReferencesHashChainDistanceOnly()
615 AddSingleLiteralWithCostModel(argb, &hashers, cost_model, i, in BackwardReferencesHashChainDistanceOnly()
679 if (cc_init) VP8LColorCacheClear(&hashers); in BackwardReferencesHashChainDistanceOnly()
714 VP8LColorCache hashers; in BackwardReferencesHashChainFollowChosenPath() local
717 cc_init = VP8LColorCacheInit(&hashers, cache_bits); in BackwardReferencesHashChainFollowChosenPath()
[all …]
/external/guava/guava-tests/test/com/google/common/hash/
DAbstractNonStreamingHashFunctionTest.java40 List<Hasher> hashers = ImmutableList.of( in testExhaustive() local
47 RandomHasherAction.pickAtRandom(random).performAction(random, hashers); in testExhaustive()
49 HashCode[] codes = new HashCode[hashers.size()]; in testExhaustive()
50 for (int i = 0; i < hashers.size(); i++) { in testExhaustive()
51 codes[i] = hashers.get(i).hash(); in testExhaustive()
/external/lzma/CPP/7zip/UI/Console/
DHashCon.cpp125 void CHashCallbackConsole::PrintSeparatorLine(const CObjectVector<CHasherState> &hashers) in PrintSeparatorLine() argument
129 for (unsigned i = 0; i < hashers.Size(); i++) in PrintSeparatorLine()
133 const CHasherState &h = hashers[i]; in PrintSeparatorLine()
212 const CObjectVector<CHasherState> &hashers, unsigned digestIndex, bool showHash) in PrintResultLine() argument
218 FOR_VECTOR (i, hashers) in PrintResultLine()
220 const CHasherState &h = hashers[i]; in PrintResultLine()
DHashCon.h21 void PrintSeparatorLine(const CObjectVector<CHasherState> &hashers);
23 const CObjectVector<CHasherState> &hashers, unsigned digestIndex, bool showHash);
/external/lzma/CPP/7zip/Compress/
DCodecExports.cpp321 STDAPI GetHashers(IHashers **hashers) in GetHashers() argument
324 *hashers = new CHashers; in GetHashers() local
325 if (*hashers) in GetHashers()
326 (*hashers)->AddRef(); in GetHashers()
/external/lzma/CPP/7zip/
DICoder.h366 typedef HRESULT (WINAPI *Func_GetHashers)(IHashers **hashers);