Lines Matching refs:length
150 OString( const sal_Char * value, sal_Int32 length ) SAL_THROW(()) in OString() argument
153 rtl_string_newFromStr_WithLength( &pData, value, length ); in OString()
170 OString( const sal_Unicode * value, sal_Int32 length, in OString() argument
175 rtl_uString2String( &pData, value, length, encoding, convertFlags ); in OString()
223 sal_Int32 getLength() const SAL_THROW(()) { return pData->length; } in getLength()
248 bool isEmpty() const { return (pData->length == 0); } in isEmpty()
277 return rtl_str_compare_WithLength( pData->buffer, pData->length, in compareTo()
278 str.pData->buffer, str.pData->length ); in compareTo()
296 return rtl_str_shortenedCompare_WithLength( pData->buffer, pData->length, in compareTo()
297 … rObj.pData->buffer, rObj.pData->length, maxLength ); in compareTo()
314 return rtl_str_reverseCompare_WithLength( pData->buffer, pData->length, in reverseCompareTo()
315 str.pData->buffer, str.pData->length ); in reverseCompareTo()
331 if ( pData->length != str.pData->length ) in equals()
335 return rtl_str_reverseCompare_WithLength( pData->buffer, pData->length, in equals()
336 str.pData->buffer, str.pData->length ) == 0; in equals()
355 if ( pData->length != str.pData->length ) in equalsIgnoreAsciiCase()
359 return rtl_str_compareIgnoreAsciiCase_WithLength( pData->buffer, pData->length, in equalsIgnoreAsciiCase()
360 … str.pData->buffer, str.pData->length ) == 0; in equalsIgnoreAsciiCase()
380 … return rtl_str_shortenedCompare_WithLength( pData->buffer+fromIndex, pData->length-fromIndex, in match()
381 … str.pData->buffer, str.pData->length, str.pData->length ) == 0; in match()
404 …l_str_shortenedCompareIgnoreAsciiCase_WithLength( pData->buffer+fromIndex, pData->length-fromIndex, in matchIgnoreAsciiCase()
405 … str.pData->buffer, str.pData->length, in matchIgnoreAsciiCase()
406 str.pData->length ) == 0; in matchIgnoreAsciiCase()
441 return rtl_str_hashCode_WithLength( pData->buffer, pData->length ); in hashCode()
459 …sal_Int32 ret = rtl_str_indexOfChar_WithLength( pData->buffer+fromIndex, pData->length-fromIndex, … in indexOf()
474 return rtl_str_lastIndexOfChar_WithLength( pData->buffer, pData->length, ch ); in lastIndexOf()
511 … sal_Int32 ret = rtl_str_indexOfStr_WithLength( pData->buffer+fromIndex, pData->length-fromIndex, in indexOf()
512 str.pData->buffer, str.pData->length ); in indexOf()
533 return rtl_str_lastIndexOfStr_WithLength( pData->buffer, pData->length, in lastIndexOf()
534 str.pData->buffer, str.pData->length ); in lastIndexOf()
557 str.pData->buffer, str.pData->length ); in lastIndexOf()