Home
last modified time | relevance | path

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

/external/pdfium/xfa/fde/css/
Dcfde_cssdeclaration_unittest.cpp13 EXPECT_FALSE(CFDE_CSSDeclaration::ParseCSSColor(L"#000", 3, &color)); in TEST()
14 EXPECT_FALSE(CFDE_CSSDeclaration::ParseCSSColor(L"#000000", 5, &color)); in TEST()
15 EXPECT_FALSE(CFDE_CSSDeclaration::ParseCSSColor(L"#000000", 8, &color)); in TEST()
18 EXPECT_TRUE(CFDE_CSSDeclaration::ParseCSSColor(L"#zxytlm", 7, &color)); in TEST()
23 EXPECT_TRUE(CFDE_CSSDeclaration::ParseCSSColor(L"#000", 4, &color)); in TEST()
28 EXPECT_TRUE(CFDE_CSSDeclaration::ParseCSSColor(L"#FFF", 4, &color)); in TEST()
33 EXPECT_TRUE(CFDE_CSSDeclaration::ParseCSSColor(L"#F0F0F0", 7, &color)); in TEST()
39 EXPECT_TRUE(CFDE_CSSDeclaration::ParseCSSColor(L"#1b2F3c", 7, &color)); in TEST()
49 EXPECT_FALSE(CFDE_CSSDeclaration::ParseCSSColor(L"blahblahblah", 11, &color)); in TEST()
51 EXPECT_TRUE(CFDE_CSSDeclaration::ParseCSSColor(L"rgb(0, 0, 0)", 12, &color)); in TEST()
[all …]
Dcfde_cssdeclaration.cpp71 bool CFDE_CSSDeclaration::ParseCSSColor(const FX_WCHAR* pszValue, in ParseCSSColor() function in CFDE_CSSDeclaration
302 if (!ParseCSSColor(pszValue, iValueLen, &dwColor)) in ParseColor()
347 if (ParseCSSColor(pszValue, iValueLen, &dwColor)) { in ParseValueListProperty()
370 if (ParseCSSColor(pszValue, iValueLen, &dwColor)) { in ParseValueListProperty()
Dcfde_cssdeclaration.h30 static bool ParseCSSColor(const FX_WCHAR* pszValue,