Lines Matching refs:ppSequence
43 sal_Sequence ** ppSequence ) in rtl_byte_sequence_reference2One() argument
48 OSL_ENSURE( ppSequence, "### null ptr!" ); in rtl_byte_sequence_reference2One()
49 pSequence = *ppSequence; in rtl_byte_sequence_reference2One()
75 *ppSequence = pNew; in rtl_byte_sequence_reference2One()
81 sal_Sequence ** ppSequence, sal_Int32 nSize ) in rtl_byte_sequence_realloc() argument
86 OSL_ENSURE( ppSequence, "### null ptr!" ); in rtl_byte_sequence_realloc()
87 pSequence = *ppSequence; in rtl_byte_sequence_realloc()
126 *ppSequence = pSequence; in rtl_byte_sequence_realloc()
149 void SAL_CALL rtl_byte_sequence_construct( sal_Sequence **ppSequence , sal_Int32 nLength ) in rtl_byte_sequence_construct() argument
151 OSL_ASSERT( ppSequence ); in rtl_byte_sequence_construct()
152 if( *ppSequence ) in rtl_byte_sequence_construct()
154 rtl_byte_sequence_release( *ppSequence ); in rtl_byte_sequence_construct()
155 *ppSequence = 0; in rtl_byte_sequence_construct()
160 *ppSequence = (sal_Sequence *) rtl_allocateZeroMemory( SAL_SEQUENCE_HEADER_SIZE + nLength ); in rtl_byte_sequence_construct()
162 if ( *ppSequence != 0 ) in rtl_byte_sequence_construct()
164 (*ppSequence)->nRefCount = 1; in rtl_byte_sequence_construct()
165 (*ppSequence)->nElements = nLength; in rtl_byte_sequence_construct()
170 *ppSequence = &aEmpty_rtl_ByteSeq; in rtl_byte_sequence_construct()
171 rtl_byte_sequence_acquire( *ppSequence ); in rtl_byte_sequence_construct()
176 void SAL_CALL rtl_byte_sequence_constructNoDefault( sal_Sequence **ppSequence , sal_Int32 nLength ) in rtl_byte_sequence_constructNoDefault() argument
178 OSL_ASSERT( ppSequence ); in rtl_byte_sequence_constructNoDefault()
179 if( *ppSequence ) in rtl_byte_sequence_constructNoDefault()
181 rtl_byte_sequence_release( *ppSequence ); in rtl_byte_sequence_constructNoDefault()
182 *ppSequence = 0; in rtl_byte_sequence_constructNoDefault()
185 *ppSequence = (sal_Sequence *) rtl_allocateMemory( SAL_SEQUENCE_HEADER_SIZE + nLength ); in rtl_byte_sequence_constructNoDefault()
187 if ( *ppSequence != 0 ) in rtl_byte_sequence_constructNoDefault()
189 (*ppSequence)->nRefCount = 1; in rtl_byte_sequence_constructNoDefault()
190 (*ppSequence)->nElements = nLength; in rtl_byte_sequence_constructNoDefault()
196 sal_Sequence **ppSequence, const sal_Int8 *pData , sal_Int32 nLength ) in rtl_byte_sequence_constructFromArray() argument
198 rtl_byte_sequence_constructNoDefault( ppSequence , nLength ); in rtl_byte_sequence_constructFromArray()
199 if ( *ppSequence != 0 ) in rtl_byte_sequence_constructFromArray()
200 rtl_copyMemory( (*ppSequence)->elements, pData, nLength ); in rtl_byte_sequence_constructFromArray()
204 void SAL_CALL rtl_byte_sequence_assign( sal_Sequence **ppSequence , sal_Sequence *pSequence ) in rtl_byte_sequence_assign() argument
206 if ( *ppSequence != pSequence) in rtl_byte_sequence_assign()
208 if( *ppSequence ) in rtl_byte_sequence_assign()
210 rtl_byte_sequence_release( *ppSequence ); in rtl_byte_sequence_assign()
212 *ppSequence = pSequence; in rtl_byte_sequence_assign()
213 rtl_byte_sequence_acquire( *ppSequence ); in rtl_byte_sequence_assign()