Searched refs:py (Results 1 - 25 of 38) sorted by relevance

12

/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, py)
[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, py)
[all...]
H A Decl.h73 const mp_int *py, mp_int *qx, mp_int *qy);
80 const mp_int *k2, const mp_int *px, const mp_int *py,
88 mp_int *py);
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
63 mp_zero(py);
70 ec_GF2m_pt_add_aff(const mp_int *px, const mp_int *py, const mp_int *qx, argument
84 if (ec_GF2m_pt_is_inf_aff(px, py) == 0) {
93 MP_CHECKOK(mp_copy(py, ry));
97 /* if px != qx, then lambda = (py
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_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
67 mp_zero(py);
76 ec_GFp_pt_add_aff(const mp_int *px, const mp_int *py, const mp_int *qx, argument
92 if (ec_GFp_pt_is_inf_aff(px, py) == 0) {
101 MP_CHECKOK(mp_copy(py, ry));
105 /* if px != qx, then lambda = (py
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_mult.c52 const mp_int *py, mp_int *rx, mp_int *ry)
71 if ((px == NULL) || (py == NULL)) {
82 MP_CHECKOK(group->meth->field_enc(py, ry, group->meth));
85 MP_CHECKOK(group->point_mul(&kt, px, py, rx, ry, group));
106 const mp_int *py, mp_int *rx, mp_int *ry,
115 || (py == NULL))), MP_BADARG);
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));
161 const mp_int *py, mp_in
51 ECPoint_mul(const ECGroup *group, const mp_int *k, const mp_int *px, const mp_int *py, mp_int *rx, mp_int *ry) argument
105 ec_pts_mul_basic(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
160 ec_pts_mul_simul_w2(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
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_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) {
66 MP_CHECKOK(mp_copy(py, ry));
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
95 if (ec_GFp_pt_is_inf_jac(px, py, pz) == MP_YES) {
100 /* transform (px, py, pz) into (px / pz^2, py / pz^3) */
103 MP_CHECKOK(mp_copy(py, r
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 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) {
85 /* rz = 2 * py * pz */
86 MP_CHECKOK(group->meth->field_mul(py, pz, S, group->meth));
90 MP_CHECKOK(group->meth->field_sqr(py, t0, group->meth));
95 /* S = 4 * px * py^2 = 2 * px * t0 */
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, py, pz) == MP_YES) {
156 MP_CHECKOK(mp_copy(py, r
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 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,
195 const mp_int *py, mp_int *rx, mp_int *ry,
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,
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)) {
258 i = gf2m_Mxy(px, py, &x1, &z1, &x2, &z2, group);
/openjdk7/jdk/src/share/classes/java/awt/geom/
H A DPoint2D.java321 * @param py the Y coordinate of the specified point to be measured
327 public double distanceSq(double px, double py) { argument
329 py -= getY();
330 return (px * px + py * py);
345 double py = pt.getY() - this.getY();
346 return (px * px + py * py);
355 * @param py the Y coordinate of the specified point to be measured
361 public double distance(double px, double py) { argument
[all...]
H A DLine2D.java464 * {@code (px,py)} lies with respect to the line segment from
469 * specified point {@code (px,py)}.
497 * @param py the Y coordinate of the specified point to be
506 double px, double py)
511 py -= y1;
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
530 py
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...]
H A DPath2D.java140 abstract int pointCrossings(double px, double py); argument
475 int pointCrossings(double px, double py) { argument
487 Curve.pointCrossingsForLine(px, py,
496 Curve.pointCrossingsForLine(px, py,
505 Curve.pointCrossingsForQuad(px, py,
517 Curve.pointCrossingsForCubic(px, py,
532 Curve.pointCrossingsForLine(px, py,
543 Curve.pointCrossingsForLine(px, py,
1199 int pointCrossings(double px, double py) { argument
1211 Curve.pointCrossingsForLine(px, py,
[all...]
/openjdk7/jdk/test/java/awt/Graphics2D/DrawString/
H A DLCDTextSrcEa.java78 for (int py=0;py<SZ;py++) {
79 int rgb = target.getRGB(px, py);
H A DRotTransText.java92 for (int py=0;py<hgt;py++) {
93 int rgb = bi.getRGB(px, py);
H A DDrawStrSuper.java84 for (int py=0;py<hgt;py++) {
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
83 py + i.top,
88 return super.computePopupBounds(px, py, pw, ph);
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DPixelToParallelogramConverter.java280 double py = y1 - udx / 2.0;
283 py -= udy / 2.0;
288 px, py, -udy, udx, dx, dy);
296 double px, py;
304 py = rx * dy1 + ry * dy2 + txform.getTranslateY();
314 double newy = normalize(py);
316 dy1 = normalize(py + dy1) - newy;
318 dy2 = normalize(py + dy2) - newy;
320 py = newy;
323 px, py, dx
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;
111 py = y;
116 outsideBorder.paintBorder(c, g, px, py, pw, ph);
120 py += nextInsets.top;
125 insideBorder.paintBorder(c, g, px, py, pw, ph);
/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, double py, 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/macosx/classes/com/apple/laf/
H A DAquaComboBoxPopup.java230 protected Rectangle computePopupBounds(int px, int py, int pw, int ph) { argument
237 py = Math.min((py / 2) + 9, py); // if py is less than new y we have a clipped combo, so leave it alone.
240 // px & py are relative to the combo box
250 if (scrBounds == null) return super.computePopupBounds(px, py, pw, ph);
277 py -= (comboBoxInsets.bottom); //sja fix was +kInset
281 p.y += py; // Screen location of px & py
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/share/classes/java/awt/
H A DGridBagLayout.java999 int compindex, i, k, px, py, pixels_diff, nextSize;
1077 py = 0;
1079 py = Math.max(py, yMaxArray[i]);
1081 curY = py - curY - 1;
1093 py = curY + curHeight;
1094 if (layoutHeight < py) {
1095 layoutHeight = py;
1100 yMaxArray[i] =py;
1212 py
[all...]
/openjdk7/jdk/src/share/demo/applets/NervousText/
H A DNervousText.java163 int py = (int) (10 * Math.random() + ht);
164 g.drawChars(bannerChars, i, 1, px, py);
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A Dcmsintrp.c332 cmsFloat32Number px, py; local
343 py = Input[1] * p->Domain[1];
346 y0 = (int) _cmsQuickFloor(py); fy = py - (cmsFloat32Number) y0;
444 cmsFloat32Number px, py, pz; local
458 py = Input[1];
463 if (py < 0) py = 0;
464 if (py > 1) py
602 cmsFloat32Number px, py, pz; local
[all...]
/openjdk7/jdk/src/share/classes/sun/font/
H A DLayoutPathImpl.java134 private double py; field in class:LayoutPathImpl.SegmentPathBuilder
157 px = py = 0;
211 if (x == px && y == py) {
227 data[w-2] = py = y;
240 double dy = y - py;
251 py = y;
421 double py = y - by;
426 double dot = dx * px + dy * py; // dot product
528 double py = result.getY() - by;
535 double rx = (px * dx + py * d
[all...]

Completed in 51 milliseconds

12