/openjdk10/hotspot/src/share/vm/classfile/ |
H A D | sharedPathsMiscInfo.hpp | 38 // + The meta-index file(s) used during dumping (incl modification time and size) 45 // The storage format is stream oriented to minimize its size. 65 void write(const void* ptr, size_t size); 66 bool read(void* ptr, size_t size); 83 SharedPathsMiscInfo(char *buff, int size) { argument 85 _end_ptr = _buf_start + size; 86 _buf_size = size;
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir.amd64/src/org/graalvm/compiler/lir/amd64/ |
H A D | AMD64ShiftOp.java | 48 private final OperandSize size; field in class:AMD64ShiftOp 54 public AMD64ShiftOp(AMD64MOp opcode, OperandSize size, AllocatableValue result, AllocatableValue x, AllocatableValue y) { argument 57 this.size = size; 67 opcode.emit(masm, size, asRegister(result));
|
/openjdk10/hotspot/test/native/memory/ |
H A D | test_metachunk.cpp | 44 size_t size = 2 * 1024 * 1024; local 45 void* memory = malloc(size); 48 Metachunk* metachunk = ::new (memory) Metachunk(size / BytesPerWord, NULL); 51 EXPECT_EQ((uintptr_t*) metachunk + metachunk->size(), metachunk->end()); 54 EXPECT_EQ(metachunk->size(), metachunk->word_size());
|
/openjdk10/jaxws/src/java.xml.bind/share/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...] |
/openjdk10/jdk/src/java.desktop/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} 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. 322 * image to be rendered at an arbitrary size as part of the 329 * @return {@code true} if setting source rendering size is 339 * If the image is able to be rendered at an arbitrary size, sets 344 * default size fo 373 setSourceRenderSize(Dimension size) argument [all...] |
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/ |
H A D | ProgressMonitorInputStream.java | 69 private int size = 0; field in class:ProgressMonitorInputStream 86 size = in.available(); 89 size = 0; 91 monitor = new ProgressMonitor(parentComponent, message, null, 0, size); 186 nread = size - in.available();
|
/openjdk10/jaxws/src/jdk.xml.bind/share/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())
|
/openjdk10/jdk/src/java.base/share/classes/java/io/ |
H A D | ByteArrayOutputStream.java | 59 * initially 32 bytes, though its size increases if necessary. 67 * the specified size, in bytes. 69 * @param size the initial size. 70 * @exception IllegalArgumentException if size is negative. 72 public ByteArrayOutputStream(int size) { argument 73 if (size < 0) { 74 throw new IllegalArgumentException("Negative initial size: " 75 + size); 77 buf = new byte[size]; 201 public synchronized int size() { method in class:ByteArrayOutputStream [all...] |
/openjdk10/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++) {
|
/openjdk10/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);
|
/openjdk10/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++) {
|
/openjdk10/jdk/test/java/util/concurrent/ExecutorService/ |
H A D | Invoke.java | 76 check(futures.size() == tasks.size()); 77 check(count.get() == tasks.size()); 81 check(gauss == ((tasks.size()+1)*tasks.size())/2);
|
/openjdk10/hotspot/src/jdk.hotspot.agent/macosx/native/libsaproc/ |
H A D | symtab.c | 46 uintptr_t size; // size strlen member in struct:symtab_symbol 63 key.size = strlen(key.data) + 1; 65 value.size = sizeof(symtab_symbol); 74 rkey.size = strlen(tmp) + 1; 80 res->size != symtab->symbols[i].size) { 164 symtab->symbols[i].size = lentry.n_un.n_strx; // index 169 int size = read(fd, (void *)(symtab->strs), symtabcmd.strsize * sizeof(char)); local 170 if (size ! 270 size_t size; local [all...] |
/openjdk10/hotspot/src/share/vm/memory/ |
H A D | arena.hpp | 51 void* operator new(size_t size, AllocFailType alloc_failmode, size_t length) throw(); 68 size = 32*K - slack, // Default size of an Arena chunk (following the first) enumerator in enum:Chunk::__anon451 69 non_pool_size = init_size + 32 // An initial size which is not one of above 105 // Get a new Chunk of at least size x 111 debug_only(void* malloc(size_t size);) 136 void* operator new (size_t size) throw(); 137 void* operator new (size_t size, const std::nothrow_t& nothrow_constant) throw(); 140 void* operator new(size_t size, MEMFLAGS flags) throw(); 141 void* operator new(size_t size, cons 202 Afree(void *ptr, size_t size) argument [all...] |
/openjdk10/jdk/src/java.base/windows/classes/sun/nio/fs/ |
H A D | WindowsFileAttributes.java | 128 private final long size; field in class:WindowsFileAttributes 168 long size, 178 this.size = size; 193 long size = ((long)(unsafe.getInt(address + OFFSETOF_FILE_INFORMATION_SIZEHIGH)) << 32) 202 size, 217 long size = ((long)(unsafe.getInt(address + OFFSETOF_FILE_ATTRIBUTE_DATA_SIZEHIGH)) << 32) 223 size, 246 long size = ((long)(unsafe.getInt(address + OFFSETOF_FIND_DATA_SIZEHIGH)) << 32) 254 size, 164 WindowsFileAttributes(int fileAttrs, long creationTime, long lastAccessTime, long lastWriteTime, long size, int reparseTag, int volSerialNumber, int fileIndexHigh, int fileIndexLow) argument 397 public long size() { method in class:WindowsFileAttributes [all...] |
/openjdk10/jdk/make/src/classes/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...] |
/openjdk10/jdk/src/jdk.jdwp.agent/share/native/libjdwp/ |
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...] |
/openjdk10/jdk/src/java.base/share/classes/java/util/ |
H A D | EnumMap.java | 103 private transient int size = 0; field in class:EnumMap 150 size = m.size; 171 size = em.size; 189 public int size() { method in class:EnumMap 190 return size; 270 size++; 290 size--; 300 size 391 public int size() { method in class:EnumMap.KeySet 430 public int size() { method in class:EnumMap.Values 487 public int size() { method in class:EnumMap.EntrySet [all...] |
H A D | AbstractList.java | 39 * {@link List#size() size()} methods. 44 * variable-size the programmer must additionally override the 93 * This implementation calls {@code add(size(), e)}. 111 add(size(), e); 203 * of the list (with {@code listIterator(size())}). Then, it iterates 211 ListIterator<E> it = listIterator(size()); 232 * This implementation calls {@code removeRange(0, size())}. 243 removeRange(0, size()); 284 * iterator interface, relying on the backing list's {@code size()}, 503 subListRangeCheck(int fromIndex, int toIndex, int size) argument 752 protected int size; field in class:AbstractList.SubList 789 public int size() { method in class:AbstractList.SubList [all...] |
/openjdk10/jdk/src/java.base/share/classes/java/util/stream/ |
H A D | Nodes.java | 59 * The maximum size of an array that can be allocated. 64 static final String BAD_SIZE = "Stream size exceeds max array size"; 77 return size -> (T[]) new Object[size]; 109 * <p>The result may be a concatenated node, the input sole node if the size 167 * @param exactSizeIfKnown -1 if a variable size builder is requested, 181 * Produces a variable size @{link Node.Builder}. 207 * @param exactSizeIfKnown -1 if a variable size builder is requested, 219 * Produces a variable size 651 ArrayNode(long size, IntFunction<T[]> generator) argument 756 private final long size; field in class:Nodes.AbstractConcNode 1206 FixedNodeBuilder(long size, IntFunction<T[]> generator) argument 1220 begin(long size) argument 1275 begin(long size) argument 1324 IntArrayNode(long size) argument 1380 LongArrayNode(long size) argument 1434 DoubleArrayNode(long size) argument 1488 IntFixedNodeBuilder(long size) argument 1504 begin(long size) argument 1542 LongFixedNodeBuilder(long size) argument 1558 begin(long size) argument 1596 DoubleFixedNodeBuilder(long size) argument 1612 begin(long size) argument 1667 begin(long size) argument 1727 begin(long size) argument 1787 begin(long size) argument 1890 makeChild(Spliterator<P_IN> spliterator, long offset, long size) argument 1893 begin(long size) argument 1921 makeChild(Spliterator<P_IN> spliterator, long offset, long size) argument 1953 makeChild(Spliterator<P_IN> spliterator, long offset, long size) argument 1985 makeChild(Spliterator<P_IN> spliterator, long offset, long size) argument 2017 makeChild(Spliterator<P_IN> spliterator, long offset, long size) argument [all...] |
/openjdk10/jdk/test/javax/security/auth/PrivateCredentialPermission/ |
H A D | Subset.java | 97 if (p1.size() != 0) { 98 throw new Exception("Error:p1 size should have been 6 and was " + 99 p1.size()); 112 if (p2.size() !=3){ 113 throw new Exception("Error: p2 size should have been 3 and was " + 114 p2.size()); 136 if (p2.size() !=2) { 137 throw new RuntimeException("Error: p2 size should have been 2 and was " + 138 p2.size()); 203 System.out.println ("Size of p2 is " + p2.size() [all...] |
/openjdk10/jdk/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
H A D | IntSliceOpTest.java | 115 int size = Math.max(0, dataSize - skip); 117 size = Math.min(size, limit); 118 return size; 127 List<Integer> skips = sizes(data.size()); 132 assertEquals(sr.size(), sliceSize(data.size(), s)); 135 assertEquals(sr.size(), sliceSize(sliceSize(data.size(), s), s / 2)); 141 List<Integer> skips = sizes(data.size()); 200 sizes(int size) argument [all...] |
/openjdk10/hotspot/src/share/tools/IdealGraphVisualizer/Graph/src/com/sun/hotspot/igv/graph/ |
H A D | Diagram.java | 165 while (fromFigure.getOutputSlots().size() <= fromIndex) { 171 while (toFigure.getInputSlots().size() <= toIndex) { 215 assert succ.getInputSlots().size() == 0; 216 assert succ.getOutputSlots().size() == 0; 217 assert succ.getPredecessors().size() == 0; 218 assert succ.getSuccessors().size() == 0; 258 if (rootFigures.size() > 0) { 260 } else if (figures.size() > 0) { 275 System.out.println("Number of figures: " + tmpFigures.size()); 276 System.out.println("Number of connections: " + connections.size()); [all...] |
/openjdk10/jdk/test/java/util/logging/ |
H A D | CheckZombieLockTest.java | 167 System.out.println("before: " + before.size() + " locks found"); 171 System.out.println("after creating handler: " + after.size() + " locks found"); 175 System.out.println("after closing handler: " + afterClose.size() + " locks found"); 184 System.out.println("After cleanup: " + finalLocks.size() + " locks found"); 190 System.out.println("before: " + before.size() + " locks found"); 202 System.out.println("after creating handler: " + after.size() + " locks found"); 203 if (after.size() != 1) { 211 System.out.println("after closing handler: " + after.size() + " locks found"); 221 System.out.println("before: " + before.size() + " locks found"); 222 if (before.size() ! [all...] |
/openjdk10/jdk/src/java.desktop/share/native/liblcms/ |
H A D | cmserr.c | 120 void* _cmsMallocDefaultFn(cmsContext ContextID, cmsUInt32Number size) argument 122 if (size > MAX_MEMORY_FOR_ALLOC) return NULL; // Never allow over maximum 124 return (void*) malloc(size); 131 void* _cmsMallocZeroDefaultFn(cmsContext ContextID, cmsUInt32Number size) argument 133 void *pt = _cmsMalloc(ContextID, size); 136 memset(pt, 0, size); 154 // realloc behaves the same way as malloc and allocates a new block of size bytes. 156 void* _cmsReallocDefaultFn(cmsContext ContextID, void* Ptr, cmsUInt32Number size) argument 159 if (size > MAX_MEMORY_FOR_ALLOC) return NULL; // Never realloc over 512Mb 161 return realloc(Ptr, size); 170 _cmsCallocDefaultFn(cmsContext ContextID, cmsUInt32Number num, cmsUInt32Number size) argument 192 _cmsDupDefaultFn(cmsContext ContextID, const void* Org, cmsUInt32Number size) argument 291 _cmsMalloc(cmsContext ContextID, cmsUInt32Number size) argument 298 _cmsMallocZero(cmsContext ContextID, cmsUInt32Number size) argument 305 _cmsCalloc(cmsContext ContextID, cmsUInt32Number num, cmsUInt32Number size) argument 312 _cmsRealloc(cmsContext ContextID, void* Ptr, cmsUInt32Number size) argument 328 _cmsDupMem(cmsContext ContextID, const void* Org, cmsUInt32Number size) argument 409 _cmsSubAlloc(_cmsSubAllocator* sub, cmsUInt32Number size) argument 441 _cmsSubAllocDup(_cmsSubAllocator* s, const void *ptr, cmsUInt32Number size) argument [all...] |