Searched refs:ParseCSSColor (Results 1 – 4 of 4) sorted by relevance
/external/pdfium/core/fxcrt/css/ |
D | cfx_cssdeclaration_unittest.cpp | 13 EXPECT_FALSE(CFX_CSSDeclaration::ParseCSSColor(L"#000", 3, &color)); in TEST() 14 EXPECT_FALSE(CFX_CSSDeclaration::ParseCSSColor(L"#000000", 5, &color)); in TEST() 15 EXPECT_FALSE(CFX_CSSDeclaration::ParseCSSColor(L"#000000", 8, &color)); in TEST() 18 EXPECT_TRUE(CFX_CSSDeclaration::ParseCSSColor(L"#zxytlm", 7, &color)); in TEST() 23 EXPECT_TRUE(CFX_CSSDeclaration::ParseCSSColor(L"#000", 4, &color)); in TEST() 28 EXPECT_TRUE(CFX_CSSDeclaration::ParseCSSColor(L"#FFF", 4, &color)); in TEST() 33 EXPECT_TRUE(CFX_CSSDeclaration::ParseCSSColor(L"#F0F0F0", 7, &color)); in TEST() 39 EXPECT_TRUE(CFX_CSSDeclaration::ParseCSSColor(L"#1b2F3c", 7, &color)); in TEST() 49 EXPECT_FALSE(CFX_CSSDeclaration::ParseCSSColor(L"blahblahblah", 11, &color)); in TEST() 51 EXPECT_TRUE(CFX_CSSDeclaration::ParseCSSColor(L"rgb(0, 0, 0)", 12, &color)); in TEST() [all …]
|
D | cfx_cssdeclaration.cpp | 79 bool CFX_CSSDeclaration::ParseCSSColor(const wchar_t* pszValue, in ParseCSSColor() function in CFX_CSSDeclaration 307 if (!ParseCSSColor(pszValue, iValueLen, &dwColor)) in ParseColor() 351 if (ParseCSSColor(pszValue, iValueLen, &dwColor)) { in ParseValueListProperty() 373 if (ParseCSSColor(pszValue, iValueLen, &dwColor)) { in ParseValueListProperty()
|
D | cfx_cssdeclaration.h | 29 static bool ParseCSSColor(const wchar_t* pszValue,
|
/external/ImageMagick/MagickCore/ |
D | color.c | 2181 static MagickStatusType ParseCSSColor(const char *magick_restrict color, in ParseCSSColor() function 2454 flags=ParseCSSColor(name,&geometry_info); in QueryColorCompliance() 2456 flags=ParseCSSColor(name+i+1,&geometry_info); in QueryColorCompliance()
|