/openjdk10/jdk/test/javax/management/openmbean/ |
H A D | MBeanFeatureInfoSerialStore.java | 65 final byte[] bytes = new byte[] { 142 map.put("floatAttr",bytes); 147 final byte[] bytes = new byte[] { 215 map.put("intAttr",bytes); 220 final byte[] bytes = new byte[] { 303 map.put("arrayOp",bytes); 308 final byte[] bytes = new byte[] { 372 map.put("intPar",bytes); 377 final byte[] bytes = new byte[] { 445 map.put("boolPar",bytes); 1057 deserialize(byte[] bytes) argument [all...] |
/openjdk10/jdk/test/com/sun/crypto/provider/Cipher/AEAD/ |
H A D | Helper.java | 27 byte[] bytes = new byte[length]; 29 bytes[i] = (byte) (i % 256); 31 return bytes;
|
/openjdk10/jdk/test/java/lang/StringCoding/ |
H A D | Enormous.java | 33 byte[] bytes = new byte[16777217]; 34 new String(bytes,"ASCII"); 37 java.util.Base64.getEncoder().encodeToString(bytes);
|
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/ |
H A D | ConstantFloat.java | 38 private float bytes; field in class:ConstantFloat 42 * @param bytes Data 44 public ConstantFloat(final float bytes) { argument 46 this.bytes = bytes; 92 file.writeFloat(bytes); 97 * @return data, i.e., 4 bytes. 100 return bytes; 105 * @param bytes the raw bytes tha [all...] |
H A D | ConstantInteger.java | 38 private int bytes; field in class:ConstantInteger 42 * @param bytes Data 44 public ConstantInteger(final int bytes) { argument 46 this.bytes = bytes; 91 file.writeInt(bytes); 96 * @return data, i.e., 4 bytes. 99 return bytes; 104 * @param bytes the raw bytes tha [all...] |
H A D | ConstantDouble.java | 38 private double bytes; field in class:ConstantDouble 42 * @param bytes Data 44 public ConstantDouble(final double bytes) { argument 46 this.bytes = bytes; 91 file.writeDouble(bytes); 96 * @return data, i.e., 8 bytes. 99 return bytes; 104 * @param bytes the raw bytes tha [all...] |
H A D | ConstantLong.java | 38 private long bytes; field in class:ConstantLong 42 * @param bytes Data 44 public ConstantLong(final long bytes) { argument 46 this.bytes = bytes; 91 file.writeLong(bytes); 96 * @return data, i.e., 8 bytes. 99 return bytes; 104 * @param bytes the raw bytes tha [all...] |
H A D | Deprecated.java | 39 private byte[] bytes; field in class:Deprecated 51 * @param length Content length in bytes 52 * @param bytes Attribute contents 55 public Deprecated(final int name_index, final int length, final byte[] bytes, final ConstantPool constant_pool) { argument 57 this.bytes = bytes; 64 * @param length Content length in bytes 73 bytes = new byte[length]; 74 input.readFully(bytes); 101 file.write(bytes, 115 setBytes(final byte[] bytes) argument [all...] |
H A D | Synthetic.java | 44 private byte[] bytes; field in class:Synthetic 59 * @param length Content length in bytes - should be zero. 60 * @param bytes Attribute contents 64 public Synthetic(final int name_index, final int length, final byte[] bytes, final ConstantPool constant_pool) { argument 66 this.bytes = bytes; 74 * @param length Content length in bytes 83 bytes = new byte[length]; 84 input.readFully(bytes); 113 file.write(bytes, [all...] |
H A D | Unknown.java | 47 private byte[] bytes; field in class:Unknown 75 * @param length Content length in bytes 76 * @param bytes Attribute contents 79 public Unknown(final int name_index, final int length, final byte[] bytes, final ConstantPool constant_pool) { argument 81 this.bytes = bytes; 92 * @param length Content length in bytes 101 bytes = new byte[length]; 102 input.readFully(bytes); 121 * Dump unknown bytes t [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/ |
H A D | ZeroSignExtendTest.java | 98 int testSnippet5(byte[] bytes) { argument 100 x += bytes[0]; 101 x -= bytes[1]; 102 x *= bytes[2]; 103 x /= bytes[3]; 104 x &= bytes[4]; 105 x |= bytes[5]; 106 x ^= bytes[6]; 107 x <<= bytes[7]; 108 x >>= (bytes[ 114 testSnippet6(byte[] bytes) argument [all...] |
/openjdk10/jdk/src/java.security.jgss/share/classes/sun/security/krb5/internal/util/ |
H A D | KrbDataOutputStream.java | 39 * bytes to underlying data stream. 49 byte[] bytes = new byte[4]; 50 bytes[0] = (byte)((num & 0xff000000) >> 24 & 0xff); 51 bytes[1] = (byte)((num & 0x00ff0000) >> 16 & 0xff); 52 bytes[2] = (byte)((num & 0x0000ff00) >> 8 & 0xff); 53 bytes[3] = (byte)(num & 0xff); 54 write(bytes, 0, 4); 58 byte[] bytes = new byte[2]; 59 bytes[0] = (byte)((num & 0xff00) >> 8 & 0xff); 60 bytes[ [all...] |
/openjdk10/hotspot/src/jdk.aot/share/classes/jdk.tools.jaotc.binformat/src/jdk/tools/jaotc/binformat/elf/ |
H A D | ElfContainer.java | 58 void writeBytes(byte[] bytes) { argument 59 if (bytes == null) { 63 outputStream.write(bytes); 67 fileOffset += bytes.length; 70 // Write bytes to output file with up front alignment padding 71 void writeBytes(byte[] bytes, int alignment) { argument 72 if (bytes == null) { 81 outputStream.write(bytes); 85 fileOffset += bytes.length;
|
/openjdk10/hotspot/src/jdk.aot/share/classes/jdk.tools.jaotc.binformat/src/jdk/tools/jaotc/binformat/pecoff/ |
H A D | PECoffContainer.java | 58 void writeBytes(byte[] bytes) { argument 59 if (bytes == null) { 63 outputStream.write(bytes); 67 fileOffset += bytes.length; 70 // Write bytes to output file with up front alignment padding 71 void writeBytes(byte[] bytes, int alignment) { argument 72 if (bytes == null) { 81 outputStream.write(bytes); 85 fileOffset += bytes.length;
|
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/util/ |
H A D | ByteSequence.java | 28 * Utility class that implements a sequence of bytes which can be read 39 public ByteSequence(final byte[] bytes) { argument 40 super(new ByteArrayStream(bytes)); 56 ByteArrayStream(final byte[] bytes) { argument 57 super(bytes);
|
/openjdk10/jaxws/src/java.xml.bind/share/classes/javax/xml/bind/annotation/adapters/ |
H A D | HexBinaryAdapter.java | 45 public String marshal(byte[] bytes) { argument 46 if(bytes==null) return null; 47 return DatatypeConverter.printHexBinary(bytes);
|
/openjdk10/jdk/src/java.naming/share/classes/com/sun/jndi/toolkit/url/ |
H A D | UrlUtil.java | 90 byte[] bytes = s.getBytes(enc); 91 int count = bytes.length; 104 if ((bytes[i] >= 0x61 && bytes[i] <= 0x7A) || // a..z 105 (bytes[i] >= 0x41 && bytes[i] <= 0x5A) || // A..Z 106 (bytes[i] >= 0x30 && bytes[i] <= 0x39) || // 0..9 107 (allowed.indexOf(bytes[i]) >= 0)) { 108 buf[j++] = (char) bytes[ [all...] |
/openjdk10/jdk/test/java/io/ByteArrayOutputStream/ |
H A D | MaxCapacity.java | 29 * @summary Check that we can write (almost) Integer.MAX_VALUE bytes 49 byte[] bytes = baos.toByteArray(); 50 if (bytes.length != n) 52 if (bytes[0] != 'x' || 53 bytes[bytes.length - 1] != 'x')
|
/openjdk10/jdk/src/java.base/share/classes/sun/security/util/ |
H A D | ManifestDigester.java | 39 /** the raw bytes of the manifest */ 58 * raw bytes of the next section. 62 * @return false if end of bytes has been reached, otherwise returns 110 public ManifestDigester(byte[] bytes) argument 112 rawBytes = bytes; 133 if (isNameAttr(bytes, start)) { 138 new String(bytes, start+6, len-6, "UTF8")); 142 if (bytes[i] == '\r') { 150 if (bytes[i++] == ' ') { 154 && (bytes[ 184 isNameAttr(byte[] bytes, int start) argument 221 doOldStyle(MessageDigest md, byte[] bytes, int offset, int length) argument [all...] |
/openjdk10/jdk/test/com/sun/crypto/provider/Cipher/DES/ |
H A D | TestUtility.java | 36 public static String hexDump(byte[] bytes) { argument 38 StringBuilder buf = new StringBuilder(bytes.length * 2); 42 for (i = 0; i < bytes.length; i++) { 43 buf.append(DIGITS.charAt(bytes[i] >> 4 & 0x0f)); 44 buf.append(DIGITS.charAt(bytes[i] & 0x0f)); 46 if (i + 1 != bytes.length) { 56 public static String hexDump(byte[] bytes, int index) { argument 57 StringBuilder buf = new StringBuilder(bytes.length * 2); 61 buf.append(DIGITS.charAt(bytes[index] >> 4 & 0x0f)); 62 buf.append(DIGITS.charAt(bytes[inde [all...] |
/openjdk10/hotspot/src/jdk.aot/share/classes/jdk.tools.jaotc.binformat/src/jdk/tools/jaotc/binformat/macho/ |
H A D | MachOContainer.java | 58 void writeBytes(byte[] bytes) { argument 60 outputStream.write(bytes); 64 fileOffset += bytes.length; 67 // Write bytes to output file with up front alignment padding 68 void writeBytes(byte[] bytes, int alignment) { argument 75 outputStream.write(bytes); 79 fileOffset += bytes.length;
|
/openjdk10/jdk/src/java.base/share/native/libjava/ |
H A D | ObjectInputStream.c | 59 jbyte *bytes; local 71 bytes = (*env)->GetPrimitiveArrayCritical(env, src, NULL); 72 if (bytes == NULL) /* exception thrown */ 77 (*env)->ReleasePrimitiveArrayCritical(env, src, bytes, JNI_ABORT); 83 (*env)->ReleasePrimitiveArrayCritical(env, src, bytes, JNI_ABORT); 90 ival = ((bytes[srcpos + 0] & 0xFF) << 24) + 91 ((bytes[srcpos + 1] & 0xFF) << 16) + 92 ((bytes[srcpos + 2] & 0xFF) << 8) + 93 ((bytes[srcpos + 3] & 0xFF) << 0); 99 (*env)->ReleasePrimitiveArrayCritical(env, src, bytes, JNI_ABOR 127 jbyte *bytes; local [all...] |
/openjdk10/jdk/src/java.base/share/classes/sun/net/ |
H A D | TelnetInputStream.java | 128 public int read(byte bytes[]) throws IOException { argument 129 return read(bytes, 0, bytes.length); 134 * bytes. 136 public int read(byte bytes[], int off, int length) throws IOException { argument 138 return super.read(bytes, off, length); 147 bytes[off++] = (byte)c;
|
/openjdk10/jdk/test/javax/net/ssl/interop/ |
H A D | ClientHelloChromeInterOp.java | 62 byte[] bytes = Base64.getMimeDecoder().decode(ClientHelloMsg); 69 dump.encodeBuffer(bytes, System.out); 74 return bytes;
|
/openjdk10/hotspot/src/os_cpu/bsd_x86/vm/ |
H A D | os_bsd_x86.hpp | 33 static bool is_allocatable(size_t bytes);
|