/external/guava/guava-tests/test/com/google/common/hash/ |
D | HashFunctionsTest.java | 41 private static void assertInvariants(HashFunction hashFunction) { in assertInvariants() argument 46 HashCode hashcode1 = hashFunction.newHasher().putObject(o, HashTestUtils.BAD_FUNNEL).hash(); in assertInvariants() 47 HashCode hashcode2 = hashFunction.newHasher().putObject(o, HashTestUtils.BAD_FUNNEL).hash(); in assertInvariants() 49 assertEquals(hashFunction.bits(), hashcode1.bits()); in assertInvariants() 50 assertEquals(hashFunction.bits(), hashcode1.asBytes().length * 8); in assertInvariants() 55 assertHashBytesThrowsCorrectExceptions(hashFunction); in assertInvariants() 58 private static void assertHashBytesThrowsCorrectExceptions(HashFunction hashFunction) { in assertHashBytesThrowsCorrectExceptions() argument 59 hashFunction.hashBytes(new byte[64], 0, 0); in assertHashBytesThrowsCorrectExceptions() 62 hashFunction.hashBytes(new byte[128], -1, 128); in assertHashBytesThrowsCorrectExceptions() 66 hashFunction.hashBytes(new byte[128], 64, 256 /* too long len */); in assertHashBytesThrowsCorrectExceptions() [all …]
|
D | HashTestUtils.java | 46 static void verifyHashFunction(HashFn hashFunction, int hashbits, int expected) { in verifyHashFunction() argument 56 byte[] hash = hashFunction.hash(Arrays.copyOf(key, i), seed); in verifyHashFunction() 61 byte[] result = hashFunction.hash(hashes, 0); in verifyHashFunction()
|
/external/chromium_org/third_party/angle/src/compiler/translator/ |
D | OutputESSL.cpp | 11 ShHashFunction64 hashFunction, in TOutputESSL() argument 15 : TOutputGLSLBase(objSink, clampingStrategy, hashFunction, nameMap, symbolTable, shaderVersion) in TOutputESSL()
|
D | OutputGLSL.cpp | 11 ShHashFunction64 hashFunction, in TOutputGLSL() argument 15 : TOutputGLSLBase(objSink, clampingStrategy, hashFunction, nameMap, symbolTable, shaderVersion) in TOutputGLSL()
|
D | Compiler.h | 79 ShHashFunction64 getHashFunction() const { return hashFunction; } in getHashFunction() 175 ShHashFunction64 hashFunction; variable
|
D | OutputESSL.h | 17 ShHashFunction64 hashFunction,
|
D | VariableInfo.cpp | 134 ShHashFunction64 hashFunction) in CollectVariables() argument 143 mHashFunction(hashFunction) in CollectVariables() 254 NameHashingTraverser(ShHashFunction64 hashFunction) in NameHashingTraverser() argument 255 : mHashFunction(hashFunction) in NameHashingTraverser()
|
D | OutputGLSL.h | 17 ShHashFunction64 hashFunction,
|
D | VariableInfo.h | 26 ShHashFunction64 hashFunction);
|
D | OutputGLSLBase.h | 21 ShHashFunction64 hashFunction,
|
D | Compiler.cpp | 136 hashFunction = resources.HashFunction; in Init() 510 hashFunction); in collectVariables()
|
D | IntermNode.cpp | 1098 TString TIntermTraverser::hash(const TString &name, ShHashFunction64 hashFunction) in hash() argument 1100 if (hashFunction == NULL || name.empty()) in hash() 1102 khronos_uint64_t number = (*hashFunction)(name.c_str(), name.length()); in hash()
|
D | OutputGLSLBase.cpp | 45 ShHashFunction64 hashFunction, in TOutputGLSLBase() argument 53 mHashFunction(hashFunction), in TOutputGLSLBase()
|
D | IntermNode.h | 732 static TString hash(const TString& name, ShHashFunction64 hashFunction);
|
/external/srec/portable/src/ |
D | phashtable.c | 93 tmp->args.hashFunction = PHASH_TABLE_DEFAULT_HASH_FUNCTION; in PHashTableCreate() 100 if (tmp->args.hashFunction == PHASH_TABLE_DEFAULT_HASH_FUNCTION) in PHashTableCreate() 101 tmp->args.hashFunction = hashString; in PHashTableCreate() 217 hashCode = table->args.hashFunction(key); in PHashTableGetValue() 264 hashCode = table->args.hashFunction(key); in PHashTableGetEntry() 348 hashCode = table->args.hashFunction(key); in PHashTablePutValue() 437 hashCode = table->args.hashFunction(key); in PHashTableRemoveValue()
|
/external/chromium_org/third_party/sqlite/src/ext/fts2/ |
D | fts2_hash.c | 140 static int (*hashFunction(int keyClass))(const void*,int){ in hashFunction() function 205 xHash = hashFunction(pH->keyClass); in rehash() 289 xHash = hashFunction(pH->keyClass); in sqlite3Fts2HashFind() 325 xHash = hashFunction(pH->keyClass); in sqlite3Fts2HashInsert()
|
/external/chromium_org/third_party/sqlite/src/ext/fts1/ |
D | fts1_hash.c | 135 static int (*hashFunction(int keyClass))(const void*,int){ in hashFunction() function 200 xHash = hashFunction(pH->keyClass); in rehash() 284 xHash = hashFunction(pH->keyClass); in sqlite3Fts1HashFind() 320 xHash = hashFunction(pH->keyClass); in sqlite3Fts1HashInsert()
|
D | ft_hash.c | 155 static int (*hashFunction(int keyClass))(const void*,int){ in hashFunction() function 242 xHash = hashFunction(pH->keyClass); in rehash() 326 xHash = hashFunction(pH->keyClass); in HashFind() 357 xHash = hashFunction(pH->keyClass); in HashInsert()
|
/external/clang/test/Rewriter/ |
D | rewrite-protocol-type-1.m | 26 @property int (*hashFunction)(const void *item, int (*size)(const void *item));
|
/external/srec/portable/include/ |
D | phashtable.h | 111 PHashFunction hashFunction; member
|
/external/clang/test/ARCMT/ |
D | objcmt-migrate-all.m | 129 @property NSUInteger (*hashFunction)(const void *item, NSUInteger (*size)(const void *item));
|
D | objcmt-ns-returns-inner-pointer.m | 128 @property NSUInteger (*hashFunction)(const void *item, NSUInteger (*size)(const void *item));
|
D | objcmt-migrate-all.m.result | 129 @property NSUInteger (*hashFunction)(const void *item, NSUInteger (*size)(const void *item));
|
D | objcmt-ns-returns-inner-pointer.m.result | 128 @property NSUInteger (*hashFunction)(const void *item, NSUInteger (*size)(const void *item));
|
/external/srec/shared/src/ |
D | HashMapImpl.c | 74 hashArgs.hashFunction = PHASH_TABLE_DEFAULT_HASH_FUNCTION; in HashMapCreateBins()
|