Lines Matching refs:pStr
81 ERRTYPE RscString::SetString( const RSCINST & rInst, const char * pStr ){ in SetString() argument
88 pTmp = ((RscStringInst *)rInst.pData)->pStr; in SetString()
94 if( pStr ){ in SetString()
95 sal_uInt32 nLen = strlen( pStr ) +1; in SetString()
97 memcpy( pTmp, pStr, nLen ); in SetString()
100 ((RscStringInst *)rInst.pData)->pStr = pTmp; in SetString()
116 *ppStr = ((RscStringInst *)rInst.pData)->pStr; in GetString()
179 ((RscStringInst *)aInst.pData)->pStr = NULL; in Create()
185 SetString( aInst, ((RscStringInst *)rDflt.pData)->pStr ); in Create()
203 if( ((RscStringInst *)rInst.pData)->pStr ) in Destroy()
204 rtl_freeMemory( ((RscStringInst *)rInst.pData)->pStr ); in Destroy()
238 if( pData->pStr ){ in IsValueDefault()
239 bStrEmpty = ('\0' == *pData->pStr); in IsValueDefault()
244 if( pDefData->pStr ){ in IsValueDefault()
245 bDefStrEmpty = ('\0' == *pDefData->pStr); in IsValueDefault()
280 if( pStrI->pStr ){ in WriteSrc()
288 while( pStrI->pStr[ n ] in WriteSrc()
291 fputc( pStrI->pStr[ n ], fOutput ); in WriteSrc()
292 if( pStrI->pStr[ n ] == '\\' ) in WriteSrc()
299 if( pStrI->pStr[ n ] ) //nocht nicht zu ende in WriteSrc()
301 } while( pStrI->pStr[ n ] ); in WriteSrc()
371 if( ((RscStringInst *)rInst.pData)->pStr && pTC ) in WriteRc()
373 char * pStr = RscChar::MakeUTF8( ((RscStringInst *)rInst.pData)->pStr, in WriteRc() local
375 rMem.PutUTF8( pStr ); in WriteRc()
376 rtl_freeMemory( pStr ); in WriteRc()
379 rMem.PutUTF8( ((RscStringInst *)rInst.pData)->pStr ); in WriteRc()