Lines Matching refs:A

32 template< typename A, typename D >
33 ScCompressedArray<A,D>::ScCompressedArray( A nMaxAccessP, const D& rValue, in ScCompressedArray()
46 template< typename A, typename D >
47 ScCompressedArray<A,D>::ScCompressedArray( A nMaxAccessP, const D* pDataArray, in ScCompressedArray()
73 template< typename A, typename D >
74 ScCompressedArray<A,D>::~ScCompressedArray() in ~ScCompressedArray()
80 template< typename A, typename D >
81 void ScCompressedArray<A,D>::Resize( size_t nNewLimit) in Resize()
94 template< typename A, typename D >
95 size_t ScCompressedArray<A,D>::Search( A nAccess ) const in Search()
126 template< typename A, typename D >
127 void ScCompressedArray<A,D>::SetValue( A nStart, A nEnd, const D& rValue ) in SetValue()
253 template< typename A, typename D >
254 void ScCompressedArray<A,D>::CopyFrom( const ScCompressedArray<A,D>& rArray, A nStart, in CopyFrom() argument
255 A nEnd, long nSourceDy ) in CopyFrom()
258 A nRegionEnd; in CopyFrom()
259 for (A j=nStart; j<=nEnd; ++j) in CopyFrom()
273 template< typename A, typename D >
274 const D& ScCompressedArray<A,D>::Insert( A nStart, size_t nAccessCount ) in Insert()
296 template< typename A, typename D >
297 void ScCompressedArray<A,D>::Remove( A nStart, size_t nAccessCount ) in Remove()
299 A nEnd = nStart + nAccessCount - 1; in Remove()
333 template< typename A, typename D >
334 A ScCompressedArray<A,D>::GetLastUnequalAccess( A nStart, const D& rCompare ) in GetLastUnequalAccess()
336 A nEnd = ::std::numeric_limits<A>::max(); in GetLastUnequalAccess()
363 template< typename A, typename D >
364 unsigned long ScSummableCompressedArray<A,D>::SumValues( A nStart, A nEnd ) const in SumValues()
374 template< typename A, typename D >
375 unsigned long ScSummableCompressedArray<A,D>::SumValuesContinuation( in SumValuesContinuation()
376 A nStart, A nEnd, size_t& nIndex ) const in SumValuesContinuation()
379 A nS = nStart; in SumValuesContinuation()
382 A nE = ::std::min( this->pData[nIndex].nEnd, nEnd); in SumValuesContinuation()
396 template< typename A, typename D >
397 unsigned long ScSummableCompressedArray<A,D>::SumScaledValuesContinuation( in SumScaledValuesContinuation()
398 A nStart, A nEnd, size_t& nIndex, double fScale ) const in SumScaledValuesContinuation()
401 A nS = nStart; in SumScaledValuesContinuation()
404 A nE = ::std::min( this->pData[nIndex].nEnd, nEnd); in SumScaledValuesContinuation()
421 template< typename A, typename D >
422 void ScBitMaskCompressedArray<A,D>::AndValue( A nStart, A nEnd, in AndValue()
433 A nS = ::std::max( (nIndex>0 ? this->pData[nIndex-1].nEnd+1 : 0), nStart); in AndValue()
434 A nE = ::std::min( this->pData[nIndex].nEnd, nEnd); in AndValue()
448 template< typename A, typename D >
449 void ScBitMaskCompressedArray<A,D>::OrValue( A nStart, A nEnd, in OrValue()
460 A nS = ::std::max( (nIndex>0 ? this->pData[nIndex-1].nEnd+1 : 0), nStart); in OrValue()
461 A nE = ::std::min( this->pData[nIndex].nEnd, nEnd); in OrValue()
475 template< typename A, typename D >
476 void ScBitMaskCompressedArray<A,D>::CopyFromAnded( in CopyFromAnded()
477 const ScBitMaskCompressedArray<A,D>& rArray, A nStart, A nEnd, in CopyFromAnded() argument
481 A nRegionEnd; in CopyFromAnded()
482 for (A j=nStart; j<=nEnd; ++j) in CopyFromAnded()
496 template< typename A, typename D >
497 void ScBitMaskCompressedArray<A,D>::CopyFromOred( in CopyFromOred()
498 const ScBitMaskCompressedArray<A,D>& rArray, A nStart, A nEnd, in CopyFromOred() argument
502 A nRegionEnd; in CopyFromOred()
503 for (A j=nStart; j<=nEnd; ++j) in CopyFromOred()
517 template< typename A, typename D >
518 A ScBitMaskCompressedArray<A,D>::GetBitStateStart( A nEnd, in GetBitStateStart()
521 A nStart = ::std::numeric_limits<A>::max(); in GetBitStateStart()
540 template< typename A, typename D >
541 A ScBitMaskCompressedArray<A,D>::GetBitStateEnd( A nStart, in GetBitStateEnd()
544 A nEnd = ::std::numeric_limits<A>::max(); in GetBitStateEnd()
556 template< typename A, typename D >
557 A ScBitMaskCompressedArray<A,D>::GetFirstForCondition( A nStart, A nEnd, in GetFirstForCondition()
565 A nFound = nIndex > 0 ? this->pData[nIndex-1].nEnd + 1 : 0; in GetFirstForCondition()
572 return ::std::numeric_limits<A>::max(); in GetFirstForCondition()
576 template< typename A, typename D >
577 A ScBitMaskCompressedArray<A,D>::GetLastForCondition( A nStart, A nEnd, in GetLastForCondition()
595 return ::std::numeric_limits<A>::max(); in GetLastForCondition()
599 template< typename A, typename D >
600 A ScBitMaskCompressedArray<A,D>::CountForCondition( A nStart, A nEnd, in CountForCondition()
603 A nRet = 0; in CountForCondition()
609 A nS = ::std::max( (nIndex>0 ? this->pData[nIndex-1].nEnd+1 : 0), nStart); in CountForCondition()
610 A nE = ::std::min( this->pData[nIndex].nEnd, nEnd); in CountForCondition()
621 template< typename A, typename D >
622 size_t ScBitMaskCompressedArray<A,D>::FillArrayForCondition( A nStart, A nEnd, in FillArrayForCondition()
624 A * pArray, size_t nArraySize ) const in FillArrayForCondition()
632 A nS = ::std::max( (nIndex>0 ? this->pData[nIndex-1].nEnd+1 : 0), nStart); in FillArrayForCondition()
633 A nE = ::std::min( this->pData[nIndex].nEnd, nEnd); in FillArrayForCondition()
645 template< typename A, typename D >
646 bool ScBitMaskCompressedArray<A,D>::HasCondition( A nStart, A nEnd, in HasCondition()
662 template< typename A, typename D >
663 A ScBitMaskCompressedArray<A,D>::CountForAnyBitCondition( A nStart, A nEnd, in CountForAnyBitCondition()
666 A nRet = 0; in CountForAnyBitCondition()
672 A nS = ::std::max( (nIndex>0 ? this->pData[nIndex-1].nEnd+1 : 0), nStart); in CountForAnyBitCondition()
673 A nE = ::std::min( this->pData[nIndex].nEnd, nEnd); in CountForAnyBitCondition()
684 template< typename A, typename D >
685 A ScBitMaskCompressedArray<A,D>::GetLastAnyBitAccess( A nStart, in GetLastAnyBitAccess()
688 A nEnd = ::std::numeric_limits<A>::max(); in GetLastAnyBitAccess()
713 template< typename A, typename D >
715 unsigned long ScBitMaskCompressedArray<A,D>::SumCoupledArrayForCondition( in SumCoupledArrayForCondition()
716 A nStart, A nEnd, const D& rBitMask, const D& rMaskedCompare, in SumCoupledArrayForCondition()
717 const ScSummableCompressedArray<A,S>& rArray ) const in SumCoupledArrayForCondition() argument
720 A nS = nStart; in SumCoupledArrayForCondition()
747 template< typename A, typename D >
749 unsigned long ScBitMaskCompressedArray<A,D>::SumScaledCoupledArrayForCondition( in SumScaledCoupledArrayForCondition()
750 A nStart, A nEnd, const D& rBitMask, const D& rMaskedCompare, in SumScaledCoupledArrayForCondition()
751 const ScSummableCompressedArray<A,S>& rArray, double fScale ) const in SumScaledCoupledArrayForCondition() argument
754 A nS = nStart; in SumScaledCoupledArrayForCondition()
784 template< typename A, typename D >
786 void ScCompressedArrayIterator<A,D>::Follow( in Follow()
787 const ScCompressedArrayIterator<A,X>& rIter ) in Follow() argument
794 A nPos = nCurrent; // nCurrent gets changed in NextRange() in Follow()
809 template< typename A, typename D, typename S >
810 ScCoupledCompressedArrayIterator<A,D,S>::ScCoupledCompressedArrayIterator( in ScCoupledCompressedArrayIterator()
811 const ScBitMaskCompressedArray<A,D> & rArray1, A nStart, A nEnd, in ScCoupledCompressedArrayIterator() argument
813 const ScCompressedArray<A,S> & rArray2 ) in ScCoupledCompressedArrayIterator() argument
823 template< typename A, typename D, typename S >
824 void ScCoupledCompressedArrayIterator<A,D,S>::InitLimits() in InitLimits()
838 template< typename A, typename D, typename S >
839 void ScCoupledCompressedArrayIterator<A,D,S>::NewLimits( A nStart, A nEnd ) in NewLimits()
847 template< typename A, typename D, typename S >
848 bool ScCoupledCompressedArrayIterator<A,D,S>::NextRange() in NextRange()
876 template< typename A, typename D, typename S >
877 void ScCoupledCompressedArrayIterator<A,D,S>::Resync( A nPos ) in Resync()