Lines Matching refs:length
158 OUString( const sal_Unicode * value, sal_Int32 length ) SAL_THROW(()) in OUString() argument
161 rtl_uString_newFromStr_WithLength( &pData, value, length ); in OUString()
178 OUString( const sal_Char * value, sal_Int32 length, in OUString() argument
183 rtl_string2UString( &pData, value, length, encoding, convertFlags ); in OUString()
275 sal_Int32 getLength() const SAL_THROW(()) { return pData->length; } in getLength()
295 bool isEmpty() const { return (pData->length == 0); } in isEmpty()
321 return rtl_ustr_compare_WithLength( pData->buffer, pData->length, in compareTo()
322 str.pData->buffer, str.pData->length ); in compareTo()
340 return rtl_ustr_shortenedCompare_WithLength( pData->buffer, pData->length, in compareTo()
341 … str.pData->buffer, str.pData->length, maxLength ); in compareTo()
358 return rtl_ustr_reverseCompare_WithLength( pData->buffer, pData->length, in reverseCompareTo()
359 str.pData->buffer, str.pData->length ); in reverseCompareTo()
375 if ( pData->length != str.pData->length ) in equals()
379 return rtl_ustr_reverseCompare_WithLength( pData->buffer, pData->length, in equals()
380 str.pData->buffer, str.pData->length ) == 0; in equals()
399 if ( pData->length != str.pData->length ) in equalsIgnoreAsciiCase()
403 return rtl_ustr_compareIgnoreAsciiCase_WithLength( pData->buffer, pData->length, in equalsIgnoreAsciiCase()
404 … str.pData->buffer, str.pData->length ) == 0; in equalsIgnoreAsciiCase()
424 … return rtl_ustr_shortenedCompare_WithLength( pData->buffer+fromIndex, pData->length-fromIndex, in match()
425 … str.pData->buffer, str.pData->length, str.pData->length ) == 0; in match()
448 …_ustr_shortenedCompareIgnoreAsciiCase_WithLength( pData->buffer+fromIndex, pData->length-fromIndex, in matchIgnoreAsciiCase()
449 … str.pData->buffer, str.pData->length, in matchIgnoreAsciiCase()
450 str.pData->length ) == 0; in matchIgnoreAsciiCase()
471 return rtl_ustr_ascii_compare_WithLength( pData->buffer, pData->length, asciiStr ); in compareToAscii()
493 return rtl_ustr_ascii_shortenedCompare_WithLength( pData->buffer, pData->length, in compareToAscii()
518 return rtl_ustr_asciil_reverseCompare_WithLength( pData->buffer, pData->length, in reverseCompareToAsciiL()
539 return rtl_ustr_ascii_compare_WithLength( pData->buffer, pData->length, in equalsAscii()
562 if ( pData->length != asciiStrLength ) in equalsAsciiL()
589 …return rtl_ustr_ascii_compareIgnoreAsciiCase_WithLength( pData->buffer, pData->length, asciiStr ) … in equalsIgnoreAsciiCaseAscii()
614 if ( pData->length != asciiStrLength ) in equalsIgnoreAsciiCaseAsciiL()
617 …return rtl_ustr_ascii_compareIgnoreAsciiCase_WithLength( pData->buffer, pData->length, asciiStr ) … in equalsIgnoreAsciiCaseAsciiL()
642 …return rtl_ustr_ascii_shortenedCompare_WithLength( pData->buffer+fromIndex, pData->length-fromInde… in matchAsciiL()
672 …ascii_shortenedCompareIgnoreAsciiCase_WithLength( pData->buffer+fromIndex, pData->length-fromIndex, in matchIgnoreAsciiCaseAsciiL()
690 return asciiStrLength <= pData->length in endsWithAsciiL()
692 pData->buffer + pData->length - asciiStrLength, asciiStr, in endsWithAsciiL()
709 return asciiStrLength <= pData->length in endsWithIgnoreAsciiCaseAsciiL()
711 pData->buffer + pData->length - asciiStrLength, in endsWithIgnoreAsciiCaseAsciiL()
748 return rtl_ustr_hashCode_WithLength( pData->buffer, pData->length ); in hashCode()
766 …sal_Int32 ret = rtl_ustr_indexOfChar_WithLength( pData->buffer+fromIndex, pData->length-fromIndex,… in indexOf()
781 return rtl_ustr_lastIndexOfChar_WithLength( pData->buffer, pData->length, ch ); in lastIndexOf()
818 … sal_Int32 ret = rtl_ustr_indexOfStr_WithLength( pData->buffer+fromIndex, pData->length-fromIndex, in indexOf()
819 str.pData->buffer, str.pData->length ); in indexOf()
851 pData->buffer + fromIndex, pData->length - fromIndex, str, len); in indexOfAsciiL()
872 return rtl_ustr_lastIndexOfStr_WithLength( pData->buffer, pData->length, in lastIndexOf()
873 str.pData->buffer, str.pData->length ); in lastIndexOf()
896 str.pData->buffer, str.pData->length ); in lastIndexOf()
922 pData->buffer, pData->length, str, len); in lastIndexOfAsciiL()
1248 static OUString intern( const sal_Char * value, sal_Int32 length, in intern() argument
1254 rtl_uString_internConvert( &pNew, value, length, encoding, in intern()
1294 pData->length, nEncoding, nFlags); in convertToString()