/external/icu/icu4c/source/common/ |
H A D | ucnv_cnv.cpp | 57 char **target, const char *targetLimit, 66 while(length>0 && t<targetLimit) { 72 while(length>0 && t<targetLimit) { 97 UChar **target, const UChar *targetLimit, 106 while(length>0 && t<targetLimit) { 112 while(length>0 && t<targetLimit) { 137 UChar **target, const UChar *targetLimit, 146 if(t<targetLimit) { 153 if(t<targetLimit) { 55 ucnv_fromUWriteBytes(UConverter *cnv, const char *bytes, int32_t length, char **target, const char *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument 95 ucnv_toUWriteUChars(UConverter *cnv, const UChar *uchars, int32_t length, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument 135 ucnv_toUWriteCodePoint(UConverter *cnv, UChar32 c, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument
|
H A D | unistr_cnv.cpp | 157 char *targetLimit = (char *)U_MAX_PTR(target); local 158 // U_MAX_PTR(target) returns a targetLimit that is at most 0x7fffffff 160 capacity = (int32_t)(targetLimit - target);
|
H A D | ucnv_u32.cpp | 53 const UChar *targetLimit = args->targetLimit; local 58 if (args->converter->toUnicodeStatus && myTarget < targetLimit) { 67 while (mySource < sourceLimit && myTarget < targetLimit) { 96 if (myTarget < targetLimit) { 116 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) { 133 const UChar *targetLimit = args->targetLimit; local 139 if (args->converter->toUnicodeStatus && myTarget < targetLimit) { 148 while (mySource < sourceLimit && myTarget < targetLimit) { 219 const unsigned char *targetLimit = (unsigned char *) args->targetLimit; local 321 const unsigned char *targetLimit = (unsigned char *) args->targetLimit; local 515 const UChar *targetLimit = args->targetLimit; local 601 const UChar *targetLimit = args->targetLimit; local 697 const unsigned char *targetLimit = (unsigned char *) args->targetLimit; local 807 const unsigned char *targetLimit = (unsigned char *) args->targetLimit; local [all...] |
H A D | ucnv_u7.cpp | 216 const UChar *targetLimit; local 240 targetLimit=pArgs->targetLimit; 268 targetCapacity=(int32_t)(targetLimit-target); 297 if(source<sourceLimit && target>=targetLimit) { 314 if(target<targetLimit) { 466 uint8_t *target, *targetLimit; local 485 targetLimit=(uint8_t *)pArgs->targetLimit; 504 targetCapacity=(int32_t)(targetLimit 900 const UChar *targetLimit; local 1167 uint8_t *target, *targetLimit; local [all...] |
H A D | ucnv_u8.cpp | 72 const UChar *targetLimit = args->targetLimit; local 79 if (cnv->toUnicodeStatus && myTarget < targetLimit) 91 while (mySource < sourceLimit && myTarget < targetLimit) 147 if (myTarget < targetLimit) 171 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) 190 const UChar *targetLimit = args->targetLimit; local 197 if (cnv->toUnicodeStatus && myTarget < targetLimit) 208 while (mySource < sourceLimit && myTarget < targetLimit) 307 const uint8_t *targetLimit = (uint8_t *) args->targetLimit; local 422 const uint8_t *targetLimit = (uint8_t *) args->targetLimit; local [all...] |
H A D | ucnvbocu.cpp | 409 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); 458 targetCapacity=(int32_t)((const uint8_t *)pArgs->targetLimit-target); 667 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); 707 targetCapacity=(int32_t)((const uint8_t *)pArgs->targetLimit-target); 961 const UChar *targetLimit; local 976 targetLimit=pArgs->targetLimit; 996 if(count>0 && byteIndex>0 && target<targetLimit) { 1004 count=(int32_t)(pArgs->targetLimit-target); 1034 if(target>=targetLimit) { 1184 const UChar *targetLimit; local [all...] |
H A D | ucnv_ct.cpp | 338 const uint8_t *targetLimit = (const uint8_t *) args->targetLimit; local 356 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) { 361 if(target < targetLimit){ 440 if (target < targetLimit) { 495 if(myTarget < args->targetLimit){ 535 if (myTarget < args->targetLimit) {
|
H A D | ucnv_ext.cpp | 239 UChar **target, const UChar *targetLimit, 247 target, targetLimit, 257 target, targetLimit, 276 * target<targetLimit; set error code for overflow 282 UChar **target, const UChar *targetLimit, 302 target, targetLimit, 397 &pArgs->target, pArgs->targetLimit, 674 char **target, const char *targetLimit, 741 target, targetLimit, 747 * target<targetLimit; se 237 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 279 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 672 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 750 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 D | ucnvscsu.cpp | 238 const UChar *targetLimit; local 255 targetLimit=pArgs->targetLimit; 292 while(source<sourceLimit && target<targetLimit && (b=*source)>=0x20) { 312 if(target<targetLimit) { 337 if(target>=targetLimit) { 420 if(target<targetLimit) { 480 while(source+1<sourceLimit && target<targetLimit && (uint8_t)((b=*source)-UC0)>(Urs-UC0)) { 494 if(target>=targetLimit) { 592 const UChar *targetLimit; local [all...] |
H A D | ucnvisci.cpp | 834 #define WRITE_TO_TARGET_FROM_U(args,offsets,source,target,targetLimit,targetByteUnit,err){ \ 837 if(target < targetLimit){ \ 851 if (!(target < targetLimit)) { \ 862 if(target < targetLimit){ \ 901 unsigned char *targetLimit = (unsigned char *) args->targetLimit; local 911 if ((args->converter == NULL) || (args->targetLimit < args->target) || (args->sourceLimit < args->source)) { 932 WRITE_TO_TARGET_FROM_U(args,offsets,source,target,targetLimit,targetByteUnit,err); 946 WRITE_TO_TARGET_FROM_U(args,offsets,source,target,targetLimit,sourceChar,err); 1029 WRITE_TO_TARGET_FROM_U(args,offsets,source,target,targetLimit,tem 1184 const UChar* targetLimit = args->targetLimit; local [all...] |
H A D | ucnv.cpp | 1118 char **target, const char *targetLimit, 1136 if(t==targetLimit) { 1171 char **target, const char *targetLimit, 1216 * An adjustment would be targetLimit=t+0x7fffffff; for example. 1221 if (sourceLimit<s || targetLimit<t || 1223 ((size_t)(targetLimit-t)>(size_t)0x7fffffff && targetLimit>t) || 1232 ucnv_outputOverflowFromUnicode(cnv, target, targetLimit, &offsets, err) 1246 * !flush && t==targetLimit 1259 args.targetLimit 1117 ucnv_outputOverflowFromUnicode(UConverter *cnv, char **target, const char *targetLimit, int32_t **pOffsets, UErrorCode *err) argument 1170 ucnv_fromUnicode(UConverter *cnv, char **target, const char *targetLimit, const UChar **source, const UChar *sourceLimit, int32_t *offsets, UBool flush, UErrorCode *err) argument 1563 ucnv_outputOverflowToUnicode(UConverter *cnv, UChar **target, const UChar *targetLimit, int32_t **pOffsets, UErrorCode *err) argument 1616 ucnv_toUnicode(UConverter *cnv, UChar **target, const UChar *targetLimit, const char **source, const char *sourceLimit, int32_t *offsets, UBool flush, UErrorCode *err) argument 2046 ucnv_convertEx(UConverter *targetCnv, UConverter *sourceCnv, char **target, const char *targetLimit, const char **source, const char *sourceLimit, UChar *pivotStart, UChar **pivotSource, UChar **pivotTarget, const UChar *pivotLimit, UBool reset, UBool flush, UErrorCode *pErrorCode) argument 2414 const char *targetLimit; local [all...] |
H A D | ucnv2022.cpp | 434 uint8_t **target, const char *targetLimit, 440 ucnv_fromUWriteBytes(cnv, bytes, length, &targetChars, targetLimit, 1300 args->targetLimit, 1675 const uint8_t *targetLimit = (const uint8_t *) args->targetLimit; local 1697 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) { 1702 if(target < targetLimit) { 1994 } else if(outLen == 2 && (target + 2) <= targetLimit) { 2006 &target, (const char *)targetLimit, 2074 &target, (const char *)targetLimit, 432 fromUWriteUInt8(UConverter *cnv, const char *bytes, int32_t length, uint8_t **target, const char *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument 2368 unsigned char *targetLimit = (unsigned char *) args->targetLimit; local 2927 const uint8_t *targetLimit = (const uint8_t *) args->targetLimit; local [all...] |
H A D | ucnvmbcs.cpp | 1108 uint8_t **target, const uint8_t *targetLimit, 1120 (char **)target, (char *)targetLimit, 1154 bytes, 4, (char **)target, (char *)targetLimit, 1175 UChar **target, const UChar *targetLimit, 1185 target, targetLimit, 1210 ucnv_toUWriteCodePoint(cnv, linear, target, targetLimit, offsets, sourceIndex, pErrorCode); 2038 const UChar *targetLimit; local 2054 targetLimit=pArgs->targetLimit; 2076 if(target>=targetLimit) { 1105 _extFromU(UConverter *cnv, const UConverterSharedData *sharedData, UChar32 cp, const UChar **source, const UChar *sourceLimit, uint8_t **target, const uint8_t *targetLimit, int32_t **offsets, int32_t sourceIndex, UBool flush, UErrorCode *pErrorCode) argument 1172 _extToU(UConverter *cnv, const UConverterSharedData *sharedData, int8_t length, const uint8_t **source, const uint8_t *sourceLimit, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UBool flush, UErrorCode *pErrorCode) argument 2470 const UChar *targetLimit; local [all...] |
/external/icu/icu4c/source/common/unicode/ |
H A D | ucnv_err.h | 201 const char *targetLimit; /**< Pointer to the limit (end + 1) of target buffer. @stable ICU 2.0 */ member in struct:__anon7989 217 const UChar *targetLimit; /**< Pointer to the limit (end + 1) of target buffer. @stable ICU 2.0 */ member in struct:__anon7990
|
/external/icu/icu4c/source/test/perf/convperf/ |
H A D | convperf.h | 34 UChar* targetLimit; member in class:ICUToUnicodePerfFunction 46 targetLimit = NULL; 52 targetLimit = target + reqdLen; 63 ucnv_toUnicode(conv, &myTarget, targetLimit, &mySrc, sourceLimit, NULL, TRUE, status); 79 char* targetLimit; member in class:ICUFromUnicodePerfFunction 92 targetLimit = NULL; 98 targetLimit = target + reqdLen; 109 ucnv_fromUnicode(conv,&myTarget, targetLimit, &mySrc, sourceLimit, NULL, TRUE, status);
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
H A D | CharsetUTF8.java | 68 int targetLimit = target.arrayOffset() + target.limit(); 128 if (targetIndex >= targetLimit) { 146 if (targetIndex >= targetLimit) { 158 if (targetIndex >= targetLimit) { 190 int targetLimit = target.limit(); 252 if (targetIndex >= targetLimit) { 272 if (targetIndex >= targetLimit) { 284 if (targetIndex >= targetLimit) { 346 int targetLimit = target.arrayOffset() + target.limit(); 357 cr = encodeFourBytes(sourceArray, targetArray, sourceLimit, targetLimit, 518 encodeFourBytes(char[] sourceArray, byte[] targetArray, int sourceLimit, int targetLimit, int char32) argument [all...] |
/external/icu/icu4c/source/samples/ucnv/ |
H A D | convsamp.cpp | 306 UChar *targetLimit; local 341 targetLimit = uBuf + uBufSize; 343 ucnv_toUnicode(conv, &target, targetLimit, 886 UChar *targetLimit; local 930 targetLimit = uBuf + uBufSize; 932 ucnv_toUnicode( conv, &target, targetLimit, 991 char *targetLimit; local 1036 targetLimit = buf + bufSize; 1038 ucnv_fromUnicode( conv, &target, targetLimit,
|
/external/icu/icu4c/source/test/cintltst/ |
H A D | cintltst.c | 509 char *newString,*targetLimit,*target; local 528 targetLimit = newString+sizeof(char) * 8 * (length +1); 530 ucnv_fromUnicode(conv,&target,targetLimit, &unichars, (UChar*)(unichars+length),NULL,TRUE,&errorCode);
|
H A D | ncnvtst.c | 1018 char *targetLimit; local 1038 targetLimit=targ+MAX_LENGTH; 1042 (const char *)targetLimit, 1108 UChar *targetLimit; local 1131 targetLimit=targ+MAX_LENGTH; 1138 targetLimit, 1797 UChar *target, *targetLimit; local 1819 targetLimit=buffer+UPRV_LENGTHOF(buffer); 1822 ucnv_toUnicode(cnv, &target, targetLimit, &source, sourceLimit, NULL, FALSE, &errorCode); 1831 ucnv_toUnicode(cnv, &target, targetLimit, [all...] |
H A D | ccapitst.c | 414 int32_t targetLimit=0, sourceLimit=0, i=0, targetCapacity=0; local 420 targetLimit=0; 422 targetCapacity=ucnv_convert("ibm-1364", "ibm-1363", NULL, targetLimit , (const char*)source, sourceLimit, &err); 425 targetLimit=targetCapacity+1; 426 target=(char*)malloc(sizeof(char) * targetLimit); 427 targetCapacity=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sourceLimit, &err); 439 i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source+1, -1, &err); 447 i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, 0, &err); 454 i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sourceLimit, &err); 461 targetLimit 2149 const char *srcLimit, *finalSrcLimit, *targetLimit; local 3234 char* targetLimit = target + 10; local 3269 char* targetLimit = target + 2; /* expect overflow from converting \\U00101234\\U00050005 */ local 3340 UChar* targetLimit = target + 20; local 3377 UChar* targetLimit = target + 1; /* expect overflow from converting */ local [all...] |
H A D | nucnvtst.c | 4179 UChar* targetLimit = target+100; local 4185 ucnv_toUnicode(kr,&target,targetLimit,&source,source+uprv_strlen(source),NULL,TRUE,&errorCode); 4196 targetLimit = target+100; 4197 ucnv_toUnicode(kr,&target,targetLimit,&source,source+uprv_strlen(source),NULL,TRUE,&errorCode); 5498 UChar* targetLimit = dest+100; local 5509 ucnv_toUnicode(conv, &target, targetLimit, &source, sourceLimit, NULL, TRUE, &status); 5513 targetLimit = target; 5515 printUSeq(target, targetLimit-target); 5516 while(target<targetLimit){ 5551 UChar* targetLimit local [all...] |
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/ |
H A D | TestCharset.java | 1899 boolean throwException, boolean flush, boolean backedByArray, int targetLimit) 1943 if (result.isUnderflow() && !equals(myTarget, target, targetLimit)) { 1981 if (result.isUnderflow() && !equals(myTarget, target, targetLimit)) { 2017 if (!equals(myTarget, target, targetLimit)) { 2034 boolean throwException, boolean flush, boolean backedByArray, int targetLimit) throws Exception, 2077 if (!equals(myTarget, target, targetLimit)) { 2109 if (!equals(myTarget, target, targetLimit)) { 2151 if (!equals(myTarget, target, targetLimit)) { 1898 smBufDecode(CharsetDecoder decoder, String encoding, ByteBuffer source, CharBuffer target, boolean throwException, boolean flush, boolean backedByArray, int targetLimit) argument 2033 smBufEncode(CharsetEncoder encoder, String encoding, CharBuffer source, ByteBuffer target, boolean throwException, boolean flush, boolean backedByArray, int targetLimit) argument
|
/external/icu/icu4c/source/test/intltest/ |
H A D | convtest.cpp | 758 const char *targetLimit = result + sizeof(result); local 777 &target, targetLimit, &source, sourceLimit, 810 &target, targetLimit, &source, sourceLimit, 935 UChar *target, *targetLimit, *resultLimit; local 952 targetLimit=resultLimit; 957 targetLimit=target; 970 &target, targetLimit, 976 if(source>sourceLimit || target>targetLimit) { 980 if(target!=targetLimit) { 984 } else if(targetLimit 1339 char *target, *targetLimit, *resultLimit; local 1443 char *target, *targetLimit, *resultLimit; local [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | rbt_pars.cpp | 1656 UChar *targetLimit = target+sourceLen; local 1741 if (target < targetLimit) {
|
/external/icu/icu4c/source/tools/genrb/ |
H A D | parse.cpp | 324 UChar *targetLimit = NULL; local 377 targetLimit = pTarget+size; 380 while (target < targetLimit) 439 if(target < targetLimit){
|