/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | IsValidUtf8Test.java | 102 assertTrue(asBytes("").isValidUtf8()); in testSomeSequences() 105 assertTrue(asBytes("\u0000abc\u007f").isValidUtf8()); in testSomeSequences() 108 assertTrue(asBytes("\u00a2\u00a2").isValidUtf8()); in testSomeSequences() 111 assertTrue(asBytes("\u020ac\u020ac").isValidUtf8()); in testSomeSequences() 114 assertTrue(asBytes("\u024B62\u024B62").isValidUtf8()); in testSomeSequences() 117 assertTrue(asBytes("a\u020ac\u00a2b\\u024B62u020acc\u00a2de\u024B62").isValidUtf8()); in testSomeSequences() 163 private static ByteString asBytes(String s) { in asBytes() method in IsValidUtf8Test
|
/external/guava/android/guava-tests/benchmark/com/google/common/hash/ |
D | HashFunctionBenchmark.java | 59 result ^= hashFunction.newHasher().putBytes(testBytes).hash().asBytes()[0]; in hasher() 69 result ^= hashFunction.hashBytes(testBytes).asBytes()[0]; in hashFunction() 79 result ^= hashFunction.hashBytes(testBytes, 1, testBytes.length - 1).asBytes()[0]; in hashFunctionWithOffset()
|
D | ChecksumBenchmark.java | 95 result ^= Hashing.crc32().hashInt(reps).asBytes()[0]; in runHashFunction() 96 result ^= Hashing.adler32().hashInt(reps).asBytes()[0]; in runHashFunction() 98 result ^= hashFunction.hashBytes(testBytes).asBytes()[0]; in runHashFunction()
|
D | MessageDigestAlgorithmBenchmark.java | 59 return algorithm.getHashFunction().hashBytes(input).asBytes(); in HASH_FUNCTION_DIRECT() 65 return algorithm.getHashFunction().newHasher().putBytes(input).hash().asBytes(); in HASH_FUNCTION_VIA_HASHER()
|
/external/guava/guava-tests/benchmark/com/google/common/hash/ |
D | HashFunctionBenchmark.java | 59 result ^= hashFunction.newHasher().putBytes(testBytes).hash().asBytes()[0]; in hasher() 69 result ^= hashFunction.hashBytes(testBytes).asBytes()[0]; in hashFunction() 79 result ^= hashFunction.hashBytes(testBytes, 1, testBytes.length - 1).asBytes()[0]; in hashFunctionWithOffset()
|
D | ChecksumBenchmark.java | 95 result ^= Hashing.crc32().hashInt(reps).asBytes()[0]; in runHashFunction() 96 result ^= Hashing.adler32().hashInt(reps).asBytes()[0]; in runHashFunction() 98 result ^= hashFunction.hashBytes(testBytes).asBytes()[0]; in runHashFunction()
|
D | MessageDigestAlgorithmBenchmark.java | 59 return algorithm.getHashFunction().hashBytes(input).asBytes(); in HASH_FUNCTION_DIRECT() 65 return algorithm.getHashFunction().newHasher().putBytes(input).hash().asBytes(); in HASH_FUNCTION_VIA_HASHER()
|
/external/guava/android/guava-tests/test/com/google/common/hash/ |
D | HashCodeTest.java | 273 assertTrue(Arrays.equals(HashCode.fromInt(42).asBytes(), dest)); in testIntWriteBytesTo() 279 assertTrue(Arrays.equals(HashCode.fromLong(42).asBytes(), dest)); in testLongWriteBytesTo() 349 assertTrue(Arrays.equals(expectedHashCode.bytes, hash.asBytes())); in assertExpectedHashCode() 369 byte[] original = hash.asBytes(); in assertSideEffectFree() 370 byte[] mutated = hash.asBytes(); in assertSideEffectFree() 372 assertTrue(Arrays.equals(original, hash.asBytes())); in assertSideEffectFree() 377 byte[] hashBytes = hashCode.asBytes(); in assertReadableBytes()
|
D | Murmur3Hash32Test.java | 106 return murmur3_32(seed).hashBytes(input).asBytes(); in testParanoidHashBytes() 121 return hasher.hash().asBytes(); in testParanoid()
|
D | Murmur3Hash128Test.java | 70 return hasher.hash().asBytes(); in testParanoid()
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | HashCodeTest.java | 273 assertTrue(Arrays.equals(HashCode.fromInt(42).asBytes(), dest)); in testIntWriteBytesTo() 279 assertTrue(Arrays.equals(HashCode.fromLong(42).asBytes(), dest)); in testLongWriteBytesTo() 349 assertTrue(Arrays.equals(expectedHashCode.bytes, hash.asBytes())); in assertExpectedHashCode() 369 byte[] original = hash.asBytes(); in assertSideEffectFree() 370 byte[] mutated = hash.asBytes(); in assertSideEffectFree() 372 assertTrue(Arrays.equals(original, hash.asBytes())); in assertSideEffectFree() 377 byte[] hashBytes = hashCode.asBytes(); in assertReadableBytes()
|
D | Murmur3Hash32Test.java | 106 return murmur3_32(seed).hashBytes(input).asBytes(); in testParanoidHashBytes() 121 return hasher.hash().asBytes(); in testParanoid()
|
D | Murmur3Hash128Test.java | 70 return hasher.hash().asBytes(); in testParanoid()
|
/external/guava/guava/src/com/google/common/hash/ |
D | HashCode.java | 74 public abstract byte[] asBytes(); in asBytes() method in HashCode 101 return asBytes(); in getBytesInternal() 133 public byte[] asBytes() { in asBytes() method in HashCode.IntHashCode 190 public byte[] asBytes() { in asBytes() method in HashCode.LongHashCode 265 public byte[] asBytes() { in asBytes() method in HashCode.BytesHashCode
|
/external/guava/android/guava/src/com/google/common/hash/ |
D | HashCode.java | 74 public abstract byte[] asBytes(); in asBytes() method in HashCode 101 return asBytes(); in getBytesInternal() 133 public byte[] asBytes() { in asBytes() method in HashCode.IntHashCode 190 public byte[] asBytes() { in asBytes() method in HashCode.LongHashCode 265 public byte[] asBytes() { in asBytes() method in HashCode.BytesHashCode
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/gcm/ |
D | GCMUtil.java | 33 public static byte[] asBytes(int[] x) in asBytes() method in GCMUtil 40 public static void asBytes(int[] x, byte[] z) in asBytes() method in GCMUtil 45 public static byte[] asBytes(long[] x) in asBytes() method in GCMUtil 52 public static void asBytes(long[] x, byte[] z) in asBytes() method in GCMUtil 109 GCMUtil.asBytes(t1, x); in multiply()
|
D | BasicGCMExponentiator.java | 35 GCMUtil.asBytes(y, output); in exponentiateX()
|
D | Tables1kGCMExponentiator.java | 41 GCMUtil.asBytes(y, output); in exponentiateX()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/modes/gcm/ |
D | GCMUtil.java | 37 public static byte[] asBytes(int[] x) in asBytes() method in GCMUtil 44 public static void asBytes(int[] x, byte[] z) in asBytes() method in GCMUtil 49 public static byte[] asBytes(long[] x) in asBytes() method in GCMUtil 56 public static void asBytes(long[] x, byte[] z) in asBytes() method in GCMUtil 113 GCMUtil.asBytes(t1, x); in multiply()
|
D | BasicGCMExponentiator.java | 39 GCMUtil.asBytes(y, output); in exponentiateX()
|
D | Tables1kGCMExponentiator.java | 45 GCMUtil.asBytes(y, output); in exponentiateX()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/modes/gcm/ |
D | GCMUtil.java | 37 public static byte[] asBytes(int[] x) in asBytes() method in GCMUtil 44 public static void asBytes(int[] x, byte[] z) in asBytes() method in GCMUtil 49 public static byte[] asBytes(long[] x) in asBytes() method in GCMUtil 56 public static void asBytes(long[] x, byte[] z) in asBytes() method in GCMUtil 113 GCMUtil.asBytes(t1, x); in multiply()
|
D | BasicGCMExponentiator.java | 39 GCMUtil.asBytes(y, output); in exponentiateX()
|
D | Tables1kGCMExponentiator.java | 45 GCMUtil.asBytes(y, output); in exponentiateX()
|
/external/angle/src/libANGLE/ |
D | BinaryStream.h | 273 const char *asBytes = reinterpret_cast<const char *>(v); in write() local 274 mData.insert(mData.end(), asBytes, asBytes + num * sizeof(T)); in write()
|