/external/guava/guava/src/com/google/common/hash/ |
D | AbstractCompositeHashFunction.java | 46 /* protected */ abstract HashCode makeHash(Hasher[] hashers); in makeHash() 49 public Hasher newHasher() { in newHasher() 50 final Hasher[] hashers = new Hasher[functions.length]; in newHasher() 54 return new Hasher() { in newHasher() 55 @Override public Hasher putByte(byte b) { in newHasher() 56 for (Hasher hasher : hashers) { in newHasher() 62 @Override public Hasher putBytes(byte[] bytes) { in newHasher() 63 for (Hasher hasher : hashers) { in newHasher() 69 @Override public Hasher putBytes(byte[] bytes, int off, int len) { in newHasher() 70 for (Hasher hasher : hashers) { in newHasher() [all …]
|
D | Hasher.java | 53 public interface Hasher extends PrimitiveSink { interface 54 @Override Hasher putByte(byte b); in putByte() 55 @Override Hasher putBytes(byte[] bytes); in putBytes() 56 @Override Hasher putBytes(byte[] bytes, int off, int len); in putBytes() 57 @Override Hasher putShort(short s); in putShort() 58 @Override Hasher putInt(int i); in putInt() 59 @Override Hasher putLong(long l); in putLong() 64 @Override Hasher putFloat(float f); in putFloat() 69 @Override Hasher putDouble(double d); in putDouble() 74 @Override Hasher putBoolean(boolean b); in putBoolean() [all …]
|
D | AbstractNonStreamingHashFunction.java | 34 public Hasher newHasher() { in newHasher() 39 public Hasher newHasher(int expectedInputSize) { in newHasher() 50 Hasher hasher = newHasher(len * 2); in hashUnencodedChars() 85 public Hasher putByte(byte b) { in putByte() 91 public Hasher putBytes(byte[] bytes) { in putBytes() 101 public Hasher putBytes(byte[] bytes, int off, int len) { in putBytes() 107 public Hasher putShort(short s) { in putShort() 114 public Hasher putInt(int i) { in putInt() 123 public Hasher putLong(long l) { in putLong() 131 public Hasher putChar(char c) { in putChar() [all …]
|
D | AbstractByteHasher.java | 62 public Hasher putByte(byte b) { in putByte() 68 public Hasher putBytes(byte[] bytes) { in putBytes() 75 public Hasher putBytes(byte[] bytes, int off, int len) { in putBytes() 84 private Hasher update(int bytes) { in update() 94 public Hasher putShort(short s) { in putShort() 100 public Hasher putInt(int i) { in putInt() 106 public Hasher putLong(long l) { in putLong() 112 public Hasher putChar(char c) { in putChar() 118 public <T> Hasher putObject(T instance, Funnel<? super T> funnel) { in putObject()
|
D | AbstractStreamingHashFunction.java | 64 @Override public Hasher newHasher(int expectedInputSize) { in newHasher() 144 public final Hasher putBytes(byte[] bytes) { in putBytes() 149 public final Hasher putBytes(byte[] bytes, int off, int len) { in putBytes() 153 private Hasher putBytes(ByteBuffer readBuffer) { in putBytes() 179 public final Hasher putUnencodedChars(CharSequence charSequence) { in putUnencodedChars() 187 public final Hasher putByte(byte b) { in putByte() 194 public final Hasher putShort(short s) { in putShort() 201 public final Hasher putChar(char c) { in putChar() 208 public final Hasher putInt(int i) { in putInt() 215 public final Hasher putLong(long l) { in putLong() [all …]
|
D | AbstractHasher.java | 26 abstract class AbstractHasher implements Hasher { 27 @Override public final Hasher putBoolean(boolean b) { in putBoolean() 31 @Override public final Hasher putDouble(double d) { in putDouble() 35 @Override public final Hasher putFloat(float f) { in putFloat() 39 @Override public Hasher putUnencodedChars(CharSequence charSequence) { in putUnencodedChars() 46 @Override public Hasher putString(CharSequence charSequence, Charset charset) { in putString()
|
D | HashFunction.java | 143 Hasher newHasher(); in newHasher() 151 Hasher newHasher(int expectedInputSize); in newHasher()
|
D | Crc32cHashFunction.java | 31 public Hasher newHasher() { in newHasher()
|
D | HashingOutputStream.java | 33 private final Hasher hasher;
|
D | HashingInputStream.java | 33 private final Hasher hasher;
|
D | Hashing.java | 427 HashCode makeHash(Hasher[] hashers) { in makeHash() 430 for (Hasher hasher : hashers) { in makeHash()
|
D | ChecksumHashFunction.java | 49 public Hasher newHasher() { in newHasher()
|
D | SipHashFunction.java | 67 @Override public Hasher newHasher() { in newHasher()
|
/external/lzma/CPP/7zip/UI/Common/ |
D | HashCalc.cpp | 109 h.Hasher = hasher; in SetMethods() 124 h.Hasher->Init(); in InitForNewFile() 133 Hashers[i].Hasher->Update(data, size); in Update() 177 h.Hasher->Final(h.Digests[0]); in Final() 182 h.Hasher->Init(); in Final() 183 h.Hasher->Update(pre, sizeof(pre)); in Final() 184 h.Hasher->Update(h.Digests[0], h.DigestSize); in Final() 190 h.Hasher->Update(temp, 2); in Final() 194 h.Hasher->Final(tempDigest); in Final()
|
D | HashCalc.h | 27 CMyComPtr<IHasher> Hasher; member
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | AbstractNonStreamingHashFunctionTest.java | 40 List<Hasher> hashers = ImmutableList.of( in testExhaustive() 83 Hasher h1 = new NonStreamingVersion().newHasher(); in assertPutString() 84 Hasher h2 = new NonStreamingVersion().newHasher(); in assertPutString() 101 public Hasher newHasher() { in newHasher()
|
D | HashingOutputStreamTest.java | 31 private Hasher hasher; 37 hasher = EasyMock.createMock(Hasher.class); in setUp()
|
D | MessageDigestHashFunctionTest.java | 62 Hasher sha1 = Hashing.sha1().newHasher(); in testPutAfterHash() 76 Hasher sha1 = Hashing.sha1().newHasher(); in testHashTwice()
|
D | AbstractStreamingHasherTest.java | 156 Hasher controlSink = control.newHasher(1024); in testExhaustive() 158 Iterable<Hasher> sinksAndControl = in testExhaustive() 166 for (Hasher hasher : sinksAndControl) { in testExhaustive()
|
D | HashingInputStreamTest.java | 35 private Hasher hasher; 42 hasher = EasyMock.createMock(Hasher.class); in setUp()
|
D | Murmur3Hash32Test.java | 62 Hasher hasher = murmur3_32(seed).newHasher(); in testParanoid()
|
D | Murmur3Hash128Test.java | 72 Hasher hasher = murmur3_128(seed).newHasher(); in testParanoid()
|
D | HashTestUtils.java | 459 Hasher hasher1 = hashFunction.newHasher(); in assertIndependentHashers() 460 Hasher hasher2 = hashFunction.newHasher(); in assertIndependentHashers() 471 Hasher hasher = hashFunction.newHasher(); in randomHash()
|
/external/chromium-trace/catapult/third_party/coverage/coverage/ |
D | html.py | 16 from coverage.misc import CoverageException, Hasher, isolate_module 123 m = Hasher() 169 m = Hasher()
|
/external/guava/guava/src/com/google/common/io/ |
D | ByteSource.java | 28 import com.google.common.hash.Hasher; 296 Hasher hasher = hashFunction.newHasher(); in hash()
|