Lines Matching refs:iMin
23 int32_t iMin = 1; in GetMin() local
25 if (!m_pNode->TryInteger(XFA_ATTRIBUTE_Min, iMin, true) || iMin < 0) in GetMin()
26 iMin = 1; in GetMin()
28 return iMin; in GetMin()
31 bool CXFA_Occur::GetOccurInfo(int32_t& iMin, int32_t& iMax, int32_t& iInit) { in GetOccurInfo() argument
34 if (!m_pNode->TryInteger(XFA_ATTRIBUTE_Min, iMin, false) || iMin < 0) in GetOccurInfo()
35 iMin = 1; in GetOccurInfo()
37 if (iMin == 0) in GetOccurInfo()
40 iMax = iMin; in GetOccurInfo()
43 iInit < iMin) { in GetOccurInfo()
44 iInit = iMin; in GetOccurInfo()
52 int32_t iMin = GetMin(); in SetMax() local
53 if (iMax != -1 && iMax < iMin) { in SetMax()
54 iMin = iMax; in SetMax()
55 m_pNode->SetInteger(XFA_ATTRIBUTE_Min, iMin, false); in SetMax()
59 void CXFA_Occur::SetMin(int32_t iMin) { in SetMin() argument
60 iMin = (iMin < 0) ? 1 : iMin; in SetMin()
61 m_pNode->SetInteger(XFA_ATTRIBUTE_Min, iMin, false); in SetMin()
63 if (iMax > 0 && iMax < iMin) { in SetMin()
64 iMax = iMin; in SetMin()