Home
last modified time | relevance | path

Searched refs:destLimit (Results 1 – 9 of 9) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
DStringReplacer.java166 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 …]
DNormalizer.java754 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/
DStringReplacer.java165 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/
Dstrrepl.cpp156 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/
Dunistr_cnv.cpp264 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()
Dustrtrns.cpp49 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()
Ducnv.cpp1722 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/
DNormalizer.java736 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/
Ducsdetst.c56 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()