Searched defs:distance (Results 1 - 24 of 24) sorted by relevance

/openjdk7/hotspot/src/share/vm/classfile/
H A DaltHashing.hpp42 static jint Integer_rotateLeft(jint i, int distance) { argument
43 return (i << distance) | (((juint)i) >> (32-distance));
/openjdk7/hotspot/src/cpu/sparc/vm/
H A Dvm_version_sparc.cpp140 // Use smaller prefetch distance with BIS
155 // Use different prefetch distance without BIS
165 int distance = AllocatePrefetchDistance; local
166 _reserve_for_allocation_prefetch = (distance + step_size*lines)/(int)HeapWordSize;
274 tty->print_cr(" at distance %d, %d lines of %d bytes", AllocatePrefetchDistance, AllocatePrefetchLines, AllocatePrefetchStepSize);
276 tty->print_cr(" at distance %d, one line of %d bytes", AllocatePrefetchDistance, AllocatePrefetchStepSize);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DShadowEffect.java41 protected int distance = 5; field in class:ShadowEffect
78 return distance;
81 void setDistance(int distance) { argument
83 this.distance = distance;
/openjdk7/jdk/src/share/classes/java/awt/geom/
H A DPoint2D.java278 * Returns the square of the distance between two points.
284 * @return the square of the distance between the two
297 * Returns the distance between two points.
303 * @return the distance between the two sets of specified
307 public static double distance(double x1, double y1, method in class:Point2D
316 * Returns the square of the distance from this
323 * @return the square of the distance between this
334 * Returns the square of the distance from this
339 * @return the square of the distance between this
350 * Returns the distance fro
361 public double distance(double px, double py) { method in class:Point2D
377 public double distance(Point2D pt) { method in class:Point2D
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A Drframe.hpp44 int _distance; // recompilation search "distance" (measured in # of interpreted frames)
56 int distance() const { return _distance; } function in class:RFrame
/openjdk7/jdk/test/sun/util/resources/TimeZone/
H A DIntlTest.java193 private final void indent(int distance) { argument
198 log.print(spaces.substring(0, distance * 2));
/openjdk7/jdk/test/java/util/Locale/
H A DLocaleTestFmwk.java235 private final void indent(int distance) { argument
240 log.print(spaces.substring(0, distance * 2));
/openjdk7/jdk/test/java/util/ResourceBundle/
H A DRBTestFmwk.java229 private final void indent(int distance) { argument
234 log.print(spaces.substring(0, distance * 2));
/openjdk7/jdk/src/share/classes/sun/security/provider/certpath/
H A DBuilder.java137 * get distance of one GeneralName from another
143 * @return distance of test name from base, where 0
149 static int distance(GeneralNameInterface base, method in class:Builder
154 debug.println("Builder.distance(): Names are different types");
158 debug.println("Builder.distance(): Names are same type but " +
177 * get hop distance of one GeneralName from another in links where
179 * For example, the hop distance from ou=D,ou=C,o=B,c=US to
180 * ou=F,ou=E,ou=C,o=B,c=US is 3: D->C, C->E, E->F. The hop distance
187 * @return distance of test name from base measured in hops in the
253 * @return distance fro
[all...]
/openjdk7/jdk/src/share/classes/java/lang/
H A DInteger.java1157 * <p>Note that left rotation with a negative distance is equivalent to
1158 * right rotation: {@code rotateLeft(val, -distance) == rotateRight(val,
1159 * distance)}. Note also that rotation by any multiple of 32 is a
1160 * no-op, so all but the last five bits of the rotation distance can be
1161 * ignored, even if the distance is negative: {@code rotateLeft(val,
1162 * distance) == rotateLeft(val, distance & 0x1F)}.
1169 public static int rotateLeft(int i, int distance) { argument
1170 return (i << distance) | (i >>> -distance);
1191 rotateRight(int i, int distance) argument
[all...]
H A DLong.java1112 * <p>Note that left rotation with a negative distance is equivalent to
1113 * right rotation: {@code rotateLeft(val, -distance) == rotateRight(val,
1114 * distance)}. Note also that rotation by any multiple of 64 is a
1115 * no-op, so all but the last six bits of the rotation distance can be
1116 * ignored, even if the distance is negative: {@code rotateLeft(val,
1117 * distance) == rotateLeft(val, distance & 0x3F)}.
1124 public static long rotateLeft(long i, int distance) { argument
1125 return (i << distance) | (i >>> -distance);
1146 rotateRight(long i, int distance) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthTableUI.java616 private void paintDraggedArea(SynthContext context, Graphics g, int rMin, int rMax, TableColumn draggedColumn, int distance) { argument
630 vacatedColumnRect.x += distance;
657 r.x += distance;
664 rcr.x += distance;
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A DFunctionCall.java149 * the Java type and the distance between the internal type and
154 public int distance; field in class:FunctionCall.JavaType
156 public JavaType(Class type, int distance){ argument
158 this.distance = distance;
471 currConstrDistance += ((JavaType)match).distance;
598 currMethodDistance += ((JavaType)match).distance;
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/
H A DCodingChooser.java73 final int[] distance; // cache of distance field in class:CodingChooser.Choice
74 Choice(Coding coding, int index, int[] distance) { argument
77 this.distance = distance;
81 int minDistance; // min distance from already-checked choices
156 int[] distance = new int[choices.length];
157 choices[nc++] = new Choice(allCodingChoices[i], i, distance);
167 choices[i].distance[j] = dij;
168 choices[j].distance[
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaUtils.java261 final float distance; field in class:AquaUtils.ShadowBorder
266 public ShadowBorder(final Painter prePainter, final Painter postPainter, final int offsetX, final int offsetY, final float distance, final float intensity, final int blur) { argument
268 this.offsetX = offsetX; this.offsetY = offsetY; this.distance = distance; this.blur = blur;
300 final int adjX = (int)(x + blur + offsetX + (insets.left * distance));
301 final int adjY = (int)(y + blur + offsetY + (insets.top * distance));
302 final int adjW = (int)(width - (insets.left + insets.right) * distance);
303 final int adjH = (int)(height - (insets.top + insets.bottom) * distance);
325 public SlicedShadowBorder(final Painter prePainter, final Painter postPainter, final int offsetX, final int offsetY, final float distance, final float intensity, final int blur, final int templateWidth, final int templateHeight, final int leftCut, final int topCut, final int rightCut, final int bottomCut) { argument
326 super(prePainter, postPainter, offsetX, offsetY, distance, intensit
[all...]
/openjdk7/jdk/src/windows/native/java/io/
H A Dio_util_md.c570 LARGE_INTEGER pos, distance; local
586 distance.QuadPart = offset;
587 if (SetFilePointerEx(h, distance, &pos, op) == 0) {
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageColorTrue2Index.c542 if( ( distance >= ( ( ( position[ POSITION ] + current_size - \
553 if( distance >= ( ( ( position[ POSITION ] + current_size - \
557 if( distance < ( ( ( COLOR_MAX - c[ POSITION ] ) * \
560 if( distance < ( ( ( position[ POSITION ] + \
574 Check the distance */ \
582 if( newdistance < distance ) \
585 distance = newdistance; \
590 distance = \
593 distance, &found_color, c, p, \
607 Check the distance */ \
2694 mlib_search_quadrant_U8_3(struct lut_node_3 *node, mlib_u32 distance, mlib_s32 *found_color, mlib_u32 c0, mlib_u32 c1, mlib_u32 c2, const mlib_u8 **base) argument
2732 mlib_search_quadrant_part_to_left_U8_3(struct lut_node_3 *node, mlib_u32 distance, mlib_s32 *found_color, const mlib_u32 *c, const mlib_u8 **base, mlib_u32 position, mlib_s32 pass, mlib_s32 dir_bit) argument
2824 mlib_search_quadrant_part_to_right_U8_3(struct lut_node_3 *node, mlib_u32 distance, mlib_s32 *found_color, const mlib_u32 *c, const mlib_u8 **base, mlib_u32 position, mlib_s32 pass, mlib_s32 dir_bit) argument
2915 mlib_search_quadrant_S16_3(struct lut_node_3 *node, mlib_u32 distance, mlib_s32 *found_color, mlib_u32 c0, mlib_u32 c1, mlib_u32 c2, const mlib_s16 **base) argument
2953 mlib_search_quadrant_part_to_left_S16_3(struct lut_node_3 *node, mlib_u32 distance, mlib_s32 *found_color, const mlib_u32 *c, const mlib_s16 **base, mlib_u32 position, mlib_s32 pass, mlib_s32 dir_bit) argument
3045 mlib_search_quadrant_part_to_right_S16_3(struct lut_node_3 *node, mlib_u32 distance, mlib_s32 *found_color, const mlib_u32 *c, const mlib_s16 **base, mlib_u32 position, mlib_s32 pass, mlib_s32 dir_bit) argument
3138 mlib_search_quadrant_U8_4(struct lut_node_4 *node, mlib_u32 distance, mlib_s32 *found_color, mlib_u32 c0, mlib_u32 c1, mlib_u32 c2, mlib_u32 c3, const mlib_u8 **base) argument
3179 mlib_search_quadrant_part_to_left_U8_4(struct lut_node_4 *node, mlib_u32 distance, mlib_s32 *found_color, const mlib_u32 *c, const mlib_u8 **base, mlib_u32 position, mlib_s32 pass, mlib_s32 dir_bit) argument
3276 mlib_search_quadrant_part_to_right_U8_4(struct lut_node_4 *node, mlib_u32 distance, mlib_s32 *found_color, const mlib_u32 *c, const mlib_u8 **base, mlib_u32 position, mlib_s32 pass, mlib_s32 dir_bit) argument
3372 mlib_search_quadrant_S16_4(struct lut_node_4 *node, mlib_u32 distance, mlib_s32 *found_color, mlib_u32 c0, mlib_u32 c1, mlib_u32 c2, mlib_u32 c3, const mlib_s16 **base) argument
3413 mlib_search_quadrant_part_to_left_S16_4(struct lut_node_4 *node, mlib_u32 distance, mlib_s32 *found_color, const mlib_u32 *c, const mlib_s16 **base, mlib_u32 position, mlib_s32 pass, mlib_s32 dir_bit) argument
3510 mlib_search_quadrant_part_to_right_S16_4(struct lut_node_4 *node, mlib_u32 distance, mlib_s32 *found_color, const mlib_u32 *c, const mlib_s16 **base, mlib_u32 position, mlib_s32 pass, mlib_s32 dir_bit) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/table/
H A DJTableHeader.java113 /** The distance from its original position the column has been dragged. */
256 * Returns the column's horizontal distance from its original
260 * @return the column's horizontal distance from its original
677 * Sets the header's <code>draggedDistance</code> to <code>distance</code>.
678 * @param distance the distance dragged
680 public void setDraggedDistance(int distance) { argument
681 draggedDistance = distance;
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicTableUI.java2051 private void paintDraggedArea(Graphics g, int rMin, int rMax, TableColumn draggedColumn, int distance) { argument
2065 vacatedColumnRect.x += distance;
2088 r.x += distance;
2095 rcr.x += distance;
/openjdk7/jdk/src/share/classes/java/util/
H A DCollections.java746 * Rotates the elements in the specified list by the specified distance.
748 * the element previously at index <tt>(i - distance)</tt> mod
775 * of the rotation distance. To move elements backward, use a positive
776 * shift distance.
786 * list into two sublist views around index <tt>-distance mod size</tt>.
793 * @param distance the distance to rotate the list. There are no
800 public static void rotate(List<?> list, int distance) { argument
802 rotate1(list, distance);
804 rotate2(list, distance);
807 rotate1(List<T> list, int distance) argument
830 rotate2(List<?> list, int distance) argument
[all...]
/openjdk7/jdk/src/windows/native/com/sun/media/sound/
H A DPLATFORM_API_WinOS_DirectSound.cpp517 /* returns distance from pos1 to pos2
520 int distance = pos2 - pos1; local
521 while (distance < 0)
522 distance += info->dsBufferSizeInBytes;
523 return distance;
/openjdk7/jdk/src/share/native/sun/awt/libpng/
H A Dpngrtran.c734 png_bytep distance; local
745 distance = (png_bytep)png_malloc(png_ptr, (png_uint_32)(num_entries *
748 png_memset(distance, 0xff, num_entries * png_sizeof(png_byte));
780 if (d < (int)distance[d_index])
782 distance[d_index] = (png_byte)d;
790 png_free(png_ptr, distance);
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXListPeer.java403 * of the component by a distance by means of the copyArea method
410 * @param distance the distance to copy the source area
412 private void repaint(int firstItem, int lastItem, int options, Rectangle source, Point distance) { argument
415 painter.paint(g, firstItem, lastItem, options, source, distance);
1447 Point distance = null;
1453 distance = new Point(0, -pixelsToScroll);
1462 distance = new Point(0, -pixelsToScroll);
1468 repaint(firstItem, lastItem, options, source, distance);
1485 Point distance
1748 paint(Graphics listG, int firstItem, int lastItem, int options, Rectangle source, Point distance) argument
[all...]
/openjdk7/hotspot/src/share/vm/opto/
H A Dmacro.cpp1616 // at a "distance" away from watermark.
1669 uint distance = 0; local
1673 _igvn.MakeConX(distance) );
1677 distance += step_size;
1705 uint distance = AllocatePrefetchDistance; local
1709 _igvn.MakeConX(distance));
1725 distance = step_size;
1728 _igvn.MakeConX(distance) );
1732 distance += step_size;
1742 uint distance local
[all...]

Completed in 2047 milliseconds