Searched defs:cap (Results 1 - 22 of 22) sorted by relevance

/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/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/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/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 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 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 DBits.java632 static void reserveMemory(long size, int cap) { argument
641 if (cap <= maxMemory - totalCapacity) {
643 totalCapacity += cap;
657 if (totalCapacity + cap > maxMemory)
660 totalCapacity += cap;
666 static synchronized void unreserveMemory(long size, int cap) { argument
669 totalCapacity -= cap;
703 public ByteBuffer newDirectByteBuffer(long addr, int cap, Object ob) {
704 return new DirectByteBuffer(addr, cap, ob);
/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/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...]
H A Djni.cpp4501 jint cap = (jint) capacity; local
4502 jobject ret = env->NewObject(directByteBufferClass, directByteBufferConstructor, addr, cap);
/openjdk7/jdk/src/windows/classes/sun/java2d/d3d/
H A DD3DGraphicsDevice.java130 public final boolean isCapPresent(int cap) { argument
131 return ((d3dCaps.getCaps() & cap) != 0);
/openjdk7/jdk/src/macosx/classes/sun/java2d/opengl/
H A DCGLGraphicsConfig.java179 public final boolean isCapPresent(int cap) { argument
180 return ((oglCaps.getCaps() & cap) != 0);
511 // so we use this value to cap the total display bounds.
/openjdk7/jdk/src/windows/classes/sun/java2d/opengl/
H A DWGLGraphicsConfig.java180 public final boolean isCapPresent(int cap) { argument
181 return ((oglCaps.getCaps() & cap) != 0);
/openjdk7/jdk/src/solaris/classes/sun/java2d/opengl/
H A DGLXGraphicsConfig.java169 public final boolean isCapPresent(int cap) { argument
170 return ((oglCaps.getCaps() & cap) != 0);
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DFileChannelImpl.java765 private final int cap; field in class:FileChannelImpl.Unmapper
768 private Unmapper(long address, long size, int cap, argument
774 this.cap = cap;
780 totalCapacity += cap;
802 totalCapacity -= cap;
/openjdk7/jdk/src/share/back/
H A Dutil.c967 jvmtiCapabilities cap; local
969 error = jvmtiGetCapabilities(&cap);
970 return (error == JVMTI_ERROR_NONE && cap.can_suspend);
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWPrinterJob.java1021 protected boolean selectStylePen(int cap, int join, float width, argument
1029 switch(cap) {
1464 protected native boolean selectStylePen(long printDC, long cap, argument
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_PrintJob.cpp1838 (JNIEnv *env, jobject self, jlong printDC, jlong cap, jlong join, jfloat width,
1849 HPEN hpen = ::ExtCreatePen(PS_GEOMETRIC | PS_SOLID | (DWORD)cap
1837 Java_sun_awt_windows_WPrinterJob_selectStylePen(JNIEnv *env, jobject self, jlong printDC, jlong cap, jlong join, jfloat width, jint red, jint green, jint blue) argument
/openjdk7/jdk/test/tools/pack200/pack200-verifier/src/xmlkit/
H A DXMLKit.java2545 public void ensureExtraCapacity(int cap) { argument
2546 if (cap == 0 || hasNulls(cap + NEED_SLOP)) {
2549 setExtraCapacity(cap);
2568 public void setExtraCapacity(int cap) { argument
2572 int nlen = size + cap + NEED_SLOP + alen;
2581 assert (cap == getExtraCapacity());
3660 int cap = alen + (makeFrozen ? 0 : NEED_SLOP) + elen;
3661 Element e = new Element((String) parts[nbase], elen, cap);
3664 e.parts[cap
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/
H A DBandStructure.java402 protected abstract void setCapacity(int cap); argument
529 protected void setCapacity(int cap) { argument
530 assert(length <= cap);
531 if (cap == -1) { values = null; return; }
532 values = realloc(values, cap);
793 protected void setCapacity(int cap) { argument
795 bytes = new ByteArrayOutputStream(cap);
1264 private int cap = -1; field in class:BandStructure.MultiBand
1265 public int capacity() { return cap; }
1266 public void setCapacity(int cap) { thi argument
[all...]

Completed in 107 milliseconds