/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | StringReplacer.java | 166 int destLimit = destStart; in replace() local 172 newStart = buf.length() + destLimit - destStart; // relative to start in replace() 188 text.copy(limit, limit+tempExtra, destLimit); in replace() 200 text.replace(destLimit, destLimit, buf.toString()); in replace() 201 destLimit += buf.length(); in replace() 206 int len = r.replace(text, destLimit, destLimit, cursor); in replace() 207 destLimit += len; in replace() 213 text.replace(destLimit, destLimit, buf.toString()); in replace() 214 destLimit += buf.length(); in replace() 218 newStart = destLimit - destStart; // relative to start in replace() [all …]
|
D | Normalizer.java | 754 char[] dest,int destStart, int destLimit, in compose() argument 757 CharsAppendable app = new CharsAppendable(dest, destStart, destLimit); in compose() 838 char[] dest,int destStart, int destLimit, in decompose() argument 841 CharsAppendable app = new CharsAppendable(dest, destStart, destLimit); in decompose() 928 char[] dest,int destStart, int destLimit, in normalize() argument 931 CharsAppendable app = new CharsAppendable(dest, destStart, destLimit); in normalize() 1346 char[] dest, int destStart, int destLimit, in concatenate() argument 1353 if (right == dest && rightStart < destLimit && destStart < rightLimit) { in concatenate() 1363 if(destLength<=(destLimit-destStart)) { in concatenate() 2564 public CharsAppendable(char[] dest, int destStart, int destLimit) { in CharsAppendable() argument [all …]
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
D | StringReplacer.java | 165 int destLimit = destStart; in replace() local 171 newStart = buf.length() + destLimit - destStart; // relative to start in replace() 187 text.copy(limit, limit+tempExtra, destLimit); in replace() 199 text.replace(destLimit, destLimit, buf.toString()); in replace() 200 destLimit += buf.length(); in replace() 205 int len = r.replace(text, destLimit, destLimit, cursor); in replace() 206 destLimit += len; in replace() 212 text.replace(destLimit, destLimit, buf.toString()); in replace() 213 destLimit += buf.length(); in replace() 217 newStart = destLimit - destStart; // relative to start in replace() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | strrepl.cpp | 156 int32_t destLimit = destStart; in replace() local 161 newStart = destLimit - destStart; // relative to start in replace() 173 text.handleReplaceBetween(destLimit, destLimit, buf); in replace() 174 destLimit += buf.length(); in replace() 179 int32_t len = r->replace(text, destLimit, destLimit, cursor); in replace() 180 destLimit += len; in replace() 186 text.handleReplaceBetween(destLimit, destLimit, buf); in replace() 187 destLimit += buf.length(); in replace() 191 newStart = destLimit - destStart; // relative to start in replace() 194 outLen = destLimit - destStart; in replace() [all …]
|
/external/icu/icu4c/source/common/ |
D | unistr_cnv.cpp | 264 const char *destLimit; in doExtract() local 267 destLimit=dest=0; in doExtract() 270 destLimit=(char*)U_MAX_PTR(dest); in doExtract() 274 destLimit=dest+destCapacity; in doExtract() 278 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, &errorCode); in doExtract() 285 destLimit=buffer+sizeof(buffer); in doExtract() 289 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, &errorCode); in doExtract()
|
D | ustrtrns.cpp | 49 UChar *destLimit; in u_strFromUTF32WithSub() local 71 destLimit = (dest!=NULL)?(dest + destCapacity):NULL; in u_strFromUTF32WithSub() 80 if(pDest < destLimit) { in u_strFromUTF32WithSub() 101 if(pDest < destLimit) { in u_strFromUTF32WithSub() 108 if(pDest!=NULL && ((pDest + 2) <= destLimit)) { in u_strFromUTF32WithSub() 164 UChar32 *destLimit; in u_strToUTF32WithSub() local 186 destLimit = (dest!=NULL)?(dest + destCapacity):NULL; in u_strToUTF32WithSub() 194 if(pDest < destLimit) { in u_strToUTF32WithSub() 224 if(pDest < destLimit) { in u_strToUTF32WithSub()
|
D | ucnv.cpp | 1722 char *originalDest, *destLimit; in ucnv_fromUChars() local 1747 destLimit=dest+destCapacity; in ucnv_fromUChars() 1750 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, pErrorCode); in ucnv_fromUChars() 1757 destLimit=buffer+sizeof(buffer); in ucnv_fromUChars() 1761 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, pErrorCode); in ucnv_fromUChars() 1778 UChar *originalDest, *destLimit; in ucnv_toUChars() local 1803 destLimit=dest+destCapacity; in ucnv_toUChars() 1806 ucnv_toUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, pErrorCode); in ucnv_toUChars() 1814 destLimit=buffer+UPRV_LENGTHOF(buffer); in ucnv_toUChars() 1818 ucnv_toUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, pErrorCode); in ucnv_toUChars()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | Normalizer.java | 736 char[] dest,int destStart, int destLimit, in compose() argument 739 CharsAppendable app = new CharsAppendable(dest, destStart, destLimit); in compose() 816 char[] dest,int destStart, int destLimit, in decompose() argument 819 CharsAppendable app = new CharsAppendable(dest, destStart, destLimit); in decompose() 902 char[] dest,int destStart, int destLimit, in normalize() argument 905 CharsAppendable app = new CharsAppendable(dest, destStart, destLimit); in normalize() 1324 char[] dest, int destStart, int destLimit, in concatenate() argument 1331 if (right == dest && rightStart < destLimit && destStart < rightLimit) { in concatenate() 1341 if(destLength<=(destLimit-destStart)) { in concatenate() 2513 public CharsAppendable(char[] dest, int destStart, int destLimit) { in CharsAppendable() argument [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | ucsdetst.c | 56 char *dest, *destLimit = buffer + sizeof(buffer); in preflight() local 63 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, &status); in preflight() 77 char *dest = bytes, *destLimit = bytes + byteCount + 1; in extractBytes() local 79 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, &status); in extractBytes()
|