Lines Matching refs:length
165 if( ( 0 == ustrFileURL->length ) || ( (sal_Unicode) '/' == ustrFileURL->buffer[0] ) ) in osl_getSystemPathFromFileURL()
172 …nIndex = rtl_ustr_indexOfStr_WithLength( ustrFileURL->buffer, ustrFileURL->length, protocolDelimit… in osl_getSystemPathFromFileURL()
173 …tl_ustr_ascii_shortenedCompare_WithLength( ustrFileURL->buffer, ustrFileURL->length,"file", 4 ) ) ) in osl_getSystemPathFromFileURL()
182 …if( -1 != rtl_ustr_indexOfStr_WithLength( ustrFileURL->buffer, ustrFileURL->length, encodedSlash, … in osl_getSystemPathFromFileURL()
192 …ustr_indexOfChar_WithLength( ustrFileURL->buffer + nOffset, ustrFileURL->length - nOffset, (sal_Un… in osl_getSystemPathFromFileURL()
196 -1 == nIndex ? ustrFileURL->length - nOffset : nIndex++ ); in osl_getSystemPathFromFileURL()
202 … if( -1 != rtl_ustr_indexOfChar_WithLength( pTmp->buffer, pTmp->length, (sal_Unicode) '/' ) ) in osl_getSystemPathFromFileURL()
222 if( 7 <= pTmp->length ) in osl_getSystemPathFromFileURL()
228 rtl_ustr_toAsciiLowerCase_WithLength( pProtocol->buffer, pProtocol->length ); in osl_getSystemPathFromFileURL()
230 …if( 0 == rtl_ustr_ascii_shortenedCompare_WithLength( pProtocol->buffer, pProtocol->length,"file://… in osl_getSystemPathFromFileURL()
238 if( nIndex && ( 10 <= pTmp->length - nIndex ) ) in osl_getSystemPathFromFileURL()
244 rtl_ustr_toAsciiLowerCase_WithLength( pServer->buffer, pServer->length ); in osl_getSystemPathFromFileURL()
246 …if( ( 0 == rtl_ustr_ascii_shortenedCompare_WithLength( pServer->buffer, pServer->length,"localhost… in osl_getSystemPathFromFileURL()
247 …( 0 == rtl_ustr_ascii_shortenedCompare_WithLength( pServer->buffer, pServer->length,"127.0.0.1/", … in osl_getSystemPathFromFileURL()
257 rtl_uString_newFromStr_WithLength( &pTmp, pTmp->buffer + nIndex, pTmp->length - nIndex ); in osl_getSystemPathFromFileURL()
263 if( ( 1 == pTmp->length ) || ( (sal_Unicode)'/' == pTmp->buffer[1] ) ) in osl_getSystemPathFromFileURL()
271 rtl_uString_newFromStr_WithLength( &pTmp2, pTmp2->buffer + 7, pTmp2->length - 7 ); in osl_getSystemPathFromFileURL()
305 if( 0 == ustrSystemPath->length ) in osl_getFileURLFromSystemPath()
310 …tr_ascii_shortenedCompare_WithLength( ustrSystemPath->buffer, ustrSystemPath->length,"file:", 5 ) ) in osl_getFileURLFromSystemPath()
338 if( ( 1 == ustrSystemPath->length ) || ( (sal_Unicode)'/' == ustrSystemPath->buffer[1] ) ) in osl_getFileURLFromSystemPath()
344 rtl_uString_newFromStr_WithLength( &pTmp, pTmp->buffer + 7, pTmp->length - 7 ); in osl_getFileURLFromSystemPath()
358 …nIndex = rtl_ustr_indexOfStr_WithLength( ustrSystemPath->buffer, ustrSystemPath->length, pDoubleSl… in osl_getFileURLFromSystemPath()
369 nIndex += pTmp->length - ustrSystemPath->length; in osl_getFileURLFromSystemPath()
372 for( nSrcIndex = nIndex + 1; nSrcIndex < pTmp->length; nSrcIndex++ ) in osl_getFileURLFromSystemPath()
381 pTmp->length -= nDeleted; in osl_getFileURLFromSystemPath()
835 if(!UnicodeToText( buffer, bufLen, ustrSystemPath->buffer, ustrSystemPath->length)) in FileURLToPath()