/external/guava/guava/src/com/google/common/hash/ |
D | Hashing.java | 369 byte[] nextBytes = hashCode.asBytes(); in combineOrdered() 370 checkArgument(nextBytes.length == resultBytes.length, in combineOrdered() 372 for (int i = 0; i < nextBytes.length; i++) { in combineOrdered() 373 resultBytes[i] = (byte) (resultBytes[i] * 37 ^ nextBytes[i]); in combineOrdered() 394 byte[] nextBytes = hashCode.asBytes(); in combineUnordered() 395 checkArgument(nextBytes.length == resultBytes.length, in combineUnordered() 397 for (int i = 0; i < nextBytes.length; i++) { in combineUnordered() 398 resultBytes[i] += nextBytes[i]; in combineUnordered()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/ |
D | RandomAdaptor.java | 85 public void nextBytes(byte[] bytes) { in nextBytes() method in RandomAdaptor 86 randomGenerator.nextBytes(bytes); in nextBytes()
|
D | RandomGenerator.java | 67 void nextBytes(byte[] bytes); in nextBytes() method
|
D | AbstractRandomGenerator.java | 106 public void nextBytes(byte[] bytes) { in nextBytes() method in AbstractRandomGenerator
|
D | BitsStreamGenerator.java | 65 public void nextBytes(byte[] bytes) { in nextBytes() method in BitsStreamGenerator
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | KeyGeneratorImpl.java | 75 secureRandom.nextBytes(keyData); in doKeyGeneration() 140 secureRandom.nextBytes(keyData); in doKeyGeneration()
|
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/ |
D | WebSocketWriterTest.java | 172 random.nextBytes(maskKey1); in clientBinary() 174 random.nextBytes(maskKey2); in clientBinary() 335 new Random(0).nextBytes(junk); in binaryData()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ |
D | CipherKeyGenerator.java | 34 random.nextBytes(key); in generateKey()
|
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/ |
D | GlRectDrawerTest.java | 106 random.nextBytes(rgbPlane.array()); in testRgbRendering() 145 random.nextBytes(yuvPlanes[i].array()); in testYuvRendering() 281 random.nextBytes(rgbPlane.array());
|
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/ |
D | TestUtils.java | 24 RANDOM.nextBytes(bytes); in newRandomBuffer()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
D | DESKeyGenerator.java | 40 random.nextBytes(newKey); in generateKey()
|
D | DESedeKeyGenerator.java | 51 random.nextBytes(newKey); in generateKey()
|
D | DSAParametersGenerator.java | 143 random.nextBytes(seed); in generateParameters_FIPS186_2() 253 random.nextBytes(seed); in generateParameters_FIPS186_3()
|
/external/guava/guava-tests/benchmark/com/google/common/hash/ |
D | HashFunctionBenchmark.java | 51 random.nextBytes(testBytes); in setUp()
|
D | ChecksumBenchmark.java | 48 new Random(RANDOM_SEED).nextBytes(testBytes); in setUp()
|
D | MessageDigestAlgorithmBenchmark.java | 94 new Random(RANDOM_SEED).nextBytes(testBytes); in setUp()
|
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/ |
D | WebSocketWriter.java | 138 random.nextBytes(maskKey); in writeControlFrameSynchronized() 188 random.nextBytes(maskKey); in writeMessageFrameSynchronized()
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | HashTestUtils.java | 158 random.nextBytes(value); in PUT_BYTES() 167 random.nextBytes(value); in PUT_BYTES_INT_INT() 492 random.nextBytes(bytes); in assertHashBytesEquivalence() 538 random.nextBytes(bytes); in assertHashStringEquivalence()
|
D | AbstractByteHasherTest.java | 71 random.nextBytes(bytes); in testString()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | HuffmanTest.java | 41 random.nextBytes(buf); in roundTripForRequestAndResponse()
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | ByteBufferWriterTest.java | 68 new Random().nextBytes(bytes); in fillRandom()
|
/external/guava/guava-tests/benchmark/com/google/common/primitives/ |
D | UnsignedBytesBenchmark.java | 49 r.nextBytes(ba1); in setUp()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/ |
D | PKCS1Encoding.java | 228 random.nextBytes(block); // random fill in encodeBlock() 322 this.random.nextBytes(random); in decodeBlockOrRandom()
|
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/system/impl/ |
D | CoreImplTest.java | 103 random.nextBytes(bytes); in checkSendingMessage() 134 random.nextBytes(bytes); in checkSendingData() 177 random.nextBytes(bytes); in checkSharing() 354 random.nextBytes(bytes); in testMessagePipeReceiveOnSmallBuffer() 441 random.nextBytes(bytes); in testDataPipeTwoPhaseSend() 470 random.nextBytes(bytes); in testDataPipeDiscard()
|
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/ |
D | DexDataWriterTest.java | 101 random.nextBytes(arr); in testWriteByteArray() 110 random.nextBytes(arr); in testWriteByteArrayWithLengthAndOffset()
|