Searched refs:ParseCSSColor (Results 1 – 3 of 3) sorted by relevance
/external/pdfium/core/fxcrt/css/ |
D | cfx_cssdeclaration_unittest.cpp | 14 EXPECT_FALSE(CFX_CSSDeclaration::ParseCSSColor(L"#000", 3, &color)); in TEST() 15 EXPECT_FALSE(CFX_CSSDeclaration::ParseCSSColor(L"#000000", 5, &color)); in TEST() 16 EXPECT_FALSE(CFX_CSSDeclaration::ParseCSSColor(L"#000000", 8, &color)); in TEST() 19 EXPECT_TRUE(CFX_CSSDeclaration::ParseCSSColor(L"#zxytlm", 7, &color)); in TEST() 24 EXPECT_TRUE(CFX_CSSDeclaration::ParseCSSColor(L"#000", 4, &color)); in TEST() 29 EXPECT_TRUE(CFX_CSSDeclaration::ParseCSSColor(L"#FFF", 4, &color)); in TEST() 34 EXPECT_TRUE(CFX_CSSDeclaration::ParseCSSColor(L"#F0F0F0", 7, &color)); in TEST() 40 EXPECT_TRUE(CFX_CSSDeclaration::ParseCSSColor(L"#1b2F3c", 7, &color)); in TEST() 50 EXPECT_FALSE(CFX_CSSDeclaration::ParseCSSColor(L"blahblahblah", 11, &color)); in TEST() 52 EXPECT_TRUE(CFX_CSSDeclaration::ParseCSSColor(L"rgb(0, 0, 0)", 12, &color)); in TEST() [all …]
|
D | cfx_cssdeclaration.cpp | 223 bool CFX_CSSDeclaration::ParseCSSColor(const wchar_t* pszValue, in ParseCSSColor() function in CFX_CSSDeclaration 450 if (!ParseCSSColor(pszValue, iValueLen, &dwColor)) in ParseColor() 494 if (ParseCSSColor(pszValue, iValueLen, &dwColor)) { in ParseValueListProperty() 515 if (ParseCSSColor(pszValue, iValueLen, &dwColor)) { in ParseValueListProperty()
|
D | cfx_cssdeclaration.h | 30 static bool ParseCSSColor(const wchar_t* pszValue,
|