Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGLength.cpp84 const CharType secondChar = *ptr++; in stringToLengthType() local
87 if (secondChar == 'x') in stringToLengthType()
89 if (secondChar == 't') in stringToLengthType()
91 if (secondChar == 'c') in stringToLengthType()
94 if (secondChar == 'm') in stringToLengthType()
96 if (secondChar == 'x') in stringToLengthType()
98 } else if (firstChar == 'c' && secondChar == 'm') { in stringToLengthType()
100 } else if (firstChar == 'm' && secondChar == 'm') { in stringToLengthType()
102 } else if (firstChar == 'i' && secondChar == 'n') { in stringToLengthType()
104 } else if (isHTMLSpace<CharType>(firstChar) && isHTMLSpace<CharType>(secondChar)) { in stringToLengthType()
DSVGAngle.cpp163 const CharType secondChar = *ptr++; in stringToAngleType() local
165 if (firstChar == 'd' && secondChar == 'e' && thirdChar == 'g') { in stringToAngleType()
167 } else if (firstChar == 'r' && secondChar == 'a' && thirdChar == 'd') { in stringToAngleType()
171 if (firstChar == 'g' && secondChar == 'r' && thirdChar == 'a' && fourthChar == 'd') in stringToAngleType()
173 else if (firstChar == 't' && secondChar == 'u' && thirdChar == 'r' && fourthChar == 'n') in stringToAngleType()