/openjdk7/jdk/test/java/util/TimSort/ |
H A D | SortPerf.java | 28 private static final int[] lengths = { 10, 100, 1000, 10000, 1000000 }; field in class:SortPerf 44 for (int n : lengths) {
|
/openjdk7/jdk/src/share/classes/javax/imageio/plugins/jpeg/ |
H A D | JPEGHuffmanTable.java | 152 private short[] lengths; field in class:JPEGHuffmanTable 160 * @param lengths an array of {@code short}s where <code>lengths[k]</code> 165 * @throws IllegalArgumentException if <code>lengths</code> or 166 * <code>values</code> are null, the length of <code>lengths</code> is 168 * if any value in <code>lengths</code> or <code>values</code> is less 171 public JPEGHuffmanTable(short[] lengths, short[] values) { argument 172 if (lengths == null || values == null || 173 lengths.length == 0 || values.length == 0 || 174 lengths 204 JPEGHuffmanTable(short[] lengths, short[] values, boolean copy) argument [all...] |
/openjdk7/hotspot/src/share/vm/classfile/ |
H A D | symbolTable.hpp | 99 const char** names, int* lengths, int* cp_indices, 104 const char** name, int* lengths, 107 add(class_loader, cp, names_count, name, lengths, cp_indices, hashValues, THREAD); 174 const char** names, int* lengths, int* cp_indices, 102 new_symbols(Handle class_loader, constantPoolHandle cp, int names_count, const char** name, int* lengths, int* cp_indices, unsigned int* hashValues, TRAPS) argument
|
H A D | symbolTable.cpp | 307 const char** names, int* lengths, int* cp_indices, 313 bool added = table->basic_add(class_loader, cp, names_count, names, lengths, 320 Symbol* sym = table->basic_add(index, (u1*)names[i], lengths[i], hashValues[i], c_heap, CHECK); 388 const char** names, int* lengths, 394 if (lengths[i] > Symbol::max_length()) { 408 hashValue = hash_symbol(names[i], lengths[i]); 415 Symbol* test = lookup(index, names[i], lengths[i], hashValue); 425 Symbol* sym = allocate_symbol((const u1*)names[i], lengths[i], c_heap, CHECK_(false)); 426 assert(sym->equals(names[i], lengths[i]), "symbol must be properly initialized"); // why wouldn't it be??? 305 add(Handle class_loader, constantPoolHandle cp, int names_count, const char** names, int* lengths, int* cp_indices, unsigned int* hashValues, TRAPS) argument 386 basic_add(Handle class_loader, constantPoolHandle cp, int names_count, const char** names, int* lengths, int* cp_indices, unsigned int* hashValues, TRAPS) argument
|
H A D | classFileParser.cpp | 101 int lengths[SymbolTable::symbol_alloc_batch_size]; local 272 lengths[names_count] = utf8_length; 276 SymbolTable::new_symbols(class_loader, cp, names_count, names, lengths, indices, hashValues, CHECK); 293 SymbolTable::new_symbols(class_loader, cp, names_count, names, lengths, indices, hashValues, CHECK);
|
/openjdk7/jdk/test/tools/pack200/pack200-verifier/src/xmlkit/ |
H A D | TokenList.java | 237 protected int[] lengths; field in class:TokenList 240 // Layout of lengths: 250 int[] lengths = this.lengths; 253 if (lengths == null || lengths[MODC] != modCount) { 255 lengths = new int[END0 + size + (size == 0 ? 1 : 0)]; 256 lengths[MODC] = modCount; 258 lengths[BEG0] = end; 262 lengths[END [all...] |
/openjdk7/hotspot/src/share/vm/opto/ |
H A D | parse3.cpp | 399 Node* Parse::expand_multianewarray(ciArrayKlass* array_klass, Node* *lengths, int ndimensions, int nargs) { argument 400 Node* length = lengths[0]; 411 Node* elem = expand_multianewarray(array_klass_1, &lengths[1], ndimensions-1, nargs); 432 // get the lengths from the stack (first dimension is on top) 439 // It is often the case that the lengths are small (except the last).
|
/openjdk7/jdk/test/java/util/Arrays/ |
H A D | Sorting.java | 44 // Array lengths used in a long run (default) 48 // Array lengths used in a short run 72 private static void testAndCheck(int[] lengths, long[] randoms) { argument 81 for (int length : lengths) { 87 for (int length : lengths) {
|
/openjdk7/jdk/src/share/native/common/ |
H A D | check_code.c | 898 int* lengths; local 902 lengths = malloc(sizeof(int) * num_methods); 903 check_and_push(context, lengths, VM_MALLOC_BLK); 908 *(lengths_addr) = lengths; 912 lengths[i] = JVM_GetMethodIxByteCodeLength(context->env, cb, i); 913 if (lengths[i] > 0) { 914 code[i] = malloc(sizeof(unsigned char) * (lengths[i] + 1)); 933 pop_and_free(context); /* lengths */
|