Go to the source code of this file.
◆ DEF_TEST()
Definition at line 168 of file ParseColorTest.cpp.
168 {
170
172
174 == c.fName + strlen(c.fName));
176
177
178 for (int l = strlen(c.fName) - 1; l >= 0; --l) {
180
182
184 }
185
186
190 }
191
192
198}
static constexpr struct @434 gNamedColors[]
static bool is_valid_name(const SkString &name)
#define REPORTER_ASSERT(r, cond,...)
static const char * FindNamedColor(const char str[], size_t len, SkColor *color)
◆ is_valid_name()
static bool is_valid_name |
( |
const SkString & |
name | ) |
|
|
static |
Definition at line 161 of file ParseColorTest.cpp.
161 {
163 if (
name.equals(c.fName))
return true;
164 }
165 return false;
166}
DEF_SWITCHES_START aot vmservice shared library name
◆ fColor
◆ fName
constexpr struct { ... } gNamedColors[] |