Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/text/
DStringReplacer.java163 int destLimit = destStart; in replace() local
169 newStart = buf.length() + destLimit - destStart; // relative to start in replace()
185 text.copy(limit, limit+tempExtra, destLimit); in replace()
197 text.replace(destLimit, destLimit, buf.toString()); in replace()
198 destLimit += buf.length(); in replace()
203 int len = r.replace(text, destLimit, destLimit, cursor); in replace()
204 destLimit += len; in replace()
210 text.replace(destLimit, destLimit, buf.toString()); in replace()
211 destLimit += buf.length(); in replace()
215 newStart = destLimit - destStart; // relative to start in replace()
[all …]
DNormalizer.java745 char[] dest,int destStart, int destLimit, in compose() argument
748 CharsAppendable app = new CharsAppendable(dest, destStart, destLimit); in compose()
829 char[] dest,int destStart, int destLimit, in decompose() argument
832 CharsAppendable app = new CharsAppendable(dest, destStart, destLimit); in decompose()
919 char[] dest,int destStart, int destLimit, in normalize() argument
922 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.java162 int destLimit = destStart; in replace() local
168 newStart = buf.length() + destLimit - destStart; // relative to start in replace()
184 text.copy(limit, limit+tempExtra, destLimit); in replace()
196 text.replace(destLimit, destLimit, buf.toString()); in replace()
197 destLimit += buf.length(); in replace()
202 int len = r.replace(text, destLimit, destLimit, cursor); in replace()
203 destLimit += len; in replace()
209 text.replace(destLimit, destLimit, buf.toString()); in replace()
210 destLimit += buf.length(); in replace()
214 newStart = destLimit - destStart; // relative to start in replace()
[all …]
/external/icu/icu4c/source/i18n/
Dstrrepl.cpp154 int32_t destLimit = destStart; in replace() local
159 newStart = destLimit - destStart; // relative to start in replace()
171 text.handleReplaceBetween(destLimit, destLimit, buf); in replace()
172 destLimit += buf.length(); in replace()
177 int32_t len = r->replace(text, destLimit, destLimit, cursor); in replace()
178 destLimit += len; in replace()
184 text.handleReplaceBetween(destLimit, destLimit, buf); in replace()
185 destLimit += buf.length(); in replace()
189 newStart = destLimit - destStart; // relative to start in replace()
192 outLen = destLimit - destStart; in replace()
[all …]
/external/icu/icu4c/source/common/
Dunistr_cnv.cpp262 const char *destLimit; in doExtract() local
265 destLimit=dest=0; in doExtract()
268 destLimit=(char*)U_MAX_PTR(dest); in doExtract()
272 destLimit=dest+destCapacity; in doExtract()
276 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, &errorCode); in doExtract()
283 destLimit=buffer+sizeof(buffer); in doExtract()
287 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, &errorCode); in doExtract()
Ducnv.c1720 char *originalDest, *destLimit; in ucnv_fromUChars() local
1744 destLimit=dest+destCapacity; in ucnv_fromUChars()
1747 if(destLimit<dest || (destLimit==NULL && dest!=NULL)) { in ucnv_fromUChars()
1748 destLimit=(char *)U_MAX_PTR(dest); in ucnv_fromUChars()
1752 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, pErrorCode); in ucnv_fromUChars()
1759 destLimit=buffer+sizeof(buffer); in ucnv_fromUChars()
1763 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, pErrorCode); in ucnv_fromUChars()
1780 UChar *originalDest, *destLimit; in ucnv_toUChars() local
1804 destLimit=dest+destCapacity; in ucnv_toUChars()
1807 if(destLimit<dest || (destLimit==NULL && dest!=NULL)) { in ucnv_toUChars()
[all …]
Dustrtrns.cpp47 UChar *destLimit; in u_strFromUTF32WithSub() local
69 destLimit = (dest!=NULL)?(dest + destCapacity):NULL; in u_strFromUTF32WithSub()
78 if(pDest < destLimit) { in u_strFromUTF32WithSub()
99 if(pDest < destLimit) { in u_strFromUTF32WithSub()
106 if(pDest!=NULL && ((pDest + 2) <= destLimit)) { in u_strFromUTF32WithSub()
162 UChar32 *destLimit; in u_strToUTF32WithSub() local
184 destLimit = (dest!=NULL)?(dest + destCapacity):NULL; in u_strToUTF32WithSub()
192 if(pDest < destLimit) { in u_strToUTF32WithSub()
222 if(pDest < destLimit) { in u_strToUTF32WithSub()
/external/skia/src/core/
DSkBitmapScaler.cpp150 int destLimit = SkScalarTruncToInt(destSubsetHi - destSubsetLo); in computeFilters() local
151 output->reserveAdditional(destLimit, SkScalarCeilToInt(destLimit * srcSupport * 2)); in computeFilters()
152 for (int destI = 0; destI < destLimit; srcPixel += invScale, destI++) in computeFilters()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNormalizer.java728 char[] dest,int destStart, int destLimit, in compose() argument
731 CharsAppendable app = new CharsAppendable(dest, destStart, destLimit); in compose()
808 char[] dest,int destStart, int destLimit, in decompose() argument
811 CharsAppendable app = new CharsAppendable(dest, destStart, destLimit); in decompose()
894 char[] dest,int destStart, int destLimit, in normalize() argument
897 CharsAppendable app = new CharsAppendable(dest, destStart, destLimit); in normalize()
1316 char[] dest, int destStart, int destLimit, in concatenate() argument
1323 if (right == dest && rightStart < destLimit && destStart < rightLimit) { in concatenate()
1333 if(destLength<=(destLimit-destStart)) { in concatenate()
2505 public CharsAppendable(char[] dest, int destStart, int destLimit) { in CharsAppendable() argument
[all …]
/external/icu/icu4c/source/test/cintltst/
Ducsdetst.c55 char *dest, *destLimit = buffer + sizeof(buffer); in preflight() local
62 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, &status); in preflight()
76 char *dest = bytes, *destLimit = bytes + byteCount + 1; in extractBytes() local
78 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, &status); in extractBytes()