Lines Matching refs:buffer

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 … nIndex || 0 != rtl_ustr_ascii_shortenedCompare_WithLength( ustrFileURL->buffer, ustrFileURL->leng… 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()
192 rtl_uString_newFromStr_WithLength( &ustrPathToken, ustrFileURL->buffer + nOffset, in osl_getSystemPathFromFileURL()
199 if( -1 != rtl_ustr_indexOfChar_WithLength( pTmp->buffer, pTmp->length, (sal_Unicode) '/' ) ) in osl_getSystemPathFromFileURL()
222 rtl_uString_newFromStr_WithLength( &pProtocol, pTmp->buffer, 7 ); 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()
238 rtl_uString_newFromStr_WithLength( &pServer, pTmp->buffer + nIndex, 10 ); 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()
257 if( (sal_Unicode) '~' == pTmp->buffer[0] ) 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()
309 …if( 0 == rtl_ustr_ascii_shortenedCompare_WithLength( ustrSystemPath->buffer, ustrSystemPath->lengt… in osl_getFileURLFromSystemPath()
334 if( (sal_Unicode) '~' == ustrSystemPath->buffer[0] ) 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()
373 …if( ((sal_Unicode) '/' == pTmp->buffer[nSrcIndex]) && ((sal_Unicode) '/' == pTmp->buffer[nIndex]) ) in osl_getFileURLFromSystemPath()
376 pTmp->buffer[++nIndex] = pTmp->buffer[nSrcIndex]; in osl_getFileURLFromSystemPath()
397 if( (sal_Unicode)'/' == (*pustrFileURL)->buffer[0] ) in osl_getFileURLFromSystemPath()
423 if (bAllowRelative || (UNICHAR_SLASH == temp->buffer[0])) in osl_getSystemPathFromFileURL_Ex()
823 oslFileError FileURLToPath(char * buffer, size_t bufLen, rtl_uString* ustrFileURL) in FileURLToPath() argument
834 if(!UnicodeToText( buffer, bufLen, ustrSystemPath->buffer, ustrSystemPath->length)) in FileURLToPath()
878 int UnicodeToText( char * buffer, size_t bufLen, const sal_Unicode * uniText, sal_Int32 uniTextLen ) in UnicodeToText() argument
884 uniText, uniTextLen, buffer, bufLen, in UnicodeToText()
894 buffer[nDestBytes] = '\0'; in UnicodeToText()