85 "lightgoldenrodyellow",
310 [](
const char*
name,
const char*
key) {
323 return name + strlen(*rec);
351 if (
value[0] ==
'#') {
358 if (
len == 3 ||
len == 4) {
360 unsigned r =
nib2byte((hex >> 8) & 0xF);
361 unsigned g =
nib2byte((hex >> 4) & 0xF);
365 }
else if (
len == 6 ||
len == 8) {
367 hex |= oldAlpha << 24;
#define SkColorSetRGB(r, g, b)
static constexpr SkColor SkColorSetARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b)
#define SkColorGetA(color)
static constexpr const char * gColorNames[]
static constexpr struct ColorRec gColors[]
static unsigned nib2byte(unsigned n)
static const char * FindHex(const char str[], uint32_t *value)
static const char * FindNamedColor(const char str[], size_t len, SkColor *color)
static const char * FindColor(const char str[], SkColor *value)
static const char * begin(const StringSlice &s)
DEF_SWITCHES_START aot vmservice shared library name