Searched defs:dot (Results 51 - 75 of 129) sorted by relevance

123456

/external/pixman/pixman/
H A Dpixman-radial-gradient.c38 dot (pixman_fixed_48_16_t x1, function
62 * Using clever dot product algorithms (for example compensated
63 * dot product) would improve this but make the code much less
307 * If fdot was used instead of dot, in the worst case it would
314 b = dot (v.vector[0], v.vector[1], radial->c1.radius,
316 db = dot (unit.vector[0], unit.vector[1], 0,
319 c = dot (v.vector[0], v.vector[1],
322 dc = dot (2 * (pixman_fixed_48_16_t) v.vector[0] + unit.vector[0],
326 ddc = 2 * dot (unit.vector[0], unit.vector[1], 0,
463 radial->a = dot (radia
[all...]
/external/skia/src/core/
H A DSkStrokerPriv.cpp74 static AngleType Dot2AngleType(SkScalar dot) argument
77 // SkASSERT(SkScalarAbs(dot) <= SK_Scalar1 + SK_ScalarNearlyZero);
79 if (dot >= 0) // shallow or line
80 return SkScalarNearlyZero(SK_Scalar1 - dot) ? kNearlyLine_AngleType : kShallow_AngleType;
82 return SkScalarNearlyZero(SK_Scalar1 + dot) ? kNearly180_AngleType : kSharp_AngleType;
163 // negate the dot since we're using normals instead of tangents
192 Note: we only need to check one normal if dot==0
207 hence 1 + dot instead of 1 - dot in the formula
/external/skia/src/pathops/
H A DSkPathOpsPoint.h64 double dot(const SkDVector& a) const { function in struct:SkDVector
/external/valgrind/main/coregrind/
H A Dlauncher-darwin.c263 char *dot = strrchr(appname, '.'); local
264 if (dot) {
266 *dot = '\0';
/external/chromium_org/cc/quads/
H A Ddraw_polygon.cc101 double dot = gfx::DotProduct(a.normal_, b.normal_); local
105 if (std::abs(dot) >= 1.0f - coplanar_dot_epsilon) {
118 // No it wasn't, so the sign of the dot product of the normals
120 if (dot >= 0.0f) {
/external/chromium_org/third_party/icu/source/tools/makeconv/
H A Dmakeconv.c200 char* dot = NULL, *outBasename; local
317 dot = uprv_strrchr(outBasename, '.');
318 if (dot)
320 *dot = '\0';
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DQuadraticImplicit.cpp211 double dot = dxy1.dot(dxy2); local
212 if (dot < 0) {
318 double dot = dxdy.dot(dxdy2);
319 flip = dot < 0;
H A DDataTypes.h237 double dot(const _Vector& a) const { function in struct:_Vector
/external/chromium_org/third_party/skia/include/core/
H A DSkPoint.h143 /** Returns the dot product of a and b, treating them as 2D vectors
433 /** Returns the dot product of a and b, treating them as 2D vectors
449 SkScalar dot(const SkPoint& vec) const { function in struct:SkPoint
/external/chromium_org/third_party/skia/src/animator/
H A DSkAnimateMaker.cpp193 const char* dot = strchr(name, '.'); local
194 SkASSERT(dot);
196 if (find(name, dot - name, &displayable) == false) {
200 const char* fieldName = dot + 1;
/external/chromium_org/third_party/skia/src/utils/
H A DSkCamera.cpp220 SkScalar dot = SkUnit3D::Dot(*SkTCast<const SkUnit3D*>(&fZenith), axis); local
222 zenith.fX = fZenith.fX - dot * axis.fX;
223 zenith.fY = fZenith.fY - dot * axis.fY;
224 zenith.fZ = fZenith.fZ - dot * axis.fZ;
258 SkScalar dot; local
264 dot = SkUnit3D::Dot(*SkTCast<const SkUnit3D*>(&diff),
268 matrix->set(SkMatrix::kMScaleX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot));
269 matrix->set(SkMatrix::kMSkewY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot));
270 matrix->set(SkMatrix::kMPersp0, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot));
273 matrix->set(SkMatrix::kMSkewX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot));
[all...]
/external/chromium_org/third_party/skia/tools/
H A Drender_pictures_main.cpp112 const char* dot = strrchr(cName, '.'); local
113 if (dot != NULL) {
114 gInputFileName.set(cName, dot - cName);
H A Dskimage_main.cpp639 const char* dot = strrchr(srcPath, '.'); local
640 if (dot) {
641 format = guess_format_from_suffix(dot);
/external/chromium_org/ui/events/gesture_detection/
H A Dvelocity_tracker.cc503 float dot = VectorDot(&q[j][0], &q[i][0], m); local
505 q[j][h] -= dot * q[i][h];
/external/deqp/framework/common/
H A DtcuVectorUtil.hpp85 inline float dot (float x, float y) { return (x * y); } function in namespace:tcu
133 inline T dot (const Vector<T, Size>& a, const Vector<T, Size>& b) function in namespace:tcu
185 return (dot(ref, i) < T(0)) ? n: -n;
191 return i - T(2) * dot(n, i) * n;
198 T cosAngle = dot(n, i);
/external/icu/icu4c/source/tools/makeconv/
H A Dmakeconv.c200 char* dot = NULL, *outBasename; local
317 dot = uprv_strrchr(outBasename, '.');
318 if (dot)
320 *dot = '\0';
/external/libvorbis/doc/
H A D01-introduction.tex301 \item compute dot product of floor and residue, producing audio spectrum vector
438 combining generation and the dot product into one step and eliminating
442 vector to be multiplied (dot product) by the linear-range,
447 \paragraph{compute floor/residue dot product}
454 % in section 4 (under "dot product")
455 One point is worth mentioning about this dot product; a common mistake
471 residue vector must be able to represent a 48 bit range and the dot
/external/skia/experimental/Intersection/
H A DQuadraticImplicit.cpp211 double dot = dxy1.dot(dxy2); local
212 if (dot < 0) {
318 double dot = dxdy.dot(dxdy2);
319 flip = dot < 0;
/external/skia/include/core/
H A DSkPoint.h143 /** Returns the dot product of a and b, treating them as 2D vectors
433 /** Returns the dot product of a and b, treating them as 2D vectors
449 SkScalar dot(const SkPoint& vec) const { function in struct:SkPoint
/external/skia/src/animator/
H A DSkAnimateMaker.cpp193 const char* dot = strchr(name, '.'); local
194 SkASSERT(dot);
196 if (find(name, dot - name, &displayable) == false) {
200 const char* fieldName = dot + 1;
/external/skia/src/utils/
H A DSkCamera.cpp220 SkScalar dot = SkUnit3D::Dot(*SkTCast<const SkUnit3D*>(&fZenith), axis); local
222 zenith.fX = fZenith.fX - dot * axis.fX;
223 zenith.fY = fZenith.fY - dot * axis.fY;
224 zenith.fZ = fZenith.fZ - dot * axis.fZ;
258 SkScalar dot; local
264 dot = SkUnit3D::Dot(*SkTCast<const SkUnit3D*>(&diff),
268 matrix->set(SkMatrix::kMScaleX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot));
269 matrix->set(SkMatrix::kMSkewY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot));
270 matrix->set(SkMatrix::kMPersp0, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot));
273 matrix->set(SkMatrix::kMSkewX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot));
[all...]
/external/skia/tools/
H A Drender_pictures_main.cpp108 const char* dot = strrchr(cName, '.'); local
109 if (dot != NULL) {
110 gInputFileName.set(cName, dot - cName);
/external/chromium-trace/trace-viewer/third_party/gl-matrix/dist/
H A Dgl-matrix.js421 * Calculates the dot product of two vec2's
425 * @returns {Number} dot product of a and b
427 vec2.dot = function (a, b) {
926 * Calculates the dot product of two vec3's
930 * @returns {Number} dot product of a and b
932 vec3.dot = function (a, b) {
1430 * Calculates the dot product of two vec4's
1434 * @returns {Number} dot product of a and b
1436 vec4.dot = function (a, b) {
3642 * Calculates the dot produc
[all...]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/
H A DTool.java678 String dot = dotGenerator.getDOT(dfa.startState);
684 writeDOTFile(g, dotFileName, dot);
701 String dot = dotGenerator.getDOT(r.startState);
702 if (dot != null) {
703 writeDOTFile(g, r, dot);
711 protected void writeDOTFile(Grammar g, Rule r, String dot) throws IOException { argument
712 writeDOTFile(g, r.grammar.name + "." + r.name, dot);
715 protected void writeDOTFile(Grammar g, String name, String dot) throws IOException { argument
716 Writer fw = getOutputFile(g, name + ".dot");
717 fw.write(dot);
[all...]
/external/chromium_org/third_party/skia/third_party/lua/src/
H A Dloadlib.c571 const char *dot; local
576 dot = strrchr(modname, '.'); /* look for last dot in module name */
577 if (dot == NULL) dot = modname;
578 else dot++;
580 lua_pushlstring(L, modname, dot - modname);

Completed in 601 milliseconds

123456