/external/jackson-core/src/main/java/com/fasterxml/jackson/core/sym/ |
D | ByteQuadsCanonicalizer.java | 470 int offset = _calcOffset(calcHash(q1)); in findName() 502 int offset = _calcOffset(calcHash(q1, q2)); in findName() 532 int offset = _calcOffset(calcHash(q1, q2, q3)); in findName() 576 final int hash = calcHash(q, qlen); in findName() 771 int offset = _findOffsetForAdd(calcHash(q1)); in addName() 784 int hash = (q2 == 0) ? calcHash(q1) : calcHash(q1, q2); in addName() 799 int offset = _findOffsetForAdd(calcHash(q1, q2, q3)); in addName() 820 offset = _findOffsetForAdd(calcHash(q[0])); in addName() 827 offset = _findOffsetForAdd(calcHash(q[0], q[1])); in addName() 835 offset = _findOffsetForAdd(calcHash(q[0], q[1], q[2])); in addName() [all …]
|
D | CharsToNameCanonicalizer.java | 484 index = _hashToIndex(calcHash(buffer, start, len)); in _addSymbol() 567 public int calcHash(char[] buffer, int start, int len) { in calcHash() method in CharsToNameCanonicalizer 576 public int calcHash(String key) in calcHash() method in CharsToNameCanonicalizer 650 int index = _hashToIndex(calcHash(symbol)); in rehash() 668 int index = _hashToIndex(calcHash(symbol)); in rehash()
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/sym/ |
D | TestSymbolTables.java | 26 symbols.findSymbol(ch, 0, ch.length, symbols.calcHash(id)); in testSyntheticWithChars() 87 symbolsC.calcHash(name)); in testThousandsOfSymbolsWithChars() 197 symbols.findSymbol(ch, 0, ch.length, symbols.calcHash(id)); in testCollisionsWithChars187() 309 symbols.findSymbol(ch, 0, ch.length, symbols.calcHash(id)); in testShortQuotedDirectChars() 348 symbols.findSymbol(ch, 0, ch.length, symbols.calcHash(id)); in testShortNameCollisionsDirect() 397 symbolsC.findSymbol(idChars, 0, idChars.length, symbolsC.calcHash(id)); in testLongSymbols17Bytes()
|
D | SymbolTableMergingTest.java | 55 assertEquals(sym.calcHash(str1, 0, 3), sym.calcHash(str2, 1, 3)); in testHashCalc()
|
D | TestByteBasedSymbols.java | 137 int hash = canon.calcHash(maybe); in testQuadsIssue548() 142 hash = canon.calcHash(maybe); in testQuadsIssue548()
|
D | TestSymbolsWithMediaItem.java | 81 symbols.findSymbol(ch, 0, ch.length, symbols.calcHash(name)); in testSmallSymbolSetWithChars()
|
/external/mtools/ |
D | dirCache.c | 34 static uint32_t calcHash(wchar_t *name) in calcHash() function 91 _addHash(cache, calcHash(name), 0); in addNameToHash() 108 ret = _addHash(cache, calcHash(name), 1); in isHashed()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_addrhashmap.h | 97 uptr calcHash(uptr addr); 157 uptr hash = calcHash(addr); in acquire() 334 uptr AddrHashMap<T, kSize>::calcHash(uptr addr) { in calcHash() function
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_addrhashmap.h | 98 uptr calcHash(uptr addr); 168 uptr hash = calcHash(addr); in acquire() 345 uptr AddrHashMap<T, kSize>::calcHash(uptr addr) { in calcHash() function
|