Lines Matching refs:nElements
47 uno_Sequence * pReallocate, sal_Size nElementSize, sal_Int32 nElements ) in reallocSeq() argument
49 OSL_ASSERT( nElements >= 0 ); in reallocSeq()
51 sal_uInt32 nSize = calcSeqMemSize( nElementSize, nElements ); in reallocSeq()
66 pNew->nElements = nElements; in reallocSeq()
689 sal_Int32 nElements = pSeq->nElements; in ireallocSequence() local
700 sal_Int32 nRest = nSize - nElements; in ireallocSequence()
701 sal_Int32 nCopy = (nRest > 0 ? nElements : nSize); in ireallocSequence()
723 if (nElements > 0) in ireallocSequence()
727 0, nElements, release ); in ireallocSequence()
737 if (nSize > nElements) // default construct the rest in ireallocSequence()
741 nElements, nSize, in ireallocSequence()
748 nSize, nElements, release ); in ireallocSequence()
858 if (nSize != (*ppSequence)->nElements) in uno_type_sequence_realloc()
880 if (nSize != (*ppSequence)->nElements) in uno_sequence_realloc()
902 if (pSequence->nElements > 0) in uno_type_sequence_reference2One()
910 0, pSequence->nElements, acquire, in uno_type_sequence_reference2One()
911 pSequence->nElements ); // alloc nElements in uno_type_sequence_reference2One()
949 if (pSequence->nElements > 0) in uno_sequence_reference2One()
954 0, pSequence->nElements, acquire, in uno_sequence_reference2One()
955 pSequence->nElements ); // alloc nElements in uno_sequence_reference2One()