Home
last modified time | relevance | path

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

/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/chromium_org/third_party/icu/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.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.c1730 char *originalDest, *destLimit; in ucnv_fromUChars() local
1754 destLimit=dest+destCapacity; in ucnv_fromUChars()
1757 if(destLimit<dest || (destLimit==NULL && dest!=NULL)) { in ucnv_fromUChars()
1758 destLimit=(char *)U_MAX_PTR(dest); in ucnv_fromUChars()
1762 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, pErrorCode); in ucnv_fromUChars()
1769 destLimit=buffer+sizeof(buffer); in ucnv_fromUChars()
1773 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, pErrorCode); in ucnv_fromUChars()
1790 UChar *originalDest, *destLimit; in ucnv_toUChars() local
1814 destLimit=dest+destCapacity; in ucnv_toUChars()
1817 if(destLimit<dest || (destLimit==NULL && dest!=NULL)) { in ucnv_toUChars()
[all …]
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()
/external/chromium_org/third_party/icu/source/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.c1730 char *originalDest, *destLimit; in ucnv_fromUChars() local
1754 destLimit=dest+destCapacity; in ucnv_fromUChars()
1757 if(destLimit<dest || (destLimit==NULL && dest!=NULL)) { in ucnv_fromUChars()
1758 destLimit=(char *)U_MAX_PTR(dest); in ucnv_fromUChars()
1762 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, pErrorCode); in ucnv_fromUChars()
1769 destLimit=buffer+sizeof(buffer); in ucnv_fromUChars()
1773 ucnv_fromUnicode(cnv, &dest, destLimit, &src, srcLimit, 0, TRUE, pErrorCode); in ucnv_fromUChars()
1790 UChar *originalDest, *destLimit; in ucnv_toUChars() local
1814 destLimit=dest+destCapacity; in ucnv_toUChars()
1817 if(destLimit<dest || (destLimit==NULL && dest!=NULL)) { in ucnv_toUChars()
[all …]
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()
/external/chromium_org/third_party/icu/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()
/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()