/openjdk7/jdk/src/share/classes/javax/sound/midi/ |
H A D | MidiMessage.java | 42 * <li>The total length of the message in bytes (the status byte plus any data bytes)</li> 81 * byte for the message; subsequent bytes up to the length 93 protected int length = 0; field in class:MidiMessage 111 this.length = data.length; 122 protected void setMessage(byte[] data, int length) throws InvalidMidiDataException { argument 123 if (length < 0 || (length > 0 && length > data.length)) { [all...] |
H A D | SysexMessage.java | 32 * a defined length. Data from a system exclusive message from a MIDI file 36 * The length reported by the <code>SysexMessage</code> object is therefore 37 * the length of the system exclusive data plus two: one byte for the status 49 * <code>SysexMessages</code>. In this case, the length of the system exclusive data 131 * @param length the length of the valid message data in the array, 133 * or equal to {@code data.length} 141 public SysexMessage(byte[] data, int length) argument 144 setMessage(data, length); 155 * @param length th 165 SysexMessage(int status, byte[] data, int length) argument 192 setMessage(byte[] data, int length) argument 208 setMessage(int status, byte[] data, int length) argument [all...] |
H A D | MetaMessage.java | 73 * The length of the actual message in the data array. 76 * type byte, and the variable-length-int describing the 77 * length of the message. 100 * @param length an amount of bytes in the {@code data} byte array; 102 * {@code data.length} 110 public MetaMessage(int type, byte[] data, int length) argument 113 setMessage(type, data, length); // can throw InvalidMidiDataException 127 if (data.length>=3) { 128 dataLength=data.length-3; 130 while (pos<data.length 155 setMessage(int type, byte[] data, int length) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/org/objectweb/asm/ |
H A D | ByteVector.java | 78 int length; field in class:ByteVector 106 int length = this.length; 107 if (length + 1 > data.length) { 110 data[length++] = (byte) b; 111 this.length = length; 124 int length = this.length; [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/asm/x86/ |
H A D | X86RegisterPart.java | 31 private int length; field in class:X86RegisterPart 32 public X86RegisterPart(int num, String name, int startBit, int length) { argument 35 this.length = length; 38 return ( length == 32); 41 return ( length == 16); 44 return ( length == 8);
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/util/ |
H A D | XMLStringBuffer.java | 78 * <code>offset</code>, and <code>length</code> fields directly. 129 this(s.length()); 134 public XMLStringBuffer(char[] ch, int offset, int length) { argument 135 this(length); 136 append(ch, offset, length); 141 this(s.length); 152 length = 0; 161 if(this.length + 1 > this.ch.length){ 162 int newLength = this.ch.length * 202 append(char[] ch, int offset, int length) argument [all...] |
/openjdk7/jdk/test/java/beans/PropertyEditor/ |
H A D | TestStringClassJava.java | 33 int length = 0x1000; 35 StringBuilder sb = new StringBuilder(length); 36 while (0 < length--) 37 sb.append((char) length);
|
/openjdk7/jdk/src/share/classes/sun/security/util/ |
H A D | Length.java | 29 * The Length interface defines the length of an object 34 * Gets the length of this object 37 * the length should be measured in bits. 39 * @return the length of this object 42 public int length(); method in interface:Length
|
/openjdk7/jdk/src/share/sample/nio/server/ |
H A D | Content.java | 54 long length(); method in interface:Content
|
/openjdk7/langtools/test/tools/javac/diags/examples/StaticImportOnlyClassesAndInterfaces/ |
H A D | StaticImportOnlyClassesAndInterfaces.java | 28 import static p.Other.array.length;
|
/openjdk7/jdk/src/share/classes/javax/imageio/stream/ |
H A D | IIOByteBuffer.java | 30 * an offset and length within that array. <code>IIOByteBuffer</code> 47 private int length; field in class:IIOByteBuffer 51 * given byte array, offset, and length. 55 * @param length an int specifying the length of the data of 58 public IIOByteBuffer(byte[] data, int offset, int length) { argument 61 this.length = length; 119 * Returns the length of the data of interest within the byte 122 * @return an int length 140 setLength(int length) argument [all...] |
/openjdk7/jdk/test/java/lang/StringBuffer/ |
H A D | GetCharsOverLength.java | 39 {0, 0, dst.length + 1}, 40 {0, 0, dst.length + 2}, 41 {0, 0, dst.length + 20}, 42 {5, 5, dst.length + 1}, 43 {5, 5, dst.length + 2}, 44 {5, 5, dst.length + 20} 47 for (int i = 0; i < a.length; i++) {
|
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | FastSysexMessage.java | 39 if (data.length==0 || (((data[0] & 0xFF) != 0xF0) && ((data[0] & 0xFF) != 0xF7))) { 40 super.setMessage(data, data.length); // will throw Exception 46 * Use getLength() to get the real length of the message. 54 public void setMessage(byte[] data, int length) throws InvalidMidiDataException { argument 55 if ((data.length == 0) || (((data[0] & 0xFF) != 0xF0) && ((data[0] & 0xFF) != 0xF7))) { 56 super.setMessage(data, data.length); // will throw Exception 58 this.length = length; 59 this.data = new byte[this.length]; 60 System.arraycopy(data, 0, this.data, 0, length); [all...] |
H A D | DLSSampleLoop.java | 38 long length; field in class:DLSSampleLoop 41 return length; 44 public void setLength(long length) { argument 45 this.length = length;
|
/openjdk7/jdk/src/share/classes/sun/rmi/log/ |
H A D | LogInputStream.java | 33 private int length; field in class:LogInputStream 39 * @param length the total number of bytes allowed to be read 42 public LogInputStream(InputStream in, int length) throws IOException { argument 44 this.length = length; 55 if (length == 0) 58 length = (c != -1) ? length - 1 : 0; 71 return read(b, 0, b.length); 85 if (length [all...] |
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | OptionalDataException.java | 35 * length field is set to the number of bytes of primitive data 41 * OptionalDataException's eof field is set to true, and the length field 53 * Create an <code>OptionalDataException</code> with a length. 57 length = len; 65 length = 0; 75 public int length; field in class:OptionalDataException
|
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | DatagramPacket.java | 60 int length; field in class:DatagramPacket 67 * length <code>length</code>, specifying an offset into the buffer. 69 * The <code>length</code> argument must be less than or equal to 70 * <code>buf.length</code>. 74 * @param length the number of bytes to read. 78 public DatagramPacket(byte buf[], int offset, int length) { argument 79 setData(buf, offset, length); 86 * length <code>length</cod 94 DatagramPacket(byte buf[], int length) argument 114 DatagramPacket(byte buf[], int offset, int length, InetAddress address, int port) argument 137 DatagramPacket(byte buf[], int offset, int length, SocketAddress address) argument 155 DatagramPacket(byte buf[], int length, InetAddress address, int port) argument 173 DatagramPacket(byte buf[], int length, SocketAddress address) argument 259 setData(byte[] buf, int offset, int length) argument 372 setLength(int length) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/fastinfoset/sax/ |
H A D | PrimitiveTypeContentHandler.java | 84 * @param length the number of boolean to read from the array 88 public void booleans(boolean [] b, int start, int length) throws SAXException; argument 108 * @param length the number of byte to read from the array 112 public void bytes(byte[] b, int start, int length) throws SAXException; argument 126 * @param length the number of short to read from the array 130 public void shorts(short[] s, int start, int length) throws SAXException; argument 144 * @param length the number of int to read from the array 148 public void ints(int [] i, int start, int length) throws SAXException; argument 162 * @param length the number of long to read from the array 166 public void longs(long [] l, int start, int length) throw argument 184 floats(float [] f, int start, int length) argument 202 doubles(double [] d, int start, int length) argument 222 uuids(long[] msblsb, int start, int length) argument [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/ |
H A D | ByteBuffer.java | 47 public int length; field in class:ByteBuffer 60 length = 0; 65 System.arraycopy(elems, 0, newelems, 0, elems.length); 72 if (length >= elems.length) copy(elems.length * 2); 73 elems[length++] = (byte)b; 80 while (length + len > elems.length) copy(elems.length * [all...] |
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | IOUtils.java | 40 * Read up to <code>length</code> of bytes from <code>in</code> 43 * @param length number of bytes to read, -1 or Integer.MAX_VALUE means 46 * bytes are read. Ignored when length is -1 or Integer.MAX_VALUE 50 public static byte[] readFully(InputStream is, int length, boolean readAll) argument 53 if (length == -1) length = Integer.MAX_VALUE; 55 while (pos < length) { 57 if (pos >= output.length) { // Only expand when there's no room 58 bytesToRead = Math.min(length - pos, output.length [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/xni/ |
H A D | XMLString.java | 25 * character buffer of the scanner. The offset and length fields allow the 31 * should also not modify the offset and length if this structure (or 58 /** The length of characters from the offset. */ 59 public int length; field in class:XMLString 75 * @param length The length of characters from the offset. 77 public XMLString(char[] ch, int offset, int length) { argument 78 setValues(ch, offset, length); 104 * @param length The length o 106 setValues(char[] ch, int offset, int length) argument 140 equals(char[] ch, int offset, int length) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | CharsetString.java | 29 * chars for this string. See also offset, length. 41 public int length; field in class:CharsetString 51 public CharsetString(char charsetChars[], int offset, int length, argument 56 this.length = length;
|
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | errorReporter.cpp | 30 void ErrorReporter::call(FILE* fd, char* buffer, int length) { argument
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/util/ |
H A D | CharReader.java | 33 public CharReader(char buf[], int length) { argument 34 super(buf, 0, length); 37 public CharReader(char buf[], int offset, int length) { argument 38 super(buf, offset, length);
|
/openjdk7/jdk/test/java/beans/XMLEncoder/ |
H A D | java_lang_String.java | 41 int length = 0x10000; 42 StringBuilder sb = new StringBuilder(length); 43 while (0 < length--) { 44 sb.append((char) length);
|