Lines Matching refs:nElements
46 sal_Int32 nElements; in rtl_byte_sequence_reference2One() local
53 nElements = pSequence->nElements; in rtl_byte_sequence_reference2One()
54 if (nElements) in rtl_byte_sequence_reference2One()
56 pNew = (sal_Sequence *)rtl_allocateMemory( SAL_SEQUENCE_HEADER_SIZE + nElements ); in rtl_byte_sequence_reference2One()
59 rtl_copyMemory( pNew->elements, pSequence->elements, nElements ); in rtl_byte_sequence_reference2One()
72 pNew->nElements = nElements; in rtl_byte_sequence_reference2One()
84 sal_Int32 nElements; in rtl_byte_sequence_realloc() local
88 nElements = pSequence->nElements; in rtl_byte_sequence_realloc()
90 if (nElements == nSize) in rtl_byte_sequence_realloc()
99 if (nSize > nElements) in rtl_byte_sequence_realloc()
101 rtl_copyMemory( pNew->elements, pSequence->elements, nElements ); in rtl_byte_sequence_realloc()
102 rtl_zeroMemory( pNew->elements + nElements, nSize - nElements ); in rtl_byte_sequence_realloc()
123 pSequence->nElements = nSize; in rtl_byte_sequence_realloc()
165 (*ppSequence)->nElements = nLength; in rtl_byte_sequence_construct()
190 (*ppSequence)->nElements = nLength; in rtl_byte_sequence_constructNoDefault()
229 if (pSequence1->nElements != pSequence2->nElements) in rtl_byte_sequence_equals()
235 pSequence1->elements, pSequence2->elements, pSequence1->nElements ) in rtl_byte_sequence_equals()
249 return pSequence->nElements; in rtl_byte_sequence_getLength()