/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/functions/ |
H A D | FuncCeiling.java | 47 return new XNumber(Math.ceil(m_arg0.execute(xctxt).num()));
|
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | Dimension.java | 154 this.width = (int) Math.ceil(width); 155 this.height = (int) Math.ceil(height);
|
/openjdk7/jdk/src/share/native/java/lang/fdlibm/src/ |
H A D | s_ceil.c | 28 * ceil(x) 33 * Inexact flag raised if x not equal to ceil(x). 45 double ceil(double x) function 47 double ceil(x)
|
/openjdk7/jdk/src/share/classes/java/awt/font/ |
H A D | GlyphVector.java | 275 int r = (int)Math.ceil(rect.getMaxX() + x); 276 int b = (int)Math.ceil(rect.getMaxY() + y); 563 int r = (int)Math.ceil(rect.getMaxX() + x); 564 int b = (int)Math.ceil(rect.getMaxY() + y);
|
/openjdk7/jdk/src/share/native/sun/awt/medialib/ |
H A D | mlib_SysMath.h | 40 #define mlib_ceil ceil
|
/openjdk7/jdk/src/macosx/classes/sun/java2d/opengl/ |
H A D | CGLSurfaceData.java | 190 x = (int) Math.ceil(coords[0] - 0.5); 191 y = (int) Math.ceil(coords[1] - 0.5); 192 w = ((int) Math.ceil(coords[2] - 0.5)) - x; 193 h = ((int) Math.ceil(coords[3] - 0.5)) - y; 194 dx = ((int) Math.ceil(coords[4] - 0.5)) - x; 195 dy = ((int) Math.ceil(coords[5] - 0.5)) - y;
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | TablePrintable.java | 250 headerTextSpace = (int)Math.ceil(hRect.getHeight()); 261 footerTextSpace = (int)Math.ceil(fRect.getHeight()); 430 tx = -(int)(Math.ceil(rect.getWidth()) - imgWidth); 433 int ty = (int)Math.ceil(Math.abs(rect.getY()));
|
/openjdk7/jdk/src/share/native/java/lang/fdlibm/include/ |
H A D | jfdlibm.h | 52 #define ceil jceil macro
|
H A D | fdlibm.h | 139 extern double ceil __P((double));
|
/openjdk7/jdk/src/share/native/sun/java2d/loops/ |
H A D | ParallelogramUtils.h | 50 bmax = (jint) ceil(vmax); \
|
H A D | ScaledBlit.c | 169 * not very significant (floor, floor(x+.5), or ceil(x-.5)), but the 170 * ceil(x-.5) version is used for consistency with the way that pixel 174 #define SRCLOC(id, fo, sf) (ceil((((id) + 0.5) - (fo)) * (sf) - 0.5)) 220 jint dstloc = (jint) ceil(dblorigin + srctarget / scale - 0.5); 387 idx1 = (jint) ceil(ddx1 - 0.5); 388 idy1 = (jint) ceil(ddy1 - 0.5);
|
H A D | MaskFill.c | 119 jint rx1 = (jint) ceil(x1); 120 jint ry1 = (jint) ceil(y1); 382 pEdge->xnextx = nextx = ceil(x) - 1.0; 699 iy2 = (jint) ceil(y0 + dy1 + dy2); 991 iy2 = (jint) ceil(oy0 + dy1 + ldy1 + dy2 + ldy2);
|
/openjdk7/jdk/src/share/classes/java/awt/geom/ |
H A D | RectangularShape.java | 345 double x2 = Math.ceil(x + width); 346 double y2 = Math.ceil(y + height);
|
H A D | ArcIterator.java | 61 arcSegs = (int) Math.ceil(Math.abs(ext) / 90.0);
|
/openjdk7/jdk/src/share/classes/javax/swing/border/ |
H A D | StrokeBorder.java | 135 * @see Math#ceil 139 int size = (int) Math.ceil(this.stroke.getLineWidth());
|
/openjdk7/jdk/src/macosx/classes/sun/java2d/ |
H A D | CompositeCRenderer.java | 257 double newW = Math.ceil(compositingBounds.getWidth()) + (newX < compositingBounds.getX() ? 1 : 0); 258 double newH = Math.ceil(compositingBounds.getHeight()) + (newY < compositingBounds.getY() ? 1 : 0); 265 double newW = Math.ceil(compositingBounds.getWidth()) + (newX < compositingBounds.getX() ? 1 : 0); 266 double newH = Math.ceil(compositingBounds.getHeight()) + (newY < compositingBounds.getY() ? 1 : 0); 322 double newW = Math.ceil(bounds.getWidth()) + (newX < bounds.getX() ? 1 : 0); 323 double newH = Math.ceil(bounds.getHeight()) + (newY < bounds.getY() ? 1 : 0);
|
/openjdk7/jdk/src/share/classes/sun/java2d/pisces/ |
H A D | Renderer.java | 276 final int firstCrossing = Math.max((int)Math.ceil(y1), boundsMinY); 277 final int lastCrossing = Math.min((int)Math.ceil(y2), boundsMaxY); 515 int spminX = Math.max((int)Math.ceil(edgeMinX), boundsMinX); 516 int spmaxX = Math.min((int)Math.ceil(edgeMaxX), boundsMaxX); 517 int spminY = Math.max((int)Math.ceil(edgeMinY), boundsMinY); 518 int spmaxY = Math.min((int)Math.ceil(edgeMaxY), boundsMaxY);
|
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | Math.java | 395 * that the value of {@code Math.ceil(x)} is exactly the 404 public static double ceil(double a) { method in class:Math 405 return StrictMath.ceil(a); // default impl. delegates to StrictMath 612 * fixed point of the method {@link #ceil ceil} or,
|
/openjdk7/jdk/test/java/lang/Math/ |
H A D | CeilAndFloorTests.java | 27 * @summary Check for correct implementation of Math.ceil and Math.floor 36 failures += Tests.test("Math.ceil", input, Math.ceil(input), expected); 37 failures += Tests.test("StrictMath.ceil", input, StrictMath.ceil(input), expected); 196 System.err.println("Testing {Math, StrictMath}.ceil incurred "
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/ |
H A D | CDROutputStream_1_2.java | 302 int maxLength = (int)Math.ceil(converter.getMaxBytesPerChar() * length);
|
/openjdk7/jdk/src/share/native/sun/java2d/opengl/ |
H A D | OGLRenderer.c | 624 bx22 = (jfloat) ceil(bx22); 625 by22 = (jfloat) ceil(by22); 691 bx22 = (jfloat) ceil(bx22); 692 by22 = (jfloat) ceil(by22);
|
/openjdk7/jdk/src/solaris/classes/sun/font/ |
H A D | XRGlyphCacheEntry.java | 185 return isGrayscale(listContainsLCDGlyphs) ? (int) Math.ceil(width / 4.0) * 4 : width;
|
/openjdk7/jdk/src/solaris/classes/sun/java2d/jules/ |
H A D | JulesAATileGenerator.java | 119 tilesX = (int) Math.ceil(((double) width) / TILE_SIZE); 120 tilesY = (int) Math.ceil(((double) height) / TILE_SIZE);
|
/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | Raster.java | 572 d = new DataBufferByte((int)(Math.ceil(fw/(8/bitsPerBand)))*h); 576 d = new DataBufferUShort((int)(Math.ceil(fw/(16/bitsPerBand)))*h); 580 d = new DataBufferInt((int)(Math.ceil(fw/(32/bitsPerBand)))*h);
|
/openjdk7/jdk/src/share/classes/sun/security/ssl/ |
H A D | InputRecord.java | 302 return 0x01 + (int)(Math.ceil(fullLen/(1.0d * blockLen)) - 303 Math.ceil(usedLen/(1.0d * blockLen))) * signer.hashBlockLen();
|