Lines Matching refs:attrValue
53 const char* attrValue, size_t attrLength) {
76 attr->set(attrValue, attrLength);
80 int pairs = SkParse::Count(attrValue, ';');
81 const char* attrEnd = attrValue + attrLength;
83 const char* end = strchr(attrValue, ';');
86 const char* delimiter = strchr(attrValue, ':');
88 int index = parser.findAttribute(this, attrValue, (int) (delimiter - attrValue), true);
92 attrValue = end + 1;
280 const char* attrValue = topAttr->c_str();
296 parser._addAttributeLen("textSize", attrValue, attrLength);
299 parser._addAttributeLen("textTracking", attrValue, attrLength);
313 if (strncmp(attrValue, "url(", 4) == 0) {
314 SkASSERT(attrValue[4] == '#');
315 const char* idStart = attrValue + 5;
316 const char* idEnd = strrchr(attrValue, ')');
332 parser._addAttributeLen("strokeCap", attrValue, attrLength);
335 parser._addAttributeLen("strokeJoin", attrValue, attrLength);
338 parser._addAttributeLen("strokeMiter", attrValue, attrLength);
341 parser._addAttributeLen("strokeWidth", attrValue, attrLength);
361 const char* attrValue = topAttr->c_str();
378 parser._addAttributeLen("fontName", attrValue, attrLength);
400 if (strncmp(lastAttr->c_str(), "url(", 4) == 0 && strncmp(attrValue, "url(", 4) != 0) {
407 bool urlRef = strncmp(attrValue, "url(", 4) == 0;
408 bool colorNone = strcmp(attrValue, "none") == 0;
409 bool lastEqual = parser.fLastColor.equals(attrValue, attrLength);
414 parser._addAttributeLen("color", attrValue, attrLength);
415 parser.fLastColor.set(attrValue, attrLength);