Searched refs:size (Results 1 - 25 of 5301) sorted by relevance

1234567891011>>

/openjdk10/test/lib/jdk/test/lib/hprof/model/
H A DHackJavaValue.java50 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 DArgumentSizeComputer.java29 /** 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 DBakedArrayList.java53 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 DSourceValue.java74 * 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 DNMethod.java41 * 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 DProperEntrySetOnClone.java44 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 DReturnStream.java41 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 DFileLock.java65 * 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}&nbsp;+&nbsp;{@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 DCommitOverlappingRegions.java47 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 Doperator_new.cpp64 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 Dopenbsd-reallocarray.c54 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 DMouseMovedTest.java62 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 DSamePackingTypeTest.java67 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 Dvectset.cpp56 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 DIntList.java37 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 DAllocatedNativeObject.java39 * 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 Djinclude.h58 * 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 DageTableTracer.hpp32 static void send_tenuring_distribution_event(uint age, size_t size);
H A Dmemset_with_concurrent_readers.hpp38 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 DLimitDirectMemory.java68 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 DSPARCKind.java44 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 DAArch64Kind.java50 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 DGetObjectSizeOverflowAgent.java35 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 DBasicToolBarSeparatorUI.java61 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 DArrayQueue.java40 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...]

Completed in 242 milliseconds

1234567891011>>