Searched defs:targetLimit (Results 1 - 25 of 45) sorted by relevance

12

/external/chromium_org/third_party/icu/source/common/
H A Ducnv_cnv.c49 char **target, const char *targetLimit,
58 while(length>0 && t<targetLimit) {
64 while(length>0 && t<targetLimit) {
89 UChar **target, const UChar *targetLimit,
98 while(length>0 && t<targetLimit) {
104 while(length>0 && t<targetLimit) {
129 UChar **target, const UChar *targetLimit,
138 if(t<targetLimit) {
145 if(t<targetLimit) {
47 ucnv_fromUWriteBytes(UConverter *cnv, const char *bytes, int32_t length, char **target, const char *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument
87 ucnv_toUWriteUChars(UConverter *cnv, const UChar *uchars, int32_t length, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument
127 ucnv_toUWriteCodePoint(UConverter *cnv, UChar32 c, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument
H A Dunistr_cnv.cpp165 char *targetLimit = (char *)U_MAX_PTR(target); local
166 // U_MAX_PTR(target) returns a targetLimit that is at most 0x7fffffff
168 capacity = (int32_t)(targetLimit - target);
H A Ducnv_u32.c50 const UChar *targetLimit = args->targetLimit; local
55 if (args->converter->toUnicodeStatus && myTarget < targetLimit) {
64 while (mySource < sourceLimit && myTarget < targetLimit) {
93 if (myTarget < targetLimit) {
113 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) {
130 const UChar *targetLimit = args->targetLimit; local
136 if (args->converter->toUnicodeStatus && myTarget < targetLimit) {
145 while (mySource < sourceLimit && myTarget < targetLimit) {
216 const unsigned char *targetLimit = (unsigned char *) args->targetLimit; local
318 const unsigned char *targetLimit = (unsigned char *) args->targetLimit; local
512 const UChar *targetLimit = args->targetLimit; local
598 const UChar *targetLimit = args->targetLimit; local
694 const unsigned char *targetLimit = (unsigned char *) args->targetLimit; local
804 const unsigned char *targetLimit = (unsigned char *) args->targetLimit; local
[all...]
H A Ducnv_u7.c210 const UChar *targetLimit; local
234 targetLimit=pArgs->targetLimit;
262 targetCapacity=(int32_t)(targetLimit-target);
291 if(source<sourceLimit && target>=targetLimit) {
308 if(target<targetLimit) {
448 uint8_t *target, *targetLimit; local
467 targetLimit=(uint8_t *)pArgs->targetLimit;
485 targetCapacity=(int32_t)(targetLimit
867 const UChar *targetLimit; local
1134 uint8_t *target, *targetLimit; local
[all...]
H A Ducnv_u8.c94 const UChar *targetLimit = args->targetLimit; local
101 if (cnv->toUnicodeStatus && myTarget < targetLimit)
113 while (mySource < sourceLimit && myTarget < targetLimit)
181 if (myTarget < targetLimit)
205 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err))
224 const UChar *targetLimit = args->targetLimit; local
231 if (cnv->toUnicodeStatus && myTarget < targetLimit)
242 while (mySource < sourceLimit && myTarget < targetLimit)
352 const uint8_t *targetLimit = (uint8_t *) args->targetLimit; local
467 const uint8_t *targetLimit = (uint8_t *) args->targetLimit; local
[all...]
H A Ducnvbocu.c404 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target);
453 targetCapacity=(int32_t)((const uint8_t *)pArgs->targetLimit-target);
653 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target);
693 targetCapacity=(int32_t)((const uint8_t *)pArgs->targetLimit-target);
939 const UChar *targetLimit; local
954 targetLimit=pArgs->targetLimit;
974 if(count>0 && byteIndex>0 && target<targetLimit) {
982 count=(int32_t)(pArgs->targetLimit-target);
1012 if(target>=targetLimit) {
1162 const UChar *targetLimit; local
[all...]
H A Ducnv_ext.c235 UChar **target, const UChar *targetLimit,
243 target, targetLimit,
253 target, targetLimit,
272 * target<targetLimit; set error code for overflow
278 UChar **target, const UChar *targetLimit,
298 target, targetLimit,
393 &pArgs->target, pArgs->targetLimit,
671 char **target, const char *targetLimit,
735 target, targetLimit,
741 * target<targetLimit; se
233 ucnv_extWriteToU(UConverter *cnv, const int32_t *cx, uint32_t value, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t srcIndex, UErrorCode *pErrorCode) argument
275 ucnv_extInitialMatchToU(UConverter *cnv, const int32_t *cx, int32_t firstLength, const char **src, const char *srcLimit, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t srcIndex, UBool flush, UErrorCode *pErrorCode) argument
669 ucnv_extWriteFromU(UConverter *cnv, const int32_t *cx, uint32_t value, char **target, const char *targetLimit, int32_t **offsets, int32_t srcIndex, UErrorCode *pErrorCode) argument
744 ucnv_extInitialMatchFromU(UConverter *cnv, const int32_t *cx, UChar32 cp, const UChar **src, const UChar *srcLimit, char **target, const char *targetLimit, int32_t **offsets, int32_t srcIndex, UBool flush, UErrorCode *pErrorCode) argument
[all...]
H A Ducnvscsu.c235 const UChar *targetLimit; local
252 targetLimit=pArgs->targetLimit;
289 while(source<sourceLimit && target<targetLimit && (b=*source)>=0x20) {
309 if(target<targetLimit) {
334 if(target>=targetLimit) {
417 if(target<targetLimit) {
477 while(source+1<sourceLimit && target<targetLimit && (uint8_t)((b=*source)-UC0)>(Urs-UC0)) {
491 if(target>=targetLimit) {
589 const UChar *targetLimit; local
[all...]
/external/icu/icu4c/source/common/
H A Ducnv_cnv.c49 char **target, const char *targetLimit,
58 while(length>0 && t<targetLimit) {
64 while(length>0 && t<targetLimit) {
89 UChar **target, const UChar *targetLimit,
98 while(length>0 && t<targetLimit) {
104 while(length>0 && t<targetLimit) {
129 UChar **target, const UChar *targetLimit,
138 if(t<targetLimit) {
145 if(t<targetLimit) {
47 ucnv_fromUWriteBytes(UConverter *cnv, const char *bytes, int32_t length, char **target, const char *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument
87 ucnv_toUWriteUChars(UConverter *cnv, const UChar *uchars, int32_t length, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument
127 ucnv_toUWriteCodePoint(UConverter *cnv, UChar32 c, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument
H A Dunistr_cnv.cpp165 char *targetLimit = (char *)U_MAX_PTR(target); local
166 // U_MAX_PTR(target) returns a targetLimit that is at most 0x7fffffff
168 capacity = (int32_t)(targetLimit - target);
H A Ducnv_u32.c51 const UChar *targetLimit = args->targetLimit; local
56 if (args->converter->toUnicodeStatus && myTarget < targetLimit) {
65 while (mySource < sourceLimit && myTarget < targetLimit) {
94 if (myTarget < targetLimit) {
114 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) {
131 const UChar *targetLimit = args->targetLimit; local
137 if (args->converter->toUnicodeStatus && myTarget < targetLimit) {
146 while (mySource < sourceLimit && myTarget < targetLimit) {
217 const unsigned char *targetLimit = (unsigned char *) args->targetLimit; local
319 const unsigned char *targetLimit = (unsigned char *) args->targetLimit; local
513 const UChar *targetLimit = args->targetLimit; local
599 const UChar *targetLimit = args->targetLimit; local
695 const unsigned char *targetLimit = (unsigned char *) args->targetLimit; local
805 const unsigned char *targetLimit = (unsigned char *) args->targetLimit; local
[all...]
H A Ducnv_u7.c211 const UChar *targetLimit; local
235 targetLimit=pArgs->targetLimit;
263 targetCapacity=(int32_t)(targetLimit-target);
292 if(source<sourceLimit && target>=targetLimit) {
309 if(target<targetLimit) {
461 uint8_t *target, *targetLimit; local
480 targetLimit=(uint8_t *)pArgs->targetLimit;
499 targetCapacity=(int32_t)(targetLimit
893 const UChar *targetLimit; local
1160 uint8_t *target, *targetLimit; local
[all...]
H A Ducnv_u8.c97 const UChar *targetLimit = args->targetLimit; local
104 if (cnv->toUnicodeStatus && myTarget < targetLimit)
116 while (mySource < sourceLimit && myTarget < targetLimit)
184 if (myTarget < targetLimit)
208 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err))
227 const UChar *targetLimit = args->targetLimit; local
234 if (cnv->toUnicodeStatus && myTarget < targetLimit)
245 while (mySource < sourceLimit && myTarget < targetLimit)
355 const uint8_t *targetLimit = (uint8_t *) args->targetLimit; local
470 const uint8_t *targetLimit = (uint8_t *) args->targetLimit; local
[all...]
H A Ducnvbocu.cpp409 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target);
458 targetCapacity=(int32_t)((const uint8_t *)pArgs->targetLimit-target);
658 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target);
698 targetCapacity=(int32_t)((const uint8_t *)pArgs->targetLimit-target);
944 const UChar *targetLimit; local
959 targetLimit=pArgs->targetLimit;
979 if(count>0 && byteIndex>0 && target<targetLimit) {
987 count=(int32_t)(pArgs->targetLimit-target);
1017 if(target>=targetLimit) {
1167 const UChar *targetLimit; local
[all...]
H A Ducnv_ct.c333 const uint8_t *targetLimit = (const uint8_t *) args->targetLimit; local
351 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) {
356 if(target < targetLimit){
435 if (target < targetLimit) {
490 if(myTarget < args->targetLimit){
530 if (myTarget < args->targetLimit) {
H A Ducnv_ext.cpp236 UChar **target, const UChar *targetLimit,
244 target, targetLimit,
254 target, targetLimit,
273 * target<targetLimit; set error code for overflow
279 UChar **target, const UChar *targetLimit,
299 target, targetLimit,
394 &pArgs->target, pArgs->targetLimit,
671 char **target, const char *targetLimit,
735 target, targetLimit,
741 * target<targetLimit; se
234 ucnv_extWriteToU(UConverter *cnv, const int32_t *cx, uint32_t value, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t srcIndex, UErrorCode *pErrorCode) argument
276 ucnv_extInitialMatchToU(UConverter *cnv, const int32_t *cx, int32_t firstLength, const char **src, const char *srcLimit, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t srcIndex, UBool flush, UErrorCode *pErrorCode) argument
669 ucnv_extWriteFromU(UConverter *cnv, const int32_t *cx, uint32_t value, char **target, const char *targetLimit, int32_t **offsets, int32_t srcIndex, UErrorCode *pErrorCode) argument
744 ucnv_extInitialMatchFromU(UConverter *cnv, const int32_t *cx, UChar32 cp, const UChar **src, const UChar *srcLimit, char **target, const char *targetLimit, int32_t **offsets, int32_t srcIndex, UBool flush, UErrorCode *pErrorCode) argument
[all...]
H A Ducnvscsu.c236 const UChar *targetLimit; local
253 targetLimit=pArgs->targetLimit;
290 while(source<sourceLimit && target<targetLimit && (b=*source)>=0x20) {
310 if(target<targetLimit) {
335 if(target>=targetLimit) {
418 if(target<targetLimit) {
478 while(source+1<sourceLimit && target<targetLimit && (uint8_t)((b=*source)-UC0)>(Urs-UC0)) {
492 if(target>=targetLimit) {
590 const UChar *targetLimit; local
[all...]
/external/chromium_org/third_party/icu/source/common/unicode/
H A Ducnv_err.h199 const char *targetLimit; /**< Pointer to the limit (end + 1) of target buffer. @stable ICU 2.0 */ member in struct:__anon11129
215 const UChar *targetLimit; /**< Pointer to the limit (end + 1) of target buffer. @stable ICU 2.0 */ member in struct:__anon11130
/external/icu/icu4c/source/common/unicode/
H A Ducnv_err.h199 const char *targetLimit; /**< Pointer to the limit (end + 1) of target buffer. @stable ICU 2.0 */ member in struct:__anon21009
215 const UChar *targetLimit; /**< Pointer to the limit (end + 1) of target buffer. @stable ICU 2.0 */ member in struct:__anon21010
/external/chromium_org/third_party/icu/source/test/perf/convperf/
H A Dconvperf.h30 UChar* targetLimit; member in class:ICUToUnicodePerfFunction
42 targetLimit = NULL;
48 targetLimit = target + reqdLen;
59 ucnv_toUnicode(conv, &myTarget, targetLimit, &mySrc, sourceLimit, NULL, TRUE, status);
75 char* targetLimit; member in class:ICUFromUnicodePerfFunction
88 targetLimit = NULL;
94 targetLimit = target + reqdLen;
105 ucnv_fromUnicode(conv,&myTarget, targetLimit, &mySrc, sourceLimit, NULL, TRUE, status);
/external/icu/icu4c/source/test/perf/convperf/
H A Dconvperf.h30 UChar* targetLimit; member in class:ICUToUnicodePerfFunction
42 targetLimit = NULL;
48 targetLimit = target + reqdLen;
59 ucnv_toUnicode(conv, &myTarget, targetLimit, &mySrc, sourceLimit, NULL, TRUE, status);
75 char* targetLimit; member in class:ICUFromUnicodePerfFunction
88 targetLimit = NULL;
94 targetLimit = target + reqdLen;
105 ucnv_fromUnicode(conv,&myTarget, targetLimit, &mySrc, sourceLimit, NULL, TRUE, status);
/external/chromium_org/third_party/WebKit/Source/wtf/text/
H A DTextCodecICU.cpp289 int TextCodecICU::decodeToBuffer(UChar* target, UChar* targetLimit, const char*& source, const char* sourceLimit, int32_t* offsets, bool flush, UErrorCode& err) argument
293 ucnv_toUnicode(m_converterICU, &target, targetLimit, &source, sourceLimit, offsets, flush, &err);
509 char* targetLimit = target + ConversionBufferSize; local
511 ucnv_fromUnicode(m_converterICU, &target, targetLimit, &source, end, 0, true, &err);
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcintltst.c492 char *newString,*targetLimit,*target; local
511 targetLimit = newString+sizeof(char) * 8 * (length +1);
513 ucnv_fromUnicode(conv,&target,targetLimit, &unichars, (UChar*)(unichars+length),NULL,TRUE,&errorCode);
/external/icu/icu4c/source/samples/ucnv/
H A Dconvsamp.cpp297 UChar *targetLimit; local
332 targetLimit = uBuf + uBufSize;
334 ucnv_toUnicode(conv, &target, targetLimit,
877 UChar *targetLimit; local
921 targetLimit = uBuf + uBufSize;
923 ucnv_toUnicode( conv, &target, targetLimit,
982 char *targetLimit; local
1027 targetLimit = buf + bufSize;
1029 ucnv_fromUnicode( conv, &target, targetLimit,
/external/icu/icu4c/source/test/cintltst/
H A Dcintltst.c499 char *newString,*targetLimit,*target; local
518 targetLimit = newString+sizeof(char) * 8 * (length +1);
520 ucnv_fromUnicode(conv,&target,targetLimit, &unichars, (UChar*)(unichars+length),NULL,TRUE,&errorCode);

Completed in 548 milliseconds

12