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

1234567891011>>

/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/model/
H A DHackJavaValue.java50 private int size; field in class:HackJavaValue
52 public HackJavaValue(String value, int size) { argument
54 this.size = size;
62 return size;
/openjdk7/hotspot/agent/src/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
/openjdk7/jdk/src/share/classes/sun/swing/
H A DBakedArrayList.java52 public BakedArrayList(int size) { argument
53 super(size);
57 this(data.size());
58 for (int counter = 0, max = data.size(); counter < max; counter++){
70 for (int counter = size() - 1; counter >= 0; counter--) {
81 int size = size();
83 if (list.size() != size) {
86 while (size
[all...]
/openjdk7/hotspot/src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/
H A DNMethod.java32 private long size; field in class:NMethod
37 size = sz;
54 return size;
57 public void setSize(long size) { argument
58 this.size = size;
/openjdk7/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...]
/openjdk7/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...]
/openjdk7/jdk/src/share/classes/java/nio/channels/
H A DFileLock.java64 * held, the type and validity of the lock, and the position and size of the
108 * whole multiple of the underlying hardware's page size. Some network
123 private final long size; field in class:FileLock
136 * @param size
137 * The size of the locked region; must be non-negative, and the sum
138 * <tt>position</tt>&nbsp;+&nbsp;<tt>size</tt> must be non-negative
148 long position, long size, boolean shared)
152 if (size < 0)
153 throw new IllegalArgumentException("Negative size");
154 if (position + size <
147 FileLock(FileChannel channel, long position, long size, boolean shared) argument
185 FileLock(AsynchronousFileChannel channel, long position, long size, boolean shared) argument
247 public final long size() { method in class:FileLock
267 overlaps(long position, long size) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/asm/x86/
H A DX86InstructionFactoryImpl.java31 public X86Instruction newCallInstruction(String name, Address addr, int size, int prefixes) { argument
32 return new X86CallInstruction(name, addr, size, prefixes);
35 public X86Instruction newJmpInstruction(String name, Address addr, int size, int prefixes) { argument
36 return new X86JmpInstruction(name, addr, size, prefixes);
39 public X86Instruction newCondJmpInstruction(String name, X86PCRelativeAddress addr, int size, int prefixes) { argument
40 return new X86CondJmpInstruction(name, addr, size, prefixes);
43 public X86Instruction newMoveInstruction(String name, X86Register rd, ImmediateOrRegister oSrc, int size, int prefixes) { argument
44 return new X86MoveInstruction(name, rd, oSrc, size, prefixes);
47 public X86Instruction newMoveLoadInstruction(String name, X86Register op1, Address op2, int dataType, int size, int prefixes) { argument
48 return new X86MoveLoadInstruction(name, op1, op2, dataType, size, prefixe
51 newMoveStoreInstruction(String name, Address op1, X86Register op2, int dataType, int size, int prefixes) argument
55 newArithmeticInstruction(String name, int rtlOperation, Operand op1, Operand op2, Operand op3, int size, int prefixes) argument
59 newArithmeticInstruction(String name, int rtlOperation, Operand op1, Operand op2, int size, int prefixes) argument
64 newLogicInstruction(String name, int rtlOperation, Operand op1, Operand op2, int size, int prefixes) argument
68 newBranchInstruction(String name, X86PCRelativeAddress addr, int size, int prefixes) argument
72 newShiftInstruction(String name, int rtlOperation, Operand op1, ImmediateOrRegister op2, int size, int prefixes) argument
76 newRotateInstruction(String name, Operand op1, ImmediateOrRegister op2, int size, int prefixes) argument
80 newFPLoadInstruction(String name, Operand op, int size, int prefixes) argument
84 newFPStoreInstruction(String name, Operand op, int size, int prefixes) argument
88 newFPArithmeticInstruction(String name, int rtlOperation, Operand op1, Operand op2, int size, int prefixes) argument
92 newGeneralInstruction(String name, Operand op1, Operand op2, Operand op3, int size, int prefixes) argument
96 newGeneralInstruction(String name, Operand op1, Operand op2, int size, int prefixes) argument
100 newGeneralInstruction(String name, Operand op1, int size, int prefixes) argument
[all...]
/openjdk7/hotspot/src/share/vm/libadt/
H A Dvectset.cpp61 size = 2; // Small initial size
62 data = (uint32 *)_set_arena->Amalloc(size*sizeof(uint32));
87 size = s.size; // Use new size
88 data = (uint32*)s._set_arena->Amalloc(size*sizeof(uint32)); // Make array of required size
89 memcpy( data, s.data, size*sizeof(uint32) ); // Fill the array
93 // Expand the existing set to a bigger size
[all...]
/openjdk7/hotspot/src/share/vm/memory/
H A Dspace.inline.hpp37 inline HeapWord* OffsetTableContigSpace::allocate(size_t size) { argument
38 HeapWord* res = ContiguousSpace::allocate(size);
40 _offsets.alloc_block(res, size);
48 inline HeapWord* OffsetTableContigSpace::par_allocate(size_t size) { argument
58 HeapWord* res = ContiguousSpace::par_allocate(size);
60 _offsets.alloc_block(res, size);
/openjdk7/hotspot/src/share/tools/launcher/
H A Djli_util.h30 void *JLI_MemAlloc(size_t size);
31 void *JLI_MemRealloc(void *ptr, size_t size);
/openjdk7/jdk/src/share/bin/
H A Dsplashscreen.h27 int DoSplashLoadMemory(void* pdata, int size); /* requires preloading the file */
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/util/
H A DCharWriter.java37 public CharWriter(int size) { argument
38 super(size);
/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/
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))
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DAllocatedNativeObject.java39 * Allocates a memory area of at least <tt>size</tt> bytes outside of the
42 * @param size
52 AllocatedNativeObject(int size, boolean pageAligned) { argument
53 super(size, pageAligned);
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DparMarkBitMap.inline.hpp33 return mark_obj(obj, obj->size());
/openjdk7/jdk/test/java/nio/Buffer/
H A DLimitDirectMemory.java34 int size = parseSize(args[1]);
35 int incr = (args.length > 2 ? parseSize(args[2]) : size);
45 while (size >= incr) {
47 size -= incr;
71 private static int parseSize(String size) throws Exception { argument
73 if (size.equals("DEFAULT"))
75 if (size.equals("DEFAULT+1"))
77 if (size.equals("DEFAULT+1M"))
79 if (size.equals("DEFAULT-1"))
81 if (size
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicToolBarSeparatorUI.java56 Dimension size = ( (JToolBar.Separator)s ).getSeparatorSize();
58 if ( size == null || size instanceof UIResource )
61 size = (Dimension)(UIManager.get("ToolBar.separatorSize"));
62 if (size != null) {
64 size = new Dimension(size.height, size.width);
66 sep.setSeparatorSize(size);
77 Dimension size
[all...]
/openjdk7/jdk/src/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...]
/openjdk7/langtools/test/tools/javac/generics/
H A DT4695847.java35 static <T> int size(T4695847<T> bt) { method in class:T4695847
39 return 1+size(bt.next);
42 return (bt==null) ? 0 : 1+size(bt.next);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/util/
H A DCollisionCheckStack.java54 private int size = 0; field in class:CollisionCheckStack
97 if(data.length==size)
100 data[size] = o;
103 next[size] = initialHash[hash];
104 initialHash[hash] = size+1;
105 size++;
115 if(data.length==size)
117 data[size] = o;
118 next[size] = -1;
119 size
133 public int size() { method in class:CollisionCheckStack
[all...]
/openjdk7/jdk/test/javax/management/remote/mandatory/util/
H A DCacheMapTest.java58 System.out.println("CacheMap test with cache size " + cacheSize);
60 int size = 0;
62 while (map.size() == size && size < maxIterations) {
63 Integer key = new Integer(size);
74 size++;
76 System.out.println("Map size is " + map.size() + " after inserting " +
77 size
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/
H A DCellTypeStateList.java31 public CellTypeStateList(int size) { argument
32 list = new ArrayList(size);
33 for (int i = 0; i < size; i++) {
38 public int size() { method in class:CellTypeStateList
39 return list.size();
/openjdk7/jdk/test/com/sun/management/OperatingSystemMXBean/
H A DGetFreePhysicalMemorySize.java61 // Max size for pass dynamically determined below.
76 long size = mbean.getFreePhysicalMemorySize();
79 System.out.println("Free physical memory size in bytes: " + size);
82 if (size < MIN_SIZE_FOR_PASS || size > max_size_for_pass) {
83 throw new RuntimeException("Free physical memory size " +
84 "illegal value: " + size + " bytes " +
H A DGetFreeSwapSpaceSize.java56 // Min size is zero since the system can run of swap spaces
58 // Max size for pass dynamically determined below.
73 long size = mbean.getFreeSwapSpaceSize();
76 System.out.println("Free swap space size in bytes: " + size);
79 if (size < MIN_SIZE_FOR_PASS || size > max_size_for_pass) {
80 throw new RuntimeException("Free swap space size " +
81 "illegal value: " + size + " bytes " +

Completed in 169 milliseconds

1234567891011>>