Lines Matching refs:length
674 if( 0 == ustrSystemPath->length ) in osl_getFileURLFromSystemPath()
681 …tr_ascii_shortenedCompare_WithLength( ustrSystemPath->buffer, ustrSystemPath->length,"file:", 5 ) ) in osl_getFileURLFromSystemPath()
709 if( ( 1 == ustrSystemPath->length ) || ( (sal_Unicode)'/' == ustrSystemPath->buffer[1] ) ) in osl_getFileURLFromSystemPath()
715 rtl_uString_newFromStr_WithLength( &pTmp, pTmp->buffer + 7, pTmp->length - 7 ); in osl_getFileURLFromSystemPath()
729 …nIndex = rtl_ustr_indexOfStr_WithLength( ustrSystemPath->buffer, ustrSystemPath->length, pDoubleSl… in osl_getFileURLFromSystemPath()
740 nIndex += pTmp->length - ustrSystemPath->length; in osl_getFileURLFromSystemPath()
743 for( nSrcIndex = nIndex + 1; nSrcIndex < pTmp->length; nSrcIndex++ ) in osl_getFileURLFromSystemPath()
752 pTmp->length -= nDeleted; in osl_getFileURLFromSystemPath()
801 strUTF8->length == strURL->length || in _osl_getSystemPathFromFileURL()
802 0 != rtl_ustr_ascii_shortenedCompare_WithLength( strURL->buffer, strURL->length, "file:\\\\", 7 ) in _osl_getSystemPathFromFileURL()
901 if( ( 0 == ustrFileURL->length ) || ( (sal_Unicode) '/' == ustrFileURL->buffer[0] ) ) in osl_getSystemPathFromFileURL()
907 …if( -1 != rtl_ustr_indexOfStr_WithLength( ustrFileURL->buffer, ustrFileURL->length, encodedSlash, … in osl_getSystemPathFromFileURL()
917 …ustr_indexOfChar_WithLength( ustrFileURL->buffer + nOffset, ustrFileURL->length - nOffset, (sal_Un… in osl_getSystemPathFromFileURL()
921 -1 == nIndex ? ustrFileURL->length - nOffset : nIndex++ ); in osl_getSystemPathFromFileURL()
927 … if( -1 != rtl_ustr_indexOfChar_WithLength( pTmp->buffer, pTmp->length, (sal_Unicode) '/' ) ) in osl_getSystemPathFromFileURL()
947 if( 7 <= pTmp->length ) in osl_getSystemPathFromFileURL()
953 rtl_ustr_toAsciiLowerCase_WithLength( pProtocol->buffer, pProtocol->length ); in osl_getSystemPathFromFileURL()
955 …if( 0 == rtl_ustr_ascii_shortenedCompare_WithLength( pProtocol->buffer, pProtocol->length,"file://… in osl_getSystemPathFromFileURL()
963 if( nIndex && ( 10 <= pTmp->length - nIndex ) ) in osl_getSystemPathFromFileURL()
969 rtl_ustr_toAsciiLowerCase_WithLength( pServer->buffer, pServer->length ); in osl_getSystemPathFromFileURL()
971 …if( ( 0 == rtl_ustr_ascii_shortenedCompare_WithLength( pServer->buffer, pServer->length,"localhost… in osl_getSystemPathFromFileURL()
972 …( 0 == rtl_ustr_ascii_shortenedCompare_WithLength( pServer->buffer, pServer->length,"127.0.0.1/", … in osl_getSystemPathFromFileURL()
982 rtl_uString_newFromStr_WithLength( &pTmp, pTmp->buffer + nIndex, pTmp->length - nIndex ); in osl_getSystemPathFromFileURL()
988 if( ( 1 == pTmp->length ) || ( (sal_Unicode)'/' == pTmp->buffer[1] ) ) in osl_getSystemPathFromFileURL()
996 rtl_uString_newFromStr_WithLength( &pTmp2, pTmp2->buffer + 7, pTmp2->length - 7 ); in osl_getSystemPathFromFileURL()
1395 if ( ustrBaseURL && ustrBaseURL->length ) in osl_getAbsoluteFileURL()
1434 …odeToText( szBaseSysPath, sizeof(szBaseSysPath), ustrBaseSysPath->buffer, ustrBaseSysPath->length); in osl_getAbsoluteFileURL()
1438 …UnicodeToText( szRelSysPath, sizeof(szRelSysPath), ustrRelSysPath->buffer, ustrRelSysPath->length); in osl_getAbsoluteFileURL()
1618 if(!UnicodeToText( buffer, bufLen, ustrSystemPath->buffer, ustrSystemPath->length)) in FileURLToPath()