Lines Matching refs:widths
34 CBC_AutoPtr<CFX_Int32Array> widths(iTemp); in GetRssWidths() local
66 (*widths)[bar] = elmWidth; in GetRssWidths()
68 (*widths)[bar] = n; in GetRssWidths()
69 return widths.release(); in GetRssWidths()
71 int32_t CBC_UtilRSS::GetRSSvalue(CFX_Int32Array& widths, in GetRSSvalue() argument
74 int32_t elements = widths.GetSize(); in GetRSSvalue()
77 n += widths[i]; in GetRSSvalue()
83 for (elmWidth = 1, narrowMask |= (1 << bar); elmWidth < widths[bar]; in GetRSSvalue()
134 CFX_Int32Array* widths = new CFX_Int32Array; in Elements() local
135 widths->SetSize(eDist.GetSize() + 2); in Elements()
137 (*widths)[0] = 1; in Elements()
142 (*widths)[i] = eDist[i - 1] - (*widths)[i - 1]; in Elements()
143 (*widths)[i + 1] = eDist[i] - (*widths)[i]; in Elements()
144 barSum += (*widths)[i] + (*widths)[i + 1]; in Elements()
145 if ((*widths)[i] < minEven) { in Elements()
146 minEven = (*widths)[i]; in Elements()
149 (*widths)[twoK - 1] = N - barSum; in Elements()
150 if ((*widths)[twoK - 1] < minEven) { in Elements()
151 minEven = (*widths)[twoK - 1]; in Elements()
155 (*widths)[i] += minEven - 1; in Elements()
156 (*widths)[i + 1] -= minEven - 1; in Elements()
159 return widths; in Elements()