Searched refs:bytes (Results 1 - 25 of 779) sorted by relevance

1234567891011>>

/openjdk9/jdk/test/javax/management/openmbean/
H A DMBeanFeatureInfoSerialStore.java65 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...]
/openjdk9/jdk/test/com/sun/crypto/provider/Cipher/AEAD/
H A DHelper.java27 byte[] bytes = new byte[length];
29 bytes[i] = (byte) (i % 256);
31 return bytes;
/openjdk9/hotspot/src/share/vm/utilities/
H A Dbytes.hpp30 #include CPU_HEADER(bytes)
/openjdk9/jaxp/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/
H A DConstantUtf8.java37 private String bytes; field in class:ConstantUtf8
56 bytes = file.readUTF();
60 * @param bytes Data
62 public ConstantUtf8(String bytes) argument
66 if(bytes == null)
67 throw new IllegalArgumentException("bytes must not be null!");
69 this.bytes = bytes;
92 file.writeUTF(bytes);
98 public final String getBytes() { return bytes; }
103 setBytes(String bytes) argument
[all...]
H A DConstantDouble.java37 private double bytes; field in class:ConstantDouble
40 * @param bytes Data
42 public ConstantDouble(double bytes) { argument
44 this.bytes = bytes;
84 file.writeDouble(bytes);
87 * @return data, i.e., 8 bytes.
89 public final double getBytes() { return bytes; }
91 * @param bytes.
93 public final void setBytes(double bytes) { argument
[all...]
H A DConstantFloat.java37 private float bytes; field in class:ConstantFloat
40 * @param bytes Data
42 public ConstantFloat(float bytes) argument
45 this.bytes = bytes;
83 file.writeFloat(bytes);
86 * @return data, i.e., 4 bytes.
88 public final float getBytes() { return bytes; }
90 * @param bytes.
92 public final void setBytes(float bytes) { argument
[all...]
H A DConstantInteger.java38 private int bytes; field in class:ConstantInteger
41 * @param bytes Data
43 public ConstantInteger(int bytes) argument
46 this.bytes = bytes;
87 file.writeInt(bytes);
91 * @return data, i.e., 4 bytes.
93 public final int getBytes() { return bytes; }
96 * @param bytes.
98 public final void setBytes(int bytes) { argument
[all...]
H A DConstantLong.java37 private long bytes; field in class:ConstantLong
40 * @param bytes Data
42 public ConstantLong(long bytes) argument
45 this.bytes = bytes;
82 file.writeLong(bytes);
85 * @return data, i.e., 8 bytes.
87 public final long getBytes() { return bytes; }
89 * @param bytes.
91 public final void setBytes(long bytes) { argument
[all...]
H A DSynthetic.java41 private byte[] bytes; field in class:Synthetic
54 * @param length Content length in bytes - should be zero.
55 * @param bytes Attribute contents
59 public Synthetic(int name_index, int length, byte[] bytes, argument
63 this.bytes = bytes;
69 * @param length Content length in bytes
80 bytes = new byte[length];
81 file.readFully(bytes);
105 file.write(bytes,
115 setBytes(byte[] bytes) argument
[all...]
H A DDeprecated.java37 private byte[] bytes; field in class:Deprecated
49 * @param length Content length in bytes
50 * @param bytes Attribute contents
53 public Deprecated(int name_index, int length, byte[] bytes, argument
57 this.bytes = bytes;
63 * @param length Content length in bytes
74 bytes = new byte[length];
75 file.readFully(bytes);
102 file.write(bytes,
113 setBytes(byte[] bytes) argument
[all...]
H A DUnknown.java45 private byte[] bytes; field in class:Unknown
75 * @param length Content length in bytes
76 * @param bytes Attribute contents
79 public Unknown(int name_index, int length, byte[] bytes, argument
83 this.bytes = bytes;
93 * @param length Content length in bytes
105 bytes = new byte[length];
106 file.readFully(bytes);
121 * Dump unknown bytes t
145 setBytes(byte[] bytes) argument
[all...]
/openjdk9/jdk/test/java/lang/StringCoding/
H A DEnormous.java33 byte[] bytes = new byte[16777217];
34 new String(bytes,"ASCII");
37 java.util.Base64.getEncoder().encodeToString(bytes);
/openjdk9/jdk/src/java.security.jgss/share/classes/sun/security/krb5/internal/util/
H A DKrbDataOutputStream.java39 * 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...]
/openjdk9/jaxp/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/util/
H A DByteSequence.java27 * Utility class that implements a sequence of bytes which can be read
36 public ByteSequence(byte[] bytes) { argument
37 super(new ByteArrayStream(bytes));
45 ByteArrayStream(byte[] bytes) { super(bytes); } argument
/openjdk9/jaxws/src/java.xml.bind/share/classes/javax/xml/bind/annotation/adapters/
H A DHexBinaryAdapter.java45 public String marshal(byte[] bytes) { argument
46 if(bytes==null) return null;
47 return DatatypeConverter.printHexBinary(bytes);
/openjdk9/jdk/src/java.naming/share/classes/com/sun/jndi/toolkit/url/
H A DUrlUtil.java90 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...]
/openjdk9/jdk/test/java/io/ByteArrayOutputStream/
H A DMaxCapacity.java29 * @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')
/openjdk9/jdk/src/java.base/share/classes/sun/security/util/
H A DManifestDigester.java39 /** 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...]
/openjdk9/jdk/test/com/sun/crypto/provider/Cipher/DES/
H A DTestUtility.java36 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...]
/openjdk9/jdk/src/java.base/share/classes/sun/net/
H A DTelnetInputStream.java128 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;
/openjdk9/jdk/src/java.base/share/native/libjava/
H A DObjectInputStream.c59 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...]
/openjdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.salver/src/org/graalvm/compiler/salver/util/
H A DECIDUtil.java40 byte[] bytes = new byte[length];
41 RANDOM.nextBytes(bytes);
42 for (byte b : bytes) {
/openjdk9/jdk/test/javax/net/ssl/interop/
H A DClientHelloChromeInterOp.java62 byte[] bytes = Base64.getMimeDecoder().decode(ClientHelloMsg);
69 dump.encodeBuffer(bytes, System.out);
74 return bytes;
/openjdk9/hotspot/src/os_cpu/linux_x86/vm/
H A Dos_linux_x86.hpp33 static bool is_allocatable(size_t bytes);
/openjdk9/hotspot/src/os_cpu/bsd_x86/vm/
H A Dos_bsd_x86.hpp33 static bool is_allocatable(size_t bytes);

Completed in 154 milliseconds

1234567891011>>