Lines Matching refs:pTmp
149 rtl_uString * pTmp = NULL; in osl_getSystemPathFromFileURL() local
199 rtl_uriDecode( ustrPathToken, rtl_UriDecodeWithCharset, RTL_TEXTENCODING_UTF8, &pTmp ); in osl_getSystemPathFromFileURL()
202 … if( -1 != rtl_ustr_indexOfChar_WithLength( pTmp->buffer, pTmp->length, (sal_Unicode) '/' ) ) in osl_getSystemPathFromFileURL()
204 rtl_uString_release( pTmp ); in osl_getSystemPathFromFileURL()
218 rtl_uriDecode( ustrFileURL, rtl_UriDecodeWithCharset, RTL_TEXTENCODING_UTF8, &pTmp ); in osl_getSystemPathFromFileURL()
222 if( 7 <= pTmp->length ) in osl_getSystemPathFromFileURL()
225 rtl_uString_newFromStr_WithLength( &pProtocol, pTmp->buffer, 7 ); in osl_getSystemPathFromFileURL()
238 if( nIndex && ( 10 <= pTmp->length - nIndex ) ) in osl_getSystemPathFromFileURL()
241 rtl_uString_newFromStr_WithLength( &pServer, pTmp->buffer + nIndex, 10 ); in osl_getSystemPathFromFileURL()
257 rtl_uString_newFromStr_WithLength( &pTmp, pTmp->buffer + nIndex, pTmp->length - nIndex ); in osl_getSystemPathFromFileURL()
260 if( (sal_Unicode) '~' == pTmp->buffer[0] ) in osl_getSystemPathFromFileURL()
263 if( ( 1 == pTmp->length ) || ( (sal_Unicode)'/' == pTmp->buffer[1] ) ) in osl_getSystemPathFromFileURL()
274 rtl_uString_newReplaceStrAt( &pTmp, pTmp, 0, 1, pTmp2 ); in osl_getSystemPathFromFileURL()
290 *pustrSystemPath = pTmp; in osl_getSystemPathFromFileURL()
302 rtl_uString *pTmp = NULL; in osl_getFileURLFromSystemPath() local
341 osl_getHomeDir( osl_getCurrentSecurity(), &pTmp ); in osl_getFileURLFromSystemPath()
344 rtl_uString_newFromStr_WithLength( &pTmp, pTmp->buffer + 7, pTmp->length - 7 ); in osl_getFileURLFromSystemPath()
347 rtl_uString_newReplaceStrAt( &pTmp, ustrSystemPath, 0, 1, pTmp ); in osl_getFileURLFromSystemPath()
365 if( NULL == pTmp ) in osl_getFileURLFromSystemPath()
366 rtl_uString_newFromString( &pTmp, ustrSystemPath ); in osl_getFileURLFromSystemPath()
369 nIndex += pTmp->length - ustrSystemPath->length; in osl_getFileURLFromSystemPath()
372 for( nSrcIndex = nIndex + 1; nSrcIndex < pTmp->length; nSrcIndex++ ) in osl_getFileURLFromSystemPath()
374 …if( ((sal_Unicode) '/' == pTmp->buffer[nSrcIndex]) && ((sal_Unicode) '/' == pTmp->buffer[nIndex]) ) in osl_getFileURLFromSystemPath()
377 pTmp->buffer[++nIndex] = pTmp->buffer[nSrcIndex]; in osl_getFileURLFromSystemPath()
381 pTmp->length -= nDeleted; in osl_getFileURLFromSystemPath()
384 if( NULL == pTmp ) in osl_getFileURLFromSystemPath()
385 rtl_uString_assign( &pTmp, ustrSystemPath ); in osl_getFileURLFromSystemPath()
393 …rtl_uriEncode( pTmp, uriCharClass, rtl_UriEncodeIgnoreEscapes, RTL_TEXTENCODING_UTF8, pustrFileURL… in osl_getFileURLFromSystemPath()
395 rtl_uString_release( pTmp ); in osl_getFileURLFromSystemPath()