/external/guava/guava-tests/test/com/google/common/hash/ |
Murmur3Hash128Test.java | 20 import static com.google.common.hash.HashTestUtils.toBytes; 36 assertHash(0, toBytes(LITTLE_ENDIAN, 0x629942693e10f867L, 0x92db0b82baeb5347L), 38 assertHash(1, toBytes(LITTLE_ENDIAN, 0xa78ddff5adae8d10L, 0x128900ef20900135L), 40 assertHash(2, toBytes(LITTLE_ENDIAN, 0x8a486b23f422e826L, 0xf962a2c58947765fL), 42 assertHash(3, toBytes(LITTLE_ENDIAN, 0x2ea59f466f6bed8cL, 0xc610990acc428a17L), 44 assertHash(4, toBytes(LITTLE_ENDIAN, 0x79f6305a386c572cL, 0x46305aed3483b94eL), 46 assertHash(5, toBytes(LITTLE_ENDIAN, 0xc2219d213ec1f1b5L, 0xa1d8e2e0a52785bdL), 48 assertHash(0, toBytes(LITTLE_ENDIAN, 0xe34bbc7bbc071b6cL, 0x7a433ca9c49a9347L), 50 assertHash(0, toBytes(LITTLE_ENDIAN, 0x658ca970ff85269aL, 0x43fee3eaa68e5c3eL),
|
HashTestUtils.java | 34 static byte[] toBytes(ByteOrder bo, long... longs) {
|
/external/jmonkeyengine/engine/src/desktop/com/jme3/app/state/ |
MjpegFileWriter.java | 47 aviOutput.write(rh.toBytes()); 48 aviOutput.write(new AVIMainHeader().toBytes()); 49 aviOutput.write(new AVIStreamList().toBytes()); 50 aviOutput.write(new AVIStreamHeader().toBytes()); 51 aviOutput.write(new AVIStreamFormat().toBytes()); 52 aviOutput.write(new AVIJunk().toBytes()); 54 aviOutput.write(new AVIMovieList().toBytes()); 85 byte[] indexlistBytes = indexlist.toBytes(); 146 public byte[] toBytes() throws Exception { 206 public byte[] toBytes() throws Exception [all...] |
/libcore/crypto/src/main/java/org/conscrypt/ |
ServerSessionContext.java | 82 byte[] data = toBytes(session);
|
ServerHello.java | 115 out.write(cipher_suite.toBytes());
|
ClientSessionContext.java | 117 byte[] data = toBytes(session);
|
ClientHello.java | 184 out.write(cipher_suites[i].toBytes());
|
AbstractSessionContext.java | 187 byte[] toBytes(SSLSession session) {
|
CipherSuite.java | [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
BERConstructedOctetString.java | 19 static private byte[] toBytes( 59 super(toBytes(octs));
|
BEROctetString.java | 18 static private byte[] toBytes( 56 super(toBytes(octs));
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
Util.java | 33 static byte[] toBytes(Object object) { 40 Log.w(TAG, "toBytes(): " + e + ": " + object);
|
CertInstaller.java | 276 byte[] bytes = Util.toBytes(map);
|
CredentialHelper.java | 114 outStates.putByteArray(CERTS_KEY, Util.toBytes(certs));
|
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
TestUtil.java | 267 static ByteString toBytes(String str) { 355 message.setOptionalBytes (toBytes("116")); 393 message.addRepeatedBytes (toBytes("216")); 428 message.addRepeatedBytes (toBytes("316")); 464 message.setDefaultBytes (toBytes("416")); 495 message.setRepeatedBytes (1, toBytes("516")); 570 Assert.assertEquals(toBytes("116"), message.getOptionalBytes()); 630 Assert.assertEquals(toBytes("216"), message.getRepeatedBytes(0)); [all...] |
GeneratedMessageTest.java | 312 builder.addRepeatedBytes(TestUtil.toBytes("one")); 313 builder.addRepeatedBytes(TestUtil.toBytes("two")); 396 builder.addAllRepeatedBytes(Arrays.asList(TestUtil.toBytes("one"), null)); [all...] |
/external/protobuf/java/src/test/java/com/google/protobuf/ |
TestUtil.java | 253 static ByteString toBytes(String str) { 331 message.setOptionalBytes (toBytes("116")); 365 message.addRepeatedBytes (toBytes("216")); 398 message.addRepeatedBytes (toBytes("316")); 432 message.setDefaultBytes (toBytes("416")); 463 message.setRepeatedBytes (1, toBytes("516")); 536 Assert.assertEquals(toBytes("116"), message.getOptionalBytes()); 593 Assert.assertEquals(toBytes("216"), message.getRepeatedBytes(0)); 621 Assert.assertEquals(toBytes("316"), message.getRepeatedBytes(1)); [all...] |
GeneratedMessageTest.java | 186 builder.addRepeatedBytes(TestUtil.toBytes("one")); 187 builder.addRepeatedBytes(TestUtil.toBytes("two")); 270 builder.addAllRepeatedBytes(Arrays.asList(TestUtil.toBytes("one"), null));
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
CipherSuiteTest.java | 65 byte[] code = suites[i].toBytes(); 80 byte[] code = suites[i].toBytes();
|
/external/okhttp/src/main/java/com/squareup/okhttp/ |
Connection.java | 310 out.write(requestHeaders.toBytes());
|
/libcore/crypto/src/test/java/org/conscrypt/ |
CipherSuiteTest.java | 64 byte[] bytes = cs.toBytes();
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
HttpTransport.java | 130 byte[] bytes = headersToSend.toBytes();
|
RawHeaders.java | 290 public byte[] toBytes() throws UnsupportedEncodingException {
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
urllib.py | 180 fullurl = unwrap(toBytes(fullurl)) 228 url = unwrap(toBytes(url)) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
urllib.py | 180 fullurl = unwrap(toBytes(fullurl)) 228 url = unwrap(toBytes(url)) [all...] |