Searched refs:size (Results 151 - 175 of 3453) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/util/AbstractSequentialList/
H A DAddAll.java45 public int size() { method in class:FooList
46 return a.size();
/openjdk7/jdk/test/javax/swing/MultiUIDefaults/
H A DTest6860438.java41 void check(Object key, Object value, boolean present, int size) { argument
43 check(UIManager.getDefaults().size() == size, "MultiUIDefaults.size()");
80 int size = UIManager.getDefaults().size();
82 // create a new value, size increases
84 check(KEY, VALUE, true, size + 1);
86 // override the value, size remains the same
88 check(KEY, VALUE, true, size
[all...]
/openjdk7/jdk/src/share/classes/sun/rmi/transport/proxy/
H A DHttpOutputStream.java62 if (size() == 0)
67 dos.writeBytes("Content-length: " + size() + "\r\n");
/openjdk7/jdk/test/sun/rmi/rmic/newrmic/equivalence/
H A DMyObjectImpl.java37 public MyObjectImpl(int c, int size) //MyObjectFactory mof, int c, int size) argument
42 this.data = new byte[size];
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/asm/x86/
H A DX86GeneralInstruction.java35 public X86GeneralInstruction(String name, Operand op1, Operand op2, Operand op3, int size, int prefixes) { argument
36 super(name, size, prefixes);
42 public X86GeneralInstruction(String name, Operand op1, Operand op2, int size, int prefixes) { argument
43 this(name, op1, op2, null, size, prefixes);
46 public X86GeneralInstruction(String name, Operand op1, int size, int prefixes) { argument
47 this(name, op1, null, null, size, prefixes);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DSpring.java120 * of all JavaBeans<sup><font size="-2">TM</font></sup>
207 protected int size = UNSET; field in class:Spring.AbstractSpring
210 return size != UNSET ? size : getPreferredValue();
213 public final void setValue(int size) { argument
214 if (this.size == size) {
217 if (size == UNSET) {
220 setNonClearValue(size);
225 size
228 setNonClearValue(int size) argument
291 setValue(int size) argument
490 setNonClearValue(int size) argument
507 setNonClearValue(int size) argument
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/
H A DfreeChunk.cpp39 void FreeChunk::mangleAllocated(size_t size) { argument
42 assert(size >= MinChunkSize, "smallest size of object");
43 // we can't assert that _size == size because this may be an
49 Copy::fill_to_words(addr + hdr, size - hdr, baadbabeHeapWord);
56 assert(sz >= MinChunkSize, "smallest size of object");
57 assert(sz == size(), "just checking");
67 assert(size() == nextFC->size(), "wrong size");
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A DheapRegion.inline.hpp28 inline HeapWord* G1OffsetTableContigSpace::allocate(size_t size) { argument
29 HeapWord* res = ContiguousSpace::allocate(size);
31 _offsets.alloc_block(res, size);
39 inline HeapWord* G1OffsetTableContigSpace::par_allocate(size_t size) { argument
42 HeapWord* res = ContiguousSpace::allocate(size);
44 _offsets.alloc_block(res, size);
/openjdk7/hotspot/src/share/vm/memory/
H A DresourceArea.cpp48 extern char* resource_allocate_bytes(size_t size, AllocFailType alloc_failmode) { argument
49 return Thread::current()->resource_area()->allocate_bytes(size, alloc_failmode);
51 extern char* resource_allocate_bytes(Thread* thread, size_t size, AllocFailType alloc_failmode) { argument
52 return thread->resource_area()->allocate_bytes(size, alloc_failmode);
60 extern void resource_free_bytes( char *old, size_t size ) {
61 Thread::current()->resource_area()->Afree(old, size);
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/utils/
H A DUnsyncByteArrayOutputStream.java39 private int size = INITIAL_SIZE; field in class:UnsyncByteArrayOutputStream
48 if (newPos > size) {
57 if (newPos > size) {
66 if (newPos > size) {
83 int newSize = size;
90 size = newSize;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/
H A DGifDataContentHandler.java85 int size = buf.length;
86 if (size < 256*1024)
87 size += size;
89 size += 256*1024;
90 byte tbuf[] = new byte[size];
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/fastinfoset/
H A DFastInfosetSerializer.java83 * The property name to be used for getting and setting the buffer size
87 "http://jvnet.org/fastinfoset/parser/properties/buffer-size";
106 * The default minimum size of the character content chunks,
112 * The default maximum size of the character content chunks,
118 * The default value for limit on the size of indexed Map for attribute values
124 * The default minimum size of the attribute values, that will be indexed.
129 * The default maximum size of the attribute values, that will be indexed.
134 * The default value for limit on the size of indexed Map for attribute values
231 * Gets the minimum size of character content chunks
234 * @return The minimum character content chunk size
244 setMinCharacterContentChunkSize(int size) argument
260 setMaxCharacterContentChunkSize(int size) argument
278 setCharacterContentChunkMapMemoryLimit(int size) argument
294 setMinAttributeValueSize(int size) argument
310 setMaxAttributeValueSize(int size) argument
327 setAttributeValueMapMemoryLimit(int size) argument
[all...]
/openjdk7/langtools/test/tools/apt/Compile/
H A DClassDeclApf.java83 int size = env.getSpecifiedTypeDeclarations().size();
87 switch (size) {
93 throw new RuntimeException("Got " + size + " decl's in round " + round);
104 throw new RuntimeException("Got " + size + " decl's in round " + round);
108 throw new RuntimeException("Got " + size + " decl's in round " + round);
H A DStaticApf.java70 int size = env.getSpecifiedTypeDeclarations().size();
74 switch (size) {
79 throw new RuntimeException("Got " + size + " decl's in round " + round);
88 throw new RuntimeException("Got " + size + " decl's in round " + round);
92 throw new RuntimeException("Got " + size + " decl's in round " + round);
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/
H A Dutils.h28 void* must_malloc(size_t size);
30 #define mtrace(c, ptr, size)
32 void mtrace(char c, void* ptr, size_t size);
37 #define PSIZE_MAX (OVERFLOW/2) /* normal size limit */
39 inline size_t scale_size(size_t size, size_t scale) { argument
40 return (size > PSIZE_MAX / scale) ? OVERFLOW : size * scale;
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/
H A DMiscTests.java86 int size = gctx.size;
93 g.copyArea(x, y, size, size, dx, dy);
99 g.copyArea(x, y, size, size, dx, dy);
/openjdk7/jdk/test/javax/swing/JScrollPane/
H A DTest6526631.java61 Dimension size = this.frame.getSize();
62 size.width += offset;
63 this.frame.setSize(size);
90 int size = viewport.getViewSize().width;
91 if (size != scroller.getMaximum()) {
94 int pos = size - extent - value;
/openjdk7/jdk/test/javax/swing/border/
H A DTest6910490.java49 Dimension size = new Dimension(getWidth() / 2, getHeight());
52 create("Color", size, new MatteBorder(insets, RED)),
53 create("Icon", size, new MatteBorder(insets, this)));
54 pane.setDividerLocation(size.width - pane.getDividerSize() / 2);
58 private JScrollPane create(String name, Dimension size, MatteBorder border) { argument
60 button.setPreferredSize(size);
/openjdk7/jdk/src/share/classes/sun/management/counter/perf/
H A DPerfDataType.java44 private final int size; field in class:PerfDataType
68 public int size() { method in class:PerfDataType
69 return size;
88 private PerfDataType(String name, String c, int size) { argument
90 this.size = size;
/openjdk7/hotspot/src/share/vm/services/
H A DmemPtr.hpp149 tag_size = 0x0006, // arena size
210 MemPointerRecord(address addr, MEMFLAGS memflags, size_t size = 0):
211 MemPointer(addr), _flags(memflags), _size(size) { }
215 _size(copy_from.size()) {
223 inline size_t size() const { return _size; } function in class:MemPointerRecord
224 inline void set_size(size_t size) { _size = size; } argument
238 _size = ptr.size();
258 // if this record records a size information of an arena
268 // if this record represents a size informatio
460 SeqMemPointerRecord(address addr, MEMFLAGS flags, size_t size, jint seq) argument
489 SeqMemPointerRecordEx(address addr, MEMFLAGS flags, size_t size, jint seq, address pc) argument
[all...]
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageLookUp_Bit.c183 mlib_s32 s0, size = xsize; local
206 size--;
213 mlib_ImageCopy_bit_na(sp, buff, size, boff, 0);
221 if ((mlib_addr)sa & 1 && size >= 8) {
229 for (; i <= (size - 16); i += 16) {
241 if (i <= (size - 8)) {
246 if (i < size) {
254 if (i < (size - 4)) {
262 emask = (mlib_u32)((mlib_s32)(-1)) >> ((4 - (size - i)) * 8);
264 emask = (mlib_s32)(-1) << ((4 - (size
302 mlib_s32 s0, size; local
448 mlib_s32 s0, size; local
598 mlib_s32 s0, size; local
[all...]
/openjdk7/jdk/test/com/sun/jdi/
H A DNoLocInfoTest.java108 if (refs.size() != 1) {
109 failure("Failure: " + refs.size() +
115 if (meths.size() != 1) {
116 failure("Failure: " + meths.size() +
130 "LineNumberTable.size() = " + locations.size());
144 int size = method.allLineLocations().size();
145 if (size == 0) {
146 println("Succes: LineNumberTable.size()
[all...]
/openjdk7/jdk/test/java/lang/management/ManagementFactory/
H A DPlatformMBeanServerTest.java88 if (set.size() != pools.size()) {
90 "MBeanServer has " + set.size() +
91 ". Expected = " + pools.size());
117 if (set.size() != num_mgrs) {
119 "MBeanServer has " + set.size() +
124 if (set.size() != gcs.size()) {
126 "MBeanServer has " + set.size() +
127 ". Expected = " + gcs.size());
[all...]
/openjdk7/jdk/src/share/classes/sun/management/
H A DNotificationEmitterSupport.java74 List<ListenerInfo> newList = new ArrayList<ListenerInfo>(listenerList.size() + 1);
89 for (int i=newList.size()-1; i>=0; i--) {
95 if (newList.size() == listenerList.size())
110 final int size = newList.size();
111 for (int i = 0; i < size; i++) {
149 final int size = currentList.size();
150 for (int i = 0; i < size;
[all...]
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/
H A DFileDispatcherImpl.java79 int truncate(FileDescriptor fd, long size) throws IOException { argument
80 return truncate0(fd, size);
83 long size(FileDescriptor fd) throws IOException { method in class:FileDispatcherImpl
87 int lock(FileDescriptor fd, boolean blocking, long pos, long size, argument
90 return lock0(fd, blocking, pos, size, shared);
93 void release(FileDescriptor fd, long pos, long size) throws IOException { argument
94 release0(fd, pos, size);
134 static native int truncate0(FileDescriptor fd, long size) argument
140 long size, boolean shared) throws IOException;
142 static native void release0(FileDescriptor fd, long pos, long size) argument
139 lock0(FileDescriptor fd, boolean blocking, long pos, long size, boolean shared) argument
[all...]

Completed in 98 milliseconds

1234567891011>>