Home
last modified time | relevance | path

Searched refs:CFDE_CSSValueListParser (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/xfa/fde/css/
Dcfde_cssvaluelistparser_unittest.cpp12 TEST(CFDE_CSSValueListParser, rgb_short) { in TEST() argument
17 auto parser = pdfium::MakeUnique<CFDE_CSSValueListParser>(L"#abc", 4, L' '); in TEST()
23 parser = pdfium::MakeUnique<CFDE_CSSValueListParser>(L"#abcdef", 7, L' '); in TEST()
30 pdfium::MakeUnique<CFDE_CSSValueListParser>(L"rgb(1, 255, 4)", 14, L' '); in TEST()
36 pdfium::MakeUnique<CFDE_CSSValueListParser>(L"#abcdefghij", 11, L' '); in TEST()
43 TEST(CFDE_CSSValueListParser, number_parsing) { in TEST() argument
48 auto parser = pdfium::MakeUnique<CFDE_CSSValueListParser>(L"1234", 4, L' '); in TEST()
53 parser = pdfium::MakeUnique<CFDE_CSSValueListParser>(L"-1234", 5, L' '); in TEST()
58 parser = pdfium::MakeUnique<CFDE_CSSValueListParser>(L"+1234", 5, L' '); in TEST()
63 parser = pdfium::MakeUnique<CFDE_CSSValueListParser>(L".1234", 5, L' '); in TEST()
[all …]
Dcfde_cssvaluelistparser.cpp9 CFDE_CSSValueListParser::CFDE_CSSValueListParser(const FX_WCHAR* psz, in CFDE_CSSValueListParser() function in CFDE_CSSValueListParser
16 bool CFDE_CSSValueListParser::NextValue(FDE_CSSPrimitiveType& eType, in NextValue()
59 int32_t CFDE_CSSValueListParser::SkipTo(FX_WCHAR wch, in SkipTo()
Dcfde_cssvaluelistparser.h13 class CFDE_CSSValueListParser {
15 CFDE_CSSValueListParser(const FX_WCHAR* psz,
Dcfde_cssdeclaration.cpp105 CFDE_CSSValueListParser list(pszValue + 4, iValueLen - 5, ','); in ParseCSSColor()
328 CFDE_CSSValueListParser parser(pszValue, iValueLen, separator); in ParseValueListProperty()
452 CFDE_CSSValueListParser parser(pszValue, iValueLen, ' '); in ParseBorderProperty()
503 CFDE_CSSValueListParser parser(pszValue, iValueLen, '/'); in ParseFontProperty()