/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | IsValidUtf8Test.java | 114 assertTrue(asBytes("").isValidUtf8()); in testSomeSequences() 117 assertTrue(asBytes("\u0000abc\u007f").isValidUtf8()); in testSomeSequences() 120 assertTrue(asBytes("\u00a2\u00a2").isValidUtf8()); in testSomeSequences() 123 assertTrue(asBytes("\u020ac\u020ac").isValidUtf8()); in testSomeSequences() 126 assertTrue(asBytes("\u024B62\u024B62").isValidUtf8()); in testSomeSequences() 129 assertTrue(asBytes("a\u020ac\u00a2b\\u024B62u020acc\u00a2de\u024B62").isValidUtf8()); in testSomeSequences() 174 private static ByteString asBytes(String s) { in asBytes() method in IsValidUtf8Test
|
/external/guava/guava/src/com/google/common/hash/ |
D | HashCode.java | 78 public abstract byte[] asBytes(); in asBytes() method in HashCode 104 return asBytes(); in getBytesInternal() 136 public byte[] asBytes() { in asBytes() method in HashCode.IntHashCode 196 public byte[] asBytes() { in asBytes() method in HashCode.LongHashCode 270 public byte[] asBytes() { in asBytes() method in HashCode.BytesHashCode 375 byte[] bytes = asBytes(); in hashCode() 396 byte[] bytes = asBytes(); in toString()
|
D | Hashing.java | 369 byte[] nextBytes = hashCode.asBytes(); in combineOrdered() 394 byte[] nextBytes = hashCode.asBytes(); in combineUnordered()
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | HashCodeTest.java | 265 HashCode.fromInt(42).asBytes(), in testIntWriteBytesTo() 273 HashCode.fromLong(42).asBytes(), in testLongWriteBytesTo() 347 assertTrue(Arrays.equals(expectedHashCode.bytes, hash.asBytes())); in assertExpectedHashCode() 366 byte[] original = hash.asBytes(); in assertSideEffectFree() 367 byte[] mutated = hash.asBytes(); in assertSideEffectFree() 369 assertTrue(Arrays.equals(original, hash.asBytes())); in assertSideEffectFree() 374 byte[] hashBytes = hashCode.asBytes(); in assertReadableBytes()
|
D | Murmur3Hash32Test.java | 64 return hasher.hash().asBytes(); in testParanoid()
|
D | Murmur3Hash128Test.java | 74 return hasher.hash().asBytes(); in testParanoid()
|
D | AbstractStreamingHasherTest.java | 173 byte[] expected = controlSink.hash().asBytes(); in testExhaustive()
|
D | HashingTest.java | 344 byte[] md5Hash = Hashing.md5().hashLong(42L).asBytes(); in testConcatenatedHashFunction_makeHash() 345 byte[] murmur3Hash = Hashing.murmur3_32().hashLong(42L).asBytes(); in testConcatenatedHashFunction_makeHash()
|
D | HashTestUtils.java | 423 Assert.assertEquals(hashFunction.bits(), hashcode1.asBytes().length * 8); in assertInvariants()
|
/external/guava/guava-tests/benchmark/com/google/common/hash/ |
D | ChecksumBenchmark.java | 88 result ^= Hashing.crc32().hashInt(reps).asBytes()[0]; in runHashFunction() 89 result ^= Hashing.adler32().hashInt(reps).asBytes()[0]; in runHashFunction() 91 result ^= hashFunction.hashBytes(testBytes).asBytes()[0]; in runHashFunction()
|
D | HashFunctionBenchmark.java | 58 result ^= hashFunction.hashBytes(testBytes).asBytes()[0]; in hashFunction()
|
D | MessageDigestAlgorithmBenchmark.java | 57 return algorithm.getHashFunction().hashBytes(input).asBytes(); in HASH_FUNCTION_API()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/gcm/ |
D | GCMUtil.java | 53 public static byte[] asBytes(int[] x) in asBytes() method in GCMUtil 60 public static void asBytes(int[] x, byte[] z) in asBytes() method in GCMUtil 65 public static byte[] asBytes(long[] x) in asBytes() method in GCMUtil 72 public static void asBytes(long[] x, byte[] z) in asBytes() method in GCMUtil 106 GCMUtil.asBytes(t1, x); in multiply()
|
D | Tables1kGCMExponentiator.java | 40 GCMUtil.asBytes(y, output); in exponentiateX()
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | GeneratedMessageLite.java | 1164 private final byte[] asBytes; field in GeneratedMessageLite.SerializedForm 1172 asBytes = regularForm.toByteArray(); in SerializedForm() 1189 .mergeFrom(asBytes) in readResolve()
|