Home | History | Annotate | Download | only in common

Lines Matching refs:UnicodeString

42 print(const UnicodeString& s,
89 // u_unescapeAt() callback to get a UChar from a UnicodeString
93 return ((icu::UnicodeString*) context)->charAt(offset);
104 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(UnicodeString)
106 UnicodeString U_EXPORT2
107 operator+ (const UnicodeString &s1, const UnicodeString &s2) {
109 UnicodeString(s1.length()+s2.length()+1, (UChar32)0, 0).
120 UnicodeString::addRef()
124 UnicodeString::removeRef()
128 UnicodeString::refCount() const
139 UnicodeString::releaseArray() {
153 UnicodeString::UnicodeString(int32_t capacity, UChar32 c, int32_t count)
198 UnicodeString::UnicodeString(UChar ch)
205 UnicodeString::UnicodeString(UChar32 ch)
219 UnicodeString::UnicodeString(const UChar *text)
226 UnicodeString::UnicodeString(const UChar *text,
234 UnicodeString::UnicodeString(UBool isTerminated,
257 UnicodeString::UnicodeString(UChar *buff,
281 UnicodeString::UnicodeString(const char *src, int32_t length, EInvariant)
302 UnicodeString::UnicodeString(const char *codepageData)
310 UnicodeString::UnicodeString(const char *codepageData, int32_t dataLength)
326 UnicodeString::UnicodeString(const UnicodeString& that)
334 UnicodeString::UnicodeString(const UnicodeString& that,
343 UnicodeString::UnicodeString(const UnicodeString& that,
359 // UnicodeString overrides clone() with a real implementation
361 UnicodeString::clone() const {
362 return new UnicodeString(*this);
370 UnicodeString::allocate(int32_t capacity) {
402 UnicodeString::~UnicodeString()
411 UnicodeString UnicodeString::fromUTF8(const StringPiece &utf8) {
412 UnicodeString result;
417 UnicodeString UnicodeString::fromUTF32(const UChar32 *utf32, int32_t length) {
418 UnicodeString result;
453 UnicodeString &
454 UnicodeString::operator=(const UnicodeString &src) {
458 UnicodeString &
459 UnicodeString::fastCopyFrom(const UnicodeString &src) {
463 UnicodeString &
464 UnicodeString::copyFrom(const UnicodeString &src, UBool fastCopy) {
499 ((UnicodeString &)src).addRef();
540 UnicodeString UnicodeString::unescape() const {
541 UnicodeString result(length(), (UChar32)0, (int32_t)0); // construct with capacity
564 UChar32 UnicodeString::unescapeAt(int32_t &offset) const {
572 UnicodeString::doEquals(const UnicodeString &text, int32_t len) const {
579 UnicodeString::doCompare( int32_t start,
658 UnicodeString::doCompareCodePointOrder(int32_t start,
687 UnicodeString::getLength() const {
692 UnicodeString::getCharAt(int32_t offset) const {
697 UnicodeString::getChar32At(int32_t offset) const {
702 UnicodeString::char32At(int32_t offset) const
716 UnicodeString::getChar32Start(int32_t offset) const {
727 UnicodeString::getChar32Limit(int32_t offset) const {
739 UnicodeString::countChar32(int32_t start, int32_t length) const {
746 UnicodeString::hasMoreChar32Than(int32_t start, int32_t length, int32_t number) const {
753 UnicodeString::moveIndex32(int32_t index, int32_t delta) const {
773 UnicodeString::doExtract(int32_t start,
789 UnicodeString::extract(UChar *dest, int32_t destCapacity,
808 UnicodeString::extract(int32_t start,
829 UnicodeString
830 UnicodeString::tempSubString(int32_t start, int32_t len) const {
837 return UnicodeString(FALSE, array + start, len);
841 UnicodeString::toUTF8(int32_t start, int32_t len,
857 UnicodeString::extract(int32_t start, int32_t len,
870 UnicodeString::extractBetween(int32_t start,
872 UnicodeString& target) const {
883 UnicodeString::toUTF8(ByteSink &sink) const {
925 UnicodeString::toUTF32(UChar32 *utf32, int32_t capacity, UErrorCode &errorCode) const {
939 UnicodeString::indexOf(const UChar *srcChars,
949 // UnicodeString does not find empty substrings
968 UnicodeString::doIndexOf(UChar c,
986 UnicodeString::doIndexOf(UChar32 c,
1003 UnicodeString::lastIndexOf(const UChar *srcChars,
1013 // UnicodeString does not find empty substrings
1032 UnicodeString::doLastIndexOf(UChar c,
1054 UnicodeString::doLastIndexOf(UChar32 c,
1074 UnicodeString&
1075 UnicodeString::findAndReplace(int32_t start,
1077 const UnicodeString& oldText,
1080 const UnicodeString& newText,
1114 UnicodeString::setToBogus()
1126 UnicodeString::unBogus() {
1133 UnicodeString &
1134 UnicodeString::setTo(UBool isTerminated,
1171 UnicodeString &
1172 UnicodeString::setTo(UChar *buffer,
1206 UnicodeString &UnicodeString::setToUTF8(const StringPiece &utf8) {
1231 UnicodeString&
1232 UnicodeString::setCharAt(int32_t offset,
1248 UnicodeString&
1249 UnicodeString::replace(int32_t start,
1262 UnicodeString&
1263 UnicodeString::append(UChar32 srcChar) {
1273 UnicodeString&
1274 UnicodeString::doReplace( int32_t start,
1276 const UnicodeString& src,
1293 UnicodeString&
1294 UnicodeString::doReplace(int32_t start,
1423 UnicodeString::handleReplaceBetween(int32_t start,
1425 const UnicodeString& text) {
1433 UnicodeString::copy(int32_t start, int32_t limit, int32_t dest) {
1459 UBool UnicodeString::hasMetaData() const {
1463 UnicodeString&
1464 UnicodeString::doReverse(int32_t start, int32_t length) {
1510 UnicodeString::padLeading(int32_t targetLength,
1532 UnicodeString::padTrailing(int32_t targetLength,
1554 UnicodeString::doHashCode() const
1556 /* Delegate hash computation to uhash. This makes UnicodeString
1570 UnicodeString::getBuffer(int32_t minCapacity) {
1581 UnicodeString::releaseBuffer(int32_t newLength) {
1604 UnicodeString::cloneArrayIfNeeded(int32_t newCapacity,
1758 const UnicodeString *str = (const UnicodeString*) key.pointer;
1762 // Moved here from uhash_us.cpp so that using a UVector of UnicodeString*
1766 const UnicodeString *str1 = (const UnicodeString*) key1.pointer;
1767 const UnicodeString *str2 = (const UnicodeString*) key2.pointer;
1786 delete [] (new UnicodeString[2]);