Searched refs:length (Results 526 - 550 of 6515) sorted by relevance

<<21222324252627282930>>

/openjdk7/jdk/test/tools/launcher/
H A DUnicodeCleanup.java46 for (int i = 0; i < args.length; i++) {
61 for (int i = 0; i < contents.length; i++) {
/openjdk7/langtools/src/share/classes/com/sun/tools/classfile/
H A DConstantValue_attribute.java39 ConstantValue_attribute(ClassReader cr, int name_index, int length) throws IOException { argument
40 super(name_index, length);
H A DRuntimeInvisibleAnnotations_attribute.java39 RuntimeInvisibleAnnotations_attribute(ClassReader cr, int name_index, int length) argument
41 super(cr, name_index, length);
H A DRuntimeInvisibleParameterAnnotations_attribute.java39 RuntimeInvisibleParameterAnnotations_attribute(ClassReader cr, int name_index, int length) argument
41 super(cr, name_index, length);
H A DRuntimeVisibleAnnotations_attribute.java39 RuntimeVisibleAnnotations_attribute(ClassReader cr, int name_index, int length) argument
41 super(cr, name_index, length);
H A DRuntimeVisibleParameterAnnotations_attribute.java39 RuntimeVisibleParameterAnnotations_attribute(ClassReader cr, int name_index, int length) argument
41 super(cr, name_index, length);
/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/
H A DWrapToken.java57 * next multiple of 8 bytes, even if its length is already
114 * @param tokenLen the length of the token
185 byte[] retVal = new byte[dataSize - confounder.length -
186 padding.length];
187 System.arraycopy(temp, 0, retVal, 0, retVal.length);
211 return (dataSize - confounder.length - padding.length);
250 dataSize - CONFOUNDER_SIZE - padding.length) +
276 // debugbuf, 0, debugbuf.length);
277 // debug("\t\tData is: " + getHexBytes(debugbuf, debugbuf.length));
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/inspector/
H A DOperationEntry.java54 inputs = new XTextField[params.length];
55 for (int i = 0; i < params.length; i++) {
65 int fieldWidth = defaultTextValue.length();
79 if (i < params.length-1)
94 String result[] = new String[params.length];
95 for (int i = 0; i < params.length; i++) {
103 String signature[] = new String[params.length];
104 for (int i = 0; i < params.length; i++)
/openjdk7/jdk/test/java/security/Security/signedfirst/
H A DDynSignedProvFirst.java38 if (signers == null || signers.length <= 0) {
41 for (int i = 0; i < signers.length; i++) {
/openjdk7/jdk/test/java/util/Arrays/
H A DCorrect.java46 Arrays.sort(array1, array1.length/3, array1.length/2);
47 stupidSort(array2, array2.length/3, array2.length/2);
56 Arrays.sort(array1, array1.length/3, array1.length/2, TEST_ORDER);
57 stupidSort(array2, array2.length/3, array2.length/2);
/openjdk7/jdk/test/sun/java2d/cmm/ProfileOp/
H A DMTReadProfileTest.java41 for (int i = 0; i < threads.length; i++) {
44 for (int i = 0; i < threads.length; i++) {
/openjdk7/jdk/src/share/classes/sun/misc/
H A DCharacterDecoder.java158 int length;
161 length = decodeLinePrefix(ps, bStream);
162 for (i = 0; (i+bytesPerAtom()) < length; i += bytesPerAtom()) {
166 if ((i + bytesPerAtom()) == length) {
170 decodeAtom(ps, bStream, length - i);
171 totalBytes += (length - i);
187 byte inputBuffer[] = new byte[inputString.length()];
191 inputString.getBytes(0, inputString.length(), inputBuffer, 0);
H A DPerf.java379 * The maximum length of the <code>String</code> stored in this string
385 * The underlying implementation may further limit the length of the
395 * @param maxLength the maximum string length for this string
409 byte[] v1 = new byte[v.length+1];
410 System.arraycopy(v, 0, v1, 0, v.length);
411 v1[v.length] = '\0';
412 return createByteArray(name, variability, units, v1, Math.max(v1.length, maxLength));
419 * The maximum length of the <code>String</code> stored in this string
420 * instrument is implied by the length of the <code>value</code> parameter.
422 * to this implied maximum length
[all...]
/openjdk7/jdk/make/sun/osxapp/
H A DToBin.java36 while ((nRead = System.in.read(data, 0, data.length)) != -1) {
43 for (int i = 0; i < buf.length; i++) {
/openjdk7/jdk/test/sun/nio/cs/
H A DTestJIS0212Decoder.java53 if (ret.length() != outputString.length()
H A DTestTrailingEscapesISO2022JP.java43 while ( ( len = in.read( b, 0, b.length ) ) != -1 ) {
56 while ( ( len = inR.read( c, 0, c.length ) ) != -1 ) {
/openjdk7/jdk/test/sun/security/krb5/etype/
H A DETypeOrder.java43 loopi: for (int i=0; i<etypes.length; i++) {
44 for (; match < correct.length; match++) {
/openjdk7/jdk/test/sun/security/pkcs11/Cipher/
H A DTestSymmCiphers.java90 for (int i = 0; i < TEST_LIST.length; i++) {
103 System.out.println("Testing inLen = " + plainTxt.length);
139 int outLen = cipher.getOutputSize(in.length);
143 ByteBuffer inBuf = ByteBuffer.allocate(in.length);
146 ByteBuffer inDirectBuf = ByteBuffer.allocateDirect(in.length);
159 if (temp != null && temp.length > 0) {
160 baos.write(temp, 0, temp.length);
162 temp = cipher.doFinal(in, firstBlkSize, in.length - firstBlkSize);
163 if (temp != null && temp.length > 0) {
164 baos.write(temp, 0, temp.length);
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/naming/cosnaming/
H A DInterOperableNamingImpl.java62 for( int i = 1; i < theNameComponents.length; i++ ) {
80 ||( theNameComponent.id.length() == 0 ) )
82 ||( theNameComponent.kind.length() == 0 ) ) )
87 ||( theNameComponent.id.length() == 0 ) )
93 ||( theNameComponent.kind.length() == 0 ) )
116 for( int i = 0; i < value.length( ); i++ ) {
148 || (theStringifiedNameComponents.length == 0 ) )
153 new NameComponent[theStringifiedNameComponents.length];
154 for( int i = 0; i < theStringifiedNameComponents.length; i++ ) {
168 for(int index = 0; index <= theStringifiedName.length(); ) {
[all...]
/openjdk7/jdk/src/share/classes/sun/security/krb5/
H A DPrincipalName.java115 nameStrings = new String[nameParts.length];
116 System.arraycopy(nameParts, 0, nameStrings, 0, nameParts.length);
181 if (nameStrings.length != other.nameStrings.length)
183 for (int i = 0; i < nameStrings.length; i++)
302 while (i < temp.length()) {
310 temp.substring(i, temp.length());
328 temp.substring(i, temp.length());
342 if (i == temp.length())
379 if (nameParts.length >
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/dom/
H A DNodeSortRecordFactory.java37 private static int DESCENDING = "descending".length();
38 private static int NUMBER = "number".length();
89 int levels = order.length;
93 if (order[i].length() == DESCENDING) {
96 if (type[i].length() == NUMBER) {
106 int numSortKeys = order.length;
109 // Set up array of zero-length strings as default values
123 final int length = lang.length;
124 Locale[] locales = new Locale[length];
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/trax/
H A DSAX2StAXStreamWriter.java137 if (prefix.length() == 0) {
166 if (attrLocal.length() == 0) {
178 } else if (attrPrefix.length() > 0) {
219 public void comment(char[] ch, int start, int length) throws SAXException { argument
221 super.comment(ch, start, length);
224 writer.writeComment(new String(ch, start, length));
234 public void characters(char[] ch, int start, int length) argument
237 super.characters(ch, start, length);
242 writer.writeCharacters(ch, start, length);
270 public void ignorableWhitespace(char[] ch, int start, int length) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serialize/
H A DIndentPrinter.java158 public void printText( char[] chars, int start, int length )
160 _text.append( chars, start, length );
188 if ( _text.length() > 0 ) {
194 _thisIndent + _line.length() + _spaces + _text.length() > _format.getLineWidth() ) {
238 if ( _text.length() > 0 ) {
270 if ( _line.length() > 0 ) {
310 if ( _line.length() > 0 || _text.length() > 0 )
342 if ( ( _line.length()
[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...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/utils/
H A DFastStringBuffer.java32 * by recording start and length indices within this single buffer. This
161 * the length of that content can be calculated as
168 * length equals m_chunkSize, and which replaces m_array[0]. This allows
192 * addressing within a chunk. Maximum length of a chunk is 2^chunkBits
266 * Get the length of the list. Synonym for length().
276 * Get the length of the list. Synonym for size().
280 public final int length() method in class:FastStringBuffer
323 * @param l New length. If l<0 or l>=getLength(), this operation will
403 int length
647 append(char[] chars, int start, int length) argument
827 isWhitespace(int start, int length) argument
865 getString(int start, int length) argument
876 getOneChunkString(int startChunk, int startColumn, int length) argument
887 getString(StringBuffer sb, int start, int length) argument
916 getString(StringBuffer sb, int startChunk, int startColumn, int length) argument
980 sendSAXcharacters( org.xml.sax.ContentHandler ch, int start, int length) argument
1040 sendNormalizedSAXcharacters( org.xml.sax.ContentHandler ch, int start, int length) argument
1130 sendNormalizedSAXcharacters(char ch[], int start, int length, org.xml.sax.ContentHandler handler, int edgeTreatmentFlags) argument
1203 sendNormalizedSAXcharacters(char ch[], int start, int length, org.xml.sax.ContentHandler handler) argument
1224 sendSAXComment( org.xml.sax.ext.LexicalHandler ch, int start, int length) argument
[all...]

Completed in 77 milliseconds

<<21222324252627282930>>