Home
last modified time | relevance | path

Searched defs:bytes (Results 1 – 25 of 101) sorted by relevance

12345

/libcore/luni/src/test/java/libcore/java/io/
DOutputStreamWriterTest.java77 assertEquals((byte) 0x00, bytes[i++]); in testFlush() local
78 assertEquals((byte) 0x02, bytes[i++]); in testFlush() local
79 assertEquals((byte) 0x0b, bytes[i++]); in testFlush() local
80 assertEquals((byte) 0x9f, bytes[i++]); in testFlush() local
85 assertEquals((byte) 0xff, bytes[i++]); in testFlush() local
86 assertEquals((byte) 0xfd, bytes[i++]); in testFlush() local
/libcore/luni/src/test/java/libcore/java/util/
DBitSetTest.java97 private static void assertBitSet(BitSet bs, byte[] bytes, String s) { in assertBitSet()
119 private static void assertBitSet(byte[] bytes, String s) { in assertBitSet()
121 assertBitSet(BitSet.valueOf(bytes), bytes, s); in assertBitSet() local
123 assertBitSet(BitSet.valueOf(ByteBuffer.wrap(bytes)), bytes, s); in assertBitSet() local
128 assertBitSet(BitSet.valueOf(ByteBuffer.wrap(paddedBytes, 1, bytes.length)), bytes, s); in assertBitSet() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DByteBufferTest.java1279 assertTrue(Arrays.equals(char2bytes(value, buf.order()), bytes)); in testPutChar() local
1315 assertTrue(Arrays.equals(char2bytes(value, buf.order()), bytes)); in testPutCharint() local
1434 assertTrue(Arrays.equals(double2bytes(value, buf.order()), bytes)); in testPutDouble() local
1470 assertTrue(Arrays.equals(double2bytes(value, buf.order()), bytes)); in testPutDoubleint() local
1577 assertTrue(Arrays.equals(float2bytes(value, buf.order()), bytes)); in testPutFloat() local
1613 assertTrue(Arrays.equals(float2bytes(value, buf.order()), bytes)); in testPutFloatint() local
1719 assertTrue(Arrays.equals(int2bytes(value, buf.order()), bytes)); in testPutInt() local
1755 assertTrue(Arrays.equals(int2bytes(value, buf.order()), bytes)); in testPutIntint() local
1856 assertTrue(Arrays.equals(long2bytes(value, buf.order()), bytes)); in testPutLong() local
1892 assertTrue(Arrays.equals(long2bytes(value, buf.order()), bytes)); in testPutLongint() local
[all …]
/libcore/ojluni/src/main/java/sun/net/
DTelnetInputStream.java128 public int read(byte bytes[]) throws IOException { in read()
136 public int read(byte bytes[], int off, int length) throws IOException { in read()
DTelnetOutputStream.java130 public void write(byte bytes[], int off, int length) throws IOException { in write()
/libcore/ojluni/annotations/mmodule/sun/security/pkcs/
DPKCS7.annotated.java55 public PKCS7(byte[] bytes) throws sun.security.pkcs.ParsingException { throw new RuntimeException("… in PKCS7()
70 public sun.security.pkcs.SignerInfo verify(sun.security.pkcs.SignerInfo info, byte[] bytes) throws … in verify()
80 public sun.security.pkcs.SignerInfo[] verify(byte[] bytes) throws java.security.NoSuchAlgorithmExce… in verify()
/libcore/ojluni/annotations/hiddenapi/sun/security/util/
DManifestDigester.java34 public ManifestDigester(byte[] bytes) { in ManifestDigester()
42 private boolean isNameAttr(byte[] bytes, int start) { in isNameAttr()
75 java.security.MessageDigest md, byte[] bytes, int offset, int length) { in doOldStyle()
/libcore/ojluni/src/main/java/java/sql/
DBlob.java181 int setBytes(long pos, byte[] bytes) throws SQLException; in setBytes()
217 int setBytes(long pos, byte[] bytes, int offset, int len) throws SQLException; in setBytes()
/libcore/ojluni/src/main/java/java/lang/
DProcessEnvironment.java129 protected final byte[] bytes; field in ProcessEnvironment.ExternalData
131 protected ExternalData(String str, byte[] bytes) { in ExternalData()
157 protected Variable(String str, byte[] bytes) { in Variable()
174 public static Variable valueOf(byte[] bytes) { in valueOf()
190 protected Value(String str, byte[] bytes) { in Value()
207 public static Value valueOf(byte[] bytes) { in valueOf()
/libcore/luni/src/main/java/libcore/util/
DCharsetUtils.java73 public static native void asciiBytesToChars(byte[] bytes, int offset, int length, char[] chars); in asciiBytesToChars()
83 …public static native void isoLatin1BytesToChars(byte[] bytes, int offset, int length, char[] chars… in isoLatin1BytesToChars()
/libcore/luni/src/test/java/libcore/java/util/zip/
DZipInputStreamTest.java52 public static byte[] unzip(String name, byte[] bytes) throws IOException { in unzip()
159 private static byte[] zip(String[] names, byte[] bytes) throws IOException { in zip()
DGZIPOutputStreamTest.java47 public static byte[] gzip(byte[] bytes) throws IOException { in gzip()
/libcore/ojluni/src/main/java/java/security/
DSecureRandomSpi.java63 protected abstract void engineNextBytes(byte[] bytes); in engineNextBytes()
/libcore/ojluni/src/main/java/sun/security/util/
DManifestDigester.java110 public ManifestDigester(byte bytes[]) in ManifestDigester()
184 private boolean isNameAttr(byte bytes[], int start) in isNameAttr()
222 byte[] bytes, in doOldStyle()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DRandomImpl.java40 protected void engineNextBytes(byte[] bytes) { in engineNextBytes()
/libcore/ojluni/src/main/native/
DObjectInputStream.c61 jbyte *bytes; in Java_java_io_ObjectInputStream_bytesToFloats() local
129 jbyte *bytes; in Java_java_io_ObjectInputStream_bytesToDoubles() local
DObjectOutputStream.c60 jbyte *bytes; in Java_java_io_ObjectOutputStream_floatsToBytes() local
132 jbyte *bytes; in Java_java_io_ObjectOutputStream_doublesToBytes() local
Dio_util.c77 readBytes(JNIEnv *env, jobject this, jbyteArray bytes, in readBytes()
153 writeBytes(JNIEnv *env, jobject this, jbyteArray bytes, in writeBytes()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSecureRandomSpiTest.java53 protected void engineNextBytes(byte[] bytes) {} in engineNextBytes()
/libcore/luni/src/test/java/tests/java/security/
DSecureClassLoaderTest.java230 public Class define(String name, byte[] bytes) { in define()
244 public Class<?> tryDefineClass(String name, byte[] bytes, int off, int len, in tryDefineClass()
/libcore/ojluni/src/test/java/time/tck/java/time/serial/
DTCKOffsetDateTimeSerialization.java111 assertSerializedBySer(OffsetDateTime.of(ldt, ZoneOffset.ofHours(1)), bytes); in test_serialization_format() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DInet6AddressTest.java779 int bytesToInt(byte bytes[], int start) { in bytesToInt()
790 String byteArrayToHexString(byte bytes[], boolean leadingZeros) { in byteArrayToHexString()
802 void intToBytes(int value, byte bytes[], int start) { in intToBytes()
/libcore/luni/src/test/java/tests/security/interfaces/
DUtil.java99 protected void engineNextBytes(byte[] bytes) { in engineNextBytes()
/libcore/luni/src/test/java/libcore/java/text/
DOldMessageFormatFieldTest.java49 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); in test_readResolve() local
DOldNumberFormatFieldTest.java45 ByteArrayOutputStream bytes = new ByteArrayOutputStream(); in test_readResolve() local

12345