/openjdk7/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...] |
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/ |
H A D | ConstantUtf8.java | 73 private String bytes; field in class:ConstantUtf8 92 bytes = file.readUTF(); 96 * @param bytes Data 98 public ConstantUtf8(String bytes) argument 102 if(bytes == null) 103 throw new IllegalArgumentException("bytes must not be null!"); 105 this.bytes = bytes; 128 file.writeUTF(bytes); 134 public final String getBytes() { return bytes; } 139 setBytes(String bytes) argument [all...] |
H A D | ConstantDouble.java | 73 private double bytes; field in class:ConstantDouble 76 * @param bytes Data 78 public ConstantDouble(double bytes) { argument 80 this.bytes = bytes; 120 file.writeDouble(bytes); 123 * @return data, i.e., 8 bytes. 125 public final double getBytes() { return bytes; } 127 * @param bytes. 129 public final void setBytes(double bytes) { argument [all...] |
H A D | ConstantFloat.java | 73 private float bytes; field in class:ConstantFloat 76 * @param bytes Data 78 public ConstantFloat(float bytes) argument 81 this.bytes = bytes; 119 file.writeFloat(bytes); 122 * @return data, i.e., 4 bytes. 124 public final float getBytes() { return bytes; } 126 * @param bytes. 128 public final void setBytes(float bytes) { argument [all...] |
H A D | ConstantInteger.java | 75 private int bytes; field in class:ConstantInteger 78 * @param bytes Data 80 public ConstantInteger(int bytes) argument 83 this.bytes = bytes; 124 file.writeInt(bytes); 128 * @return data, i.e., 4 bytes. 130 public final int getBytes() { return bytes; } 133 * @param bytes. 135 public final void setBytes(int bytes) { argument [all...] |
H A D | ConstantLong.java | 73 private long bytes; field in class:ConstantLong 76 * @param bytes Data 78 public ConstantLong(long bytes) argument 81 this.bytes = bytes; 118 file.writeLong(bytes); 121 * @return data, i.e., 8 bytes. 123 public final long getBytes() { return bytes; } 125 * @param bytes. 127 public final void setBytes(long bytes) { argument [all...] |
H A D | Synthetic.java | 77 private byte[] bytes; field in class:Synthetic 90 * @param length Content length in bytes - should be zero. 91 * @param bytes Attribute contents 95 public Synthetic(int name_index, int length, byte[] bytes, argument 99 this.bytes = bytes; 105 * @param length Content length in bytes 116 bytes = new byte[length]; 117 file.readFully(bytes); 141 file.write(bytes, 151 setBytes(byte[] bytes) argument [all...] |
H A D | Deprecated.java | 73 private byte[] bytes; field in class:Deprecated 85 * @param length Content length in bytes 86 * @param bytes Attribute contents 89 public Deprecated(int name_index, int length, byte[] bytes, argument 93 this.bytes = bytes; 99 * @param length Content length in bytes 110 bytes = new byte[length]; 111 file.readFully(bytes); 138 file.write(bytes, 149 setBytes(byte[] bytes) argument [all...] |
H A D | Unknown.java | 81 private byte[] bytes; field in class:Unknown 111 * @param length Content length in bytes 112 * @param bytes Attribute contents 115 public Unknown(int name_index, int length, byte[] bytes, argument 119 this.bytes = bytes; 129 * @param length Content length in bytes 141 bytes = new byte[length]; 142 file.readFully(bytes); 157 * Dump unknown bytes t 181 setBytes(byte[] bytes) argument [all...] |
/openjdk7/jdk/test/java/lang/StringCoding/ |
H A D | Enormous.java | 33 byte[] bytes = new byte[16777217]; 34 new String(bytes,"ASCII"); 37 new sun.misc.BASE64Encoder().encode(bytes);
|
/openjdk7/jdk/src/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...] |
/openjdk7/jdk/test/sun/security/provider/SeedGenerator/ |
H A D | SeedGeneratorChoice.java | 48 byte[] bytes; 50 bytes = prng.generateSeed(1);
|
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/util/ |
H A D | ByteSequence.java | 63 * Utility class that implements a sequence of bytes which can be read 72 public ByteSequence(byte[] bytes) { argument 73 super(new ByteArrayStream(bytes)); 81 ByteArrayStream(byte[] bytes) { super(bytes); } argument
|
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/ |
H A D | SnmpIpAddress.java | 45 * Constructs a new <CODE>SnmpIpAddress</CODE> from the specified bytes array. 46 * @param bytes The four bytes composing the address. 49 public SnmpIpAddress(byte[] bytes) throws IllegalArgumentException { argument 50 buildFromByteArray(bytes); 199 private void buildFromByteArray(byte[] bytes) { argument 200 if (bytes.length != 4) { 205 components[0] = (bytes[0] >= 0) ? bytes[0] : bytes[ [all...] |
H A D | BerEncoder.java | 55 bytes = b ; 64 * The encoder does backward encoding : so the bytes buffer is 75 final int result = bytes.length - start ; 77 // for (int i = start ; i < bytes.length ; i++) { 78 // bytes[i-start] = bytes[i] ; 81 java.lang.System.arraycopy(bytes,start,bytes,0,result); 83 start = bytes.length ; 142 * @param s The bytes t 459 protected final byte bytes[]; field in class:BerEncoder [all...] |
/openjdk7/jdk/src/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...] |
/openjdk7/jaxws/src/share/jaxws_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);
|
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/DES/ |
H A D | TestUtility.java | 36 public static String hexDump(byte[] bytes) { argument 38 StringBuffer buf = new StringBuffer (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)
|
/openjdk7/jdk/src/share/native/java/io/ |
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...] |
/openjdk7/jdk/src/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;
|
/openjdk7/jdk/src/share/classes/java/security/ |
H A D | SecureRandomSpi.java | 54 * Generates a user-specified number of random bytes. 61 * @param bytes the array to be filled in with random bytes. 63 protected abstract void engineNextBytes(byte[] bytes); argument 66 * Returns the given number of seed bytes. This call may be used to 69 * @param numBytes the number of seed bytes to generate. 71 * @return the seed bytes.
|
/openjdk7/hotspot/src/os_cpu/bsd_x86/vm/ |
H A D | os_bsd_x86.hpp | 33 static bool is_allocatable(size_t bytes);
|
/openjdk7/hotspot/src/os_cpu/linux_x86/vm/ |
H A D | os_linux_x86.hpp | 33 static bool is_allocatable(size_t bytes);
|
/openjdk7/jdk/src/share/sample/nio/chatserver/ |
H A D | DataReader.java | 45 void onData(Client client, ByteBuffer buffer, int bytes); argument
|
/openjdk7/jdk/test/sun/misc/ |
H A D | Hashing.java | 93 int bytes, chars, ints; 97 bytes = sun.misc.Hashing.murmur3_32(TWO_BYTE); 99 if (bytes != chars) { 100 throw new RuntimeException(String.format("Hashes did not match. b:%08x != c:%08x", bytes, chars)); 103 bytes = sun.misc.Hashing.murmur3_32(FOUR_BYTE); 106 if ((bytes != chars) || (bytes != ints)) { 107 throw new RuntimeException(String.format("Hashes did not match. b:%08x != c:%08x != i:%08x", bytes, chars, ints)); 109 bytes = sun.misc.Hashing.murmur3_32(SIX_BYTE); 111 if (bytes ! [all...] |