Lines Matching refs:nSize

51     sal_uInt32 nSize = calcSeqMemSize( nElementSize, nElements );  in reallocSeq()  local
52 if (nSize > 0) in reallocSeq()
56 pNew = (uno_Sequence *) rtl_allocateMemory( nSize ); in reallocSeq()
60 pNew = (uno_Sequence *) rtl_reallocateMemory( pReallocate, nSize ); in reallocSeq()
246 sal_Int32 nElementSize = pElementTypeDescr->nSize; in idefaultConstructElements()
268 sal_Int32 nElementSize = pElementTypeDescr->nSize; in idefaultConstructElements()
290 sal_Int32 nElementSize = pElementTypeDescr->nSize; in idefaultConstructElements()
542 sal_Int32 nElementSize = pElementTypeDescr->nSize; in icopyConstructFromElements()
590 sal_Int32 nElementSize = pElementTypeDescr->nSize; in icopyConstructFromElements()
684 sal_Int32 nSize, in ireallocSequence() argument
700 sal_Int32 nRest = nSize - nElements; in ireallocSequence()
701 sal_Int32 nCopy = (nRest > 0 ? nElements : nSize); in ireallocSequence()
708 nSize ); // alloc to nSize in ireallocSequence()
714 nCopy, nSize, in ireallocSequence()
715 nCopy >= 0 ? -1 /* no mem allocation */ : nSize ); in ireallocSequence()
737 if (nSize > nElements) // default construct the rest in ireallocSequence()
741 nElements, nSize, in ireallocSequence()
742 nSize ); // realloc to nSize in ireallocSequence()
748 nSize, nElements, release ); in ireallocSequence()
751 *ppSequence = reallocSeq( pSeq, nElementSize, nSize ); in ireallocSequence()
851 sal_Int32 nSize, uno_AcquireFunc acquire, uno_ReleaseFunc release ) in uno_type_sequence_realloc() argument
855 OSL_ENSURE( nSize >= 0, "### new size must be at least 0!" ); in uno_type_sequence_realloc()
858 if (nSize != (*ppSequence)->nElements) in uno_type_sequence_realloc()
864 nSize, acquire, release ); in uno_type_sequence_realloc()
873 sal_Int32 nSize, uno_AcquireFunc acquire, uno_ReleaseFunc release ) in uno_sequence_realloc() argument
877 OSL_ENSURE( nSize >= 0, "### new size must be at least 0!" ); in uno_sequence_realloc()
880 if (nSize != (*ppSequence)->nElements) in uno_sequence_realloc()
884 nSize, acquire, release ); in uno_sequence_realloc()