Home
last modified time | relevance | path

Searched refs:digitBuffer (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLElement.cpp828 Vector<char, maxColorLength+2> digitBuffer; in parseColorStringWithCrazyLegacyRules() local
837 for (; i < colorString.length() && digitBuffer.size() < maxColorLength; i++) { in parseColorStringWithCrazyLegacyRules()
839 digitBuffer.append('0'); in parseColorStringWithCrazyLegacyRules()
841 digitBuffer.append(colorString[i]); in parseColorStringWithCrazyLegacyRules()
844 if (!digitBuffer.size()) in parseColorStringWithCrazyLegacyRules()
848 digitBuffer.append('0'); in parseColorStringWithCrazyLegacyRules()
849 digitBuffer.append('0'); in parseColorStringWithCrazyLegacyRules()
851 if (digitBuffer.size() < 6) in parseColorStringWithCrazyLegacyRules()
852 …return makeRGB(toASCIIHexValue(digitBuffer[0]), toASCIIHexValue(digitBuffer[1]), toASCIIHexValue(d… in parseColorStringWithCrazyLegacyRules()
855 ASSERT(digitBuffer.size() >= 6); in parseColorStringWithCrazyLegacyRules()
[all …]