Lines Matching refs:nIndex
85 const D& GetValue( A nPos, size_t& nIndex, A& nEnd ) const;
88 const D& GetValue( A nPos, size_t& nIndex, A& nStart, A& nEnd ) const;
93 const D& GetNextValue( size_t& nIndex, A& nEnd ) const;
97 const D& GetPrevValue( size_t& nIndex, A& nStart ) const;
121 const DataEntry& GetDataEntry( size_t nIndex ) const;
159 size_t nIndex = Search( nPos); in GetValue() local
160 return pData[nIndex].aValue; in GetValue()
165 const D& ScCompressedArray<A,D>::GetValue( A nPos, size_t& nIndex, A& nEnd ) const in GetValue() argument
167 nIndex = Search( nPos); in GetValue()
168 nEnd = pData[nIndex].nEnd; in GetValue()
169 return pData[nIndex].aValue; in GetValue()
174 const D& ScCompressedArray<A,D>::GetValue( A nPos, size_t& nIndex, A& nStart, in GetValue() argument
177 nIndex = Search( nPos); in GetValue()
178 nStart = (nIndex > 0 ? pData[nIndex-1].nEnd + 1 : 0); in GetValue()
179 nEnd = pData[nIndex].nEnd; in GetValue()
180 return pData[nIndex].aValue; in GetValue()
185 const D& ScCompressedArray<A,D>::GetNextValue( size_t& nIndex, A& nEnd ) const in GetNextValue() argument
187 if (nIndex < nCount) in GetNextValue()
188 ++nIndex; in GetNextValue()
189 size_t nEntry = (nIndex < nCount ? nIndex : nCount-1); in GetNextValue()
196 const D& ScCompressedArray<A,D>::GetPrevValue( size_t& nIndex, A& nStart ) const in GetPrevValue() argument
198 if (nIndex > 0) in GetPrevValue()
199 --nIndex; in GetPrevValue()
200 nStart = (nIndex > 0 ? pData[nIndex-1].nEnd + 1 : 0); in GetPrevValue()
201 return pData[nIndex].aValue; in GetPrevValue()
214 ScCompressedArray<A,D>::GetDataEntry( size_t nIndex ) const in GetDataEntry()
216 return pData[nIndex]; in GetDataEntry()
263 size_t nIndex; member in ScCompressedArrayIterator
286 nIndex = rArray.Search( nStart); in NewLimits()
332 if (rArray.pData[nIndex].nEnd >= nIterEnd) in NextRange()
334 else if (++nIndex >= rArray.GetEntryCount()) in NextRange()
336 nIndex = rArray.GetEntryCount() - 1; in NextRange()
354 return rArray.pData[nIndex].aValue; in operator *()
361 if (nIndex == 0) in GetRangeStart()
364 return nIterStart > rArray.pData[nIndex-1].nEnd ? nIterStart : in GetRangeStart()
365 rArray.pData[nIndex-1].nEnd + 1; in GetRangeStart()
372 return nIterEnd < rArray.pData[nIndex].nEnd ? nIterEnd : in GetRangeEnd()
373 rArray.pData[nIndex].nEnd; in GetRangeEnd()
386 nIndex = rArray.Search( nPos); in Resync()
421 size_t& nIndex ) const;
430 size_t& nIndex, double fScale ) const;