Lines Matching refs:value
32 uint64_t value = 0;
44 SkDOM::Attr* attr, const char name[], const char value[], const SkColorEx& svgThemeColor) {
45 if (svgThemeColor.valid && (((strcmp(name, "fill") == 0) && (strcmp(value, "none") != 0)) ||
46 ((strcmp(name, "stroke") == 0) && (strcmp(value, "none") != 0))) && isPureColor(value)) {
50 attr->fValue = dupstr(fAlloc, value, strlen(value));
65 attr->fValue = dupstr(fAlloc, value, strlen(value));
74 bool onAddAttribute(const char name[], const char value[]) override {
78 svgThemeColor.value = fSvgThemeColor;
79 if (!setSVGColor(attr, name, value, svgThemeColor)) {
82 attr->fValue = dupstr(fAlloc, value, strlen(value));
132 bool isPureColor(const char value[]) const {
133 std::string color(value);
142 // 6 is least length of "url(#..." of a valid color value, 5 is to get the "url(#"