Lines Matching refs:pNewData
199 STRINGDATA* pNewData = (STRINGDATA*)rtl_allocateMemory( nSize ); in _ImplCopyData() local
200 memcpy( pNewData, pData, nSize ); in _ImplCopyData()
201 pNewData->mnRefCount = 1; in _ImplCopyData()
203 return pNewData; in _ImplCopyData()
524 STRINGDATA* pNewData = ImplAllocData( nLen+nCopyLen ); in Append() local
527 memcpy( pNewData->maStr, mpData->maStr, nLen*sizeof( STRCODE ) ); in Append()
528 memcpy( pNewData->maStr+nLen, rStr.mpData->maStr, nCopyLen*sizeof( STRCODE ) ); in Append()
532 mpData = pNewData; in Append()
557 STRINGDATA* pNewData = ImplAllocData( nLen+nCopyLen ); in Append() local
560 memcpy( pNewData->maStr, mpData->maStr, nLen*sizeof( STRCODE ) ); in Append()
561 memcpy( pNewData->maStr+nLen, pCharStr, nCopyLen*sizeof( STRCODE ) ); in Append()
565 mpData = pNewData; in Append()
602 STRINGDATA* pNewData = ImplAllocData( nLen+nCopyLen ); in Append() local
605 memcpy( pNewData->maStr, mpData->maStr, nLen*sizeof( STRCODE ) ); in Append()
606 memcpy( pNewData->maStr+nLen, pCharStr, nCopyLen*sizeof( STRCODE ) ); in Append()
610 mpData = pNewData; in Append()
627 STRINGDATA* pNewData = ImplAllocData( nLen+1 ); in Append() local
630 memcpy( pNewData->maStr, mpData->maStr, nLen*sizeof( STRCODE ) ); in Append()
631 pNewData->maStr[nLen] = c; in Append()
635 mpData = pNewData; in Append()
672 STRINGDATA* pNewData = ImplAllocData( mpData->mnLen+nCopyLen ); in Insert() local
675 memcpy( pNewData->maStr, mpData->maStr, nIndex*sizeof( STRCODE ) ); in Insert()
676 memcpy( pNewData->maStr+nIndex, rStr.mpData->maStr, nCopyLen*sizeof( STRCODE ) ); in Insert()
677 memcpy( pNewData->maStr+nIndex+nCopyLen, mpData->maStr+nIndex, in Insert()
682 mpData = pNewData; in Insert()
718 STRINGDATA* pNewData = ImplAllocData( mpData->mnLen+nCopyLen ); in Insert() local
721 memcpy( pNewData->maStr, mpData->maStr, nIndex*sizeof( STRCODE ) ); in Insert()
722 memcpy( pNewData->maStr+nIndex, rStr.mpData->maStr+nPos, nCopyLen*sizeof( STRCODE ) ); in Insert()
723 memcpy( pNewData->maStr+nIndex+nCopyLen, mpData->maStr+nIndex, in Insert()
728 mpData = pNewData; in Insert()
755 STRINGDATA* pNewData = ImplAllocData( mpData->mnLen+nCopyLen ); in Insert() local
758 memcpy( pNewData->maStr, mpData->maStr, nIndex*sizeof( STRCODE ) ); in Insert()
759 memcpy( pNewData->maStr+nIndex, pCharStr, nCopyLen*sizeof( STRCODE ) ); in Insert()
760 memcpy( pNewData->maStr+nIndex+nCopyLen, mpData->maStr+nIndex, in Insert()
765 mpData = pNewData; in Insert()
785 STRINGDATA* pNewData = ImplAllocData( mpData->mnLen+1 ); in Insert() local
788 memcpy( pNewData->maStr, mpData->maStr, nIndex*sizeof( STRCODE ) ); in Insert()
789 pNewData->maStr[nIndex] = c; in Insert()
790 memcpy( pNewData->maStr+nIndex+1, mpData->maStr+nIndex, in Insert()
795 mpData = pNewData; in Insert()
846 STRINGDATA* pNewData = ImplAllocData( mpData->mnLen-nCount+nStrLen ); in Replace() local
849 memcpy( pNewData->maStr, mpData->maStr, nIndex*sizeof( STRCODE ) ); in Replace()
850 memcpy( pNewData->maStr+nIndex, rStr.mpData->maStr, nStrLen*sizeof( STRCODE ) ); in Replace()
851 memcpy( pNewData->maStr+nIndex+nStrLen, mpData->maStr+nIndex+nCount, in Replace()
856 mpData = pNewData; in Replace()
879 STRINGDATA* pNewData = ImplAllocData( mpData->mnLen-nCount ); in Erase() local
882 memcpy( pNewData->maStr, mpData->maStr, nIndex*sizeof( STRCODE ) ); in Erase()
883 memcpy( pNewData->maStr+nIndex, mpData->maStr+nIndex+nCount, in Erase()
888 mpData = pNewData; in Erase()
911 STRINGDATA* pNewData = ImplAllocData( nCount ); in Fill() local
913 mpData = pNewData; in Fill()
942 STRINGDATA* pNewData = ImplAllocData( nCount ); in Expand() local
945 memcpy( pNewData->maStr, mpData->maStr, nLen*sizeof( STRCODE ) ); in Expand()
948 STRCODE* pStr = pNewData->maStr; in Expand()
956 mpData = pNewData; in Expand()
1035 STRINGDATA* pNewData = ImplAllocData( mpData->mnLen-nCount ); in EraseAllChars() local
1043 pNewData->maStr[nCount] = mpData->maStr[j]; in EraseAllChars()
1050 mpData = pNewData; in EraseAllChars()
1190 STRINGDATA* pNewData = ImplAllocData( nLen ); in ConvertLineEnd() local
1200 pNewData->maStr[j] = _CR; in ConvertLineEnd()
1201 pNewData->maStr[j+1] = _LF; in ConvertLineEnd()
1207 pNewData->maStr[j] = _CR; in ConvertLineEnd()
1209 pNewData->maStr[j] = _LF; in ConvertLineEnd()
1219 pNewData->maStr[j] = mpData->maStr[i]; in ConvertLineEnd()
1228 mpData = pNewData; in ConvertLineEnd()
2092 STRINGDATA* pNewData = ImplAllocData( nLen ); in ReleaseBufferAccess() local
2093 memcpy( pNewData->maStr, mpData->maStr, nLen*sizeof( STRCODE ) ); in ReleaseBufferAccess()
2095 mpData = pNewData; in ReleaseBufferAccess()