Home
last modified time | relevance | path

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

/external/icu4c/i18n/
Dstrrepl.cpp155 int32_t destLimit = destStart; in replace() local
160 newStart = destLimit - destStart; // relative to start in replace()
172 text.handleReplaceBetween(destLimit, destLimit, buf); in replace()
173 destLimit += buf.length(); in replace()
178 int32_t len = r->replace(text, destLimit, destLimit, cursor); in replace()
179 destLimit += len; in replace()
185 text.handleReplaceBetween(destLimit, destLimit, buf); in replace()
186 destLimit += buf.length(); in replace()
190 newStart = destLimit - destStart; // relative to start in replace()
193 outLen = destLimit - destStart; in replace()
[all …]
/external/icu4c/common/
Dunistr_cnv.cpp272 const char *destLimit; in doExtract() local
275 destLimit=dest=0; in doExtract()
278 destLimit=(char*)U_MAX_PTR(dest); in doExtract()
282 destLimit=dest+destCapacity; in doExtract()
286 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, &errorCode); in doExtract()
293 destLimit=buffer+sizeof(buffer); in doExtract()
297 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.c43 UChar *destLimit; in u_strFromUTF32WithSub() local
65 destLimit = dest + destCapacity; in u_strFromUTF32WithSub()
74 if(pDest < destLimit) { in u_strFromUTF32WithSub()
95 if(pDest < destLimit) { in u_strFromUTF32WithSub()
102 if((pDest + 2) <= destLimit) { in u_strFromUTF32WithSub()
158 UChar32 *destLimit; in u_strToUTF32WithSub() local
180 destLimit = dest + destCapacity; in u_strToUTF32WithSub()
188 if(pDest < destLimit) { in u_strToUTF32WithSub()
218 if(pDest < destLimit) { in u_strToUTF32WithSub()
/external/icu4c/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()