Lines Matching defs:str
331 SkString str;
334 contour->debugShowActiveSpans(&str);
336 if (!gActiveSpans.equals(str)) {
337 const char* s = str.c_str();
343 gActiveSpans.set(str);
483 void SkPathOpsDebug::MathematicaIze(char* str, size_t bufferLen) {
484 size_t len = strlen(str);
487 if (num && str[idx] == 'e') {
491 memmove(&str[idx + 2], &str[idx + 1], len - idx);
492 str[idx] = '*';
493 str[idx + 1] = '^';
496 num = str[idx] >= '0' && str[idx] <= '9';
1118 void SkOpSegment::debugShowActiveSpans(SkString* str) const {
1135 str->appendf("%s id=%d", __FUNCTION__, this->debugID());
1140 str->appendf(" (%1.9g,%1.9g", pts[0].fX, pts[0].fY);
1142 str->appendf(" %1.9g,%1.9g", pts[vIndex].fX, pts[vIndex].fY);
1145 str->appendf(" %1.9gf", curvePart.fConic.fWeight);
1147 str->appendf(") t=%1.9g tEnd=%1.9g", span->t(), span->next()->t());
1149 str->appendf(" windSum=?");
1151 str->appendf(" windSum=%d", span->windSum());
1154 str->appendf(" oppSum=?");
1156 str->appendf(" oppSum=%d", span->oppSum());
1158 str->appendf(" windValue=%d", span->windValue());
1160 str->appendf(" oppValue=%d", span->oppValue());
1162 str->appendf("\n");
2818 SkString str;
2819 str.printf("%1.9g", num);
2820 int width = (int) str.size();
2821 const char* cStr = str.c_str();
2825 str.resize(width);
2826 SkDebugf("%sf", str.c_str());