Lines Matching refs:length
162 if( ( 0 == ustrFileURL->length ) || ( (sal_Unicode) '/' == ustrFileURL->buffer[0] ) ) in osl_getSystemPathFromFileURL()
169 …nIndex = rtl_ustr_indexOfStr_WithLength( ustrFileURL->buffer, ustrFileURL->length, protocolDelimit… in osl_getSystemPathFromFileURL()
170 …tl_ustr_ascii_shortenedCompare_WithLength( ustrFileURL->buffer, ustrFileURL->length,"file", 4 ) ) ) in osl_getSystemPathFromFileURL()
179 …if( -1 != rtl_ustr_indexOfStr_WithLength( ustrFileURL->buffer, ustrFileURL->length, encodedSlash, … in osl_getSystemPathFromFileURL()
189 …nIndex = rtl_ustr_indexOfChar_WithLength( ustrFileURL->buffer + nOffset, ustrFileURL->length - nOf… in osl_getSystemPathFromFileURL()
193 -1 == nIndex ? ustrFileURL->length - nOffset : nIndex++ ); in osl_getSystemPathFromFileURL()
199 if( -1 != rtl_ustr_indexOfChar_WithLength( pTmp->buffer, pTmp->length, (sal_Unicode) '/' ) ) in osl_getSystemPathFromFileURL()
219 if( 7 <= pTmp->length ) in osl_getSystemPathFromFileURL()
225 rtl_ustr_toAsciiLowerCase_WithLength( pProtocol->buffer, pProtocol->length ); in osl_getSystemPathFromFileURL()
227 …if( 0 == rtl_ustr_ascii_shortenedCompare_WithLength( pProtocol->buffer, pProtocol->length,"file://… in osl_getSystemPathFromFileURL()
235 if( nIndex && ( 10 <= pTmp->length - nIndex ) ) in osl_getSystemPathFromFileURL()
241 rtl_ustr_toAsciiLowerCase_WithLength( pServer->buffer, pServer->length ); in osl_getSystemPathFromFileURL()
243 …if( ( 0 == rtl_ustr_ascii_shortenedCompare_WithLength( pServer->buffer, pServer->length,"localhost… in osl_getSystemPathFromFileURL()
244 …( 0 == rtl_ustr_ascii_shortenedCompare_WithLength( pServer->buffer, pServer->length,"127.0.0.1/", … in osl_getSystemPathFromFileURL()
254 rtl_uString_newFromStr_WithLength( &pTmp, pTmp->buffer + nIndex, pTmp->length - nIndex ); in osl_getSystemPathFromFileURL()
260 if( ( 1 == pTmp->length ) || ( (sal_Unicode)'/' == pTmp->buffer[1] ) ) in osl_getSystemPathFromFileURL()
270 rtl_uString_newFromStr_WithLength( &pTmp2, pTmp2->buffer + 7, pTmp2->length - 7 ); in osl_getSystemPathFromFileURL()
304 if( 0 == ustrSystemPath->length ) in osl_getFileURLFromSystemPath()
309 …tr_ascii_shortenedCompare_WithLength( ustrSystemPath->buffer, ustrSystemPath->length,"file:", 5 ) ) in osl_getFileURLFromSystemPath()
337 if( ( 1 == ustrSystemPath->length ) || ( (sal_Unicode)'/' == ustrSystemPath->buffer[1] ) ) in osl_getFileURLFromSystemPath()
343 rtl_uString_newFromStr_WithLength( &pTmp, pTmp->buffer + 7, pTmp->length - 7 ); in osl_getFileURLFromSystemPath()
357 …nIndex = rtl_ustr_indexOfStr_WithLength( ustrSystemPath->buffer, ustrSystemPath->length, pDoubleSl… in osl_getFileURLFromSystemPath()
368 nIndex += pTmp->length - ustrSystemPath->length; in osl_getFileURLFromSystemPath()
371 for( nSrcIndex = nIndex + 1; nSrcIndex < pTmp->length; nSrcIndex++ ) in osl_getFileURLFromSystemPath()
380 pTmp->length -= nDeleted; in osl_getFileURLFromSystemPath()
834 if(!UnicodeToText( buffer, bufLen, ustrSystemPath->buffer, ustrSystemPath->length)) in FileURLToPath()