/openjdk7/jdk/test/java/lang/StringBuffer/ |
H A D | SBBasher.java | 90 int startIndex = getRandomIndex(0, before.length()); 91 int endIndex = getRandomIndex(startIndex, before.length()); 92 if (endIndex < bashed.length()) { 117 int startIndex = getRandomIndex(0, before.length()); 118 int endIndex = getRandomIndex(startIndex, before.length()); 119 if (endIndex < bashed.length()) 123 if (slice.length() == 1) 127 bashed.insert(startIndex, slice.toCharArray(), 0, slice.length()); 145 int startIndex = getRandomIndex(0, bashed1.length()); 146 int endIndex = getRandomIndex(startIndex, bashed2.length()); [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/ |
H A D | SharedNameTable.java | 97 while (nc + len * 3 >= bytes.length) { 98 // System.err.println("doubling name buffer of length " + names.length + " to fit " + len + " chars");//DEBUG 99 byte[] newnames = new byte[bytes.length * 2]; 100 System.arraycopy(bytes, 0, newnames, 0, bytes.length); 114 n.length = nbytes; 136 while (nc + len > names.length) { 137 // System.err.println("doubling name buffer of length + " + names.length + " to fit " + len + " bytes");//DEBUG 138 byte[] newnames = new byte[names.length * 173 int length; field in class:SharedNameTable.NameImpl [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/ |
H A D | DocLocale.java | 110 if (localeName.length() > 0) { 121 localeName.length() <= seconduscore + 1) { 128 } else if (localeName.length() == firstuscore + 3) { 134 } else if (firstuscore == -1 && localeName.length() == 2) { 159 for (int i = 0; i < locales.length; i++) { 170 if (s == null || s.length() == 0) { 175 return localeSpecificFirstSentence(doc, s.substring(index + 3, s.length())); 195 int len = s.length(); 230 for (int i = 0; i < sentenceTerminators.length; i++) { 233 0, terminator.length())) { [all...] |
/openjdk7/jdk/src/share/classes/sun/security/jgss/ |
H A D | GSSHeader.java | 69 * @param mechTokenLength the length of the subsequent portion that 100 int length = getLength(is); 107 // debug (" len starting with oid=" + length); 108 mechTokenLength = length - mechOidBytes.length; 110 // debug(" mechToken length=" + mechTokenLength); 123 * Used to obtain the length of the mechanism specific token that 125 * @return the length of the mechanism specific token portion that 133 * Used to obtain the length of the encoding of this GSSHeader. 137 int lenField = mechOidBytes.length [all...] |
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/crypto/ |
H A D | DesMacCksumType.java | 75 * @param size length of the data. 96 byte[] residue_ivec = new byte[key.length]; 104 System.arraycopy(key, 0, new_key, 0, key.length); 105 for (int i = 0; i < new_key.length; i++) 115 byte[] ivec = new byte[new_key.length]; 118 byte[] enc_cksum = new byte[cksum.length]; 126 * @param size the length of data. 149 byte[] ivec = new byte[key.length]; 167 System.arraycopy(key, 0, new_key, 0, key.length); 168 for (int i = 0; i < new_key.length; [all...] |
H A D | RsaMd5DesCksumType.java | 76 * @param size length of the data. 91 byte[] mdc_cksum = calculateChecksum(new_data, new_data.length); 99 System.arraycopy(key, 0, new_key, 0, key.length); 100 for (int i = 0; i < new_key.length; i++) 110 byte[] ivec = new byte[new_key.length]; 113 byte[] enc_cksum = new byte[cksum.length]; 121 * @param size the length of data. 138 byte[] new_cksum = calculateChecksum(new_data, new_data.length); 158 System.arraycopy(key, 0, new_key, 0, key.length); 159 for (int i = 0; i < new_key.length; [all...] |
/openjdk7/jdk/src/share/classes/sun/text/ |
H A D | IntHashtable.java | 101 for (int i = 0; i < keyList.length; ++i) { 121 for (int i = 0; i < keyList.length; ++i) { 128 for (int i = 0; i < values.length; ++i) { 173 } else if (primeIndex >= PRIMES.length) { 175 primeIndex = PRIMES.length - 1; 201 for (int i = oldValues.length - 1; i >= 0; --i) { 222 int index = (key ^ 0x4000000) % keyList.length; 240 jump = (key % (keyList.length - 1)); 245 index = (index + jump) % keyList.length; 255 for (i = 0; i < PRIMES.length; [all...] |
/openjdk7/jdk/src/share/classes/sun/io/ |
H A D | CharToByteISO2022JP.java | 137 subBytesEscape.length); 138 outputSize = subBytesEscape.length; 140 outputSize, subBytes.length); 141 outputSize += subBytes.length; 145 outputSize = subBytes.length; 246 subBytesEscape.length); 247 outputSize = subBytesEscape.length; 249 outputSize, subBytes.length); 250 outputSize += subBytes.length; 254 outputSize = subBytes.length; [all...] |
/openjdk7/langtools/test/tools/javac/boxing/ |
H A D | BoxingCaching.java | 64 for(int i = 0; i < results.length; i++) 67 for(int i = 0; i < results.length; i++) { 93 for(int i = 0; i < results.length; i++) 96 for(int i = 0; i < results.length; i++) { 122 for(int i = 0; i < results.length; i++) 125 for(int i = 0; i < results.length; i++) { 151 for(int i = 0; i < results.length; i++) 154 for(int i = 0; i < results.length; i++) { 180 for(int i = 0; i < results.length; i++) 183 for(int i = 0; i < results.length; [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/ |
H A D | InnerClasses.java | 88 * @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 D | StackMap.java | 84 * @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;
|
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/generic/ |
H A D | IINC.java | 86 this.length = (short)3; 114 length = 6; // wide byte included 116 length = 3; 127 length = 6; 131 length = 3;
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/util/ |
H A D | XSNamedMap4Types.java | 69 * range of valid child node indices is 0 to <code>length-1</code> 75 int length = 0; 77 length += fMaps[i].getLength(); 81 XSObject[] array = new XSObject[length]; 88 fArray = new XSObject[length]; 90 for (int i = 0; i < length; i++) {
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/gc_implementation/g1/ |
H A D | HeapRegionSeq.java | 72 public long length() { method in class:HeapRegionSeq 78 private long length; field in class:HeapRegionSeq.HeapRegionIterator 81 public boolean hasNext() { return index < length; } 91 length = length();
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/soql/ |
H A D | JSMap.java | 51 Object[] res = new Object[superIds.length + tmp.length]; 52 System.arraycopy(tmp, 0, res, 0, tmp.length); 53 System.arraycopy(superIds, 0, res, tmp.length, superIds.length);
|
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | AbstractWriter.java | 55 // than line length. 68 * indicates that even if the line is > than max line length it should 312 * @param l the maximum line length. 319 * Returns the maximum line length. 328 * Sets the current line length. 332 protected void setCurrentLineLength(int length) { argument 333 currLength = length; 338 * Returns the current line length. 469 if (indentChars == null || max > indentChars.length) { 475 int length 547 write(char[] chars, int startIndex, int length) argument 694 output(char[] content, int start, int length) argument [all...] |
/openjdk7/jdk/src/share/classes/java/security/spec/ |
H A D | ECFieldF2m.java | 100 for (int i = this.ks.length-1; i >= 0; i--) { 121 * have length 1 or 3. 128 * is not positive, or the length of <code>ks</code> 140 if ((this.ks.length != 1) && (this.ks.length != 3)) { 142 ("length of ks is neither 1 nor 3"); 144 for (int i = 0; i < this.ks.length; i++) { 157 for (int j = 0; j < this.ks.length; j++) {
|
/openjdk7/jdk/src/share/classes/javax/imageio/plugins/jpeg/ |
H A D | JPEGImageWriteParam.java | 219 (qTables.length > 4) || 220 (DCHuffmanTables.length > 4) || 221 (ACHuffmanTables.length > 4) || 222 (DCHuffmanTables.length != ACHuffmanTables.length)) {
|
/openjdk7/jdk/src/share/classes/javax/imageio/stream/ |
H A D | MemoryCacheImageOutputStream.java | 83 if (off < 0 || len < 0 || off + len > b.length || off + len < 0) { 85 ("off < 0 || len < 0 || off+len > b.length || off+len < 0!"); 122 public long length() { method in class:MemoryCacheImageOutputStream 178 long length = cache.getLength(); 179 seek(length); 180 flushBefore(length);
|
/openjdk7/hotspot/src/share/vm/oops/ |
H A D | typeArrayKlass.hpp | 59 typeArrayOop allocate_common(int length, bool do_zero, TRAPS); 60 typeArrayOop allocate(int length, TRAPS) { return allocate_common(length, true, THREAD); } argument 61 typeArrayOop allocate_permanent(int length, TRAPS); // used for class file structures 65 void copy_array(arrayOop s, int src_pos, arrayOop d, int dst_pos, int length, TRAPS);
|
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/ |
H A D | Code.java | 74 int getLength() { return bytes.length; } 93 assert(handler_class.length == handler_start.length); 94 assert(handler_class.length == handler_end.length); 95 assert(handler_class.length == handler_catch.length); 96 return handler_class.length; 121 setInstructionMap(insnMap, insnMap.length); 205 imap = new int[map.length [all...] |
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/internal/ |
H A D | SnmpTools.java | 41 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 D | ModelConnectionBlock.java | 122 return Arrays.copyOf(sources, sources.length); 126 this.sources = source == null ? no_sources : Arrays.copyOf(source, source.length); 131 sources = new ModelSource[oldsources.length + 1]; 132 System.arraycopy(oldsources, 0, sources, 0, oldsources.length); 133 sources[sources.length - 1] = source;
|
H A D | PortMixerProvider.java | 81 if (infos == null || infos.length != numDevices) { 89 for (int i = 0; i < infos.length; i++) { 98 Mixer.Info[] localArray = new Mixer.Info[infos.length]; 99 System.arraycopy(infos, 0, localArray, 0, infos.length); 107 for (int i = 0; i < infos.length; i++) {
|
/openjdk7/jdk/make/tools/src/build/tools/generatecharacter/ |
H A D | CharacterName.java | 13 if (args.length != 2) { 37 if (spec.getOldName().length() != 0) 66 cpBB.put((byte)name.length()); 69 cpBB.putInt((name.length() << 24) | (cp & 0xffffff)); 78 int total = cpLen + namePoolBytes.length;
|