/external/guava/guava-tests/test/com/google/common/hash/ |
D | AbstractByteHasherTest.java | 36 hasher.putBytes(new byte[]{2, 3, 4, 5, 6}); in testBytes() 38 hasher.putBytes(new byte[]{}); in testBytes() 39 hasher.putBytes(new byte[]{8}); in testBytes() 75 new TestHasher().putBytes(s.getBytes(UTF_16LE)).hash()); in testString() 97 hasher.putBytes(new byte[8], -1, 4); in testCorrectExceptions() 102 hasher.putBytes(new byte[8], 0, 16); in testCorrectExceptions() 107 hasher.putBytes(new byte[8], 0, -1); in testCorrectExceptions()
|
D | AbstractStreamingHasherTest.java | 47 sink.putBytes(new byte[] { 2, 3, 4, 5, 6 }); in testBytes() 49 sink.putBytes(new byte[] {}); in testBytes() 50 sink.putBytes(new byte[] { 8 }); in testBytes() 96 new Sink(4).putBytes(s.getBytes(UTF_16LE)).hash()); in testString() 122 sink.putBytes(new byte[8], -1, 4); in testCorrectExceptions() 126 sink.putBytes(new byte[8], 0, 16); in testCorrectExceptions() 130 sink.putBytes(new byte[8], 0, -1); in testCorrectExceptions()
|
D | HashingInputStreamTest.java | 63 EasyMock.expect(hasher.putBytes(aryEq(testBytes), eq(0), eq(testBytes.length))) in testRead_putByteArray() 80 EasyMock.expect(hasher.putBytes(aryEq(Arrays.copyOfRange(testBytes, 0, 3)), eq(0), eq(3))) in testRead_putByteArrayAtPos() 101 EasyMock.expect(hasher.putBytes(aryEq(expectedBytes), eq(0), eq(4))) in testRead_putByteArrayOutOfBound()
|
D | FunnelsTest.java | 46 verify(primitiveSink).putBytes(new byte[] { 4, 3, 2, 1 }); in testForBytes() 136 verify(sink).putBytes(bytes); in testAsOutputStream() 137 verify(sink).putBytes(bytes, 1, 2); in testAsOutputStream()
|
D | SipHashFunctionTest.java | 173 assertEquals(expected, SIP_WITH_KEY.newHasher().putBytes(input).hash().asLong()); in assertSip() 175 assertEquals(expected, SIP_WITHOUT_KEY.newHasher().putBytes(input).hash().asLong()); in assertSip()
|
D | HashingOutputStreamTest.java | 58 EasyMock.expect(hasher.putBytes(buf, 0, buf.length)).andReturn(hasher).once(); in testWrite_putByteArray() 70 EasyMock.expect(hasher.putBytes(buf, 0, 3)).andReturn(hasher).once(); in testWrite_putByteArrayAtPos()
|
D | HashTestUtils.java | 160 sink.putBytes(value); in PUT_BYTES() 171 sink.putBytes(value); in PUT_BYTES_INT_INT() 494 hashFunction.newHasher(size).putBytes(bytes).hash()); in assertHashBytesEquivalence() 498 hashFunction.newHasher(size).putBytes(bytes, off, len).hash()); in assertHashBytesEquivalence()
|
D | Murmur3Hash128Test.java | 55 assertEquals(expected, murmur3_128(seed).newHasher().putBytes(input).hash()); in assertHash()
|
/external/guava/guava/src/com/google/common/hash/ |
D | AbstractStreamingHashFunction.java | 57 return newHasher().putBytes(input).hash(); in hashBytes() 61 return newHasher().putBytes(input, off, len).hash(); in hashBytes() 144 public final Hasher putBytes(byte[] bytes) { in putBytes() method in AbstractStreamingHashFunction.AbstractStreamingHasher 145 return putBytes(bytes, 0, bytes.length); in putBytes() 149 public final Hasher putBytes(byte[] bytes, int off, int len) { in putBytes() method in AbstractStreamingHashFunction.AbstractStreamingHasher 150 return putBytes(ByteBuffer.wrap(bytes, off, len).order(ByteOrder.LITTLE_ENDIAN)); in putBytes() 153 private Hasher putBytes(ByteBuffer readBuffer) { in putBytes() method in AbstractStreamingHashFunction.AbstractStreamingHasher
|
D | AbstractCompositeHashFunction.java | 62 @Override public Hasher putBytes(byte[] bytes) { in newHasher() method 64 hasher.putBytes(bytes); in newHasher() 69 @Override public Hasher putBytes(byte[] bytes, int off, int len) { in newHasher() method 71 hasher.putBytes(bytes, off, len); in newHasher()
|
D | PrimitiveSink.java | 43 PrimitiveSink putBytes(byte[] bytes); in putBytes() method 56 PrimitiveSink putBytes(byte[] bytes, int off, int len); in putBytes() method
|
D | Hasher.java | 55 @Override Hasher putBytes(byte[] bytes); in putBytes() method 56 @Override Hasher putBytes(byte[] bytes, int off, int len); in putBytes() method
|
D | Funnels.java | 47 into.putBytes(from); in funnel() 241 sink.putBytes(bytes); in write() 245 sink.putBytes(bytes, off, len); in write()
|
D | AbstractByteHasher.java | 68 public Hasher putBytes(byte[] bytes) { in putBytes() method in AbstractByteHasher 75 public Hasher putBytes(byte[] bytes, int off, int len) { in putBytes() method in AbstractByteHasher
|
D | AbstractNonStreamingHashFunction.java | 91 public Hasher putBytes(byte[] bytes) { in putBytes() method in AbstractNonStreamingHashFunction.BufferingHasher 101 public Hasher putBytes(byte[] bytes, int off, int len) { in putBytes() method in AbstractNonStreamingHashFunction.BufferingHasher
|
D | AbstractHasher.java | 47 return putBytes(charSequence.toString().getBytes(charset)); in putString()
|
D | HashingOutputStream.java | 56 hasher.putBytes(bytes, off, len); in write()
|
D | HashingInputStream.java | 67 hasher.putBytes(bytes, off, numOfBytesRead); in read()
|
/external/skia/src/ports/ |
D | SkImageEncoder_CG.cpp | 43 procs.putBytes = consumer_put; in SkStreamToCGDataConsumer()
|
/external/skqp/src/ports/ |
D | SkImageEncoder_CG.cpp | 43 procs.putBytes = consumer_put; in SkStreamToCGDataConsumer()
|
/external/skia/experimental/tools/ |
D | coreGraphicsPdf2png.cpp | 54 procs.putBytes = [](void* f, const void* buf, size_t s) { in main()
|
/external/skqp/experimental/tools/ |
D | coreGraphicsPdf2png.cpp | 54 procs.putBytes = [](void* f, const void* buf, size_t s) { in main()
|