Home
last modified time | relevance | path

Searched refs:CFX_CSSPrimitiveType (Results 1 – 15 of 15) sorted by relevance

/external/pdfium/core/fxcrt/css/
Dcfx_cssvaluelistparser_unittest.cpp14 CFX_CSSPrimitiveType type; in TEST()
20 EXPECT_EQ(CFX_CSSPrimitiveType::RGB, type); in TEST()
26 EXPECT_EQ(CFX_CSSPrimitiveType::RGB, type); in TEST()
33 EXPECT_EQ(CFX_CSSPrimitiveType::RGB, type); in TEST()
38 EXPECT_EQ(CFX_CSSPrimitiveType::Unknown, type); in TEST()
44 CFX_CSSPrimitiveType type; in TEST()
50 EXPECT_EQ(CFX_CSSPrimitiveType::Number, type); in TEST()
55 EXPECT_EQ(CFX_CSSPrimitiveType::Number, type); in TEST()
60 EXPECT_EQ(CFX_CSSPrimitiveType::Number, type); in TEST()
65 EXPECT_EQ(CFX_CSSPrimitiveType::Number, type); in TEST()
[all …]
Dcfx_cssstyleselector.cpp174 if (pValue->GetType() != CFX_CSSPrimitiveType::List) { in ApplyProperty()
175 CFX_CSSPrimitiveType eType = pValue->GetType(); in ApplyProperty()
178 if (eType == CFX_CSSPrimitiveType::Enum) { in ApplyProperty()
185 if (eType == CFX_CSSPrimitiveType::Number) { in ApplyProperty()
187 } else if (eType == CFX_CSSPrimitiveType::Enum) { in ApplyProperty()
193 if (eType == CFX_CSSPrimitiveType::Number) { in ApplyProperty()
205 if (eType == CFX_CSSPrimitiveType::Enum) { in ApplyProperty()
216 if (eType == CFX_CSSPrimitiveType::Enum) { in ApplyProperty()
219 } else if (eType == CFX_CSSPrimitiveType::Number) { in ApplyProperty()
228 if (eType == CFX_CSSPrimitiveType::Enum) { in ApplyProperty()
[all …]
Dcfx_cssvaluelistparser.cpp18 bool CFX_CSSValueListParser::NextValue(CFX_CSSPrimitiveType* eType, in NextValue()
27 *eType = CFX_CSSPrimitiveType::Unknown; in NextValue()
34 *eType = CFX_CSSPrimitiveType::RGB; in NextValue()
40 *eType = CFX_CSSPrimitiveType::Number; in NextValue()
46 *eType = CFX_CSSPrimitiveType::String; in NextValue()
51 *eType = CFX_CSSPrimitiveType::RGB; in NextValue()
55 *eType = CFX_CSSPrimitiveType::String; in NextValue()
Dcfx_cssvalue.h14 CFX_CSSPrimitiveType GetType() const { return m_value; } in GetType()
17 explicit CFX_CSSValue(CFX_CSSPrimitiveType type);
20 CFX_CSSPrimitiveType m_value;
Dcfx_cssdeclaration.cpp256 CFX_CSSPrimitiveType eType; in ParseCSSColor()
261 if (eType != CFX_CSSPrimitiveType::Number) in ParseCSSColor()
478 CFX_CSSPrimitiveType eType; in ParseValueListProperty()
482 case CFX_CSSPrimitiveType::Number: in ParseValueListProperty()
491 case CFX_CSSPrimitiveType::String: in ParseValueListProperty()
512 case CFX_CSSPrimitiveType::RGB: in ParseValueListProperty()
598 CFX_CSSPrimitiveType eType; in ParseBorderProperty()
601 case CFX_CSSPrimitiveType::Number: { in ParseBorderProperty()
611 case CFX_CSSPrimitiveType::String: { in ParseBorderProperty()
655 CFX_CSSPrimitiveType eType; in ParseFontProperty()
[all …]
Dcfx_cssstylesheet_unittest.cpp55 EXPECT_EQ(v->GetType(), CFX_CSSPrimitiveType::Number); in VerifyFloat()
65 EXPECT_EQ(v->GetType(), CFX_CSSPrimitiveType::Enum); in VerifyEnum()
80 EXPECT_EQ(val->GetType(), CFX_CSSPrimitiveType::Enum); in VerifyList()
Dcfx_cssvalue.cpp9 CFX_CSSValue::CFX_CSSValue(CFX_CSSPrimitiveType type) : m_value(type) {} in CFX_CSSValue()
Dcfx_cssenumvalue.cpp10 : CFX_CSSValue(CFX_CSSPrimitiveType::Enum), value_(value) {} in CFX_CSSEnumValue()
Dcfx_csscolorvalue.cpp10 : CFX_CSSValue(CFX_CSSPrimitiveType::RGB), value_(value) {} in CFX_CSSColorValue()
Dcfx_cssstringvalue.cpp10 : CFX_CSSValue(CFX_CSSPrimitiveType::String), value_(value) {} in CFX_CSSStringValue()
Dcfx_cssvaluelist.cpp14 : CFX_CSSValue(CFX_CSSPrimitiveType::List), m_ppList(std::move(list)) {} in CFX_CSSValueList()
Dcfx_cssvaluelistparser.h17 bool NextValue(CFX_CSSPrimitiveType* eType,
Dcfx_cssnumbervalue.cpp10 : CFX_CSSValue(CFX_CSSPrimitiveType::Number), type_(type), value_(value) { in CFX_CSSNumberValue()
Dcfx_cssstyleselector.h66 CFX_CSSPrimitiveType eType,
Dcfx_css.h24 enum class CFX_CSSPrimitiveType : uint8_t { enum