Lines Matching defs:UnicodeString

43 print(const UnicodeString& s,
90 // u_unescapeAt() callback to get a UChar from a UnicodeString
94 return ((U_NAMESPACE_QUALIFIER UnicodeString*) context)->charAt(offset);
105 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(UnicodeString)
107 UnicodeString U_EXPORT2
108 operator+ (const UnicodeString &s1, const UnicodeString &s2) {
110 UnicodeString(s1.length()+s2.length()+1, (UChar32)0, 0).
121 UnicodeString::addRef()
125 UnicodeString::removeRef()
129 UnicodeString::refCount() const
140 UnicodeString::releaseArray() {
151 UnicodeString::UnicodeString()
156 UnicodeString::UnicodeString(int32_t capacity, UChar32 c, int32_t count)
201 UnicodeString::UnicodeString(UChar ch)
208 UnicodeString::UnicodeString(UChar32 ch)
218 UnicodeString::UnicodeString(const UChar *text)
225 UnicodeString::UnicodeString(const UChar *text,
233 UnicodeString::UnicodeString(UBool isTerminated,
256 UnicodeString::UnicodeString(UChar *buff,
280 UnicodeString::UnicodeString(const char *src, int32_t length, EInvariant)
301 UnicodeString::UnicodeString(const char *codepageData)
309 UnicodeString::UnicodeString(const char *codepageData, int32_t dataLength)
325 UnicodeString::UnicodeString(const UnicodeString& that)
333 UnicodeString::UnicodeString(const UnicodeString& that,
342 UnicodeString::UnicodeString(const UnicodeString& that,
358 // UnicodeString overrides clone() with a real implementation
360 UnicodeString::clone() const {
361 return new UnicodeString(*this);
369 UnicodeString::allocate(int32_t capacity) {
401 UnicodeString::~UnicodeString()
410 UnicodeString UnicodeString::fromUTF8(const StringPiece &utf8) {
411 UnicodeString result;
416 UnicodeString UnicodeString::fromUTF32(const UChar32 *utf32, int32_t length) {
417 UnicodeString result;
452 UnicodeString &
453 UnicodeString::operator=(const UnicodeString &src) {
457 UnicodeString &
458 UnicodeString::fastCopyFrom(const UnicodeString &src) {
462 UnicodeString &
463 UnicodeString::copyFrom(const UnicodeString &src, UBool fastCopy) {
498 ((UnicodeString &)src).addRef();
539 UnicodeString UnicodeString::unescape() const {
540 UnicodeString result(length(), (UChar32)0, (int32_t)0); // construct with capacity
563 UChar32 UnicodeString::unescapeAt(int32_t &offset) const {
571 UnicodeString::doCompare( int32_t start,
650 UnicodeString::doCompareCodePointOrder(int32_t start,
679 UnicodeString::getLength() const {
684 UnicodeString::getCharAt(int32_t offset) const {
689 UnicodeString::getChar32At(int32_t offset) const {
694 UnicodeString::countChar32(int32_t start, int32_t length) const {
701 UnicodeString::hasMoreChar32Than(int32_t start, int32_t length, int32_t number) const {
708 UnicodeString::moveIndex32(int32_t index, int32_t delta) const {
728 UnicodeString::doExtract(int32_t start,
744 UnicodeString::extract(UChar *dest, int32_t destCapacity,
763 UnicodeString::extract(int32_t start,
784 UnicodeString
785 UnicodeString::tempSubString(int32_t start, int32_t len) const {
792 return UnicodeString(FALSE, array + start, len);
796 UnicodeString::toUTF8(int32_t start, int32_t len,
812 UnicodeString::extract(int32_t start, int32_t len,
825 UnicodeString::extractBetween(int32_t start,
827 UnicodeString& target) const {
838 UnicodeString::toUTF8(ByteSink &sink) const {
880 UnicodeString::toUTF32(UChar32 *utf32, int32_t capacity, UErrorCode &errorCode) const {
894 UnicodeString::indexOf(const UChar *srcChars,
904 // UnicodeString does not find empty substrings
923 UnicodeString::doIndexOf(UChar c,
941 UnicodeString::doIndexOf(UChar32 c,
958 UnicodeString::lastIndexOf(const UChar *srcChars,
968 // UnicodeString does not find empty substrings
987 UnicodeString::doLastIndexOf(UChar c,
1009 UnicodeString::doLastIndexOf(UChar32 c,
1029 UnicodeString&
1030 UnicodeString::findAndReplace(int32_t start,
1032 const UnicodeString& oldText,
1035 const UnicodeString& newText,
1069 UnicodeString::setToBogus()
1081 UnicodeString::unBogus() {
1088 UnicodeString &
1089 UnicodeString::setTo(UBool isTerminated,
1126 UnicodeString &
1127 UnicodeString::setTo(UChar *buffer,
1161 UnicodeString &UnicodeString::setToUTF8(const StringPiece &utf8) {
1186 UnicodeString&
1187 UnicodeString::setCharAt(int32_t offset,
1203 UnicodeString&
1204 UnicodeString::doReplace( int32_t start,
1206 const UnicodeString& src,
1223 UnicodeString&
1224 UnicodeString::doReplace(int32_t start,
1350 UnicodeString::handleReplaceBetween(int32_t start,
1352 const UnicodeString& text) {
1360 UnicodeString::copy(int32_t start, int32_t limit, int32_t dest) {
1386 UBool UnicodeString::hasMetaData() const {
1390 UnicodeString&
1391 UnicodeString::doReverse(int32_t start, int32_t length) {
1437 UnicodeString::padLeading(int32_t targetLength,
1459 UnicodeString::padTrailing(int32_t targetLength,
1481 UnicodeString::doHashCode() const
1483 /* Delegate hash computation to uhash. This makes UnicodeString
1497 UnicodeString::getBuffer(int32_t minCapacity) {
1508 UnicodeString::releaseBuffer(int32_t newLength) {
1531 UnicodeString::cloneArrayIfNeeded(int32_t newCapacity,
1687 delete [] (new UnicodeString[2]);