Lines Matching refs:pData
76 rtl_String * pData; member in rtl::OString
85 pData = value; in OString()
94 pData = 0;
95 rtl_string_new( &pData );
105 pData = str.pData;
106 rtl_string_acquire( pData );
116 pData = str;
117 rtl_string_acquire( pData );
126 : pData (0)
128 rtl_string_newFromStr_WithLength( &pData, &value, 1 );
138 pData = 0;
139 rtl_string_newFromStr( &pData, value );
152 pData = 0; in OString()
153 rtl_string_newFromStr_WithLength( &pData, value, length ); in OString()
174 pData = 0; in OString()
175 rtl_uString2String( &pData, value, length, encoding, convertFlags ); in OString()
177 OSL_ASSERT(pData != NULL); in OString()
179 if (pData == 0) { in OString()
190 rtl_string_release( pData );
200 rtl_string_assign( &pData, str.pData ); in operator =()
211 rtl_string_newConcat( &pData, pData, str.pData ); in operator +=()
223 sal_Int32 getLength() const SAL_THROW(()) { return pData->length; } in getLength()
242 operator const sal_Char *() const SAL_THROW(()) { return pData->buffer; }
244 sal_Char& operator[]( int n ) { return pData->buffer[n]; } in operator []()
246 const sal_Char& operator[]( int n ) const { return pData->buffer[n]; } in operator []()
248 bool isEmpty() const { return (pData->length == 0); } in isEmpty()
261 const sal_Char * getStr() const SAL_THROW(()) { return pData->buffer; } in getStr()
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()
333 if ( pData == str.pData ) 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()
357 if ( pData == str.pData ) 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 …return rtl_str_shortenedCompareIgnoreAsciiCase_WithLength( pData->buffer+fromIndex, pData->length-… 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()
491 return rtl_str_lastIndexOfChar_WithLength( pData->buffer, fromIndex, 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()
556 return rtl_str_lastIndexOfStr_WithLength( pData->buffer, fromIndex, in lastIndexOf()
557 str.pData->buffer, str.pData->length ); in lastIndexOf()
577 … rtl_string_newFromStr_WithLength( &pNew, pData->buffer+beginIndex, getLength()-beginIndex ); in copy()
602 rtl_string_newFromStr_WithLength( &pNew, pData->buffer+beginIndex, count ); in copy()
618 rtl_string_newConcat( &pNew, pData, str.pData ); in concat()
643 rtl_string_newReplaceStrAt( &pNew, pData, index, count, newStr.pData ); in replaceAt()
663 rtl_string_newReplace( &pNew, pData, oldChar, newChar ); in replace()
680 rtl_string_newToAsciiLowerCase( &pNew, pData ); in toAsciiLowerCase()
697 rtl_string_newToAsciiUpperCase( &pNew, pData ); in toAsciiUpperCase()
715 rtl_string_newTrim( &pNew, pData ); in trim()
746 index = rtl_string_getToken( &pNew, pData, token, cTok, index ); in getToken()
760 return rtl_str_toBoolean( pData->buffer ); in toBoolean()
771 return pData->buffer[0]; in toChar()
785 return rtl_str_toInt32( pData->buffer, radix ); in toInt32()
799 return rtl_str_toInt64( pData->buffer, radix ); in toInt64()
812 return rtl_str_toFloat( pData->buffer ); in toFloat()
825 return rtl_str_toDouble( pData->buffer ); in toDouble()