Home
last modified time | relevance | path

Searched refs:ay (Results 1 – 25 of 302) sorted by relevance

12345678910>>...13

/external/boringssl/src/crypto/fipsmodule/ec/
Dmake_p256-x86_64-tests.go135 func printTestCase(ax, ay *big.Int, aCoord coordinates, bx, by *big.Int, bCoord coordinates) {
136 rx, ry := p256.Add(ax, ay, bx, by)
140 ax, ay, az = toJacobian(ax, ay)
141 } else if isAffineInfinity(ax, ay) {
158 printMontgomery("A.Y", ay)
188 ax, ay := randPoint()
190 printTestCase(ax, ay, jacobian, bx, by, jacobian)
195 ax, ay := randPoint()
196 printTestCase(ax, ay, jacobian, ax, ay, jacobian)
201 ax, ay := randPoint()
[all …]
/external/autotest/client/site_tests/graphics_SanAngeles/src/
Dmatrixop.c68 static float normalize(float *ax, float *ay, float *az) in normalize() argument
70 float norm = sqrtf((*ax) * (*ax) + (*ay) * (*ay) + (*az) * (*az)); in normalize()
74 *ay /= norm; in normalize()
82 float ax, float ay, float az) in Matrix4x4_Rotate() argument
90 float norm = normalize(&ax, &ay, &az); in Matrix4x4_Rotate()
96 yy = ay * ay; in Matrix4x4_Rotate()
98 xy = ax * ay; in Matrix4x4_Rotate()
99 yz = ay * az; in Matrix4x4_Rotate()
102 ys = ay * s; in Matrix4x4_Rotate()
/external/libvpx/libvpx/tools/3D-Reconstruction/sketch_3D_reconstruction/
DTransform.pde30 float[] getRotationMat3x3(float angle, float ax, float ay, float az) {
35 mat[1] = ax * ay * (1 - c) - az * s;
36 mat[2] = ax * az * (1 - c) + ay * s;
37 mat[3] = ay * ax * (1 - c) + az * s;
38 mat[4] = c + ay * ay * (1 - c);
39 mat[5] = ay * az * (1 - c) - ax * s;
40 mat[6] = az * ax * (1 - c) - ay * s;
41 mat[7] = az * ay * (1 - c) + ax * s;
/external/pdfium/third_party/agg23/
Dagg_math.h49 AGG_INLINE bool calc_intersection(float ax, float ay, float bx, float by, in calc_intersection() argument
53 float num = ((ay - cy) * (dx - cx)) - ((ax - cx) * (dy - cy)); in calc_intersection()
54 float den = ((bx - ax) * (dy - cy)) - ((by - ay) * (dx - cx)); in calc_intersection()
59 *y = ay + ((by - ay) * num / den); in calc_intersection()
/external/skia/tests/
DPathOpsSimplifyTrianglesThreadedTest.cpp16 int ay = state.fA >> 2; in testSimplifyTrianglesMain() local
38 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay)); in testSimplifyTrianglesMain()
47 pathStr.appendf(" path.moveTo(%d, %d);\n", ax, ay); in testSimplifyTrianglesMain()
73 int ay = a >> 2; in DEF_TEST() local
83 if ((bx - ax) * (cy - ay) == (by - ay) * (cx - ax)) { in DEF_TEST()
DPathOpsSimplifyDegenerateThreadedTest.cpp15 int ay = state.fA >> 2; in testSimplifyDegeneratesMain() local
35 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay)); in testSimplifyDegeneratesMain()
44 pathStr.appendf(" path.moveTo(%d, %d);\n", ax, ay); in testSimplifyDegeneratesMain()
70 int ay = a >> 2; in DEF_TEST() local
77 bool abcIsATriangle = (bx - ax) * (cy - ay) != (by - ay) * (cx - ax); in DEF_TEST()
/external/skqp/tests/
DPathOpsSimplifyDegenerateThreadedTest.cpp15 int ay = state.fA >> 2; in testSimplifyDegeneratesMain() local
36 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay)); in testSimplifyDegeneratesMain()
45 pathStr.appendf(" path.moveTo(%d, %d);\n", ax, ay); in testSimplifyDegeneratesMain()
71 int ay = a >> 2; in DEF_TEST() local
78 bool abcIsATriangle = (bx - ax) * (cy - ay) != (by - ay) * (cx - ax); in DEF_TEST()
DPathOpsSimplifyTrianglesThreadedTest.cpp16 int ay = state.fA >> 2; in testSimplifyTrianglesMain() local
39 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay)); in testSimplifyTrianglesMain()
48 pathStr.appendf(" path.moveTo(%d, %d);\n", ax, ay); in testSimplifyTrianglesMain()
76 int ay = a >> 2; in DEF_TEST() local
86 if ((bx - ax) * (cy - ay) == (by - ay) * (cx - ax)) { in DEF_TEST()
/external/fonttools/Lib/fontTools/misc/
DbezierTools.py245 (ax, ay), (bx, by), (cx, cy) = calcQuadraticParameters(pt1, pt2, pt3)
247 ay2 = ay * 2.0
254 (ax * t * t + bx * t + cx, ay * t * t + by * t + cy)
345 (ax, ay), (bx, by), (cx, cy), (dx, dy) = calcCubicParameters(pt1, pt2, pt3, pt4)
348 ay3 = ay * 3.0
358 ay * t * t * t + by * t * t + cy * t + dy,
405 ay = pt2y - pt1y
410 a = (ax, ay)[isHorizontal]
416 midPt = ax * t + bx, ay * t + by
557 ax, ay = a
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dlogistic-loss.h52 const double ay = current_dual * example_label; in ComputeDualLoss() local
53 const double log_ay = (ay > 0) ? log(ay) : 0; in ComputeDualLoss()
54 const double one_minus_ay = 1 - ay; in ComputeDualLoss()
56 return ((ay * log_ay) + (one_minus_ay * log_one_minus_ay)) * example_weight; in ComputeDualLoss()
/external/freetype/src/autofit/
Dafangles.c50 FT_Fixed ay = dy;
55 if ( ay < 0 )
56 ay = -ay;
58 ax += ay;
64 angle = ( AF_ANGLE_PI2 * dy ) / ( ax + ay );
/external/llvm-project/libclc/generic/lib/math/
Dclc_powr.cl73 int ay = iy & EXSIGNBIT_SP32;
74 int ypos = iy == ay;
183 int yexp = (int)(ay >> EXPSHIFTBITS_SP32) - EXPBIAS_SP32 + 1;
198 ret = ax == 0x3f800000 & ay < PINFBITPATT_SP32 ? 0x3f800000 : ret;
199 ret = ax == 0x3f800000 & ay == PINFBITPATT_SP32 ? QNANBITPATT_SP32 : ret;
202 ret = ((ix < PINFBITPATT_SP32) & (ay == 0)) ? 0x3f800000 : ret;
206 ret = ((ax == PINFBITPATT_SP32) & (ay == 0)) ? QNANBITPATT_SP32 : ret;
209 ret = ((ax == 0) & (ay == 0)) ? QNANBITPATT_SP32 : ret;
212 ret = ay > PINFBITPATT_SP32 ? iy : ret;
229 long ay = uy & (~SIGNBIT_DP64);
[all …]
Dclc_fmod.cl39 int ay = uy & EXSIGNBIT_SP32;
40 float ya = as_float(ay);
41 int ey = ay >> EXPSHIFTBITS_SP32;
44 float yr = as_float(0x3f800000 | (ay & 0x007fffff));
67 c = ax == ay;
72 c = ax > PINFBITPATT_SP32 | ay > PINFBITPATT_SP32 | ax == PINFBITPATT_SP32 | ay == 0;
92 ulong ay = uy & ~SIGNBIT_DP64;
93 double dy = as_double(ay);
94 int yexp = convert_int(ay >> EXPSHIFTBITS_DP64);
95 int yexp1 = 11 - (int) clz(ay & MANTBITS_DP64);
Dclc_remainder.cl39 int ay = uy & EXSIGNBIT_SP32;
40 float ya = as_float(ay);
41 int ey = ay >> EXPSHIFTBITS_SP32;
44 float yr = as_float(0x3f800000 | (ay & 0x007fffff));
75 c = ax == ay;
80 c = ax > PINFBITPATT_SP32 | ay > PINFBITPATT_SP32 | ax == PINFBITPATT_SP32 | ay == 0;
100 ulong ay = uy & ~SIGNBIT_DP64;
101 double dy = as_double(ay);
102 int yexp = convert_int(ay >> EXPSHIFTBITS_DP64);
103 int yexp1 = 11 - (int) clz(ay & MANTBITS_DP64);
Dclc_remquo.cl41 int ay = uy & EXSIGNBIT_SP32;
42 float ya = as_float(ay);
43 int sy = uy ^ ay;
44 int ey = ay >> EXPSHIFTBITS_SP32;
47 float yr = as_float(0x3f800000 | (ay & 0x007fffff));
81 c = ax == ay;
87 c = ax > PINFBITPATT_SP32 | ay > PINFBITPATT_SP32 | ax == PINFBITPATT_SP32 | ay == 0;
125 ulong ay = uy & ~SIGNBIT_DP64;
126 double dy = as_double(ay);
127 int yexp = convert_int(ay >> EXPSHIFTBITS_DP64);
[all …]
/external/deqp/framework/common/
DtcuTexVerifierUtil.cpp79 const float ay = de::abs(y); in getPossibleCubeFaces() local
87 if (ay+ey < ax-ex && az+ez < ax-ex) in getPossibleCubeFaces()
92 else if (ax+ex < ay-ey && az+ez < ay-ey) in getPossibleCubeFaces()
97 else if (ax+ex < az-ez && ay+ey < az-ez) in getPossibleCubeFaces()
111 if (ay > ey) in getPossibleCubeFaces()
/external/python/cpython2/Demo/curses/
Dtclock.py32 ay = abs(dy * 2)
40 if ax > ay:
41 d = ay - ax // 2
52 d += ay
54 d = ax - ay // 2
63 d -= ay
/external/llvm-project/clang/test/Analysis/
Dfuchsia_handle.cpp108 zx_handle_t ay[2]; in checkNoLeak02() local
109 zx_channel_create(0, &ay[0], &ay[1]); in checkNoLeak02()
110 zx_handle_close(ay[0]); in checkNoLeak02()
111 zx_handle_close(ay[1]); in checkNoLeak02()
115 zx_handle_t ay[2]; in checkNoLeak03() local
116 zx_channel_create(0, &ay[0], &ay[1]); in checkNoLeak03()
118 zx_handle_close(ay[i]); in checkNoLeak03()
/external/skia/src/pathops/
DSkPathOpsConic.cpp125 double ax, ay, az; in subDivide() local
128 ay = fPts[0].fY; in subDivide()
132 ay = conic_eval_numerator(&fPts[0].fY, fWeight, t1); in subDivide()
136 ay = fPts[2].fY; in subDivide()
158 double by = 2 * dy - (ay + cy) / 2; in subDivide()
163 SkDConic dst = {{{{ax / az, ay / az}, {bx / bz, by / bz}, {cx / cz, cy / cz}} in subDivide()
/external/skqp/src/pathops/
DSkPathOpsConic.cpp125 double ax, ay, az; in subDivide() local
128 ay = fPts[0].fY; in subDivide()
132 ay = conic_eval_numerator(&fPts[0].fY, fWeight, t1); in subDivide()
136 ay = fPts[2].fY; in subDivide()
158 double by = 2 * dy - (ay + cy) / 2; in subDivide()
163 SkDConic dst = {{{{ax / az, ay / az}, {bx / bz, by / bz}, {cx / cz, cy / cz}} in subDivide()
/external/rust/crates/libm/src/math/
Dnextafterf.rs14 let ay = uy_i & 0x7fff_ffff_u32; in nextafterf() localVariable
16 if ay == 0 { in nextafterf()
20 } else if ax > ay || ((ux_i ^ uy_i) & 0x8000_0000_u32) != 0 { in nextafterf()
Dnextafter.rs14 let ay = uy_i & !1_u64 / 2; in nextafter() localVariable
16 if ay == 0 { in nextafter()
20 } else if ax > ay || ((ux_i ^ uy_i) & 1_u64 << 63) != 0 { in nextafter()
/external/python/cpython3/Modules/
Dcmathmodule.c411 double ay, h; in cmath_atanh_impl() local
420 ay = fabs(z.imag); in cmath_atanh_impl()
421 if (z.real > CM_SQRT_LARGE_DOUBLE || ay > CM_SQRT_LARGE_DOUBLE) { in cmath_atanh_impl()
435 } else if (z.real == 1. && ay < CM_SQRT_DBL_MIN) { in cmath_atanh_impl()
437 if (ay == 0.) { in cmath_atanh_impl()
442 r.real = -log(sqrt(ay)/sqrt(hypot(ay, 2.))); in cmath_atanh_impl()
443 r.imag = copysign(atan2(2., -ay)/2, z.imag); in cmath_atanh_impl()
447 r.real = m_log1p(4.*z.real/((1-z.real)*(1-z.real) + ay*ay))/4.; in cmath_atanh_impl()
448 r.imag = -atan2(-2.*z.imag, (1-z.real)*(1+z.real) - ay*ay)/2.; in cmath_atanh_impl()
630 double ax, ay, am, an, h; in c_log() local
[all …]
/external/python/cpython2/Modules/
Dcmathmodule.c310 double ay, h; in c_atanh() local
319 ay = fabs(z.imag); in c_atanh()
320 if (z.real > CM_SQRT_LARGE_DOUBLE || ay > CM_SQRT_LARGE_DOUBLE) { in c_atanh()
334 } else if (z.real == 1. && ay < CM_SQRT_DBL_MIN) { in c_atanh()
336 if (ay == 0.) { in c_atanh()
341 r.real = -log(sqrt(ay)/sqrt(hypot(ay, 2.))); in c_atanh()
342 r.imag = copysign(atan2(2., -ay)/2, z.imag); in c_atanh()
346 r.real = m_log1p(4.*z.real/((1-z.real)*(1-z.real) + ay*ay))/4.; in c_atanh()
347 r.imag = -atan2(-2.*z.imag, (1-z.real)*(1+z.real) - ay*ay)/2.; in c_atanh()
529 double ax, ay, am, an, h; in c_log() local
[all …]
/external/fonttools/Lib/fontTools/pens/
DpointInsidePen.py120 ay = y4 - dy - cy - by
121 solutions = sorted(solveCubic(ay, by, cy, dy - y))
140 direction = 3*ay*t2 + 2*by*t + cy
143 direction = 6*ay*t + 2*by
147 direction = ay

12345678910>>...13