Lines Matching refs:ParseHex
423 static uint32_t ParseHex(char c, bool* out_error) { in ParseHex() function
449 value.data |= ParseHex(start[1], &error) << 20; in TryParseColor()
450 value.data |= ParseHex(start[1], &error) << 16; in TryParseColor()
451 value.data |= ParseHex(start[2], &error) << 12; in TryParseColor()
452 value.data |= ParseHex(start[2], &error) << 8; in TryParseColor()
453 value.data |= ParseHex(start[3], &error) << 4; in TryParseColor()
454 value.data |= ParseHex(start[3], &error); in TryParseColor()
457 value.data |= ParseHex(start[1], &error) << 28; in TryParseColor()
458 value.data |= ParseHex(start[1], &error) << 24; in TryParseColor()
459 value.data |= ParseHex(start[2], &error) << 20; in TryParseColor()
460 value.data |= ParseHex(start[2], &error) << 16; in TryParseColor()
461 value.data |= ParseHex(start[3], &error) << 12; in TryParseColor()
462 value.data |= ParseHex(start[3], &error) << 8; in TryParseColor()
463 value.data |= ParseHex(start[4], &error) << 4; in TryParseColor()
464 value.data |= ParseHex(start[4], &error); in TryParseColor()
468 value.data |= ParseHex(start[1], &error) << 20; in TryParseColor()
469 value.data |= ParseHex(start[2], &error) << 16; in TryParseColor()
470 value.data |= ParseHex(start[3], &error) << 12; in TryParseColor()
471 value.data |= ParseHex(start[4], &error) << 8; in TryParseColor()
472 value.data |= ParseHex(start[5], &error) << 4; in TryParseColor()
473 value.data |= ParseHex(start[6], &error); in TryParseColor()
476 value.data |= ParseHex(start[1], &error) << 28; in TryParseColor()
477 value.data |= ParseHex(start[2], &error) << 24; in TryParseColor()
478 value.data |= ParseHex(start[3], &error) << 20; in TryParseColor()
479 value.data |= ParseHex(start[4], &error) << 16; in TryParseColor()
480 value.data |= ParseHex(start[5], &error) << 12; in TryParseColor()
481 value.data |= ParseHex(start[6], &error) << 8; in TryParseColor()
482 value.data |= ParseHex(start[7], &error) << 4; in TryParseColor()
483 value.data |= ParseHex(start[8], &error); in TryParseColor()