• Home
  • Raw
  • Download

Lines Matching refs:attrValue

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