Lines Matching refs:pTmp
671 rtl_uString *pTmp = NULL; in osl_getFileURLFromSystemPath()
712 osl_getHomeDir( osl_getCurrentSecurity(), &pTmp ); in osl_getFileURLFromSystemPath()
715 rtl_uString_newFromStr_WithLength( &pTmp, pTmp->buffer + 7, pTmp->length - 7 ); in osl_getFileURLFromSystemPath()
718 rtl_uString_newReplaceStrAt( &pTmp, ustrSystemPath, 0, 1, pTmp ); in osl_getFileURLFromSystemPath()
736 if( NULL == pTmp ) in osl_getFileURLFromSystemPath()
737 rtl_uString_newFromString( &pTmp, ustrSystemPath ); in osl_getFileURLFromSystemPath()
740 nIndex += pTmp->length - ustrSystemPath->length; in osl_getFileURLFromSystemPath()
743 for( nSrcIndex = nIndex + 1; nSrcIndex < pTmp->length; nSrcIndex++ ) in osl_getFileURLFromSystemPath()
745 …if( ((sal_Unicode) '/' == pTmp->buffer[nSrcIndex]) && ((sal_Unicode) '/' == pTmp->buffer[nIndex]) ) in osl_getFileURLFromSystemPath()
748 pTmp->buffer[++nIndex] = pTmp->buffer[nSrcIndex]; in osl_getFileURLFromSystemPath()
752 pTmp->length -= nDeleted; in osl_getFileURLFromSystemPath()
755 if( NULL == pTmp ) in osl_getFileURLFromSystemPath()
756 rtl_uString_assign( &pTmp, ustrSystemPath ); in osl_getFileURLFromSystemPath()
764 …rtl_uriEncode( pTmp, uriCharClass, rtl_UriEncodeIgnoreEscapes, RTL_TEXTENCODING_UTF8, pustrFileURL… in osl_getFileURLFromSystemPath()
766 rtl_uString_release( pTmp ); in osl_getFileURLFromSystemPath()
886 rtl_uString * pTmp = NULL; in osl_getSystemPathFromFileURL()
924 rtl_uriDecode( ustrPathToken, rtl_UriDecodeWithCharset, RTL_TEXTENCODING_UTF8, &pTmp ); in osl_getSystemPathFromFileURL()
927 … if( -1 != rtl_ustr_indexOfChar_WithLength( pTmp->buffer, pTmp->length, (sal_Unicode) '/' ) ) in osl_getSystemPathFromFileURL()
929 rtl_uString_release( pTmp ); in osl_getSystemPathFromFileURL()
943 rtl_uriDecode( ustrFileURL, rtl_UriDecodeWithCharset, RTL_TEXTENCODING_UTF8, &pTmp ); in osl_getSystemPathFromFileURL()
947 if( 7 <= pTmp->length ) in osl_getSystemPathFromFileURL()
950 rtl_uString_newFromStr_WithLength( &pProtocol, pTmp->buffer, 7 ); in osl_getSystemPathFromFileURL()
963 if( nIndex && ( 10 <= pTmp->length - nIndex ) ) in osl_getSystemPathFromFileURL()
966 rtl_uString_newFromStr_WithLength( &pServer, pTmp->buffer + nIndex, 10 ); in osl_getSystemPathFromFileURL()
982 rtl_uString_newFromStr_WithLength( &pTmp, pTmp->buffer + nIndex, pTmp->length - nIndex ); in osl_getSystemPathFromFileURL()
985 if( (sal_Unicode) '~' == pTmp->buffer[0] ) in osl_getSystemPathFromFileURL()
988 if( ( 1 == pTmp->length ) || ( (sal_Unicode)'/' == pTmp->buffer[1] ) ) in osl_getSystemPathFromFileURL()
999 rtl_uString_newReplaceStrAt( &pTmp, pTmp, 0, 1, pTmp2 ); in osl_getSystemPathFromFileURL()
1015 *pustrSystemPath = pTmp; in osl_getSystemPathFromFileURL()