Searched refs:size (Results 201 - 225 of 3453) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/java/io/
H A DByteArrayOutputStream.java59 * initially 32 bytes, though its size increases if necessary.
67 * the specified size, in bytes.
69 * @param size the initial size.
70 * @exception IllegalArgumentException if size is negative.
72 public ByteArrayOutputStream(int size) { argument
73 if (size < 0) {
74 throw new IllegalArgumentException("Negative initial size: "
75 + size);
77 buf = new byte[size];
188 public synchronized int size() { method in class:ByteArrayOutputStream
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/
H A DcmsPermGen.cpp53 HeapWord* CMSPermGen::mem_allocate(size_t size) { argument
58 return mem_allocate_in_gen(size, _gen);
60 return mem_allocate_in_gen(size, _gen);
65 size_t size,
67 HeapWord* obj = gen->expand_and_allocate(size, false);
64 request_expand_and_allocate(Generation* gen, size_t size, GCCause::Cause prev_cause ) argument
/openjdk7/jdk/src/share/classes/com/sun/jndi/dns/
H A DResourceRecords.java80 if (answer.size() == 0) {
91 if (answer.size() == 0) {
113 pos += rr.size();
120 pos += rr.size();
130 pos += rr.size();
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/utils/
H A DUnsyncBufferedOutputStream.java35 static final int size=8*1024; field in class:UnsyncBufferedOutputStream
38 return new byte[size];
59 if (newLen> size) {
61 if (len>size) {
80 if (pointer>= size) {
/openjdk7/jdk/src/macosx/classes/sun/java2d/
H A DDataBufferNIOInt.java41 * and the specified size.
43 * @param size The size of the <CODE>DataBuffer</CODE>.
45 public DataBufferNIOInt(int size) { argument
46 super(TYPE_INT,size);
48 data = getBufferOfSize(size * 4).asIntBuffer();
151 ByteBuffer getBufferOfSize(int size) argument
153 ByteBuffer buffer = ByteBuffer.allocateDirect(size);
/openjdk7/jdk/src/macosx/native/com/sun/media/sound/
H A DPLATFORM_API_MacOSX_Utils.cpp75 UInt32 size; local
76 err = GetAudioObjectPropertySize(kAudioObjectSystemObject, kAudioObjectPropertyScopeGlobal, kAudioHardwarePropertyDevices, &size);
78 devices = (AudioDeviceID *)malloc(size);
79 err = GetAudioObjectProperty(kAudioObjectSystemObject, kAudioObjectPropertyScopeGlobal, kAudioHardwarePropertyDevices, &size, devices);
81 count = size/sizeof(AudioDeviceID);
191 UInt32 size, i; local
194 err = GetAudioObjectPropertySize(deviceID, scope, kAudioDevicePropertyStreamConfiguration, &size);
198 AudioBufferList *pBufferList = (AudioBufferList *)malloc(size);
199 memset(pBufferList, 0, size);
200 err = GetAudioObjectProperty(deviceID, scope, kAudioDevicePropertyStreamConfiguration, &size, pBufferLis
231 GetAudioObjectPropertySize(AudioObjectID object, AudioObjectPropertyScope scope, AudioObjectPropertySelector prop, UInt32 *size) argument
241 GetAudioObjectProperty(AudioObjectID object, AudioObjectPropertyScope scope, AudioObjectPropertySelector prop, UInt32 *size, void *data) argument
251 GetAudioObjectProperty(AudioObjectID object, AudioObjectPropertyScope scope, AudioObjectPropertySelector prop, UInt32 size, void *data, int checkSize) argument
265 SetAudioObjectProperty(AudioObjectID object, AudioObjectPropertyScope scope, AudioObjectPropertySelector prop, UInt32 size, void *data) argument
[all...]
/openjdk7/hotspot/src/share/vm/shark/
H A DsharkCodeBuffer.hpp60 void* malloc(size_t size) const {
63 masm()->advance(size);
86 int inline_data(void *src, size_t size) const {
90 masm()->advance(size);
91 memcpy(dst, src, size);
/openjdk7/hotspot/test/compiler/6724218/
H A DTest.java36 static int size = 0; field in class:Test
44 size -= 1;
57 if (size == 0) {
69 size += 1;
77 } else if (size > 0) {
/openjdk7/jdk/test/com/sun/jdi/
H A DInstancesTest.java175 System.out.println( allClasses.size() +
207 if (noInstances.size() != InstancesTarg.TARG_COUNT + 1) {
208 failure("failure: instances(0): " + noInstances.size() + ", for " + targetClass);
211 if (noInstances.size() != 1) {
212 failure("failure: instances(1): " + noInstances.size() + ", for " + targetClass);
236 int size = 0;
237 List<ToSort> sorted = new ArrayList(allClasses.size());
238 for (int ii = 0; ii < allClasses.size(); ii++) {
240 size += counts[ii];
246 " classes got " + size
[all...]
/openjdk7/jdk/test/java/beans/XMLEncoder/
H A Djava_awt_CardLayout.java70 int size = a.size();
71 if (size != b.size()) {
74 for (int i = 0; i < size; i++) {
/openjdk7/jdk/src/share/native/sun/awt/debug/
H A Ddebug_mem.c42 MAX_GUARD_BYTES = 8, /* size of guard areas on either side of a block */
50 size_t size; /* size of the allocation */ member in struct:MemoryBlockHeader
81 static void * DMem_ClientAllocate(size_t size) { argument
83 return (*DMemGlobalState.pfnAlloc)(size);
85 return malloc(size);
95 static dbool_t DMem_ClientCheckPtr(void * ptr, size_t size) { argument
97 return (*DMemGlobalState.pfnCheckPtr)(ptr, size);
138 DASSERTMSG( header->size <= DMemGlobalState.biggestBlock, "Header corruption, block size i
198 DMem_AllocateBlock(size_t size, const char * filename, int linenumber) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/crypto/
H A DHmacMd5ArcFourCksumType.java70 public byte[] calculateChecksum(byte[] data, int size) { argument
77 * @param size length of the data.
81 public byte[] calculateKeyedChecksum(byte[] data, int size, byte[] key, argument
85 return ArcFourHmac.calculateChecksum(key, usage, data, 0, size);
96 * @param size the length of data.
101 public boolean verifyKeyedChecksum(byte[] data, int size, argument
106 data, 0, size);
H A DHmacSha1Aes128CksumType.java70 public byte[] calculateChecksum(byte[] data, int size) { argument
77 * @param size length of the data.
81 public byte[] calculateKeyedChecksum(byte[] data, int size, byte[] key, argument
85 return Aes128.calculateChecksum(key, usage, data, 0, size);
96 * @param size the length of data.
101 public boolean verifyKeyedChecksum(byte[] data, int size, argument
106 data, 0, size);
H A DHmacSha1Aes256CksumType.java70 public byte[] calculateChecksum(byte[] data, int size) { argument
77 * @param size length of the data.
81 public byte[] calculateKeyedChecksum(byte[] data, int size, byte[] key, argument
85 return Aes256.calculateChecksum(key, usage, data, 0, size);
96 * @param size the length of data.
101 public boolean verifyKeyedChecksum(byte[] data, int size, argument
106 0, size);
H A DHmacSha1Des3KdCksumType.java64 public byte[] calculateChecksum(byte[] data, int size) { argument
71 * @param size length of the data.
75 public byte[] calculateKeyedChecksum(byte[] data, int size, byte[] key, argument
79 return Des3.calculateChecksum(key, usage, data, 0, size);
90 * @param size the length of data.
95 public boolean verifyKeyedChecksum(byte[] data, int size, argument
100 data, 0, size);
/openjdk7/jdk/test/java/util/concurrent/ConcurrentHashMap/
H A DtoArray.java51 int size = a.length;
52 if (size < prevSize) throw new RuntimeException("WRONG WAY");
53 if (size > maxSize) throw new RuntimeException("OVERSHOOT");
54 if (size == maxSize) return true;
55 prevSize = size;
/openjdk7/jdk/src/share/classes/sun/misc/
H A DLRUCache.java36 private final int size; field in class:LRUCache
38 public LRUCache(int size) { argument
39 this.size = size;
55 oa = (V[])new Object[size];
/openjdk7/jdk/test/java/util/Map/
H A DCollisions.java80 private static Object[][] makeTestData(int size) { argument
81 HashableInteger UNIQUE_OBJECTS[] = new HashableInteger[size];
82 HashableInteger COLLIDING_OBJECTS[] = new HashableInteger[size];
83 String UNIQUE_STRINGS[] = new String[size];
84 String COLLIDING_STRINGS[] = new String[size];
86 for (int i = 0; i < size; i++) {
202 check("map empty", (map.size() == 0) && map.isEmpty());
205 check(String.format("insertion: map expected size m%d != i%d", map.size(), i),
206 map.size()
[all...]
/openjdk7/hotspot/src/share/tools/launcher/
H A Dwildcard.c225 int size; member in struct:FileList_
236 fl->size = 0;
246 for (i = 0; i < fl->size; i++) {
260 for (i = 0; i < fl->size; i++)
282 FileList_ensureCapacity(fl, fl->size+1);
283 fl->files[fl->size++] = file;
292 FileList_ensureCapacity(fl, fl->size+1);
293 fl->files[fl->size++] = filename;
300 int size; local
303 for (i = 0, size
[all...]
/openjdk7/jdk/src/share/bin/
H A Dwildcard.c225 int size; member in struct:FileList_
236 fl->size = 0;
248 for (i = 0; i < fl->size; i++)
270 FileList_ensureCapacity(fl, fl->size+1);
271 fl->files[fl->size++] = file;
280 FileList_ensureCapacity(fl, fl->size+1);
281 fl->files[fl->size++] = filename;
288 int size; local
291 for (i = 0, size = 1; i < fl->size;
[all...]
/openjdk7/jdk/src/share/classes/java/util/
H A DPriorityQueue.java46 * <i>capacity</i> governing the size of an array used to store the
48 * size. As elements are added to a priority queue, its capacity
70 * ({@code peek}, {@code element}, and {@code size}).
100 private int size = 0; field in class:PriorityQueue
233 this.size = c.size();
250 this.size = a.length;
264 * The maximum size of array to allocate.
267 * OutOfMemoryError: Requested array size exceeds VM limit
278 // Double size i
554 public int size() { method in class:PriorityQueue
[all...]
H A DJumboEnumSet.java47 private int size = 0; field in class:JumboEnumSet
67 size = to.ordinal() - from.ordinal() + 1;
74 size = universe.length;
81 size = universe.length - size;
146 size--;
157 public int size() { method in class:JumboEnumSet
158 return size;
167 return size == 0;
207 size
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/compiler/
H A DOpMapVector.java41 /** Position where size of array is kept */
48 * Construct a OpMapVector, using the given block size.
78 * than the current size of the vector.
103 * Reset the array to the supplied size. No checking is done.
105 * @param size The size to trim to.
107 public final void setToSize(int size) { argument
109 int newMap[] = new int[size];
113 m_mapSize = size;
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/orbutil/
H A DDenseIntMapImpl.java53 if (key < list.size())
71 if (index >= list.size()) {
73 int max = list.size() ;
/openjdk7/jdk/src/share/classes/javax/swing/
H A DOverlayLayout.java34 * of each other. The requested size of the container
35 * will be the largest requested size of the children,
48 * of all JavaBeans<sup><font size="-2">TM</font></sup>
140 Dimension size = new Dimension(xTotal.preferred, yTotal.preferred);
142 size.width += insets.left + insets.right;
143 size.height += insets.top + insets.bottom;
144 return size;
160 Dimension size = new Dimension(xTotal.minimum, yTotal.minimum);
162 size.width += insets.left + insets.right;
163 size
[all...]

Completed in 103 milliseconds

1234567891011>>