Home
last modified time | relevance | path

Searched refs:randomBytes (Results 1 – 2 of 2) sorted by relevance

/external/webkit/Source/WebCore/platform/network/
DFormDataBuilder.cpp127 Vector<char> randomBytes; in generateUniqueBoundaryString() local
131 randomBytes.append(alphaNumericEncodingMap[(randomness >> 24) & 0x3F]); in generateUniqueBoundaryString()
132 randomBytes.append(alphaNumericEncodingMap[(randomness >> 16) & 0x3F]); in generateUniqueBoundaryString()
133 randomBytes.append(alphaNumericEncodingMap[(randomness >> 8) & 0x3F]); in generateUniqueBoundaryString()
134 randomBytes.append(alphaNumericEncodingMap[randomness & 0x3F]); in generateUniqueBoundaryString()
137 boundary.append(randomBytes); in generateUniqueBoundaryString()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DRandomTest.java68 byte[] randomBytes = new byte[100]; in test_nextBytes$B()
69 r.nextBytes(randomBytes); in test_nextBytes$B()
70 byte firstByte = randomBytes[0]; in test_nextBytes$B()
71 for (int counter = 1; counter < randomBytes.length; counter++) in test_nextBytes$B()
72 if (randomBytes[counter] != firstByte) in test_nextBytes$B()