Searched defs:ax (Results 1 - 25 of 102) sorted by relevance

12345

/external/ceres-solver/internal/ceres/
H A Dgradient_checker_test.cc76 double ax = 0; local
79 ax += a_[j][u] * parameters[j][u];
85 double f = *residuals = exp(-ax);
129 double ax = 0; local
132 ax += a_[j][u] * parameters[j][u];
138 double f = *residuals = exp(-ax);
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DQuadraticSubDivide.cpp43 double ax = dst[0].x = interp_quad_coords(&src[0].x, t1); local
49 /* bx = */ dst[1].x = 2*dx - (ax + cx)/2;
H A DCubicParameterization_TestUtility.cpp8 double ax, bx, cx, dx; local
10 alt_set_abcd(&cubic[0].x, ax, bx, cx, dx);
12 set_abcd(&cubic[0].x, ax, bx, cx, dx);
18 calc_ABCD(ax, ay, coeffs);
22 double ax = cubic[0].x;
30 calc_ABCD(ax, bx, cx, dx, ay, by, cy, dy, coeffs);
34 coeffs[index] = (*calc_proc[procIndex])(ax, bx, cx, dx, ay, by, cy, dy);
H A DCubicSubDivide.cpp75 double ax = dst[0].x = interp_cubic_coords(&src[0].x, t1); local
83 double mx = ex * 27 - ax * 8 - dx;
85 double nx = fx * 27 - ax - dx * 8;
/external/chromium_org/third_party/skia/tests/
H A DColorTest.cpp33 int ax = SkMulDiv255Ceiling(x, a); local
34 REPORTER_ASSERT(reporter, ax <= a);
H A DPathOpsSimplifyDegenerateThreadedTest.cpp18 int ax = state.fA & 0x03; local
39 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay));
49 str += sprintf(str, " path.moveTo(%d, %d);\n", ax, ay);
74 int ax = a & 0x03; local
82 bool abcIsATriangle = (bx - ax) * (cy - ay) != (by - ay) * (cx - ax);
H A DPathOpsSimplifyQuadThreadedTest.cpp19 int ax = state.fA & 0x03; local
41 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay));
54 str += sprintf(str, " path.moveTo(%d, %d);\n", ax, ay);
H A DPathOpsSimplifyQuadralateralsThreadedTest.cpp19 int ax = state.fA & 0x03; local
41 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay));
54 str += sprintf(str, " path.moveTo(%d, %d);\n", ax, ay);
H A DPathOpsSimplifyTrianglesThreadedTest.cpp19 int ax = state.fA & 0x03; local
42 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay));
52 str += sprintf(str, " path.moveTo(%d, %d);\n", ax, ay);
79 int ax = a & 0x03; local
90 if ((bx - ax) * (cy - ay) == (by - ay) * (cx - ax)) {
/external/clang/test/SemaTemplate/
H A Dtemp_arg_type.cpp39 A1<Array<int, 17>::type> ax; variable
/external/qemu/distrib/sdl-1.2.15/src/joystick/nds/
H A DSDL_sysjoystick.c108 short ax=0,v=0,h=0; local
109 if((keysd&KEY_UP)) {ax=1;v=-10;SDL_PrivateJoystickAxis(joystick,ax,v);prevkey=KEY_UP;}//fprintf(stderr,"KEY_UP\n");}
110 if((keysd&KEY_DOWN)) {ax=1;v=10;SDL_PrivateJoystickAxis(joystick,ax,v);prevkey=KEY_DOWN;}//fprintf(stderr,"KEY_DOWN\n");}
111 if((keysd&KEY_LEFT)) {ax=0;h=-10;SDL_PrivateJoystickAxis(joystick,ax,h);prevkey=KEY_LEFT;}//fprintf(stderr,"KEY_LEFT\n");}
112 if((keysd&KEY_RIGHT)) {ax=0;h=10;SDL_PrivateJoystickAxis(joystick,ax,h);prevkey=KEY_RIGHT;}//fprintf(stderr,"KEY_RIGHT\n");}
114 if((keysu&KEY_UP)) {ax
[all...]
/external/skia/experimental/Intersection/
H A DQuadraticSubDivide.cpp43 double ax = dst[0].x = interp_quad_coords(&src[0].x, t1); local
49 /* bx = */ dst[1].x = 2*dx - (ax + cx)/2;
H A DCubicParameterization_TestUtility.cpp8 double ax, bx, cx, dx; local
10 alt_set_abcd(&cubic[0].x, ax, bx, cx, dx);
12 set_abcd(&cubic[0].x, ax, bx, cx, dx);
18 calc_ABCD(ax, ay, coeffs);
22 double ax = cubic[0].x;
30 calc_ABCD(ax, bx, cx, dx, ay, by, cy, dy, coeffs);
34 coeffs[index] = (*calc_proc[procIndex])(ax, bx, cx, dx, ay, by, cy, dy);
H A DCubicSubDivide.cpp75 double ax = dst[0].x = interp_cubic_coords(&src[0].x, t1); local
83 double mx = ex * 27 - ax * 8 - dx;
85 double nx = fx * 27 - ax - dx * 8;
/external/skia/tests/
H A DColorTest.cpp33 int ax = SkMulDiv255Ceiling(x, a); local
34 REPORTER_ASSERT(reporter, ax <= a);
H A DPathOpsSimplifyDegenerateThreadedTest.cpp18 int ax = state.fA & 0x03; local
39 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay));
49 str += sprintf(str, " path.moveTo(%d, %d);\n", ax, ay);
74 int ax = a & 0x03; local
82 bool abcIsATriangle = (bx - ax) * (cy - ay) != (by - ay) * (cx - ax);
H A DPathOpsSimplifyQuadThreadedTest.cpp19 int ax = state.fA & 0x03; local
41 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay));
54 str += sprintf(str, " path.moveTo(%d, %d);\n", ax, ay);
H A DPathOpsSimplifyQuadralateralsThreadedTest.cpp19 int ax = state.fA & 0x03; local
41 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay));
54 str += sprintf(str, " path.moveTo(%d, %d);\n", ax, ay);
H A DPathOpsSimplifyTrianglesThreadedTest.cpp19 int ax = state.fA & 0x03; local
42 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay));
52 str += sprintf(str, " path.moveTo(%d, %d);\n", ax, ay);
79 int ax = a & 0x03; local
90 if ((bx - ax) * (cy - ay) == (by - ay) * (cx - ax)) {
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_cpu_detect.c183 cpuid(uint32_t ax, uint32_t *p) argument
194 : "0" (ax)
203 : "0" (ax)
206 __cpuid(p, ax);
/external/eigen/demos/opengl/
H A Dgpuhelper.cpp63 Vector3f ax = Matrix3f::Identity().col(2).cross(vec); local
64 ax.normalize();
69 glRotatef(angle, ax.x(), ax.y(), ax.z());
84 Vector3f ax = Matrix3f::Identity().col(2).cross(vec); local
85 ax.normalize();
90 glRotatef(angle, ax.x(), ax.y(), ax
[all...]
/external/eigen/unsupported/Eigen/src/AutoDiff/
H A DAutoDiffJacobian.h59 ActiveInput ax = x.template cast<ActiveScalar>(); local
67 ax[i].derivatives() = DerivativeType::Unit(this->inputs(),i);
69 Functor::operator()(ax, &av);
/external/fdlibm/
H A Ds_log1p.c107 int k,hx,hu,ax; local
110 ax = hx&0x7fffffff;
114 if(ax>=0x3ff00000) { /* x <= -1.0 */
118 if(ax<0x3e200000) { /* |x| < 2**-29 */
120 &&ax<0x3c900000) /* |x| < 2**-54 */
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_cpu_detect.c183 cpuid(uint32_t ax, uint32_t *p) argument
194 : "0" (ax)
203 : "0" (ax)
206 __cpuid(p, ax);
/external/pdfium/core/src/fxge/agg/agg23/
H A Dagg_math.h49 AGG_INLINE bool calc_intersection(FX_FLOAT ax, FX_FLOAT ay, FX_FLOAT bx, FX_FLOAT by, argument
53 FX_FLOAT num = FXSYS_Mul(ay - cy, dx - cx) - FXSYS_Mul(ax - cx, dy - cy);
54 FX_FLOAT den = FXSYS_Mul(bx - ax, dy - cy) - FXSYS_Mul(by - ay, dx - cx);
58 *x = ax + FXSYS_MulDiv(bx - ax, num, den);

Completed in 453 milliseconds

12345