Searched refs:size (Results 276 - 300 of 3453) sorted by relevance

<<11121314151617181920>>

/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DvmPSOperations.hpp38 VM_ParallelGCFailedAllocation(size_t size, unsigned int gc_count);
54 VM_ParallelGCFailedPermanentAllocation(size_t size,
/openjdk7/hotspot/src/share/vm/memory/
H A DpermGen.cpp41 HeapWord* PermGen::request_expand_and_allocate(Generation* gen, size_t size, argument
45 return gen->expand_and_allocate(size, false);
52 HeapWord* PermGen::mem_allocate_in_gen(size_t size, Generation* gen) { argument
61 if ((obj = gen->allocate(size, false)) != NULL) {
70 obj = request_expand_and_allocate(gen, size, prev_cause);
102 VM_GenCollectForPermanentAllocation op(size, gc_count_before, full_gc_count_before,
138 HeapWord* CompactingPermGen::mem_allocate(size_t size) { argument
139 return mem_allocate_in_gen(size, _gen);
/openjdk7/jdk/src/share/classes/com/sun/jndi/rmi/registry/
H A DRegistryContextFactory.java152 int size = 0; // number of URLs
153 String[] urls = new String[ref.size()];
162 urls[size++] = (String)addr.getContent();
165 if (size == 0) {
170 // Trim URL array down to size.
171 if (size == ref.size()) {
174 String[] urls2 = new String[size];
175 System.arraycopy(urls, 0, urls2, 0, size);
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DEventDispatcher.java174 if (eventQueue.size() == 0) {
175 if (autoClosingClips.size() > 0 || lineMonitors.size() > 0) {
177 if (lineMonitors.size() > 0) {
187 if (eventQueue.size() > 0) {
196 if (autoClosingClips.size() > 0) {
199 if (lineMonitors.size() > 0) {
235 || (listeners.size() == 0)) {
255 if (Printer.debug)Printer.debug("> EventDispatcher.closeAutoClosingClips ("+autoClosingClips.size()+" clips)");
257 for (int i = autoClosingClips.size()
[all...]
H A DSoftSincResampler.java60 public static float[] wHanning(int size, float offset) { argument
61 float[] window_table = new float[size];
62 for (int k = 0; k < size; k++) {
65 / (double) size) + 0.5);
71 public static float[] sincTable(int size, float offset, float scale) { argument
72 int center = size / 2;
73 float[] w = wHanning(size, offset);
74 for (int k = 0; k < size; k++)
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/util/
H A DBASE64DecoderStream.java48 private int bufsize = 0; // size of the cache
207 int size = (inbuf.length / 4) * 3;
208 if (size == 0)
212 size--;
214 size--;
216 byte[] outbuf = new byte[size];
219 size = inbuf.length;
220 while (size > 0) {
240 size -= 4;
/openjdk7/jdk/src/windows/native/com/sun/media/sound/
H A DPLATFORM_API_WinOS_Util.h51 int size; // data size per sys ex header member in struct:tag_SysExQueue
53 UBYTE* linearMem; // where the actual sys ex data is, count*size bytes
65 int MIDI_WinCreateLongBufferQueue(MidiDeviceHandle* handle, int count, int size, UBYTE* preAllocatedMem);
/openjdk7/jdk/test/java/lang/instrument/
H A DGetObjectSizeTest.java80 long size = fInst.getObjectSize(o);
81 assertTrue(size > 0);
/openjdk7/jdk/src/share/classes/sun/tools/java/
H A DMethodSet.java73 public int size() { method in class:MethodSet
103 int size = methodList.size();
104 for (int i = 0; i < size; i++) {
142 int size = methodList.size();
143 for (int i = 0; i < size; i++) {
263 int len = size();
/openjdk7/jdk/src/share/classes/sun/util/resources/
H A DTimeZoneNamesBundle.java92 protected Map createMap(int size) { argument
93 return new LinkedHashMap(size);
/openjdk7/jdk/test/java/security/cert/X509Certificate/
H A DExtKeyUsage.java43 if (extKeyUsage.size() != 1)
45 "unexpected number of entries: "+extKeyUsage.size());
/openjdk7/jdk/test/sun/nio/cs/
H A DEncodingNothing.java44 if (baos.size() != 0) {
45 System.out.printf(" Failed: output bytes=%d", baos.size());
/openjdk7/langtools/test/tools/javac/TryWithResources/
H A DDuplicateResource.java57 if (resources.size() != 1) {
58 throw new AssertionError("Expected one resource, found: " + resources.size());
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageCopy_Bit.c36 * mlib_s32 size,
41 * mlib_s32 size,
47 * size size in 8-bytes, bytes, or SHORTs
71 mlib_s32 size,
85 if (size <= 0) return;
96 if (ld_offset + size < 32) {
97 dmask = (mask0 << (32 - size)) >> ld_offset;
129 if (ls_offset + size > 32) src1 = sp[1];
132 if (ld_offset + size < 3
69 mlib_ImageCopy_bit_na(const mlib_u8 *sa, mlib_u8 *da, mlib_s32 size, mlib_s32 s_offset, mlib_s32 d_offset) argument
289 mlib_ImageCopy_bit_na_r(const mlib_u8 *sa, mlib_u8 *da, mlib_s32 size, mlib_s32 s_offset, mlib_s32 d_offset) argument
[all...]
/openjdk7/jdk/src/share/classes/java/util/
H A DAbstractList.java37 * {@link List#size() size()} methods.
42 * variable-size the programmer must additionally override the
90 * <p>This implementation calls {@code add(size(), e)}.
108 add(size(), e);
195 * of the list (with {@code listIterator(size())}). Then, it iterates
203 ListIterator<E> it = listIterator(size());
223 * <p>This implementation calls {@code removeRange(0, size())}.
234 removeRange(0, size());
273 * iterator interface, relying on the backing list's {@code size()},
616 private int size; field in class:SubList
644 public int size() { method in class:SubList
[all...]
/openjdk7/jdk/test/java/util/WeakHashMap/
H A DGCDuringIteration.java91 equal(map.size(), 0);
98 equal(map.size(), foos.length);
104 for (int i = 0; i < 10 && map.size() != first; i++)
106 equal(map.size(), first);
108 equal(map.size(), first);
119 equal(map.size(), first+1);
123 for (int i = 0; i < 10 && map.size() != first; i++)
125 equal(map.size(), first);
136 equal(map.size(), first);
141 for (int i = 0; i < 10 && map.size() !
[all...]
/openjdk7/hotspot/src/share/vm/libadt/
H A Dport.hpp156 #define malloc(size) safe_malloc(__FILE__,__LINE__,size)
158 #define realloc(ptr,size) safe_realloc(__FILE__,__LINE__,ptr,size)
159 #define calloc(nitems,size) safe_calloc(__FILE__,__LINE__,nitems,size)
161 extern void *safe_malloc (const char *file, unsigned line, unsigned size);
163 extern void *safe_calloc (const char *file, unsigned line, unsigned nitems, unsigned size);
164 extern void *safe_realloc(const char *file, unsigned line, void *ptr, unsigned size);
166 inline void *operator new( size_t size ) { retur
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicArrowButton.java42 * of all JavaBeans<sup><font size="-2">TM</font></sup>
121 int w, h, size;
167 size = Math.min((h - 4) / 3, (w - 4) / 3);
168 size = Math.max(size, 2);
169 paintTriangle(g, (w - size) / 2, (h - size) / 2,
170 size, direction, isEnabled);
181 * Returns the preferred size of the {@code BasicArrowButton}.
183 * @return the preferred size
233 paintTriangle(Graphics g, int x, int y, int size, int direction, boolean isEnabled) argument
[all...]
/openjdk7/hotspot/src/share/vm/code/
H A DcodeBlob.hpp57 int _size; // total size of CodeBlob in bytes
58 int _header_size; // size of header (depends on subclass)
59 int _relocation_size; // size of relocation
67 int _frame_size; // size of stack frame
81 CodeBlob(const char* name, int header_size, int size, int frame_complete, int locs_size);
88 int size,
133 int size() const { return _size; } function in class:VALUE_OBJ_CLASS_SPEC
170 void set_frame_size(int size) { _frame_size = size; } argument
211 BufferBlob(const char* name, int size);
257 MethodHandlesAdapterBlob(int size) argument
258 MethodHandlesAdapterBlob(int size, CodeBuffer* cb) argument
329 SingletonBlob( const char* name, CodeBuffer* cb, int header_size, int size, int frame_size, OopMapSet* oop_maps ) argument
[all...]
/openjdk7/jdk/make/tools/src/build/tools/javazic/
H A DGen.java58 int size;
101 size = transitions.size();
102 dos.writeShort((size * 8) & 0xFFFF);
104 for (int i = 0; i < size; i++) {
122 size = gmtoffset.size();
123 dos.writeShort((size * 4) & 0xFFFF);
124 for (int i = 0; i < size; i++) {
222 roi_size = roi.size();
[all...]
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DLinuxUserDefinedFileAttributeView.java65 private List<String> asList(long address, int size) { argument
69 while (pos < size) {
103 int size = 1024;
104 buffer = NativeBuffers.getNativeBuffer(size);
107 int n = flistxattr(fd, buffer.address(), size);
112 if (x.errno() == ERANGE && size < 32*1024) {
114 size *= 2;
116 buffer = NativeBuffers.getNativeBuffer(size);
132 public int size(String name) throws IOException { method in class:LinuxUserDefinedFileAttributeView
138 // fgetxattr returns size i
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/
H A DcompactibleFreeListSpace.cpp127 // a chunk of any size.
129 _smallLinearAllocBlock.set(addr, fc->size() ,
130 1024*SmallForLinearAlloc, fc->size());
168 HeapWord* CompactibleFreeListSpace::forward(oop q, size_t size, argument
174 assert(adjustObjectSize(size) == cp->space->adjust_object_size_v(size),
176 size_t adjusted_size = adjustObjectSize(size);
181 // Can't leave a nonzero size, residual fragment smaller than MinChunkSize
197 // (i.e., cp->space may no longer be "this" so adjust the size again.
200 adjusted_size = cp->space->adjust_object_size_v(size);
916 size_t size; local
958 size_t size; local
1182 size_t size = 0; local
1202 par_allocate(size_t size) argument
1208 getChunkFromSmallLinearAllocBlockRemainder(size_t size) argument
1212 allocate(size_t size) argument
1244 allocate_non_adaptive_freelists(size_t size) argument
1265 allocate_adaptive_freelists(size_t size) argument
1407 allocateScratch(size_t size) argument
1459 getChunkFromSmallLinearAllocBlock(size_t size) argument
1531 getChunkFromLinearAllocBlockRemainder( LinearAllocBlock* blk, size_t size) argument
1562 getChunkFromIndexedFreeList(size_t size) argument
1576 getChunkFromIndexedFreeListHelper(size_t size, bool replenish) argument
1667 getChunkFromDictionary(size_t size) argument
1684 getChunkFromDictionaryExact(size_t size) argument
1716 size_t size = chunk->size(); local
1731 size_t size = fc->size(); local
1752 addChunkToFreeListsAtEndRecordingStats( HeapWord* chunk, size_t size) argument
1791 addChunkToFreeLists(HeapWord* chunk, size_t size) argument
1809 addChunkAndRepairOffsetTable(HeapWord* chunk, size_t size, bool coalesced) argument
1824 size_t size = fc->size(); local
1838 size_t size = fc->size(); local
1850 size_t size = fc->size(); local
1918 size_t size = chunk->size(); local
2243 coalOverPopulated(size_t size) argument
2253 smallCoalBirth(size_t size) argument
2260 smallCoalDeath(size_t size) argument
2267 coalBirth(size_t size) argument
2277 coalDeath(size_t size) argument
2287 smallSplitBirth(size_t size) argument
2294 smallSplitDeath(size_t size) argument
2301 split_birth(size_t size) argument
2311 splitDeath(size_t size) argument
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/
H A Dmlib_v_ImageLookUpU8S32Func.c148 mlib_s32 off, size = xsize; local
152 off = (off < size) ? off : size;
156 size--;
159 if (size > 0) {
160 mlib_v_ImageLookUp_U8_S32_124_D1(sp, dp, size, tab, tab, tab, tab);
189 mlib_s32 off, size = xsize * 2; local
195 off = (off < size) ? off : size;
200 size
245 mlib_s32 off, size = xsize * 4; local
403 mlib_s32 off, size = xsize * 3; local
[all...]
/openjdk7/hotspot/src/share/vm/gc_interface/
H A DcollectedHeap.hpp131 virtual HeapWord* allocate_new_tlab(size_t size);
139 // Returns the sum of total and size if the sum does not overflow;
141 // The overflow check is performed by comparing the result of the sum against size, which is assumed to be non-zero.
142 size_t add_and_check_overflow(size_t total, size_t size);
144 // Round up total against size and return the value, if the result does not overflow;
146 // The overflow check is performed by comparing the round-up result against size, which is assumed to be non-zero.
147 size_t round_up_and_check_overflow(size_t total, size_t size);
150 inline static HeapWord* allocate_from_tlab(KlassHandle klass, Thread* thread, size_t size);
151 static HeapWord* allocate_from_tlab_slow(KlassHandle klass, Thread* thread, size_t size);
153 // Allocate an uninitialized block of the given size, o
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/util/
H A DXSGrammarPool.java62 int size = list.size();
63 if (size == 0) {
66 SchemaGrammar[] gs = (SchemaGrammar[])list.toArray(new SchemaGrammar[size]);

Completed in 99 milliseconds

<<11121314151617181920>>