/libcore/luni/src/test/java/libcore/java/io/ |
D | OutputStreamWriterTest.java | 77 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/ojluni/src/main/java/java/security/spec/ |
D | EdECPrivateKeySpec.java | 42 private final byte[] bytes; field in EdECPrivateKeySpec 55 public EdECPrivateKeySpec(NamedParameterSpec params, byte[] bytes) { in EdECPrivateKeySpec()
|
/libcore/ojluni/src/test/java/io/Serializable/records/ |
D | StreamRefTest.java | 82 var bytes = serialize(a, b, c, d); in basicRef() local 103 var bytes = serialize(d, c, b, a); in reverseBasicRef() local 123 var bytes = serializeToBytes(a, b); in basicRefWithInvalidA() local 146 var bytes = serializeToBytes(b, a); in reverseBasicRefWithInvalidA() local 216 static void assertExpectedIntValue(int expectedValue, byte[] bytes, int offset) in assertExpectedIntValue() 223 static void updateIntValue(int expectedValue, int newValue, byte[] bytes, int offset) in updateIntValue()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | BitSetTest.java | 97 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/ |
D | ByteBufferTest.java | 1279 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/annotations/flagged_api/java/security/ |
D | SecureRandomSpi.annotated.java | 39 protected abstract void engineNextBytes(byte[] bytes); in engineNextBytes() 42 protected void engineNextBytes(byte[] bytes, java.security.SecureRandomParameters params) { throw n… in engineNextBytes()
|
/libcore/ojluni/src/main/java/java/security/ |
D | SecureRandomSpi.java | 131 protected abstract void engineNextBytes(byte[] bytes); in engineNextBytes() 156 byte[] bytes, SecureRandomParameters params) { in engineNextBytes()
|
/libcore/ojluni/src/main/java/sun/net/ |
D | TelnetInputStream.java | 128 public int read(byte bytes[]) throws IOException { in read() 136 public int read(byte bytes[], int off, int length) throws IOException { in read()
|
/libcore/ojluni/annotations/mmodule/sun/security/pkcs/ |
D | PKCS7.annotated.java | 52 public PKCS7(byte[] bytes) throws sun.security.pkcs.ParsingException { throw new RuntimeException("… in PKCS7() 67 public sun.security.pkcs.SignerInfo verify(sun.security.pkcs.SignerInfo info, byte[] bytes) throws … in verify() 75 public sun.security.pkcs.SignerInfo[] verify(byte[] bytes) throws java.security.NoSuchAlgorithmExce… in verify()
|
/libcore/ojluni/annotations/hiddenapi/sun/security/util/ |
D | ManifestDigester.java | 34 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/test/java/io/InputStream/ |
D | TransferTo.java | 148 private static void checkTransferredContents(byte[] bytes) in checkTransferredContents() 187 private static InputStream input(byte... bytes) { in input() 191 private static InputStream input(int exceptionPosition, byte... bytes) { in input()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ProcessEnvironment.java | 154 protected final byte[] bytes; field in ProcessEnvironment.ExternalData 156 protected ExternalData(String str, byte[] bytes) { in ExternalData() 182 protected Variable(String str, byte[] bytes) { in Variable() 199 public static Variable valueOf(byte[] bytes) { in valueOf() 215 protected Value(String str, byte[] bytes) { in Value() 232 public static Value valueOf(byte[] bytes) { in valueOf()
|
/libcore/ojluni/src/main/java/java/sql/ |
D | Blob.java | 181 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/annotations/sdk/nullability/java/security/spec/ |
D | EdECPrivateKeySpec.annotated.java | 30 …teKeySpec(@libcore.util.NonNull NamedParameterSpec params, @libcore.util.NonNull byte[] bytes) { t… in EdECPrivateKeySpec()
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | ZipInputStreamTest.java | 52 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()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | ManifestDigester.java | 110 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/ |
D | RandomImpl.java | 40 protected void engineNextBytes(byte[] bytes) { in engineNextBytes()
|
/libcore/ojluni/src/main/native/ |
D | ObjectInputStream.c | 61 jbyte *bytes; in Java_java_io_ObjectInputStream_bytesToFloats() local 129 jbyte *bytes; in Java_java_io_ObjectInputStream_bytesToDoubles() local
|
D | ObjectOutputStream.c | 60 jbyte *bytes; in Java_java_io_ObjectOutputStream_floatsToBytes() local 132 jbyte *bytes; in Java_java_io_ObjectOutputStream_doublesToBytes() local
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | SecureRandomSpiTest.java | 53 protected void engineNextBytes(byte[] bytes) {} in engineNextBytes()
|
/libcore/luni/src/test/java/tests/java/security/ |
D | SecureClassLoaderTest.java | 230 public Class define(String name, byte[] bytes) { in define() 244 public Class<?> tryDefineClass(String name, byte[] bytes, int off, int len, in tryDefineClass()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | Inet6AddressTest.java | 779 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/ojluni/src/test/java/time/tck/java/time/serial/ |
D | TCKOffsetDateTimeSerialization.java | 111 assertSerializedBySer(OffsetDateTime.of(ldt, ZoneOffset.ofHours(1)), bytes); in test_serialization_format() local
|
/libcore/ojluni/src/main/java/java/util/ |
D | HexFormat.java | 340 public String formatHex(byte[] bytes) { in formatHex() 356 public String formatHex(byte[] bytes, int fromIndex, int toIndex) { in formatHex() 387 public <A extends Appendable> A formatHex(A out, byte[] bytes) { in formatHex() 407 public <A extends Appendable> A formatHex(A out, byte[] bytes, int fromIndex, int toIndex) { in formatHex() 448 private String formatOptDelimiter(byte[] bytes, int fromIndex, int toIndex) { in formatOptDelimiter()
|
/libcore/ojluni/src/test/java/util/EnumSet/ |
D | EnumSetClassSerialization.java | 45 int[] bytes = { in main() local
|