Searched refs:size (Results 51 - 75 of 3453) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/java/awt/image/
H A DDataBufferUShort.java70 * specified size.
72 * @param size The size of the <CODE>DataBuffer</CODE>.
74 public DataBufferUShort(int size) { argument
75 super(STABLE, TYPE_USHORT, size);
76 data = new short[size];
83 * banks, all of which are the specified size.
85 * @param size The size of the banks in the <CODE>DataBuffer</CODE>.
88 public DataBufferUShort(int size, in argument
112 DataBufferUShort(short dataArray[], int size) argument
138 DataBufferUShort(short dataArray[], int size, int offset) argument
166 DataBufferUShort(short dataArray[][], int size) argument
200 DataBufferUShort(short dataArray[][], int size, int offsets[]) argument
[all...]
H A DDataBuffer.java53 * size field specifies how much of the data array is available for
100 /** Usable size of all banks. */
101 protected int size; field in class:DataBuffer
112 /** Returns the size (in bits) of the data type, given a datatype tag.
114 * @return the size of the data type
127 * data type and size.
130 * @param size the size of the banks
132 protected DataBuffer(int dataType, int size) { argument
133 this(UNTRACKABLE, dataType, size);
145 DataBuffer(State initialState, int dataType, int size) argument
165 DataBuffer(int dataType, int size, int numBanks) argument
181 DataBuffer(State initialState, int dataType, int size, int numBanks) argument
202 DataBuffer(int dataType, int size, int numBanks, int offset) argument
219 DataBuffer(State initialState, int dataType, int size, int numBanks, int offset) argument
247 DataBuffer(int dataType, int size, int numBanks, int offsets[]) argument
268 DataBuffer(State initialState, int dataType, int size, int numBanks, int offsets[]) argument
[all...]
H A DDataBufferDouble.java62 * with a specified size.
64 * @param size The number of elements in the <code>DataBuffer</code>.
66 public DataBufferDouble(int size) { argument
67 super(STABLE, TYPE_DOUBLE, size);
68 data = new double[size];
76 * specified size.
78 * @param size The number of elements in each bank of the
82 public DataBufferDouble(int size, int numBanks) { argument
83 super(STABLE, TYPE_DOUBLE, size, numBanks);
86 bankdata[i] = new double[size];
107 DataBufferDouble(double dataArray[], int size) argument
132 DataBufferDouble(double dataArray[], int size, int offset) argument
155 DataBufferDouble(double dataArray[][], int size) argument
179 DataBufferDouble(double dataArray[][], int size, int offsets[]) argument
[all...]
H A DDataBufferFloat.java62 * with a specified size.
64 * @param size The number of elements in the DataBuffer.
66 public DataBufferFloat(int size) { argument
67 super(STABLE, TYPE_FLOAT, size);
68 data = new float[size];
76 * specified size.
78 * @param size The number of elements in each bank of the
83 public DataBufferFloat(int size, int numBanks) { argument
84 super(STABLE, TYPE_FLOAT, size, numBanks);
87 bankdata[i] = new float[size];
108 DataBufferFloat(float dataArray[], int size) argument
134 DataBufferFloat(float dataArray[], int size, int offset) argument
157 DataBufferFloat(float dataArray[][], int size) argument
181 DataBufferFloat(float dataArray[][], int size, int offsets[]) argument
[all...]
/openjdk7/jdk/src/share/classes/java/util/
H A DStack.java82 int len = size();
99 int len = size();
113 return size() == 0;
134 return size() - i;
/openjdk7/hotspot/src/share/tools/launcher/
H A Djli_util.c37 * Returns a pointer to a block of at least 'size' bytes of memory.
41 JLI_MemAlloc(size_t size) argument
43 void *p = malloc(size);
52 * Equivalent to realloc(size).
56 JLI_MemRealloc(void *ptr, size_t size) argument
58 void *p = realloc(ptr, size);
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DFileDispatcher.java39 abstract int truncate(FileDescriptor fd, long size) throws IOException; argument
41 abstract long size(FileDescriptor fd) throws IOException; method in class:FileDispatcher
43 abstract int lock(FileDescriptor fd, boolean blocking, long pos, long size, argument
46 abstract void release(FileDescriptor fd, long pos, long size) argument
/openjdk7/jdk/src/share/classes/javax/swing/colorchooser/
H A DCenterLayout.java44 Dimension size = c.getPreferredSize();
46 size.width += insets.left + insets.right;
47 size.height += insets.top + insets.bottom;
48 return size;
64 Dimension size = c.getSize();
69 int componentLeft = (containerSize.width / 2) - (size.width / 2);
70 int componentTop = (containerSize.height / 2) - (size.height / 2);
74 c.setBounds( componentLeft, componentTop, size.width, size.height );
/openjdk7/jdk/test/java/util/EnumSet/
H A DSmallEnumIteratorRemoveResilience.java51 int size = set.size();
55 checkSetAfterRemoval(set, size, element);
57 size = set.size();
61 checkSetAfterRemoval(set, size, element);
72 checkSetAfterRemoval(set, size, element);
78 if (set.size() != (origSize - 1)) {
79 throw new Exception("Test FAILED: Unexpected set size after removal; expected '" + (origSize - 1) + "' but found '" + set.size()
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/border/
H A DStrokeBorder.java90 * with the specified position and size.
107 float size = this.stroke.getLineWidth();
108 if (size > 0.0f) {
116 g2d.draw(new Rectangle2D.Float(x + size / 2, y + size / 2, width - size, height - size));
139 int size = (int) Math.ceil(this.stroke.getLineWidth());
140 insets.set(size, size, siz
[all...]
/openjdk7/hotspot/src/share/vm/gc_interface/
H A DcollectedHeap.inline.hpp124 HeapWord* CollectedHeap::common_mem_allocate_noinit(KlassHandle klass, size_t size, TRAPS) { argument
137 result = allocate_from_tlab(klass, THREAD, size);
145 result = Universe::heap()->mem_allocate(size,
149 check_for_non_bad_heap_word_value(result, size));
152 THREAD->incr_allocated_bytes(size * HeapWordSize);
154 AllocTracer::send_allocation_outside_tlab_event(klass, size * HeapWordSize);
185 HeapWord* CollectedHeap::common_mem_allocate_init(KlassHandle klass, size_t size, TRAPS) { argument
186 HeapWord* obj = common_mem_allocate_noinit(klass, size, CHECK_NULL);
187 init_obj(obj, size);
192 HeapWord* CollectedHeap::common_permanent_mem_allocate_noinit(size_t size, TRAP argument
228 common_permanent_mem_allocate_init(size_t size, TRAPS) argument
234 allocate_from_tlab(KlassHandle klass, Thread* thread, size_t size) argument
245 init_obj(HeapWord* obj, size_t size) argument
253 obj_allocate(KlassHandle klass, int size, TRAPS) argument
263 array_allocate(KlassHandle klass, int size, int length, TRAPS) argument
276 array_allocate_nozero(KlassHandle klass, int size, int length, TRAPS) argument
293 permanent_obj_allocate(KlassHandle klass, int size, TRAPS) argument
301 permanent_obj_allocate_no_klass_install(KlassHandle klass, int size, TRAPS) argument
316 permanent_array_allocate(KlassHandle klass, int size, int length, TRAPS) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsToolBarSeparatorUI.java51 Dimension size = ((JToolBar.Separator)c).getSeparatorSize();
53 if (size != null) {
54 size = size.getSize();
56 size = new Dimension(6, 6);
62 size.width = skin.getWidth();
63 size.height = skin.getHeight();
67 size.height = 0;
69 size.width = 0;
72 return size;
[all...]
/openjdk7/jdk/test/com/sun/jdi/
H A DAllLineLocations.java74 if (list.size() != 1) {
77 if (rt.locationsOfLine(5000).size() != 0) {
88 if (method.locationsOfLine(5000).size() != 0) {
98 if (list.size() != 1) {
101 if (rt.locationsOfLine(5000).size() != 0) {
112 if (method.locationsOfLine(5000).size() != 0) {
122 if (list.size() != 0) {
136 if (list.size() != 5) {
147 if ((list.size() != 1) ||
151 if (method.locationsOfLine(20).size() !
[all...]
/openjdk7/jaxp/src/com/sun/xml/internal/stream/util/
H A DBufferAllocator.java53 public char[] getCharBuffer(int size) { argument
54 if (size <= SMALL_SIZE_LIMIT) {
59 else if (size <= MEDIUM_SIZE_LIMIT) {
64 else if (size <= LARGE_SIZE_LIMIT) {
87 public byte[] getByteBuffer(int size) { argument
88 if (size <= SMALL_SIZE_LIMIT) {
93 else if (size <= MEDIUM_SIZE_LIMIT) {
98 else if (size <= LARGE_SIZE_LIMIT) {
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/asm/x86/
H A DX86PCRelativeAddress.java39 public void setInstructionSize(int size) { argument
40 instrSize = size;
49 //So we add the size of current instruction to get the correct disp.
/openjdk7/jdk/src/share/classes/javax/swing/plaf/
H A DFontUIResource.java42 * of all JavaBeans<sup><font size="-2">TM</font></sup>
52 public FontUIResource(String name, int style, int size) { argument
53 super(name, style, size);
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/
H A DcopyFailedInfo.hpp40 virtual void register_copy_failure(size_t size) { argument
42 _first_size = size;
43 _smallest_size = size;
44 } else if (size < _smallest_size) {
45 _smallest_size = size;
47 _total_size += size;
71 void register_copy_failure(size_t size) { argument
72 CopyFailedInfo::register_copy_failure(size);
/openjdk7/jdk/src/macosx/native/jobjc/src/core/java/com/apple/jobjc/
H A DMacOSXFramework.java31 private static native void getConstant(final long frameworkPtr, String symbol, final long bufferPtr, final int size); argument
60 protected void getConstant(final String symbol, final long retValPtr, final int size){ argument
61 assert size >= 0;
63 getConstant(getFrameworkPtr(), symbol, retValPtr, size);
66 protected void getConstant(final String symbol, final NativeArgumentBuffer out, final int size){ argument
67 getConstant(symbol, out.retValPtr, size);
70 protected void getConstant(final String symbol, final Struct out, final int size){ argument
71 getConstant(symbol, out.raw.bufferPtr, size);
/openjdk7/hotspot/test/compiler/6795161/
H A DTest.java35 static void badFunc(int size) argument
38 for (int i = 0; i < 1; (new byte[size-i])[0] = 0, i++) {}
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/
H A DJArray.java38 private final JExpression size; field in class:JArray
51 JArray(JType type, JExpression size) { argument
53 this.size = size;
69 if (size != null)
70 f.g(size);
76 if ((size == null) || (exprs != null))
83 if ((size == null) || (exprs != null))
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/
H A Dmlib_v_ImageCopy_f.h37 mlib_s32 size);
48 mlib_s32 size);
/openjdk7/jdk/test/java/io/DataOutputStream/
H A DWriteUTF.java37 if (baos.size() != dos.size())
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_tag.c80 jint size, SiteIndex site_index)
87 object_index = object_new(site_index, size, kind, thread_serial_num);
105 jint size; local
110 /* If we don't know the size of a java.lang.Class object, get it */
111 size = gdata->system_class_size;
112 if ( size == 0 ) {
113 size = (jint)getObjectSize(klass);
114 gdata->system_class_size = size;
121 object_index = object_new(site_index, size, OBJECT_CLASS,
79 tag_new_object(jobject object, ObjectKind kind, SerialNumber thread_serial_num, jint size, SiteIndex site_index) argument
/openjdk7/jdk/src/share/classes/sun/security/krb5/
H A DConfounder.java42 public static byte[] bytes(int size) { argument
43 byte[] data = new byte[size];
/openjdk7/hotspot/src/share/vm/utilities/
H A Dsizes.hpp52 // These classes should help doing a transition from (currently) word-size based offsets
53 // to byte-size based offsets in the VM (this will be important if we desire to pack
68 ByteSize(int size) { _size = size; } argument
72 inline friend ByteSize in_ByteSize(int size);
91 inline ByteSize in_ByteSize(int size) { return ByteSize(size); } argument
100 WordSize(int size) { _size = size; } argument
104 inline friend WordSize in_WordSize(int size);
123 in_WordSize(int size) argument
138 in_ByteSize(int size) argument
142 in_WordSize(int size) argument
[all...]

Completed in 451 milliseconds

1234567891011>>