Home
last modified time | relevance | path

Searched refs:destLimit (Results 1 – 4 of 4) 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.cpp229 const char *destLimit; in doExtract() local
232 destLimit=dest=0; in doExtract()
235 destLimit=(char*)U_MAX_PTR(dest); in doExtract()
239 destLimit=dest+destCapacity; in doExtract()
243 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, &errorCode); in doExtract()
250 destLimit=buffer+sizeof(buffer); in doExtract()
254 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, &errorCode); in doExtract()
Ducnv.c1714 char *originalDest, *destLimit; in ucnv_fromUChars() local
1738 destLimit=dest+destCapacity; in ucnv_fromUChars()
1741 if(destLimit<dest || (destLimit==NULL && dest!=NULL)) { in ucnv_fromUChars()
1742 destLimit=(char *)U_MAX_PTR(dest); in ucnv_fromUChars()
1746 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, pErrorCode); in ucnv_fromUChars()
1753 destLimit=buffer+sizeof(buffer); in ucnv_fromUChars()
1757 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, pErrorCode); in ucnv_fromUChars()
1774 UChar *originalDest, *destLimit; in ucnv_toUChars() local
1798 destLimit=dest+destCapacity; in ucnv_toUChars()
1801 if(destLimit<dest || (destLimit==NULL && dest!=NULL)) { in ucnv_toUChars()
[all …]
/external/icu4c/test/cintltst/
Ducsdetst.c47 char *dest, *destLimit = buffer + sizeof(buffer); in preflight() local
54 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, &status); in preflight()
68 char *dest = bytes, *destLimit = bytes + byteCount + 1; in extractBytes() local
70 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, &status); in extractBytes()