/openjdk7/jdk/test/sun/rmi/log/ReliableLog/ |
H A D | Recovery.java | 71 int size; 73 for (size = 1; size < 256; size *= 2) { 91 if (size == 4 && deathpoint == 6) { 95 if (size == 4 && deathpoint == 6) { 99 // Generate a number of updates (size - 1) until failing 103 for (i = 1; i < size; i++) { 156 lg.println("Passed test " + size + "/" + deathpoint 161 lg.println("Passed test " + size [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | ProgressMonitorInputStream.java | 68 private int size = 0; field in class:ProgressMonitorInputStream 85 size = in.available(); 88 size = 0; 90 monitor = new ProgressMonitor(parentComponent, message, null, 0, size); 185 nread = size - in.available();
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/multi/ |
H A D | MultiTextUI.java | 87 for (int i = 1; i < uis.size(); i++) { 103 for (int i = 1; i < uis.size(); i++) { 119 for (int i = 1; i < uis.size(); i++) { 134 for (int i = 1; i < uis.size(); i++) { 149 for (int i = 1; i < uis.size(); i++) { 165 for (int i = 1; i < uis.size(); i++) { 175 for (int i = 0; i < uis.size(); i++) { 184 for (int i = 0; i < uis.size(); i++) { 198 for (int i = 1; i < uis.size(); i++) { 213 for (int i = 1; i < uis.size(); [all...] |
/openjdk7/jdk/src/share/classes/javax/imageio/ |
H A D | ImageReadParam.java | 70 * applied to an image as follows. First, if a rendering size has 72 * image is rendered at the size given by 74 * natural size given by <code>ImageReader.getWidth</code> and 122 * (<i>e.g.</i> source render size is optional, but subsampling must be 139 * the source render size should set this value to 150 * the source render size may ignore this value. 321 * image to be rendered at an arbitrary size as part of the 328 * @return <code>true</code> if setting source rendering size is 338 * If the image is able to be rendered at an arbitrary size, sets 343 * default size fo 372 setSourceRenderSize(Dimension size) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/internal/ |
H A D | SnmpTools.java | 44 final int size = (length * 2) + 2; 45 byte[] asciiData = new byte[size]; 83 int size = val.length(); 84 byte []buf = new byte[size/2]; 87 for(int i = 0; i < (size / 2); i++)
|
/openjdk7/jdk/src/macosx/native/sun/awt/ |
H A D | GeomUtilities.m | 53 rect.size.width, 54 rect.size.height); 61 rect.size.width, 62 rect.size.height); 90 jobject NSToJavaSize(JNIEnv *env, NSSize size) { 93 return JNFNewObject(env, ctor_Dimension2DDouble, (jint)size.width, (jint)size.height); 109 point.y = [primaryScreen(env) frame].size.height - point.y; 114 rect.origin.y = [primaryScreen(env) frame].size.height - rect.origin.y - rect.size [all...] |
/openjdk7/hotspot/src/share/vm/services/ |
H A D | memTracker.hpp | 111 ArenaSize, // set arena size 122 void record(address addr, size_t size = 0, MEMFLAGS flags = mtNone, address pc = NULL); 123 void record(address old_addr, address new_addr, size_t size, 247 static inline void record_malloc(address addr, size_t size, MEMFLAGS flags, argument 250 tkr.record(addr, size, flags, pc); 258 static inline void record_arena_size(address addr, size_t size) { argument 260 tkr.record(addr, size); 264 static inline void record_virtual_memory_reserve(address addr, size_t size, argument 267 assert(size > 0, "Sanity check"); 269 tkr.record(addr, size, flag 273 record_thread_stack(address addr, size_t size, Thread* thr, address pc = 0) argument 281 release_thread_stack(address addr, size_t size, Thread* thr) argument 289 record_virtual_memory_commit(address addr, size_t size, address pc, Thread* thread = NULL) argument 297 record_virtual_memory_reserve_and_commit(address addr, size_t size, MEMFLAGS flags, address pc, Thread* thread = NULL) argument [all...] |
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | array.hpp | 72 void expand (size_t esize, int i, int& size);// expand the array to include slot i 106 void expand (size_t esize, int i, int& size);// expand the array to include slot i 121 void base_remove_at(size_t size, int i) { base_class::remove_at(size, i); } \ 169 if (i >= size()) expand(esize, i, _size); \ 177 stack_name(const int size) { initialize(size); } \ 178 stack_name(const int size, const etype fx) { initialize(size, fx); } \ 179 void initialize(const int size, cons [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/output/ |
H A D | NamespaceContextImpl.java | 86 private int size; field in class:NamespaceContextImpl 131 size = 1; 143 for( int i=size-1; i>=0; i-- ) { 183 owner.knownUri2prefixIndexMap[j] = size; 188 current.setTagName(size, current.elementLocalName, current.getOuterPeer()); 201 for( int i=size-1; i>=0; i-- ) { 228 for( int i=size-1; i>=0; i-- ) { 254 if(size==nsUris.length) { 264 if(size==1) 271 nsUris[size] [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/util/ |
H A D | DeferedCollection.java | 61 public int size() { method in class:DeferedCollection 63 return archive.size(); 90 if(idx<archive.size()) 96 if(idx==archive.size()) 98 if(idx==archive.size())
|
/openjdk7/jdk/src/windows/classes/sun/nio/ch/ |
H A D | PollArrayWrapper.java | 63 private int size; // Size of the pollArray field in class:PollArrayWrapper 69 this.size = newSize; 85 // Grows the pollfd array to new size 88 for (int i = 0; i < size; i++) 92 this.size = temp.size;
|
/openjdk7/jdk/test/com/sun/jdi/ |
H A D | MonitorFrameInfo.java | 100 int initialSize = mainThread.frames().size(); 109 if (mainThread.frames().size() != (initialSize + 3)) { 110 failure("FAILED: frames size failed"); 113 if (mainThread.frames().size() != mainThread.frameCount()) { 114 failure("FAILED: frames size not equal to frameCount"); 122 if (monitors.size() != expectedCount) { 126 for (int j=0; j < monitors.size(); j++) {
|
/openjdk7/jdk/test/java/nio/file/Files/walkFileTree/ |
H A D | CreateFileTree.java | 56 assert dirs.size() >= 2; 59 int files = dirs.size() * 3; 62 int x = rand.nextInt(dirs.size()); 69 int x = rand.nextInt(dirs.size()); 72 y = rand.nextInt(dirs.size());
|
/openjdk7/jdk/test/java/rmi/reliability/benchmark/bench/rmi/ |
H A D | ProxyArrayCalls.java | 78 * Generate proxy object array of the given size. 80 Proxy[] genProxies(int size) throws Exception { argument 87 Proxy[] proxies = new Proxy[size]; 89 for (int i = 0; i < size; i++) 97 * Arguments: <array size> <# calls> 100 int size = Integer.parseInt(args[0]); 104 Proxy[] proxies = genProxies(size);
|
/openjdk7/jdk/test/java/rmi/reliability/benchmark/bench/serial/ |
H A D | ObjArrays.java | 66 * Arguments: <array size> <# batches> <# cycles per batch> 69 int size = Integer.parseInt(args[0]); 72 Node[][] arrays = genArrays(size, ncycles); 89 Node[][] genArrays(int size, int narrays) { argument 90 Node[][] arrays = new Node[narrays][size]; 92 for (int j = 0; j < size; j++) {
|
/openjdk7/jdk/test/java/util/concurrent/ExecutorService/ |
H A D | Invoke.java | 72 check(futures.size() == tasks.size()); 73 check(count.get() == tasks.size()); 77 check(gauss == ((tasks.size()+1)*tasks.size())/2);
|
/openjdk7/jdk/src/share/classes/java/nio/ |
H A D | Heap-X-Buffer.java.template | 281 int size = this.remaining() >> 1; 287 size, 288 size, 293 size, 294 size, 332 int size = this.remaining() >> 1; 338 size, 339 size, 344 size, 345 size, [all...] |
/openjdk7/hotspot/src/share/vm/memory/ |
H A D | space.cpp | 63 top = top_obj + oop(top_obj)->size(); 81 // the object size. 91 // "adjust the object size" (for instance pad it up to its 92 // block alignment or minimum block size restrictions. XXX 198 assert(_sp->block_size(top_obj) == (size_t) oop(top_obj)->size(), 199 "Block size and object size mismatch"); 200 top = top_obj + oop(top_obj)->size(); 240 HeapWord* next_obj = bottom + oop(bottom)->size(); \ 246 next_obj = bottom + oop(bottom)->size(); \ 381 forward(oop q, size_t size, CompactPoint* cp, HeapWord* compact_top) argument 475 size_t size = oop(q)->adjust_pointers(); local 607 const size_t size = block_size(blk_start_addr); local 653 const size_t size = obj->size(); local 755 size_t size = blk->do_object_careful(oop(p)); local 832 allocate_impl(size_t size, HeapWord* const end_value) argument 855 par_allocate_impl(size_t size, HeapWord* const end_value) argument 876 allocate(size_t size) argument 881 par_allocate(size_t size) argument 888 size_t size = pointer_delta(end(), top()); local 923 allocate(size_t size) argument 928 par_allocate(size_t size) argument 932 par_allocate(size_t size) argument 992 size_t size = oop(p)->size(); local [all...] |
/openjdk7/jdk/make/tools/src/build/tools/charsetmapping/ |
H A D | JIS0213.java | 88 writeSIZE(out, baos.size()); 126 int size) // exclusive 130 writeShort(out, size); 131 for (int i = off; i < size; i++) { 207 private static void writeSUPPLEMENT(OutputStream out, Entry[] supp, int size) argument 211 writeShort(out, size * 2); 213 for (int i = 0; i < size; i++) { 216 for (int i = 0; i < size; i++) { 222 writeShort(out, size*2); 223 Arrays.sort(supp, 0, size, comparatorC 122 writeShortArray(OutputStream out, int type, int[] array, int off, int size) argument 232 writeCOMPOSITE(OutputStream out, Entry[] comp, int size) argument [all...] |
/openjdk7/jdk/src/share/back/ |
H A D | ArrayTypeImpl.c | 109 jclass arrayClass, jint size, char *componentSignature) 124 array = JNI_FUNC_PTR(env,NewObjectArray)(env, size, componentClass, 0); 144 jclass arrayClass, jint size, char *componentSignature) 153 array = JNI_FUNC_PTR(env,NewByteArray)(env, size); 157 array = JNI_FUNC_PTR(env,NewCharArray)(env, size); 161 array = JNI_FUNC_PTR(env,NewFloatArray)(env, size); 165 array = JNI_FUNC_PTR(env,NewDoubleArray)(env, size); 169 array = JNI_FUNC_PTR(env,NewIntArray)(env, size); 173 array = JNI_FUNC_PTR(env,NewLongArray)(env, size); 177 array = JNI_FUNC_PTR(env,NewShortArray)(env, size); 108 writeNewObjectArray(JNIEnv *env, PacketOutputStream *out, jclass arrayClass, jint size, char *componentSignature) argument 143 writeNewPrimitiveArray(JNIEnv *env, PacketOutputStream *out, jclass arrayClass, jint size, char *componentSignature) argument 211 jint size; local [all...] |
/openjdk7/jdk/test/javax/security/auth/PrivateCredentialPermission/ |
H A D | Subset.java | 93 if (p1.size() != 0) { 94 throw new Exception("Error:p1 size should have been 6 and was " + 95 p1.size()); 108 if (p2.size() !=3){ 109 throw new Exception("Error: p2 size should have been 3 and was " + 110 p2.size()); 132 if (p2.size() !=2) { 133 throw new RuntimeException("Error: p2 size should have been 2 and was " + 134 p2.size()); 199 System.out.println ("Size of p2 is " + p2.size() [all...] |
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Graph/src/com/sun/hotspot/igv/graph/ |
H A D | Diagram.java | 147 while (fromFigure.getOutputSlots().size() <= 0) { 153 while (toFigure.getInputSlots().size() <= toIndex) { 198 assert succ.getInputSlots().size() == 0; 199 assert succ.getOutputSlots().size() == 0; 200 assert succ.getPredecessors().size() == 0; 201 assert succ.getSuccessors().size() == 0; 241 if (rootFigures.size() > 0) { 243 } else if (figures.size() > 0) { 258 System.out.println("Number of figures: " + tmpFigures.size()); 259 System.out.println("Number of connections: " + connections.size()); [all...] |
/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | IndexColorModel.java | 91 * <em>n</em> is based on the pixel size specified in the constructor. 95 * pixel size. 98 * Index values greater than or equal to the map size, but less than 156 * @param size the size of the color component arrays 162 * @throws IllegalArgumentException if <code>size</code> is less 165 public IndexColorModel(int bits, int size, argument 175 setRGBs(size, r, g, b, null); 195 * @param size the size o 205 IndexColorModel(int bits, int size, byte r[], byte g[], byte b[], int trans) argument 244 IndexColorModel(int bits, int size, byte r[], byte g[], byte b[], byte a[]) argument 284 IndexColorModel(int bits, int size, byte cmap[], int start, boolean hasalpha) argument 321 IndexColorModel(int bits, int size, byte cmap[], int start, boolean hasalpha, int trans) argument 405 IndexColorModel(int bits, int size, int cmap[], int start, boolean hasalpha, int trans, int transferType) argument 472 IndexColorModel(int bits, int size, int cmap[], int start, int transferType, BigInteger validBits) argument 507 setRGBs(int size, byte r[], byte g[], byte b[], byte a[]) argument 544 setRGBs(int size, int cmap[], int start, boolean hasalpha) argument 584 calcRealMapSize(int bits, int size) argument [all...] |
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | EnumMap.java | 104 private transient int size = 0; field in class:EnumMap 152 size = m.size; 173 size = em.size; 191 public int size() { method in class:EnumMap 192 return size; 272 size++; 292 size--; 302 size 393 public int size() { method in class:EnumMap.KeySet 431 public int size() { method in class:EnumMap.Values 488 public int size() { method in class:EnumMap.EntrySet [all...] |
H A D | IdentityHashMap.java | 65 * semantics): <i>expected maximum size</i>. This parameter is the maximum 69 * maximum size and the number of buckets is unspecified. 71 * <p>If the size of the map (the number of key-value mappings) sufficiently 72 * exceeds the expected maximum size, the number of buckets is increased 75 * maximum size. On the other hand, iteration over collection views requires 77 * pays not to set the expected maximum size too high if you are especially 141 * (specified) expected maximum size of 21, given a load factor 149 * to an expected maximum size of 2, given a load factor of 2/3. 171 private int size; field in class:IdentityHashMap 179 * The next size valu 282 public int size() { method in class:IdentityHashMap 970 public int size() { method in class:IdentityHashMap.KeySet 1039 public int size() { method in class:IdentityHashMap.Values 1121 public int size() { method in class:IdentityHashMap.EntrySet [all...] |