Searched defs:dot (Results 26 - 50 of 129) sorted by relevance

123456

/external/skia/experimental/
H A DSkSetPoly3To3_A.cpp46 static SkScalar dot(SkScalar ax, SkScalar ay, SkScalar bx, SkScalar by) { function
79 matrix->setTranslateX(dstAve.fX - dot(srcAve.fX, srcAve.fY,
81 matrix->setTranslateY(dstAve.fY - dot(srcAve.fX, srcAve.fY,
H A DSkSetPoly3To3_D.cpp49 static SkScalar dot(SkScalar ax, SkScalar ay, SkScalar bx, SkScalar by) { function
69 matrix->setTranslateX(dstAve.fX - dot(srcAve.fX, srcAve.fY,
71 matrix->setTranslateY(dstAve.fY - dot(srcAve.fX, srcAve.fY,
/external/skia/src/effects/
H A DSkEmbossMask.cpp119 SkFixed dot = numer / denom;
120 dot >>= 8; // now dot is 2^8 instead of 2^16
125 // SkFixed dot = SkFixedMul(numer, gTable[]) >> 8
126 SkFixed dot = (unsigned)(numer >> 4) * gInvSqrtTable[(SkAbs32(nx) >> 1 << 7) | (SkAbs32(ny) >> 1)] >> 20; local
128 mul = SkFastMin32(mul + dot, 255);
135 int hilite = (2 * dot - lz_dot8) * lz_dot8 >> 8;
/external/chromium-trace/trace-viewer/third_party/gl-matrix/src/gl-matrix/
H A Dvec2.js319 * Calculates the dot product of two vec2's
323 * @returns {Number} dot product of a and b
325 vec2.dot = function (a, b) {
H A Dvec3.js340 * Calculates the dot product of two vec3's
344 * @returns {Number} dot product of a and b
346 vec3.dot = function (a, b) {
H A Dvec4.js360 * Calculates the dot product of two vec4's
364 * @returns {Number} dot product of a and b
366 vec4.dot = function (a, b) {
/external/chromium_org/net/base/registry_controlled_domains/
H A Dregistry_controlled_domain.cc213 // A single trailing dot isn't relevant in this determination, but does need
293 // The "2" in this next line is 1 for the dot, plus a 1-char minimum preceding
302 // Move past the dot preceding the registry, and search for the next previous
303 // dot. Return the host from after that dot, or the whole host when there is
304 // no dot.
305 const size_t dot = host.rfind('.', host.length() - registry_length - 2); local
306 if (dot == std::string::npos)
308 return host.substr(dot + 1);
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
H A DFloatPoint.h109 float dot(const FloatPoint& a) const function in class:blink::FloatPoint
212 // dot product
213 return a.dot(b);
H A DFloatPoint3D.h94 float dot(const FloatPoint3D& a) const function in class:blink::FloatPoint3D
121 float lengthSquared() const { return this->dot(*this); }
166 // dot product
167 return a.dot(b);
H A DFloatQuad.cpp49 inline float dot(const FloatSize& a, const FloatSize& b) function in namespace:blink
66 // Compute dot products
67 float dot00 = dot(v0, v0);
68 float dot01 = dot(v0, v1);
69 float dot02 = dot(v0, v2);
70 float dot11 = dot(v1, v1);
71 float dot12 = dot(v1, v2);
/external/chromium_org/third_party/freetype/src/psnames/
H A Dpsmodule.c42 /* we do deal with glyph variants by detecting a non-initial dot in */
141 /* Look for a non-initial dot in the glyph name in order to */
145 const char* dot = NULL; local
152 dot = p;
158 if ( !dot )
161 return (FT_UInt32)( ft_get_adobe_glyph_index( glyph_name, dot ) |
/external/chromium_org/third_party/mesa/src/src/glsl/
H A Dir_constant_expression.cpp63 dot(ir_constant *op0, ir_constant *op1) function
470 data.f[0] = dot(op[0], op[1]);
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
H A Ds_texcombine.c390 GLfloat dot = ((arg0[i][RCOMP] - 0.5F) * (arg1[i][RCOMP] - 0.5F) + local
394 dot = CLAMP(dot, 0.0F, 1.0F);
395 rgba[i][RCOMP] = rgba[i][GCOMP] = rgba[i][BCOMP] = dot;
402 GLfloat dot = ((arg0[i][RCOMP] - 0.5F) * (arg1[i][RCOMP] - 0.5F) + local
406 dot = CLAMP(dot, 0.0F, 1.0F);
407 rgba[i][RCOMP] = rgba[i][GCOMP] = rgba[i][BCOMP] = dot;
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/
H A Dt_rasterpos.c93 GLfloat dot = v[0] * ctx->Transform._ClipUserPlane[p][0] local
97 if (dot < 0.0F) {
/external/chromium_org/third_party/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/chromium_org/third_party/skia/src/pathops/
H A DSkPathOpsPoint.h64 double dot(const SkDVector& a) const { function in struct:SkDVector
/external/chromium_org/tools/win/link_limiter/
H A Dlimiter.cc329 size_t dot = base_pipename.find(L'.'); local
330 if (dot == tstring::npos) {
333 base_pipename = base_pipename.substr(0, dot);
/external/dnsmasq/src/
H A Dhelper.c254 char *dot; local
259 else if ((dot = strchr(hostname, '.')))
261 my_setenv("DNSMASQ_DOMAIN", dot+1, &err);
262 *dot = 0;
/external/freetype/src/psnames/
H A Dpsmodule.c42 /* we do deal with glyph variants by detecting a non-initial dot in */
141 /* Look for a non-initial dot in the glyph name in order to */
145 const char* dot = NULL; local
152 dot = p;
158 if ( !dot )
161 return (FT_UInt32)( ft_get_adobe_glyph_index( glyph_name, dot ) |
/external/llvm/lib/MC/
H A DMCWin64EH.cpp228 size_t dot = name.find('.', 1); local
229 if (dollar == StringRef::npos && dot == StringRef::npos)
231 if (dot == StringRef::npos)
233 if (dollar == StringRef::npos || dot < dollar)
234 return name.substr(dot);
/external/llvm/lib/Support/
H A DAPFloat.cpp211 StringRef::iterator *dot)
214 *dot = end;
219 *dot = p++;
254 StringRef::iterator dot = end; local
255 StringRef::iterator p = skipLeadingZeroesAndAnyDot (begin, end, &dot);
263 assert(dot == end && "String contains multiple dots");
264 dot = p++;
275 assert((dot == end || p - begin != 1) && "Significand has no digits");
281 if (dot == end)
282 dot
210 skipLeadingZeroesAndAnyDot(StringRef::iterator begin, StringRef::iterator end, StringRef::iterator *dot) argument
[all...]
/external/mesa3d/src/glsl/
H A Dir_constant_expression.cpp63 dot(ir_constant *op0, ir_constant *op1) function
470 data.f[0] = dot(op[0], op[1]);
/external/mesa3d/src/mesa/swrast/
H A Ds_texcombine.c382 GLfloat dot = ((arg0[i][RCOMP] - 0.5F) * (arg1[i][RCOMP] - 0.5F) + local
386 dot = CLAMP(dot, 0.0F, 1.0F);
387 rgba[i][RCOMP] = rgba[i][GCOMP] = rgba[i][BCOMP] = dot;
394 GLfloat dot = ((arg0[i][RCOMP] - 0.5F) * (arg1[i][RCOMP] - 0.5F) + local
398 dot = CLAMP(dot, 0.0F, 1.0F);
399 rgba[i][RCOMP] = rgba[i][GCOMP] = rgba[i][BCOMP] = dot;
/external/mesa3d/src/mesa/tnl/
H A Dt_rasterpos.c93 GLfloat dot = v[0] * ctx->Transform._ClipUserPlane[p][0] local
97 if (dot < 0.0F) {
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/psnames/
H A Dfxft_psmodule.c45 /* we do deal with glyph variants by detecting a non-initial dot in */
143 /* Look for a non-initial dot in the glyph name in order to */
147 const char* dot = NULL; local
154 dot = p;
160 if ( !dot )
163 return (FT_UInt32)( ft_get_adobe_glyph_index( glyph_name, dot ) |

Completed in 1876 milliseconds

123456