Lines Matching refs:pData
74 rtl_uString * pData; member in rtl::OUString
83 pData = value; in OUString()
92 pData = 0;
93 rtl_uString_new( &pData );
103 pData = str.pData;
104 rtl_uString_acquire( pData );
114 pData = str;
115 rtl_uString_acquire( pData );
125 { pData = str; } in OUString()
134 : pData (0)
136 rtl_uString_newFromStr_WithLength( &pData, &value, 1 );
146 pData = 0;
147 rtl_uString_newFromStr( &pData, value );
160 pData = 0; in OUString()
161 rtl_uString_newFromStr_WithLength( &pData, value, length ); in OUString()
182 pData = 0; in OUString()
183 rtl_string2UString( &pData, value, length, encoding, convertFlags ); in OUString()
185 OSL_ASSERT(pData != NULL); in OUString()
187 if (pData == 0) { in OUString()
211 pData(NULL) in OUString()
213 rtl_uString_newFromCodePoints(&pData, codePoints, codePointCount); in OUString()
214 if (pData == NULL) { in OUString()
228 rtl_uString_release( pData );
252 rtl_uString_assign( &pData, str.pData ); in operator =()
263 rtl_uString_newConcat( &pData, pData, str.pData ); in operator +=()
275 sal_Int32 getLength() const SAL_THROW(()) { return pData->length; } in getLength()
288 operator const sal_Unicode *() const SAL_THROW(()) { return pData->buffer; }
291 sal_Unicode& operator[]( int n ) { return pData->buffer[n]; } in operator []()
293 const sal_Unicode& operator[]( int n ) const { return pData->buffer[n]; } in operator []()
295 bool isEmpty() const { return (pData->length == 0); } in isEmpty()
305 const sal_Unicode * getStr() const SAL_THROW(()) { return pData->buffer; } in getStr()
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()
377 if ( pData == str.pData ) 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()
401 if ( pData == str.pData ) 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 …return rtl_ustr_shortenedCompareIgnoreAsciiCase_WithLength( pData->buffer+fromIndex, pData->length… 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()
566 pData->buffer, asciiStr, 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 …n rtl_ustr_ascii_shortenedCompareIgnoreAsciiCase_WithLength( pData->buffer+fromIndex, pData->lengt… 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()
798 return rtl_ustr_lastIndexOfChar_WithLength( pData->buffer, fromIndex, 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()
895 return rtl_ustr_lastIndexOfStr_WithLength( pData->buffer, fromIndex, in lastIndexOf()
896 str.pData->buffer, str.pData->length ); in lastIndexOf()
922 pData->buffer, pData->length, str, len); in lastIndexOfAsciiL()
942 … rtl_uString_newFromStr_WithLength( &pNew, pData->buffer+beginIndex, getLength()-beginIndex ); in copy()
967 rtl_uString_newFromStr_WithLength( &pNew, pData->buffer+beginIndex, count ); in copy()
983 rtl_uString_newConcat( &pNew, pData, str.pData ); in concat()
1008 rtl_uString_newReplaceStrAt( &pNew, pData, index, count, newStr.pData ); in replaceAt()
1028 rtl_uString_newReplace( &pNew, pData, oldChar, newChar ); in replace()
1045 rtl_uString_newToAsciiLowerCase( &pNew, pData ); in toAsciiLowerCase()
1062 rtl_uString_newToAsciiUpperCase( &pNew, pData ); in toAsciiUpperCase()
1080 rtl_uString_newTrim( &pNew, pData ); in trim()
1111 index = rtl_uString_getToken( &pNew, pData, token, cTok, index ); in getToken()
1125 return rtl_ustr_toBoolean( pData->buffer ); in toBoolean()
1136 return pData->buffer[0]; in toChar()
1150 return rtl_ustr_toInt32( pData->buffer, radix ); in toInt32()
1164 return rtl_ustr_toInt64( pData->buffer, radix ); in toInt64()
1177 return rtl_ustr_toFloat( pData->buffer ); in toFloat()
1190 return rtl_ustr_toDouble( pData->buffer ); in toDouble()
1212 rtl_uString_intern( &pNew, pData ); in intern()
1293 return rtl_convertUStringToString(&pTarget->pData, pData->buffer, in convertToString()
1294 pData->length, nEncoding, nFlags); in convertToString()
1352 pData, indexUtf16, incrementCodePoints); in iterateCodePoints()