Searched refs:size (Results 101 - 125 of 3453) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/util/EnumSet/
H A DLargeEnumIteratorRemoveResilience.java62 int size = set.size();
66 checkSetAfterRemoval(set, size, element);
68 size = set.size();
72 checkSetAfterRemoval(set, size, element);
83 checkSetAfterRemoval(set, size, element);
89 if (set.size() != (origSize - 1)) {
90 throw new Exception("Test FAILED: Unexpected set size after removal; expected '" + (origSize - 1) + "' but found '" + set.size()
[all...]
/openjdk7/jdk/src/share/classes/javax/xml/crypto/dsig/spec/
H A DXPathFilter2ParameterSpec.java70 int size = xPathListCopy.size();
71 for (int i = 0; i < size; i++) {
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsSplitPaneDivider.java64 Dimension size = getSize();
68 g.fillRect(0, 0, size.width, size.height);
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/
H A Dmlib_ImageCopy.h38 mlib_s32 size,
47 mlib_s32 size,
53 mlib_s32 size,
/openjdk7/jdk/src/share/native/sun/awt/debug/
H A Ddebug_mem.h49 typedef void * (*DMEM_ALLOCFN)(size_t size);
55 typedef dbool_t (*DMEM_CHECKPTRFN)(void * ptr, size_t size);
65 size_t maxHeap; /* maximum size of the debug heap */
77 extern void * DMem_AllocateBlock(size_t size, const char * filename, int linenumber);
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageCopy.h36 mlib_s32 size,
45 mlib_s32 size,
51 mlib_s32 size,
/openjdk7/jdk/test/javax/crypto/CipherSpi/
H A DDirectBBRemaining.java71 for (int size = 0; size <= testSizes; size++) {
72 boolean output = (size % outputFrequency) == 0;
74 System.out.print("\nTesting buffer size: " + size + ":");
77 int outSize = cipher.getOutputSize(size);
80 encrypt(cipher, size,
81 ByteBuffer.allocate(size),
83 ByteBuffer.allocateDirect(size),
107 encrypt(Cipher cipher, int size, ByteBuffer heapIn, ByteBuffer heapOut, ByteBuffer directIn, ByteBuffer directOut, boolean output) argument
[all...]
/openjdk7/hotspot/src/share/vm/opto/
H A Dregmask.cpp257 // Works also for size 1.
258 OptoReg::Name RegMask::find_first_set(const int size) const {
259 verify_sets(size);
264 return OptoReg::Name((i<<_LogWordBits)+find_lowest_bit(bit)+(size-1));
272 void RegMask::clear_to_sets(const int size) { argument
273 if (size == 1) return;
274 assert(2 <= size && size <= 8, "update low bits table");
275 assert(is_power_of_2(size), "sanity");
276 int low_bits_mask = low_bits[size>>
297 smear_to_sets(const int size) argument
[all...]
/openjdk7/hotspot/src/share/vm/memory/
H A Dallocation.inline.hpp32 void trace_heap_malloc(size_t size, const char* name, void *p);
51 inline char* AllocateHeap(size_t size, MEMFLAGS flags, address pc = 0, argument
56 char* p = (char*) os::malloc(size, flags, pc);
58 if (PrintMallocFree) trace_heap_malloc(size, "AllocateHeap", p);
61 vm_exit_out_of_memory(size, "AllocateHeap");
65 inline char* ReallocateHeap(char *old, size_t size, MEMFLAGS flags, argument
67 char* p = (char*) os::realloc(old, size, flags, CURRENT_PC);
69 if (PrintMallocFree) trace_heap_malloc(size, "ReallocateHeap", p);
72 vm_exit_out_of_memory(size, "ReallocateHeap");
84 template <MEMFLAGS F> void* CHeapObj<F>::operator new(size_t size, argument
95 operator new(size_t size, const std::nothrow_t& nothrow_constant, address caller_pc) argument
[all...]
H A Dallocation.hpp87 // NEW_RESOURCE_ARRAY(type,size)
89 // NEW_C_HEAP_ARRAY(type,size)
91 // char* AllocateHeap(size_t size, const char* name);
184 _NOINLINE_ void* operator new(size_t size, address caller_pc = 0);
185 _NOINLINE_ void* operator new (size_t size, const std::nothrow_t& nothrow_constant,
196 void* operator new(size_t size);
220 void* operator new(size_t size);
242 void* operator new(size_t size, AllocFailType alloc_failmode, size_t length);
258 size = 32*K - slack, // Default size o enumerator in enum:Chunk::__anon251
389 Afree(void *ptr, size_t size) argument
485 operator new(size_t size, Arena *arena) argument
490 operator new(size_t size) argument
496 operator new(size_t size, const std::nothrow_t& nothrow_constant) argument
[all...]
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_new.cpp83 // NULL and size is 0. safe_Malloc and safe_Calloc will never return 0.
84 void *safe_Malloc(size_t size) throw (std::bad_alloc) { argument
85 register void *ret_val = malloc(size);
93 void *safe_Calloc(size_t num, size_t size) throw (std::bad_alloc) { argument
94 register void *ret_val = calloc(num, size);
102 void *safe_Realloc(void *memblock, size_t size) throw (std::bad_alloc) { argument
103 register void *ret_val = realloc(memblock, size);
106 if (memblock != NULL && size == 0) {
123 void * CDECL operator new(size_t size) throw (std::bad_alloc) { argument
124 return safe_Malloc(size);
218 safe_Malloc_outofmem(size_t size, const char *file, int line) argument
225 safe_Calloc_outofmem(size_t num, size_t size, const char *file, int line) argument
232 safe_Realloc_outofmem(void *memblock, size_t size, const char *file, int line) argument
240 operator new(size_t size, const char *file, int line) argument
[all...]
/openjdk7/jdk/test/java/util/concurrent/ConcurrentHashMap/
H A DMapCheck.java62 int size = 50000;
77 size = Integer.parseInt(args[2]);
81 System.out.println("Testing " + mapClass.getName() + " trials: " + numTests + " size: " + size);
85 Object[] key = new Object[size];
86 for (int i = 0; i < size; ++i) key[i] = new Object();
88 forceMem(size * 8);
98 stest(newMap(mapClass), size);
113 int size = key.length;
221 timer.start("ContainsValue (/n) ", iters * s.size());
230 ktest(Map s, int size, Object[] key) argument
242 ittest1(Map s, int size) argument
253 ittest2(Map s, int size) argument
263 ittest3(Map s, int size) argument
274 ittest4(Map s, int size, int pos) argument
310 ittest(Map s, int size) argument
318 entest1(Hashtable ht, int size) argument
330 entest2(Hashtable ht, int size) argument
342 entest3(Hashtable ht, int size) argument
355 entest4(Hashtable ht, int size) argument
367 entest(Map s, int size) argument
381 rtest(Map s, int size) argument
390 rvtest(Map s, int size) argument
400 dtest(Map s, int size, Object[] key) argument
466 stest(Map s, int size) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/naming/ldap/
H A DLdapName.java147 this.rdns = new ArrayList(rdns.size());
148 for (int i = 0; i < rdns.size(); i++) {
178 public int size() { method in class:LdapName
179 return rdns.size();
219 * Must be in the range [0,size()).
231 * Must be in the range [0,size()).
246 * Must be in the range [0,size()].
258 "Posn: " + posn + ", Size: "+ rdns.size());
269 * Must be in the range [0,size()].
271 * components at indexes in the range [posn,size())
[all...]
/openjdk7/jdk/test/sun/security/ssl/javax/net/ssl/NewAPIs/SSLEngine/
H A DSSLEngineService.java28 * @summary Need adjustable TLS max record size for interoperability
117 int size = ssle.getSession().getPacketBufferSize();
118 if (size > localNetData.capacity()) {
120 size + " bytes for BUFFER_OVERFLOW");
121 localNetData = enlargeBuffer(localNetData, size);
193 int size = ssle.getSession().getApplicationBufferSize();
194 if (size > peerAppData.capacity()) {
196 size + " bytes for BUFFER_OVERFLOW");
197 peerAppData = enlargeBuffer(peerAppData, size);
203 size
331 enlargeBuffer(ByteBuffer buffer, int size) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serializer/utils/
H A DBoolStack.java45 /** Array size allocated */
53 * block size is very small, for small lists.
61 * Construct a IntVector, using the given block size.
63 * @param size array size to allocate
65 public BoolStack(int size) argument
68 m_allocatedSize = size;
69 m_values = new boolean[size];
78 public final int size() method in class:BoolStack
192 * Grows the size o
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/utils/
H A DBoolStack.java36 /** Array size allocated */
44 * block size is very small, for small lists.
52 * Construct a IntVector, using the given block size.
54 * @param size array size to allocate
56 public BoolStack(int size) argument
59 m_allocatedSize = size;
60 m_values = new boolean[size];
69 public final int size() method in class:BoolStack
183 * Grows the size o
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/asm/x86/
H A DX86FPInstruction.java34 public X86FPInstruction(String name, int size, int prefixes) { argument
35 super(name, size, prefixes);
40 public X86FPInstruction(String name, Operand op1, int size, int prefixes) { argument
41 super(name, size, prefixes);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/cdbg/basic/
H A DBasicDoubleType.java31 public BasicDoubleType(String name, int size) { argument
32 this(name, size, 0);
35 private BasicDoubleType(String name, int size, int cvAttributes) { argument
36 super(name, size, cvAttributes);
H A DBasicFloatType.java31 public BasicFloatType(String name, int size) { argument
32 this(name, size, 0);
35 private BasicFloatType(String name, int size, int cvAttributes) { argument
36 super(name, size, cvAttributes);
H A DBasicIntType.java33 public BasicIntType(String name, int size, boolean unsigned) { argument
34 this(name, size, unsigned, 0);
37 protected BasicIntType(String name, int size, boolean unsigned, int cvAttributes) { argument
38 super(name, size, cvAttributes);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/
H A DCIntField.java34 size = vmField.getSize();
38 private long size; field in class:CIntField
42 return obj.getHandle().getCIntegerAt(getOffset(), size, isUnsigned);
45 return addr.getCIntegerAt(getOffset(), size, isUnsigned);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/
H A DBasicObjectLock.java45 size = (int) type.getSize();
50 private static int size; field in class:BasicObjectLock
59 /** Note: Use frame::interpreter_frame_monitor_size() for the size
61 includes machine-specific padding. This routine returns a size
63 public static int size() { return size; } method in class:BasicObjectLock
H A DResultTypeFinder.java32 protected void set(int size, int type) { if (isReturnType()) this.type = type; } argument
/openjdk7/jdk/src/share/classes/javax/net/ssl/
H A DSSLSessionContext.java119 * Sets the size of the cache used for storing
123 * @param size the new session cache size limit; zero means there is no
125 * @exception IllegalArgumentException if the specified size is < 0.
128 public void setSessionCacheSize(int size) argument
132 * Returns the size of the cache used for storing
136 * @return size of the session cache; zero means there is no size limit.
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DSegmentCache.java92 int size = segments.size();
94 if (size > 0) {
95 return segments.remove(size - 1);

Completed in 161 milliseconds

1234567891011>>