Searched defs:length (Results 26 - 50 of 839) sorted by relevance

1234567891011>>

/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/util/
H A DShadowedSymbolTable.java83 * @param length The length of the new symbol in the buffer.
85 public String addSymbol(char[] buffer, int offset, int length) { argument
87 if (fSymbolTable.containsSymbol(buffer, offset, length)) {
88 return fSymbolTable.addSymbol(buffer, offset, length);
90 return super.addSymbol(buffer, offset, length);
115 * @param length The length of the symbol.
117 public int hash(char[] buffer, int offset, int length) { argument
118 return fSymbolTable.hash(buffer, offset, length);
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/utils/
H A DRawCharacterHandler.java38 * @param length Number of characters in the array
42 public void charactersRaw(char ch[], int start, int length) argument
H A DXMLCharacterRecognizer.java50 * @param length Number of characters in the array
54 public static boolean isWhiteSpace(char ch[], int start, int length) argument
57 int end = start + length;
77 int n = buf.length();
99 int n = s.length();
H A DXMLStringFactory.java47 * @param length The number of characters to read from the array.
52 int length);
60 * @param length The number of characters to read from the array.
65 int length);
51 newstr(FastStringBuffer string, int start, int length) argument
64 newstr(char[] string, int start, int length) argument
H A DXMLStringFactoryDefault.java53 * @param length The number of characters to read from the array.
57 public XMLString newstr(FastStringBuffer fsb, int start, int length) argument
59 return new XMLStringDefault(fsb.getString(start, length));
68 * @param length The number of characters to read from the array.
72 public XMLString newstr(char[] string, int start, int length) argument
74 return new XMLStringDefault(new String(string, start, length));
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/objects/
H A DXMLStringFactoryImpl.java69 * @param length The number of characters to read from the array.
73 public XMLString newstr(FastStringBuffer fsb, int start, int length) argument
75 return new XStringForFSB(fsb, start, length);
84 * @param length The number of characters to read from the array.
88 public XMLString newstr(char[] string, int start, int length) argument
90 return new XStringForChars(string, start, length);
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/io/
H A DOptionalDataException.java49 * Create an <code>OptionalDataException</code> with a length.
53 length = len;
61 length = 0;
69 public int length; field in class:OptionalDataException
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/asm/x86/
H A DX86RegisterPart.java31 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/hotspot/agent/src/share/classes/sun/jvm/hotspot/gc_implementation/g1/
H A DHeapRegionSetBase.java66 public long length() { method in class:HeapRegionSetBase
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/
H A DGenericGrowableArray.java57 public int length() { method in class:GenericGrowableArray
/openjdk7/jdk/src/share/classes/javax/sound/midi/
H A DMidiMessage.java42 * <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 DSysexMessage.java32 * 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...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DDocumentFilter.java72 * @param length the number of characters to remove >= 0
77 public void remove(FilterBypass fb, int offset, int length) throws argument
79 fb.remove(offset, length);
111 * @param length Length of text to delete
118 public void replace(FilterBypass fb, int offset, int length, String text, argument
120 fb.replace(offset, length, text, attrs);
145 * @param length the number of characters to remove >= 0
150 public abstract void remove(int offset, int length) throws argument
171 * <code>offset + length</code>, and replaces it with
175 * @param length Lengt
182 replace(int offset, int length, String string, AttributeSet attrs) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DByteArrayImageSource.java38 this(data, 0, data.length);
41 public ByteArrayImageSource(byte[] data, int offset, int length) { argument
44 imagelength = length;
/openjdk7/jdk/src/share/classes/java/io/
H A DInputStreamReader.java176 * @param length Maximum number of characters to read
183 public int read(char cbuf[], int offset, int length) throws IOException { argument
184 return sd.read(cbuf, offset, length);
/openjdk7/jdk/src/share/classes/javax/imageio/stream/
H A DIIOByteBuffer.java30 * 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/src/share/classes/javax/naming/ldap/
H A DExtendedRequest.java55 * byte[] berValue, int offset, int length)
57 * return new GetTimeResponse(id, berValue, offset, length);
64 * int length) throws NamingException {
101 * The result is the raw BER bytes including the tag and length of
134 * This is the raw BER bytes including the tag and length of
137 * @param length The number of bytes in berValue to use.
145 byte[] berValue, int offset, int length) throws NamingException;
144 createExtendedResponse(String id, byte[] berValue, int offset, int length) argument
/openjdk7/hotspot/src/share/vm/classfile/
H A DclassFileStream.cpp33 ClassFileStream::ClassFileStream(u1* buffer, int length, char* source) { argument
35 _buffer_end = buffer + length;
83 void ClassFileStream::skip_u1(int length, TRAPS) { argument
85 guarantee_more(length, CHECK);
87 _current += length;
90 void ClassFileStream::skip_u2(int length, TRAPS) { argument
92 guarantee_more(length * 2, CHECK);
94 _current += length * 2;
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A DheapRegionSeq.hpp47 // * _length (returned by length()) is the number of currently
87 // Find a contiguous set of empty regions of length num, starting
95 void increment_length(uint* length) { argument
96 assert(*length < _max_length, "pre-condition");
97 *length += 1;
100 void decrement_length(uint* length) {
101 assert(*length > 0, "pre-condition");
102 *length -= 1;
124 uint length() const { return _length; } function in class:HeapRegionSeq
142 // Find a contiguous set of empty regions of length nu
[all...]
/openjdk7/hotspot/src/share/vm/memory/
H A DoopFactory.hpp45 static typeArrayOop new_boolArray (int length, TRAPS) { return typeArrayKlass::cast(Universe::boolArrayKlassObj ())->allocate(length, CHECK_NULL); } argument
46 static typeArrayOop new_charArray (int length, TRAPS) { return typeArrayKlass::cast(Universe::charArrayKlassObj ())->allocate(length, CHECK_NULL); } argument
47 static typeArrayOop new_singleArray(int length, TRAPS) { return typeArrayKlass::cast(Universe::singleArrayKlassObj())->allocate(length, CHECK_NULL); } argument
48 static typeArrayOop new_doubleArray(int length, TRAPS) { return typeArrayKlass::cast(Universe::doubleArrayKlassObj())->allocate(length, CHECK_NULL); } argument
49 static typeArrayOop new_byteArray (int length, TRAPS) { return typeArrayKlass::cast(Universe::byteArrayKlassObj ())->allocate(length, CHECK_NUL argument
50 new_shortArray(int length, TRAPS) argument
51 new_intArray(int length, TRAPS) argument
52 new_longArray(int length, TRAPS) argument
55 new_objectArray(int length, TRAPS) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jdi/
H A DArrayReference.java49 int length(); method in interface:ArrayReference
61 * <I>index</I> &gt;= {@link #length() length()} </PRE>
69 * component ordered by array index. For zero length arrays,
78 * @param length the number of components to retrieve, or -1 to
83 * <CODE><I>length</I></CODE> is zero) an empty list is returned
87 * <CODE><I>length</I></CODE> is not within the range of the array,
91 * <I>index</I> &gt; {@link #length() length()} </PRE>
92 * or if <CODE><I>length</
98 getValues(int index, int length) argument
206 setValues(int index, List<? extends Value> values, int srcIndex, int length) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/internal/
H A DSnmpTools.java41 static public String binary2ascii(byte[] data, int length) argument
44 final int size = (length * 2) + 2;
48 for (int i=0; i < length; i++) {
72 return binary2ascii(data, data.length);
83 int size = val.length();
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DDLSSampleLoop.java38 long length; field in class:DLSSampleLoop
41 return length;
44 public void setLength(long length) { argument
45 this.length = length;
/openjdk7/hotspot/src/share/vm/ci/
H A DciArray.hpp42 ciArray( arrayHandle h_a) : ciObject(h_a), _length(h_a()->length()) {}
43 ciArray( objArrayHandle h_a) : ciObject(h_a), _length(h_a()->length()) {}
44 ciArray(typeArrayHandle h_a) : ciObject(h_a), _length(h_a()->length()) {}
55 int length() { return _length; } function in class:ciArray
/openjdk7/jdk/src/share/classes/com/sun/beans/decoder/
H A DArrayElementHandler.java32 * The {@code length} attribute specifies the length of the array.
36 * &lt;array length="10"/&gt;</pre>
43 * &lt;array length="3" class="java.lang.String"&gt;
51 * It is possible to omit the {@code length} attribute and
53 * The length of the array is equal to the number of values specified.
62 * <dt>length
63 * <dd>the array length
75 private Integer length; field in class:ArrayElementHandler
81 * <dt>length
[all...]

Completed in 140 milliseconds

1234567891011>>