Searched refs:dot (Results 1 - 25 of 307) sorted by last modified time

1234567891011>>

/external/vixl/src/a64/
H A Ddebugger-a64.cc1187 char* dot = strchr(chunk, '.'); local
1188 if (dot != NULL) {
1190 Token* format = FormatToken::Tokenize(dot + 1);
1192 *dot = '\0';
/external/valgrind/main/coregrind/
H A Dlauncher-darwin.c263 char *dot = strrchr(appname, '.'); local
264 if (dot) {
266 *dot = '\0';
/external/valgrind/main/coregrind/m_debuginfo/
H A Ddebuginfo.c1053 HChar* dot; local
1153 /* Why +5 ? Because in the worst case, we could find a dot as the
1159 dot = VG_(strrchr)(pdbname, '.');
1160 if (!dot)
1161 goto out; /* there's no dot in the exe's name ?! */
1162 if (dot[1] == 0)
1165 if ('A' <= dot[1] && dot[1] <= 'Z')
1166 VG_(strcpy)(dot, ".PDB");
1168 VG_(strcpy)(dot, "
[all...]
/external/stlport/src/
H A Dnum_put_float.cpp758 char static_buf[limits::max_exponent10 + 6]; // 6: -xxx.yyyE-zzz (sign, dot, E, exp sign, \0)
875 const ctype<wchar_t>& ct, wchar_t dot, bool __check_dot) {
878 //First loop, check the dot char
884 out += dot;
895 //Second loop, dot has been found, no check anymore
905 __adjust_float_buffer(__iostring &str, char dot) { argument
906 if ('.' != dot) {
909 str[__dot_pos] = dot;
874 __convert_float_buffer( __iostring const& str, __iowstring &out, const ctype<wchar_t>& ct, wchar_t dot, bool __check_dot) argument
/external/srec/srec/Semproc/src/
H A DSymbolTable.c152 LCHAR *dot; local
178 /* try without dot */
179 dot = LSTRCHR(key, L('.'));
180 if (dot)
181 key = ++dot;
/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/core/
H A DSkMatrix.cpp23 // However, these few lines that performed the last add before the "dot", cause
184 return SkScalarNearlyZero(vec[0].dot(vec[1]), SkScalarSquare(tol)) &&
216 return SkScalarNearlyZero(vec[0].dot(vec[1]), SkScalarSquare(tol)) &&
H A DSkStroke.cpp33 // if the dot-product is -1, then we are definitely too pinchy. We tweak
43 SkScalar dot = SkPoint::DotProduct(norm0, norm1);
44 return dot <= kTooPinchyNormalDotProd;
271 SkScalar dot = SkPoint::DotProduct(unitNormalAB, *unitNormalBC); local
273 SkScalarSqrt((SK_Scalar1 + dot)/2))));
349 SkScalar dot = SkPoint::DotProduct(unitNormalAB, unitBC); local
351 SkScalarSqrt((SK_Scalar1 + dot)/2))));
352 dot = SkPoint::DotProduct(*unitNormalCD, unitBC);
354 SkScalarSqrt((SK_Scalar1 + dot)/2))));
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/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;
H A DSkLightingImageFilter.cpp63 SkScalar colorScale = SkScalarMul(fKD, normal.dot(surfaceTolight));
84 SkScalarPow(normal.dot(halfDir), fShininess));
710 SkScalar cosAngle = -surfaceToLight.dot(fS);
1397 lightBody.appendf("\tfloat colorScale = %s * dot(normal, surfaceToLight);\n", kd);
1479 lightBody.appendf("\tfloat colorScale = %s * pow(dot(normal, halfDir), %s);\n", ks, shininess);
1596 lightColorBody.appendf("\tfloat cosAngle = -dot(surfaceToLight, %s);\n", s);
H A DSkPerlinNoiseShader.cpp362 u = paintingData.fGradient[channel][b00].dot(fractionValue);
364 v = paintingData.fGradient[channel][b10].dot(fractionValue);
367 v = paintingData.fGradient[channel][b11].dot(fractionValue);
369 u = paintingData.fGradient[channel][b01].dot(fractionValue);
699 // [-1,1] vector and perform a dot product between that vector and the provided vector.
700 const char* dotLattice = "dot(((%s.ga + %s.rb * vec2(%s)) * vec2(2.0) - vec2(1.0)), %s);";
/external/skia/src/gpu/
H A DGrAAConvexPathRenderer.cpp195 data->fLineC = -data->fLineNormal.dot(data->fFirstPoint);
200 if (SkScalarAbs(data->fLineNormal.dot(pt) + data->fLineC) > kClose) {
454 SkScalar c = segb.fNorms[0].dot(qpts[0]);
455 verts[*v + 0].fD0 = -segb.fNorms[0].dot(fanPt) + c;
457 verts[*v + 2].fD0 = -segb.fNorms[0].dot(qpts[2]) + c;
462 c = segb.fNorms[1].dot(qpts[2]);
463 verts[*v + 0].fD1 = -segb.fNorms[1].dot(fanPt) + c;
464 verts[*v + 1].fD1 = -segb.fNorms[1].dot(qpts[0]) + c;
H A DGrAAHairLinePathRenderer.cpp514 SkScalar lineAW = -normA.dot(ptA);
515 SkScalar lineBW = -normB.dot(ptB);
579 if (abN.dot(ac) > 0) {
586 if (cbN.dot(ac) < 0) {
613 // K = dot(k, P), L = dot(l, P), M = dot(m, P)
H A DGrPathUtils.cpp234 lineVec.dot(qPts[0]);
242 fM[5] = -lineVec.dot(qPts[maxEdge]);
484 SkScalar z0 = -ab.dot(p[0]);
486 SkScalar z1 = -dc.dot(p[3]);
/external/skia/src/pathops/
H A DSkDQuadIntersection.cpp205 double dot = dxy1.dot(dxy2); local
206 if (dot < 0) {
H A DSkOpAngle.cpp1082 // m = v1.cross(v2) / v1.dot(v2)
1085 double s0dt0 = sweep[0].dot(tweep[0]);
H A DSkPathOpsCubic.cpp100 if (startTan.dot(endTan) >= 0) {
349 Looking for F' dot F'' == 0
358 F' dot F'' -> CCt^3 + 3BCt^2 + (2BB + CA)t + AB
H A DSkPathOpsPoint.h64 double dot(const SkDVector& a) const { function in struct:SkDVector
H A DSkPathOpsQuad.cpp22 double a = B.dot(B);
23 double b = 3 * A.dot(B);
24 double c = 2 * A.dot(A) + pos.dot(B);
25 double d = pos.dot(A);
H A DSkPathOpsTriangle.cpp18 // Compute dot products
19 double dot00 = v0.dot(v0);
20 double dot01 = v0.dot(v1);
21 double dot02 = v0.dot(v2);
22 double dot11 = v1.dot(v1);
23 double dot12 = v1.dot(v2);
/external/skia/src/ports/
H A DSkFontHost_mac.cpp232 char* dot = strchr(info.release, '.'); local
233 if (!dot) {
234 SkDebugf("expected dot in uname release %s\n", info.release);
/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/tests/
H A DPathOpsAngleIdeas.cpp139 // m = v1.cross(v2) / v1.dot(v2)
140 double s0dt0 = sweep[0].dot(tweep[0]);
752 // m = v1.cross(v2) / v1.dot(v2)
753 double div = v1.dot(v2);
H A DPathOpsDVectorTest.cpp44 double v1Dot = v1.dot(v1);

Completed in 1362 milliseconds

1234567891011>>