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.cpp893 Vector<char, maxColorLength+2> digitBuffer; in parseColorStringWithCrazyLegacyRules() local
902 for (; i < colorString.length() && digitBuffer.size() < maxColorLength; i++) { in parseColorStringWithCrazyLegacyRules()
904 digitBuffer.append('0'); in parseColorStringWithCrazyLegacyRules()
906 digitBuffer.append(colorString[i]); in parseColorStringWithCrazyLegacyRules()
909 if (!digitBuffer.size()) in parseColorStringWithCrazyLegacyRules()
913 digitBuffer.append('0'); in parseColorStringWithCrazyLegacyRules()
914 digitBuffer.append('0'); in parseColorStringWithCrazyLegacyRules()
916 if (digitBuffer.size() < 6) in parseColorStringWithCrazyLegacyRules()
917 …return makeRGB(toASCIIHexValue(digitBuffer[0]), toASCIIHexValue(digitBuffer[1]), toASCIIHexValue(d… in parseColorStringWithCrazyLegacyRules()
920 ASSERT(digitBuffer.size() >= 6); in parseColorStringWithCrazyLegacyRules()
[all …]