Lines Matching refs:buffer

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 … nIndex || 0 != rtl_ustr_ascii_shortenedCompare_WithLength( ustrFileURL->buffer, ustrFileURL->leng… in osl_getSystemPathFromFileURL()
182 …if( -1 != rtl_ustr_indexOfStr_WithLength( ustrFileURL->buffer, ustrFileURL->length, encodedSlash, … in osl_getSystemPathFromFileURL()
192 …nIndex = rtl_ustr_indexOfChar_WithLength( ustrFileURL->buffer + nOffset, ustrFileURL->length - nOf… in osl_getSystemPathFromFileURL()
195 rtl_uString_newFromStr_WithLength( &ustrPathToken, ustrFileURL->buffer + nOffset, in osl_getSystemPathFromFileURL()
202 … if( -1 != rtl_ustr_indexOfChar_WithLength( pTmp->buffer, pTmp->length, (sal_Unicode) '/' ) ) in osl_getSystemPathFromFileURL()
225 rtl_uString_newFromStr_WithLength( &pProtocol, pTmp->buffer, 7 ); 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()
241 rtl_uString_newFromStr_WithLength( &pServer, pTmp->buffer + nIndex, 10 ); 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()
260 if( (sal_Unicode) '~' == pTmp->buffer[0] ) 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()
310 …if( 0 == rtl_ustr_ascii_shortenedCompare_WithLength( ustrSystemPath->buffer, ustrSystemPath->lengt… in osl_getFileURLFromSystemPath()
335 if( (sal_Unicode) '~' == ustrSystemPath->buffer[0] ) 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()
374 …if( ((sal_Unicode) '/' == pTmp->buffer[nSrcIndex]) && ((sal_Unicode) '/' == pTmp->buffer[nIndex]) ) in osl_getFileURLFromSystemPath()
377 pTmp->buffer[++nIndex] = pTmp->buffer[nSrcIndex]; in osl_getFileURLFromSystemPath()
398 if( (sal_Unicode)'/' == (*pustrFileURL)->buffer[0] ) in osl_getFileURLFromSystemPath()
424 if (bAllowRelative || (UNICHAR_SLASH == temp->buffer[0])) in osl_getSystemPathFromFileURL_Ex()
824 oslFileError FileURLToPath(char * buffer, size_t bufLen, rtl_uString* ustrFileURL) in FileURLToPath() argument
835 if(!UnicodeToText( buffer, bufLen, ustrSystemPath->buffer, ustrSystemPath->length)) in FileURLToPath()
879 int UnicodeToText( char * buffer, size_t bufLen, const sal_Unicode * uniText, sal_Int32 uniTextLen ) in UnicodeToText() argument
885 uniText, uniTextLen, buffer, bufLen, in UnicodeToText()
895 buffer[nDestBytes] = '\0'; in UnicodeToText()