Lines Matching refs:pNew
45 sal_Sequence * pSequence, * pNew; in rtl_byte_sequence_reference2One() local
56 pNew = (sal_Sequence *)rtl_allocateMemory( SAL_SEQUENCE_HEADER_SIZE + nElements ); in rtl_byte_sequence_reference2One()
58 if ( pNew != 0 ) in rtl_byte_sequence_reference2One()
59 rtl_copyMemory( pNew->elements, pSequence->elements, nElements ); in rtl_byte_sequence_reference2One()
66 pNew = (sal_Sequence *)rtl_allocateMemory( SAL_SEQUENCE_HEADER_SIZE ); in rtl_byte_sequence_reference2One()
69 if ( pNew != 0 ) in rtl_byte_sequence_reference2One()
71 pNew->nRefCount = 1; in rtl_byte_sequence_reference2One()
72 pNew->nElements = nElements; in rtl_byte_sequence_reference2One()
75 *ppSequence = pNew; in rtl_byte_sequence_reference2One()
83 sal_Sequence * pSequence, * pNew; in rtl_byte_sequence_realloc() local
95 pNew = (sal_Sequence *)rtl_allocateMemory( SAL_SEQUENCE_HEADER_SIZE + nSize ); in rtl_byte_sequence_realloc()
97 if ( pNew != 0 ) 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()
106 rtl_copyMemory( pNew->elements, pSequence->elements, nSize ); in rtl_byte_sequence_realloc()
112 pSequence = pNew; in rtl_byte_sequence_realloc()