/openjdk10/test/lib/jdk/test/lib/hprof/model/ |
H A D | HackJavaValue.java | 50 private long size; field in class:HackJavaValue 52 public HackJavaValue(String value, long size) { argument 54 this.size = size; 63 return size;
|
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/ |
H A D | ArgumentSizeComputer.java | 29 /** Specialized SignatureIterator: Used to compute the argument size. */ 32 protected void set(int size, int type) { if (!isReturnType()) this.size += size; } argument
|
/openjdk10/jdk/src/java.desktop/share/classes/sun/swing/ |
H A D | BakedArrayList.java | 53 public BakedArrayList(int size) { argument 54 super(size); 58 this(data.size()); 59 for (int counter = 0, max = data.size(); counter < max; counter++){ 71 for (int counter = size() - 1; counter >= 0; counter--) { 83 int size = size(); 85 if (list.size() != size) { 88 while (size [all...] |
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/org/objectweb/asm/tree/analysis/ |
H A D | SourceValue.java | 74 * The size of this value. 76 public final int size; field in class:SourceValue 95 public SourceValue(final int size) { argument 96 this(size, SmallSet.<AbstractInsnNode> emptySet()); 99 public SourceValue(final int size, final AbstractInsnNode insn) { argument 100 this.size = size; 104 public SourceValue(final int size, final Set<AbstractInsnNode> insns) { argument 105 this.size = size; [all...] |
/openjdk10/hotspot/src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/ |
H A D | NMethod.java | 41 * The nmethod's size in bytes. 43 private long size; field in class:NMethod 48 size = sz; 65 return size; 68 public void setSize(long size) { argument 69 this.size = size;
|
/openjdk10/jdk/test/java/util/EnumMap/ |
H A D | ProperEntrySetOnClone.java | 44 int size = map1.entrySet().size(); 45 if (size != 2) { 47 "Invalid size in original map. Expected: 2 was: " + size); 52 size = map2.entrySet().size(); 53 if (size != 1) { 55 "Invalid size in cloned instance. Expected: 1 was: " + size); [all...] |
/openjdk10/jdk/test/java/security/cert/CertificateFactory/ |
H A D | ReturnStream.java | 41 int size = 0; 43 int len = fin.read(buffer, size, 4096-size); 45 size += len; 50 System.arraycopy(buffer, 0, buffer, size, size); 51 size += size; 54 for (int i=0; i<size; i++) { 60 new ByteArrayInputStream(buffer, 0, size)) [all...] |
/openjdk10/jdk/src/java.base/share/classes/java/nio/channels/ |
H A D | FileLock.java | 65 * held, the type and validity of the lock, and the position and size of the 109 * whole multiple of the underlying hardware's page size. Some network 124 private final long size; field in class:FileLock 137 * @param size 138 * The size of the locked region; must be non-negative, and the sum 139 * {@code position} + {@code size} must be non-negative 149 long position, long size, boolean shared) 154 if (size < 0) 155 throw new IllegalArgumentException("Negative size"); 156 if (position + size < 148 FileLock(FileChannel channel, long position, long size, boolean shared) argument 187 FileLock(AsynchronousFileChannel channel, long position, long size, boolean shared) argument 250 public final long size() { method in class:FileLock 275 overlaps(long position, long size) argument [all...] |
/openjdk10/hotspot/test/runtime/NMT/ |
H A D | CommitOverlappingRegions.java | 47 long size = 32 * 1024; 49 if (size < pagesize) { size = pagesize; } // Should be aligned. 50 long sizek = size / 1024; 52 long addr = wb.NMTReserveMemory(8*size); 67 wb.NMTCommitMemory(addr + 0*size, 3*size); 72 wb.NMTCommitMemory(addr + 4*size, 3*size); 81 wb.NMTCommitMemory(addr + 2*size, [all...] |
/openjdk10/hotspot/src/share/vm/memory/ |
H A D | operator_new.cpp | 64 void* operator new(size_t size) /* throw(std::bad_alloc) */ { argument 69 void* operator new [](size_t size) /* throw(std::bad_alloc) */ { argument 74 void* operator new(size_t size, const std::nothrow_t& nothrow_constant) throw() { argument 79 void* operator new [](size_t size, std::nothrow_t& nothrow_constant) throw() { argument
|
/openjdk10/jdk/src/java.desktop/share/native/libsplashscreen/giflib/ |
H A D | openbsd-reallocarray.c | 54 reallocarray(void *optr, size_t nmemb, size_t size) argument 56 if ((nmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) && 57 nmemb > 0 && SIZE_MAX / nmemb < size) { 66 * nmemb or size is zero. It can return NULL or non-NULL 72 * void realloc( void memblock, size_t size ); 77 * to the given size, the original block is left unchanged, 78 * and NULL is returned. If size is zero, then the block 84 * If size or nmemb is equal to 0, a unique pointer to an 90 * If size was equal to 0, either NULL or a pointer suitable 95 * If size i [all...] |
/openjdk10/jdk/test/java/awt/TrayIcon/MouseMovedTest/ |
H A D | MouseMovedTest.java | 62 Dimension size = Toolkit.getDefaultToolkit().getScreenSize(); 64 robot.glide(size.width / 2, size.height-15, size.width, size.height-15, 1, 3); 66 robot.glide(size.width / 2, 13, size.width, 13, 1, 3); 67 robot.mouseMove(size.width/2, size.height/2);
|
/openjdk10/jdk/test/sun/awt/image/ImagingLib/ |
H A D | SamePackingTypeTest.java | 67 final int size = 100; 69 final BufferedImage src = new BufferedImage(size, size, stype); 72 g.fillRect(0, 0, size, size); 76 final BufferedImage dst = new BufferedImage(size, size, dtype); 79 g.fillRect(0, 0, size, size); 84 final int rgb = dst.getRGB(size [all...] |
/openjdk10/hotspot/src/share/vm/libadt/ |
H A D | vectset.cpp | 56 size = 2; // Small initial size 57 data = (uint32_t *)_set_arena->Amalloc(size*sizeof(uint32_t)); 82 size = s.size; // Use new size 83 data = (uint32_t*)s._set_arena->Amalloc(size*sizeof(uint32_t)); // Make array of required size 84 memcpy( data, s.data, size*sizeof(uint32_t) ); // Fill the array 88 // Expand the existing set to a bigger size [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.common/src/org/graalvm/compiler/core/common/util/ |
H A D | IntList.java | 37 private int size; field in class:IntList 52 * @param initialSize the initial {@linkplain #size() size} of the list (must be less than or 58 this.size = initialSize; 67 * @return a new int list whose {@linkplain #size() size} and capacity is {@code length} 81 * @return a new int list whose {@linkplain #size() size} is {@code length} 94 public int size() { method in class:IntList 95 return size; [all...] |
/openjdk10/jdk/src/java.base/share/classes/sun/nio/ch/ |
H A D | AllocatedNativeObject.java | 39 * Allocates a memory area of at least {@code size} bytes outside of the 42 * @param size 52 AllocatedNativeObject(int size, boolean pageAligned) { argument 53 super(size, pageAligned);
|
/openjdk10/jdk/src/java.desktop/share/native/libjavajpeg/ |
H A D | jinclude.h | 58 * NOTE: we assume the size parameters to these functions are of type size_t. 65 #define MEMZERO(target,size) bzero((void *)(target), (size_t)(size)) 66 #define MEMCOPY(dest,src,size) bcopy((const void *)(src), (void *)(dest), (size_t)(size)) 71 #define MEMZERO(target,size) memset((void *)(target), 0, (size_t)(size)) 72 #define MEMCOPY(dest,src,size) memcpy((void *)(dest), (const void *)(src), (size_t)(size))
|
/openjdk10/hotspot/src/share/vm/gc/shared/ |
H A D | ageTableTracer.hpp | 32 static void send_tenuring_distribution_event(uint age, size_t size);
|
H A D | memset_with_concurrent_readers.hpp | 38 void memset_with_concurrent_readers(void* to, int value, size_t size); 47 inline void memset_with_concurrent_readers(void* to, int value, size_t size) { argument 48 ::memset(to, value, size);
|
/openjdk10/jdk/test/java/nio/Buffer/ |
H A D | LimitDirectMemory.java | 68 int size = parseSize(args[1]); 69 int incr = (args.length > 2 ? parseSize(args[2]) : size); 79 while (size >= incr) { 81 size -= incr; 105 private static int parseSize(String size) throws Exception { argument 107 if (size.equals("DEFAULT")) 109 if (size.equals("DEFAULT+1")) 111 if (size.equals("DEFAULT+1M")) 113 if (size.equals("DEFAULT-1")) 115 if (size [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.sparc/src/jdk/vm/ci/sparc/ |
H A D | SPARCKind.java | 44 private final int size; field in class:SPARCKind 50 SPARCKind(int size) { argument 51 this.size = size; 56 SPARCKind(int size, SPARCKind scalar) { argument 57 this.size = size; 60 assert size % scalar.size == 0; 61 this.vectorLength = size / scala [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.aarch64/src/jdk/vm/ci/aarch64/ |
H A D | AArch64Kind.java | 50 private final int size; field in class:AArch64Kind 56 AArch64Kind(int size) { argument 57 this.size = size; 62 AArch64Kind(int size, AArch64Kind scalar) { argument 63 this.size = size; 66 assert size % scalar.size == 0; 67 this.vectorLength = size / scala [all...] |
/openjdk10/hotspot/test/serviceability/jvmti/ |
H A D | GetObjectSizeOverflowAgent.java | 35 long size = instrumentation.getObjectSize(a); 37 if (size < 2_400_000_000L) { 38 throw new RuntimeException("Invalid size of array, expected >= 2400000000, got " + size);
|
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/basic/ |
H A D | BasicToolBarSeparatorUI.java | 61 Dimension size = ( (JToolBar.Separator)s ).getSeparatorSize(); 63 if ( size == null || size instanceof UIResource ) 66 size = (Dimension)(UIManager.get("ToolBar.separatorSize")); 67 if (size != null) { 69 size = new Dimension(size.height, size.width); 71 sep.setSeparatorSize(size); 82 Dimension size [all...] |
/openjdk10/jdk/src/java.management/share/classes/com/sun/jmx/remote/internal/ |
H A D | ArrayQueue.java | 40 int size = size(); 41 if (newcapacity < size) 47 for (int i = 0; i < size; i++) 52 this.tail = size; 56 private T[] newArray(int size) { argument 57 return (T[]) new Object[size]; 81 int size = size(); 82 if (i < 0 || i >= size) { 90 public int size() { method in class:ArrayQueue [all...] |