Home
last modified time | relevance | path

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

/external/pdfium/xfa/fde/css/
Dfde_css.h190 explicit FDE_CSSLength(FDE_CSSLengthUnit eUnit) : m_unit(eUnit) {} in FDE_CSSLength() argument
192 FDE_CSSLength(FDE_CSSLengthUnit eUnit, FX_FLOAT fValue) in FDE_CSSLength() argument
193 : m_unit(eUnit), m_fValue(fValue) {} in FDE_CSSLength()
195 FDE_CSSLength& Set(FDE_CSSLengthUnit eUnit) { in Set() argument
196 m_unit = eUnit; in Set()
200 FDE_CSSLength& Set(FDE_CSSLengthUnit eUnit, FX_FLOAT fValue) { in Set() argument
201 m_unit = eUnit; in Set()
220 FDE_CSSRect(FDE_CSSLengthUnit eUnit, FX_FLOAT val) in FDE_CSSRect() argument
221 : left(eUnit, val), in FDE_CSSRect()
222 top(eUnit, val), in FDE_CSSRect()
[all …]
Dcfde_cssdeclaration.cpp29 FDE_CSSNumberType& eUnit) { in ParseCSSNumber() argument
38 eUnit = FDE_CSSNumberType::Number; in ParseCSSNumber()
40 eUnit = FDE_CSSNumberType::Percent; in ParseCSSNumber()
45 eUnit = pUnit->wValue; in ParseCSSNumber()
283 FDE_CSSNumberType eUnit; in ParseNumber() local
284 if (!ParseCSSNumber(pszValue, iValueLen, fValue, eUnit)) in ParseNumber()
286 return pdfium::MakeRetain<CFDE_CSSNumberValue>(eUnit, fValue); in ParseNumber()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_measurement.h18 CXFA_Measurement(FX_FLOAT fValue, XFA_UNIT eUnit);
21 void Set(FX_FLOAT fValue, XFA_UNIT eUnit) { in Set() argument
23 m_eUnit = eUnit; in Set()
31 bool ToUnit(XFA_UNIT eUnit, FX_FLOAT& fValue) const;
32 FX_FLOAT ToUnit(XFA_UNIT eUnit) const { in ToUnit() argument
34 return ToUnit(eUnit, f) ? f : 0; in ToUnit()
Dcxfa_measurement.cpp19 CXFA_Measurement::CXFA_Measurement(FX_FLOAT fValue, XFA_UNIT eUnit) { in CXFA_Measurement() argument
20 Set(fValue, eUnit); in CXFA_Measurement()
33 XFA_UNIT eUnit = GetUnit(wsMeasure.Mid(iOffset + iUsedLen)); in Set() local
34 Set(fValue, eUnit); in Set()
69 bool CXFA_Measurement::ToUnit(XFA_UNIT eUnit, FX_FLOAT& fValue) const { in ToUnit() argument
72 if (eFrom == eUnit) in ToUnit()
97 switch (eUnit) { in ToUnit()