Searched defs:length (Results 151 - 175 of 839) sorted by relevance

1234567891011>>

/openjdk7/langtools/test/tools/javac/processing/model/element/
H A DTestNames.java126 public int length() { method in class:TestNames.Pseudonym
127 return name.length();
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/
H A DConstantValue.java87 * @param length Content length in bytes
92 ConstantValue(int name_index, int length, DataInputStream file, argument
95 this(name_index, length, (int)file.readUnsignedShort(), constant_pool);
100 * @param length Content length in bytes
104 public ConstantValue(int name_index, int length, argument
108 super(Constants.ATTR_CONSTANT_VALUE, name_index, length, constant_pool);
H A DDeprecated.java85 * @param length Content length in bytes
89 public Deprecated(int name_index, int length, byte[] bytes, argument
92 super(Constants.ATTR_DEPRECATED, name_index, length, constant_pool);
99 * @param length Content length in bytes
104 Deprecated(int name_index, int length, DataInputStream file, argument
107 this(name_index, length, (byte [])null, constant_pool);
109 if(length > 0) {
110 bytes = new byte[length];
[all...]
H A DExceptionTable.java90 * @param length Content length in bytes
94 public ExceptionTable(int name_index, int length, argument
98 super(Constants.ATTR_EXCEPTIONS, name_index, length, constant_pool);
105 * @param length Content length in bytes
110 ExceptionTable(int name_index, int length, DataInputStream file, argument
113 this(name_index, length, (int[])null, constant_pool);
170 * Also redefines number_of_exceptions according to table length.
175 exception_index_table.length;
[all...]
H A DInnerClasses.java88 * @param length Content length in bytes
93 public InnerClasses(int name_index, int length, argument
97 super(Constants.ATTR_INNER_CLASSES, name_index, length, constant_pool);
105 * @param length Content length in bytes
110 InnerClasses(int name_index, int length, DataInputStream file, argument
113 this(name_index, length, (InnerClass[])null, constant_pool);
156 number_of_classes = (inner_classes == null)? 0 : inner_classes.length;
H A DLineNumberTable.java88 * @param length Content length in bytes
92 public LineNumberTable(int name_index, int length, argument
96 super(Constants.ATTR_LINE_NUMBER_TABLE, name_index, length, constant_pool);
103 * @param length Content length in bytes
108 LineNumberTable(int name_index, int length, DataInputStream file, argument
111 this(name_index, length, (LineNumber[])null, constant_pool);
154 line_number_table.length;
170 if(line.length() > 7
[all...]
H A DLocalVariableTable.java87 * @param length Content length in bytes
91 public LocalVariableTable(int name_index, int length, argument
95 super(Constants.ATTR_LOCAL_VARIABLE_TABLE, name_index, length, constant_pool);
102 * @param length Content length in bytes
107 LocalVariableTable(int name_index, int length, DataInputStream file, argument
110 this(name_index, length, (LocalVariable[])null, constant_pool);
165 local_variable_table.length;
H A DPMGClass.java87 * @param length Content length in bytes
92 PMGClass(int name_index, int length, DataInputStream file, argument
95 this(name_index, length, file.readUnsignedShort(), file.readUnsignedShort(),
101 * @param length Content length in bytes
105 public PMGClass(int name_index, int length, int pmg_index, int pmg_class_index, argument
108 super(Constants.ATTR_PMG, name_index, length, constant_pool);
H A DSourceFile.java88 * @param length Content length in bytes
93 SourceFile(int name_index, int length, DataInputStream file, argument
96 this(name_index, length, file.readUnsignedShort(), constant_pool);
102 * @param length Content length in bytes, the value should be 2.
112 public SourceFile(int name_index, int length, int sourcefile_index, argument
115 super(Constants.ATTR_SOURCE_FILE, name_index, length, constant_pool);
H A DStackMap.java84 * @param length Content length in bytes
88 public StackMap(int name_index, int length, StackMapEntry[] map, argument
91 super(Constants.ATTR_STACK_MAP, name_index, length, constant_pool);
99 * @param length Content length in bytes
104 StackMap(int name_index, int length, DataInputStream file, argument
107 this(name_index, length, (StackMapEntry[])null, constant_pool);
141 map_length = (map == null)? 0 : map.length;
H A DSynthetic.java90 * @param length Content length in bytes - should be zero.
95 public Synthetic(int name_index, int length, byte[] bytes, argument
98 super(Constants.ATTR_SYNTHETIC, name_index, length, constant_pool);
105 * @param length Content length in bytes
110 Synthetic(int name_index, int length, DataInputStream file, argument
113 this(name_index, length, (byte [])null, constant_pool);
115 if(length > 0) {
116 bytes = new byte[length];
[all...]
H A DUnknown.java111 * @param length Content length in bytes
115 public Unknown(int name_index, int length, byte[] bytes, argument
118 super(Constants.ATTR_UNKNOWN, name_index, length, constant_pool);
129 * @param length Content length in bytes
134 Unknown(int name_index, int length, DataInputStream file, argument
138 this(name_index, length, (byte [])null, constant_pool);
140 if(length > 0) {
141 bytes = new byte[length];
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/lib/
H A DExsltStrings.java76 * the same length as the padding string and returned.
86 if (targetStr.length() >= paddingStr.length())
87 return targetStr.substring(0, paddingStr.length());
91 return paddingStr.substring(0, paddingStr.length() - targetStr.length()) + targetStr;
95 int startIndex = (paddingStr.length() - targetStr.length()) / 2;
96 return paddingStr.substring(0, startIndex) + targetStr + paddingStr.substring(startIndex + targetStr.length());
101 return targetStr + paddingStr.substring(targetStr.length());
151 padding(double length, String pattern) argument
176 padding(double length) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dtd/models/
H A DSimpleContentModel.java183 * @param length The number of entries in the <code>children</code> array.
191 public int validate(QName[] children, int offset, int length) { argument
201 if (length == 0)
210 if (length > 1)
219 if (length == 1) {
229 if (length > 1)
240 if (length > 0)
242 for (int index = 0; index < length; index++) {
255 if (length == 0)
263 for (int index = 0; index < length; inde
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/util/
H A DLSInputListImpl.java55 * @param length the number of elements
57 public LSInputListImpl(LSInput[] array, int length) { argument
59 fLength = length;
64 * child object indices is 0 to <code>length-1</code> inclusive.
108 if (a.length < fLength) {
114 if (a.length > fLength) {
H A DObjectListImpl.java49 public ObjectListImpl(Object[] array, int length) { argument
51 fLength = length;
102 if (a.length < fLength) {
108 if (a.length > fLength) {
H A DShortListImpl.java53 * @param length the number of elements
55 public ShortListImpl(short[] array, int length) { argument
57 fLength = length;
62 * child node indices is 0 to <code>length-1</code> inclusive.
H A DStringListImpl.java64 * @param length the number of elements
66 public StringListImpl(String[] array, int length) { argument
68 fLength = length;
74 * child node indices is 0 to <code>length-1</code> inclusive.
148 if (a.length < fLength) {
154 if (a.length > fLength) {
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/util/
H A DSymbolTable.java99 final int length = symbol.length();
101 if (length == entry.characters.length && hash == entry.hashCode) {
102 if(symbol.regionMatches(0,entry.symbol,0,length)){
109 for (int i = 0; i < length; i++) {
136 * @param length The length of the new symbol in the buffer.
138 public String addSymbol(char[] buffer, int offset, int length) { argument
140 int hash = hash(buffer, offset, length);
191 hash(char[] buffer, int offset, int length) argument
244 containsSymbol(char[] buffer, int offset, int length) argument
311 Entry(char[] ch, int offset, int length, Entry next) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serializer/
H A DSerializerTraceWriter.java129 chars.length);
211 * @param length Number of characters to write
217 public void write(final char chars[], final int start, final int length) argument
222 m_writer.write(chars, start, length);
225 int lengthx3 = (length << 1) + length;
230 /* If the request length exceeds the size of the output buffer,
244 final int n = length + start;
280 final int length = s.length();
[all...]
H A DWriterToUTF8Buffered.java69 * in the range <tt>0</tt> through <tt>m_outputBytes.length</tt>; elements
175 * @param length Number of characters to write
181 public void write(final char chars[], final int start, final int length) argument
185 // We multiply the length by three since this is the maximum length
189 int lengthx3 = 3*length;
193 // The requested length is greater than the unused part of the buffer
199 * The requested length exceeds the size of the buffer.
205 int split = length/CHARS_MAX;
207 if (length
[all...]
/openjdk7/corba/src/share/classes/org/omg/CORBA/
H A DTypeCode.java62 * type of sequence elements and the length of the sequence. <p>
151 * <LI><code>length</code>
406 * The method <code>length</code> can be invoked on string, sequence, and
416 public abstract int length() throws BadKind; method in class:TypeCode
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/cdbg/basic/
H A DBasicArrayType.java32 private int length; field in class:BasicArrayType
38 private BasicArrayType(String name, Type elementType, int sizeInBytes, int length, int cvAttributes) { argument
41 this.length = length;
47 public int getLength() { return length; }
55 length = getSize() / elementType.getSize();
H A DBasicBlockSym.java34 private long length; field in class:BasicBlockSym
40 public BasicBlockSym(BlockSym parent, long length, Address addr, String name) { argument
43 this.length = length;
50 public long getLength() { return length; }
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/
H A DStackValueCollection.java35 public StackValueCollection(int length) { list = new ArrayList(length); } argument

Completed in 90 milliseconds

1234567891011>>