Searched refs:cap (Results 1 - 25 of 54) sorted by relevance

123

/openjdk7/jdk/src/share/classes/java/awt/
H A DBasicStroke.java155 int cap; field in class:BasicStroke
169 * @param cap the decoration of the ends of a <code>BasicStroke</code>
176 * @throws IllegalArgumentException if <code>cap</code> is not either
189 public BasicStroke(float width, int cap, int join, float miterlimit, argument
194 if (cap != CAP_BUTT && cap != CAP_ROUND && cap != CAP_SQUARE) {
195 throw new IllegalArgumentException("illegal end cap value");
222 this.cap = cap;
246 BasicStroke(float width, int cap, int join, float miterlimit) argument
264 BasicStroke(float width, int cap, int join) argument
[all...]
/openjdk7/jdk/test/java/lang/StringBuilder/
H A DEnsureCapacity.java50 int cap = sb.capacity();
54 checkCapacity(cap, sb.capacity());
67 int cap = sb.capacity();
71 checkCapacity(cap, sb.capacity());
/openjdk7/hotspot/src/share/vm/prims/
H A DjvmtiManageCapabilities.cpp375 void JvmtiManageCapabilities:: print(const jvmtiCapabilities* cap) { argument
377 if (cap->can_tag_objects)
379 if (cap->can_generate_field_modification_events)
381 if (cap->can_generate_field_access_events)
383 if (cap->can_get_bytecodes)
385 if (cap->can_get_synthetic_attribute)
387 if (cap->can_get_owned_monitor_info)
389 if (cap->can_get_current_contended_monitor)
391 if (cap->can_get_monitor_info)
393 if (cap
[all...]
/openjdk7/jdk/test/java/util/ArrayList/
H A DEnsureCapacity.java60 int cap = vector.capacity();
62 checkCapacity(cap, vector.capacity());
/openjdk7/jdk/src/share/classes/sun/java2d/opengl/
H A DOGLGraphicsConfig.java42 boolean isCapPresent(int cap); argument
/openjdk7/jdk/src/share/classes/sun/misc/
H A DJavaNioAccess.java45 * at the given memory address and and extending {@code cap} bytes.
49 ByteBuffer newDirectByteBuffer(long addr, int cap, Object ob); argument
/openjdk7/hotspot/test/gc/6941923/
H A Dtest6941923.sh63 int cap = 20000;
66 Vector< byte[] > v = new Vector< byte[] >(cap);
71 if (loop > cap) {
73 cap *= 2;
74 if (cap > 80000) cap = 80000;
75 v = new Vector< byte[] >(cap);
/openjdk7/jdk/src/share/classes/sun/net/www/http/
H A DHttpCaptureInputStream.java38 public HttpCaptureInputStream(InputStream in, HttpCapture cap) { argument
40 capture = cap;
H A DHttpCaptureOutputStream.java38 public HttpCaptureOutputStream(OutputStream out, HttpCapture cap) { argument
40 capture = cap;
/openjdk7/jdk/src/share/classes/java/nio/
H A DMappedByteBuffer.java81 MappedByteBuffer(int mark, int pos, int lim, int cap, // package-private argument
84 super(mark, pos, lim, cap);
88 MappedByteBuffer(int mark, int pos, int lim, int cap) { // package-private argument
89 super(mark, pos, lim, cap);
H A DDirect-X-Buffer.java.template117 Direct$Type$Buffer$RW$(int cap) { // package-private
119 super(-1, 0, cap, cap);
122 long size = Math.max(1L, (long)cap + (pa ? ps : 0));
123 Bits.reserveMemory(size, cap);
129 Bits.unreserveMemory(size, cap);
139 cleaner = Cleaner.create(this, new Deallocator(base, size, cap));
142 super(cap);
151 Direct$Type$Buffer(long addr, int cap, Object ob) {
152 super(-1, 0, cap, ca
[all...]
H A DBuffer.java189 Buffer(int mark, int pos, int lim, int cap) { // package-private argument
190 if (cap < 0)
191 throw new IllegalArgumentException("Negative capacity: " + cap);
192 this.capacity = cap;
H A DStringCharBuffer.java57 int cap,
59 super(mark, pos, limit, cap, null, offset);
53 StringCharBuffer(CharSequence s, int mark, int pos, int limit, int cap, int offset) argument
H A DByteBufferAs-X-Buffer.java.template49 int cap = this.capacity();
50 this.limit(cap);
52 assert (pos <= cap);
60 int mark, int pos, int lim, int cap,
64 super(mark, pos, lim, cap);
68 super(bb, mark, pos, lim, cap, off);
/openjdk7/jdk/src/share/classes/java/util/
H A DAbstractCollection.java222 int cap = r.length;
223 if (i == cap) {
224 int newCap = cap + (cap >> 1) + 1;
227 newCap = hugeCapacity(cap + 1);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/util/
H A DByteOutputStream.java76 int cap = buf.length-count;
77 int sz = in.read(buf,count,cap);
81 if(cap==sz)
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/
H A DByteArrayBuffer.java104 int cap = buf.length-count; // the remaining buffer space
105 int sz = in.read(buf,count,cap);
110 if(cap==sz)
/openjdk7/jdk/test/java/lang/management/BufferPoolMXBean/
H A DBasic.java78 int cap = 1024 + rand.nextInt(4096);
79 buffers.add( ByteBuffer.allocateDirect(cap) );
80 totalCapacity += cap;
/openjdk7/jdk/test/sun/java2d/pipe/hw/RSLAPITest/
H A DRSLAPITest.java190 private static void testVICreation(AccelGraphicsConfig agc, int cap, argument
198 if ((cap & caps) != 0) {
200 System.out.printf("Failed: cap=%d is supported but " +
201 "image wasn't created\n", cap);
203 "for supported cap");
219 "created for cap=%d\n", type, cap);
239 "created for cap=%d but accel surface is null\n",
240 type, cap);
246 "unsupported cap
[all...]
/openjdk7/jdk/src/share/native/sun/java2d/opengl/
H A DOGLContext.h144 #define OGLC_IS_CAP_PRESENT(oglc, cap) (((oglc)->caps & (cap)) != 0)
/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DRequest.java385 int cap = buf.capacity();
386 if (cap < len) {
387 int diff = len - cap;
388 buf = ByteBuffer.allocate (2*(cap+diff));
/openjdk7/jdk/test/java/nio/Buffer/
H A DBasicChar.java147 final int cap = 10;
149 CharBuffer direct1 = ByteBuffer.allocateDirect(cap).asCharBuffer();
150 CharBuffer nondirect1 = ByteBuffer.allocate(cap).asCharBuffer();
153 CharBuffer direct2 = ByteBuffer.allocateDirect(cap).asCharBuffer();
154 CharBuffer nondirect2 = ByteBuffer.allocate(cap).asCharBuffer();
157 CharBuffer direct3 = ByteBuffer.allocateDirect(cap).asCharBuffer();
158 CharBuffer direct4 = ByteBuffer.allocateDirect(cap).asCharBuffer();
161 CharBuffer nondirect3 = ByteBuffer.allocate(cap).asCharBuffer();
162 CharBuffer nondirect4 = ByteBuffer.allocate(cap).asCharBuffer();
H A DBasicDouble.java147 final int cap = 10;
149 DoubleBuffer direct1 = ByteBuffer.allocateDirect(cap).asDoubleBuffer();
150 DoubleBuffer nondirect1 = ByteBuffer.allocate(cap).asDoubleBuffer();
153 DoubleBuffer direct2 = ByteBuffer.allocateDirect(cap).asDoubleBuffer();
154 DoubleBuffer nondirect2 = ByteBuffer.allocate(cap).asDoubleBuffer();
157 DoubleBuffer direct3 = ByteBuffer.allocateDirect(cap).asDoubleBuffer();
158 DoubleBuffer direct4 = ByteBuffer.allocateDirect(cap).asDoubleBuffer();
161 DoubleBuffer nondirect3 = ByteBuffer.allocate(cap).asDoubleBuffer();
162 DoubleBuffer nondirect4 = ByteBuffer.allocate(cap).asDoubleBuffer();
H A DBasicFloat.java147 final int cap = 10;
149 FloatBuffer direct1 = ByteBuffer.allocateDirect(cap).asFloatBuffer();
150 FloatBuffer nondirect1 = ByteBuffer.allocate(cap).asFloatBuffer();
153 FloatBuffer direct2 = ByteBuffer.allocateDirect(cap).asFloatBuffer();
154 FloatBuffer nondirect2 = ByteBuffer.allocate(cap).asFloatBuffer();
157 FloatBuffer direct3 = ByteBuffer.allocateDirect(cap).asFloatBuffer();
158 FloatBuffer direct4 = ByteBuffer.allocateDirect(cap).asFloatBuffer();
161 FloatBuffer nondirect3 = ByteBuffer.allocate(cap).asFloatBuffer();
162 FloatBuffer nondirect4 = ByteBuffer.allocate(cap).asFloatBuffer();
H A DBasicInt.java147 final int cap = 10;
149 IntBuffer direct1 = ByteBuffer.allocateDirect(cap).asIntBuffer();
150 IntBuffer nondirect1 = ByteBuffer.allocate(cap).asIntBuffer();
153 IntBuffer direct2 = ByteBuffer.allocateDirect(cap).asIntBuffer();
154 IntBuffer nondirect2 = ByteBuffer.allocate(cap).asIntBuffer();
157 IntBuffer direct3 = ByteBuffer.allocateDirect(cap).asIntBuffer();
158 IntBuffer direct4 = ByteBuffer.allocateDirect(cap).asIntBuffer();
161 IntBuffer nondirect3 = ByteBuffer.allocate(cap).asIntBuffer();
162 IntBuffer nondirect4 = ByteBuffer.allocate(cap).asIntBuffer();

Completed in 120 milliseconds

123