Searched refs:px (Results 1 - 25 of 43) sorted by relevance

12

/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/
H A Dstylesheet.css73 height:0px;
78 padding:0px 21px;
81 margin-top:-7px;
99 padding:8px;
124 padding-top:10px;
128 margin-top:10px;
137 padding-top:10px;
142 border-bottom:1px solid #9eadc0;
150 padding:0 0 5px
[all...]
/openjdk7/jdk/src/share/native/sun/security/ec/impl/
H A Decp.h43 /* Checks if point P(px, py) is at infinity. Uses affine coordinates. */
44 mp_err ec_GFp_pt_is_inf_aff(const mp_int *px, const mp_int *py);
46 /* Sets P(px, py) to be the point at infinity. Uses affine coordinates. */
47 mp_err ec_GFp_pt_set_inf_aff(mp_int *px, mp_int *py);
49 /* Computes R = P + Q where R is (rx, ry), P is (px, py) and Q is (qx,
51 mp_err ec_GFp_pt_add_aff(const mp_int *px, const mp_int *py,
56 mp_err ec_GFp_pt_sub_aff(const mp_int *px, const mp_int *py,
61 mp_err ec_GFp_pt_dbl_aff(const mp_int *px, const mp_int *py, mp_int *rx,
65 mp_err ec_GFp_validate_point(const mp_int *px, const mp_int *py, const ECGroup *group);
68 /* Computes R = nP where R is (rx, ry) and P is (px, p
[all...]
H A Dec2.h43 /* Checks if point P(px, py) is at infinity. Uses affine coordinates. */
44 mp_err ec_GF2m_pt_is_inf_aff(const mp_int *px, const mp_int *py);
46 /* Sets P(px, py) to be the point at infinity. Uses affine coordinates. */
47 mp_err ec_GF2m_pt_set_inf_aff(mp_int *px, mp_int *py);
49 /* Computes R = P + Q where R is (rx, ry), P is (px, py) and Q is (qx,
51 mp_err ec_GF2m_pt_add_aff(const mp_int *px, const mp_int *py,
56 mp_err ec_GF2m_pt_sub_aff(const mp_int *px, const mp_int *py,
61 mp_err ec_GF2m_pt_dbl_aff(const mp_int *px, const mp_int *py, mp_int *rx,
65 mp_err ec_GF2m_validate_point(const mp_int *px, const mp_int *py, const ECGroup *group);
69 /* Computes R = nP where R is (rx, ry) and P is (px, p
[all...]
H A Decp_aff.c49 /* Checks if point P(px, py) is at infinity. Uses affine coordinates. */
51 ec_GFp_pt_is_inf_aff(const mp_int *px, const mp_int *py) argument
54 if ((mp_cmp_z(px) == 0) && (mp_cmp_z(py) == 0)) {
62 /* Sets P(px, py) to be the point at infinity. Uses affine coordinates. */
64 ec_GFp_pt_set_inf_aff(mp_int *px, mp_int *py) argument
66 mp_zero(px);
76 ec_GFp_pt_add_aff(const mp_int *px, const mp_int *py, const mp_int *qx, argument
87 MP_CHECKOK(mp_init(&lambda, FLAG(px)));
88 MP_CHECKOK(mp_init(&temp, FLAG(px)));
89 MP_CHECKOK(mp_init(&tempx, FLAG(px)));
162 ec_GFp_pt_sub_aff(const mp_int *px, const mp_int *py, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, const ECGroup *group) argument
183 ec_GFp_pt_dbl_aff(const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument
196 ec_GFp_pt_mul_aff(const mp_int *n, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument
289 ec_GFp_validate_point(const mp_int *px, const mp_int *py, const ECGroup *group) argument
[all...]
H A Decl.h72 mp_err ECPoint_mul(const ECGroup *group, const mp_int *k, const mp_int *px,
80 const mp_int *k2, const mp_int *px, const mp_int *py,
87 mp_err ECPoint_validate(const ECGroup *group, const mp_int *px, const
H A Dec2_aff.c45 /* Checks if point P(px, py) is at infinity. Uses affine coordinates. */
47 ec_GF2m_pt_is_inf_aff(const mp_int *px, const mp_int *py) argument
50 if ((mp_cmp_z(px) == 0) && (mp_cmp_z(py) == 0)) {
58 /* Sets P(px, py) to be the point at infinity. Uses affine coordinates. */
60 ec_GF2m_pt_set_inf_aff(mp_int *px, mp_int *py) argument
62 mp_zero(px);
70 ec_GF2m_pt_add_aff(const mp_int *px, const mp_int *py, const mp_int *qx, argument
80 MP_CHECKOK(mp_init(&lambda, FLAG(px)));
81 MP_CHECKOK(mp_init(&tempx, FLAG(px)));
82 MP_CHECKOK(mp_init(&tempy, FLAG(px)));
152 ec_GF2m_pt_sub_aff(const mp_int *px, const mp_int *py, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, const ECGroup *group) argument
172 ec_GF2m_pt_dbl_aff(const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument
183 ec_GF2m_pt_mul_aff(const mp_int *n, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument
276 ec_GF2m_validate_point(const mp_int *px, const mp_int *py, const ECGroup *group) argument
[all...]
H A Decp_jac.c52 /* Converts a point P(px, py) from affine coordinates to Jacobian
57 ec_GFp_pt_aff2jac(const mp_int *px, const mp_int *py, mp_int *rx, argument
62 if (ec_GFp_pt_is_inf_aff(px, py) == MP_YES) {
65 MP_CHECKOK(mp_copy(px, rx));
76 /* Converts a point P(px, py, pz) from Jacobian projective coordinates to
81 ec_GFp_pt_jac2aff(const mp_int *px, const mp_int *py, const mp_int *pz, argument
90 MP_CHECKOK(mp_init(&z1, FLAG(px)));
91 MP_CHECKOK(mp_init(&z2, FLAG(px)));
92 MP_CHECKOK(mp_init(&z3, FLAG(px)));
95 if (ec_GFp_pt_is_inf_jac(px, p
122 ec_GFp_pt_is_inf_jac(const mp_int *px, const mp_int *py, const mp_int *pz) argument
130 ec_GFp_pt_set_inf_jac(mp_int *px, mp_int *py, mp_int *pz) argument
144 ec_GFp_pt_add_jac_aff(const mp_int *px, const mp_int *py, const mp_int *pz, const mp_int *qx, const mp_int *qy, mp_int *rx, mp_int *ry, mp_int *rz, const ECGroup *group) argument
233 ec_GFp_pt_dbl_jac(const mp_int *px, const mp_int *py, const mp_int *pz, mp_int *rx, mp_int *ry, mp_int *rz, const ECGroup *group) argument
326 ec_GFp_pt_mul_jac(const mp_int *n, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument
407 ec_GFp_pts_mul_jac(const mp_int *k1, const mp_int *k2, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument
[all...]
H A Decl_mult.c51 ECPoint_mul(const ECGroup *group, const mp_int *k, const mp_int *px, argument
71 if ((px == NULL) || (py == NULL)) {
81 MP_CHECKOK(group->meth->field_enc(px, rx, group->meth));
85 MP_CHECKOK(group->point_mul(&kt, px, py, rx, ry, group));
105 ec_pts_mul_basic(const mp_int *k1, const mp_int *k2, const mp_int *px, argument
114 && ((k2 == NULL) || (px == NULL)
119 return ECPoint_mul(group, k2, px, py, rx, ry);
120 } else if ((k2 == NULL) || (px == NULL) || (py == NULL)) {
130 MP_CHECKOK(ECPoint_mul(group, k2, px, py, rx, ry));
160 ec_pts_mul_simul_w2(const mp_int *k1, const mp_int *k2, const mp_int *px, argument
310 ECPoints_mul(const ECGroup *group, const mp_int *k1, const mp_int *k2, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry) argument
[all...]
H A Decp_jm.c55 ec_GFp_pt_dbl_jm(const mp_int *px, const mp_int *py, const mp_int *pz, argument
72 if (ec_GFp_pt_is_inf_jac(px, py, pz) == MP_YES) {
79 /* M = 3 (px^2) + a*(pz^4) */
80 MP_CHECKOK(group->meth->field_sqr(px, t0, group->meth));
95 /* S = 4 * px * py^2 = 2 * px * t0 */
96 MP_CHECKOK(group->meth->field_mul(px, t0, S, group->meth));
119 /* Computes R = P + Q where R is (rx, ry, rz), P is (px, py, pz) and Q is
125 ec_GFp_pt_add_jm_aff(const mp_int *px, const mp_int *py, const mp_int *pz, argument
146 if (ec_GFp_pt_is_inf_jac(px, p
215 ec_GFp_pt_mul_jm_wNAF(const mp_int *n, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry, const ECGroup *group) argument
[all...]
H A Dec2_mont.c186 ec_GF2m_pt_mul_mont(const mp_int *n, const mp_int *px, const mp_int *py, argument
204 if ((mp_cmp_z(n) == 0) || (ec_GF2m_pt_is_inf_aff(px, py) == MP_YES)) {
209 MP_CHECKOK(mp_copy(px, &x1)); /* x1 = px */
213 * px^2 */
217 * px^4
245 MP_CHECKOK(gf2m_Madd(px, &x1, &z1, &x2, &z2, group, FLAG(n)));
248 MP_CHECKOK(gf2m_Madd(px, &x2, &z2, &x1, &z1, group, FLAG(n)));
258 i = gf2m_Mxy(px, py, &x1, &z1, &x2, &z2, group);
H A Decl-priv.h186 mp_err (*point_add) (const mp_int *px, const mp_int *py,
189 mp_err (*point_sub) (const mp_int *px, const mp_int *py,
192 mp_err (*point_dbl) (const mp_int *px, const mp_int *py, mp_int *rx,
194 mp_err (*point_mul) (const mp_int *n, const mp_int *px,
200 const mp_int *px, const mp_int *py, mp_int *rx,
202 mp_err (*validate_point) (const mp_int *px, const mp_int *py, const ECGroup *group);
264 const mp_int *px, const mp_int *py, mp_int *rx,
267 const mp_int *px, const mp_int *py, mp_int *rx,
/openjdk7/jdk/src/share/classes/java/awt/geom/
H A DPoint2D.java319 * @param px the X coordinate of the specified point to be measured
327 public double distanceSq(double px, double py) { argument
328 px -= getX();
330 return (px * px + py * py);
344 double px = pt.getX() - this.getX();
346 return (px * px + py * py);
353 * @param px the X coordinate of the specified point to be measured
361 public double distance(double px, doubl argument
[all...]
H A DLine2D.java464 * {@code (px,py)} lies with respect to the line segment from
469 * specified point {@code (px,py)}.
495 * @param px the X coordinate of the specified point to be
506 double px, double py)
510 px -= x1;
512 double ccw = px * y2 - py * x2;
516 // relative value using the projection of px,py onto the
520 ccw = px * x2 + py * y2;
524 // px and py need to have (x2 - x1) or (y2 - y1) subtracted
529 px
504 relativeCCW(double x1, double y1, double x2, double y2, double px, double py) argument
555 relativeCCW(double px, double py) argument
672 ptSegDistSq(double x1, double y1, double x2, double y2, double px, double py) argument
747 ptSegDist(double x1, double y1, double x2, double y2, double px, double py) argument
770 ptSegDistSq(double px, double py) argument
810 ptSegDist(double px, double py) argument
854 ptLineDistSq(double x1, double y1, double x2, double y2, double px, double py) argument
899 ptLineDist(double x1, double y1, double x2, double y2, double px, double py) argument
922 ptLineDistSq(double px, double py) argument
962 ptLineDist(double px, double py) argument
[all...]
/openjdk7/jdk/test/java/awt/Graphics2D/DrawString/
H A DLCDTextSrcEa.java77 for (int px=0;px<SZ;px++) {
79 int rgb = target.getRGB(px, py);
H A DRotTransText.java91 for (int px=0;px<wid;px++) {
93 int rgb = bi.getRGB(px, py);
H A DDrawStrSuper.java83 for (int px=0;px<wid;px++) {
85 int rgb = bi.getRGB(px, py);
89 " at x=" + px + " y="+ py);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthComboPopup.java75 protected Rectangle computePopupBounds(int px, int py, int pw, int ph) { argument
82 px + i.left,
88 return super.computePopupBounds(px, py, pw, ph);
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DPixelToParallelogramConverter.java279 double px = x1 + udy / 2.0;
282 px -= udx / 2.0;
288 px, py, -udy, udx, dx, dy);
296 double px, py;
303 px = rx * dx1 + ry * dx2 + txform.getTranslateX();
313 double newx = normalize(px);
315 dx1 = normalize(px + dx1) - newx;
317 dx2 = normalize(px + dx2) - newx;
319 px = newx;
323 px, p
388 fillOuterParallelogram(SunGraphics2D sg2d, double ux1, double uy1, double ux2, double uy2, double px, double py, double dx1, double dy1, double dx2, double dy2, double len1, double len2, double lw1, double lw2) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/border/
H A DCompoundBorder.java108 int px, py, pw, ph;
110 px = x;
116 outsideBorder.paintBorder(c, g, px, py, pw, ph);
119 px += nextInsets.left;
125 insideBorder.paintBorder(c, g, px, py, pw, ph);
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DMarkToBasePosnSubtables.cpp128 LEPoint px; local
129 fontInstance->getGlyphAdvance(otherMark, px); // get advance, in case it's non-zero
130 pixels.fX += px.fX; // and add that to the base glyph's advance
131 pixels.fY += px.fY;
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaComboBoxPopup.java230 protected Rectangle computePopupBounds(int px, int py, int pw, int ph) { argument
240 // px & py are relative to the combo box
250 if (scrBounds == null) return super.computePopupBounds(px, py, pw, ph);
271 px += comboBoxInsets.left;
272 if (!isPopDown) px -= FOCUS_RING_PAD_LEFT;
274 px = comboBoxBounds.width - pw - comboBoxInsets.right;
275 if (!isPopDown) px += FOCUS_RING_PAD_RIGHT;
280 p.x += px;
281 p.y += py; // Screen location of px & py
282 if (p.x < scrBounds.x) px
323 computePopupBoundsForMenu(final int px, final int py, final int pw, final int ph, final int itemCount, final Rectangle scrBounds) argument
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_DrawingSurface.c202 JAWT_X11DrawingSurfaceInfo* px; local
260 px = (JAWT_X11DrawingSurfaceInfo*)
265 px->drawable = XtWindow(cdata->widget);
267 px->drawable = (*env)->GetLongField(env, peer, windowID);
269 px->display = awt_display;
272 XGetWindowAttributes(awt_display, (Window)(px->drawable), &attrs);
275 px->visualID = XVisualIDFromVisual(attrs.visual);
276 px->colormapID = attrs.colormap;
277 px->depth = attrs.depth;
278 px
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/geom/
H A DCurve.java112 * crosses the ray extending to the right from (px,py).
125 double px, double py)
146 crossings += pointCrossingsForLine(px, py,
156 crossings += pointCrossingsForLine(px, py,
165 crossings += pointCrossingsForQuad(px, py,
175 crossings += pointCrossingsForCubic(px, py,
185 crossings += pointCrossingsForLine(px, py,
196 crossings += pointCrossingsForLine(px, py,
205 * crosses the ray extending to the right from (px,py).
210 public static int pointCrossingsForLine(double px, doubl argument
124 pointCrossingsForPath(PathIterator pi, double px, double py) argument
234 pointCrossingsForQuad(double px, double py, double x0, double y0, double xc, double yc, double x1, double y1, int level) argument
285 pointCrossingsForCubic(double px, double py, double x0, double y0, double xc0, double yc0, double xc1, double yc1, double x1, double y1, int level) argument
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DGridBagLayout.java999 int compindex, i, k, px, py, pixels_diff, nextSize;
1067 px = 0;
1069 px = Math.max(px, xMaxArray[i]);
1072 curX = px - curX - 1;
1089 px = curX + curWidth;
1090 if (layoutWidth < px) {
1091 layoutWidth = px;
1103 xMaxArray[i] = px;
1197 px
[all...]
/openjdk7/jdk/src/share/demo/applets/NervousText/
H A DNervousText.java162 int px = (int) (10 * Math.random() + x);
164 g.drawChars(bannerChars, i, 1, px, py);

Completed in 153 milliseconds

12