/external/icu/icu4c/source/common/ |
H A D | ucnv_cnv.c | 49 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 D | unistr_cnv.cpp | 155 char *targetLimit = (char *)U_MAX_PTR(target); local 156 // U_MAX_PTR(target) returns a targetLimit that is at most 0x7fffffff 158 capacity = (int32_t)(targetLimit - target);
|
H A D | ucnv_u32.c | 51 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 510 const UChar *targetLimit = args->targetLimit; local 596 const UChar *targetLimit = args->targetLimit; local 692 const unsigned char *targetLimit = (unsigned char *) args->targetLimit; local 802 const unsigned char *targetLimit = (unsigned char *) args->targetLimit; local [all...] |
H A D | ucnv_u7.c | 211 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 890 const UChar *targetLimit; local 1157 uint8_t *target, *targetLimit; local [all...] |
H A D | ucnv_u8.c | 106 const UChar *targetLimit = args->targetLimit; local 113 if (cnv->toUnicodeStatus && myTarget < targetLimit) 125 while (mySource < sourceLimit && myTarget < targetLimit) 193 if (myTarget < targetLimit) 217 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) 236 const UChar *targetLimit = args->targetLimit; local 243 if (cnv->toUnicodeStatus && myTarget < targetLimit) 254 while (mySource < sourceLimit && myTarget < targetLimit) 364 const uint8_t *targetLimit = (uint8_t *) args->targetLimit; local 479 const uint8_t *targetLimit = (uint8_t *) args->targetLimit; local [all...] |
H A D | ucnvbocu.cpp | 407 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); 456 targetCapacity=(int32_t)((const uint8_t *)pArgs->targetLimit-target); 656 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); 696 targetCapacity=(int32_t)((const uint8_t *)pArgs->targetLimit-target); 942 const UChar *targetLimit; local 957 targetLimit=pArgs->targetLimit; 977 if(count>0 && byteIndex>0 && target<targetLimit) { 985 count=(int32_t)(pArgs->targetLimit-target); 1015 if(target>=targetLimit) { 1165 const UChar *targetLimit; local [all...] |
H A D | ucnv_ct.c | 331 const uint8_t *targetLimit = (const uint8_t *) args->targetLimit; local 349 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) { 354 if(target < targetLimit){ 433 if (target < targetLimit) { 488 if(myTarget < args->targetLimit){ 528 if (myTarget < args->targetLimit) {
|
H A D | ucnv_ext.cpp | 236 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 D | ucnvscsu.c | 236 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...] |
H A D | ucnvisci.c | 828 #define WRITE_TO_TARGET_FROM_U(args,offsets,source,target,targetLimit,targetByteUnit,err){ \ 831 if(target < targetLimit){ \ 845 if (!(target < targetLimit)) { \ 856 if(target < targetLimit){ \ 895 unsigned char *targetLimit = (unsigned char *) args->targetLimit; local 905 if ((args->converter == NULL) || (args->targetLimit < args->target) || (args->sourceLimit < args->source)) { 926 WRITE_TO_TARGET_FROM_U(args,offsets,source,target,targetLimit,targetByteUnit,err); 940 WRITE_TO_TARGET_FROM_U(args,offsets,source,target,targetLimit,sourceChar,err); 1023 WRITE_TO_TARGET_FROM_U(args,offsets,source,target,targetLimit,tem 1177 const UChar* targetLimit = args->targetLimit; local [all...] |
H A D | ucnv.c | 1116 char **target, const char *targetLimit, 1134 if(t==targetLimit) { 1169 char **target, const char *targetLimit, 1214 * An adjustment would be targetLimit=t+0x7fffffff; for example. 1219 if (sourceLimit<s || targetLimit<t || 1221 ((size_t)(targetLimit-t)>(size_t)0x7fffffff && targetLimit>t) || 1230 ucnv_outputOverflowFromUnicode(cnv, target, targetLimit, &offsets, err) 1244 * !flush && t==targetLimit 1257 args.targetLimit 1115 ucnv_outputOverflowFromUnicode(UConverter *cnv, char **target, const char *targetLimit, int32_t **pOffsets, UErrorCode *err) argument 1168 ucnv_fromUnicode(UConverter *cnv, char **target, const char *targetLimit, const UChar **source, const UChar *sourceLimit, int32_t *offsets, UBool flush, UErrorCode *err) argument 1561 ucnv_outputOverflowToUnicode(UConverter *cnv, UChar **target, const UChar *targetLimit, int32_t **pOffsets, UErrorCode *err) argument 1614 ucnv_toUnicode(UConverter *cnv, UChar **target, const UChar *targetLimit, const char **source, const char *sourceLimit, int32_t *offsets, UBool flush, UErrorCode *err) argument 2044 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 2412 const char *targetLimit; local [all...] |
H A D | ucnv2022.cpp | 427 uint8_t **target, const char *targetLimit, 433 ucnv_fromUWriteBytes(cnv, bytes, length, &targetChars, targetLimit, 1311 args->targetLimit, 1686 const uint8_t *targetLimit = (const uint8_t *) args->targetLimit; local 1708 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) { 1713 if(target < targetLimit) { 2005 } else if(outLen == 2 && (target + 2) <= targetLimit) { 2017 &target, (const char *)targetLimit, 2085 &target, (const char *)targetLimit, 425 fromUWriteUInt8(UConverter *cnv, const char *bytes, int32_t length, uint8_t **target, const char *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument 2380 unsigned char *targetLimit = (unsigned char *) args->targetLimit; local 2939 const uint8_t *targetLimit = (const uint8_t *) args->targetLimit; local [all...] |
H A D | ucnvmbcs.cpp | 1101 uint8_t **target, const uint8_t *targetLimit, 1113 (char **)target, (char *)targetLimit, 1147 bytes, 4, (char **)target, (char *)targetLimit, 1168 UChar **target, const UChar *targetLimit, 1178 target, targetLimit, 1203 ucnv_toUWriteCodePoint(cnv, linear, target, targetLimit, offsets, sourceIndex, pErrorCode); 2027 const UChar *targetLimit; local 2043 targetLimit=pArgs->targetLimit; 2065 if(target>=targetLimit) { 1098 _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 1165 _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 2459 const UChar *targetLimit; local [all...] |
/external/icu/icu4c/source/common/unicode/ |
H A D | ucnv_err.h | 199 const char *targetLimit; /**< Pointer to the limit (end + 1) of target buffer. @stable ICU 2.0 */ member in struct:__anon6739 215 const UChar *targetLimit; /**< Pointer to the limit (end + 1) of target buffer. @stable ICU 2.0 */ member in struct:__anon6740
|
/external/icu/icu4c/source/test/perf/convperf/ |
H A D | convperf.h | 30 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/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
H A D | CharsetUTF8.java | 84 int targetLimit = target.arrayOffset() + target.limit(); 144 if (targetIndex >= targetLimit) { 162 if (targetIndex >= targetLimit) { 174 if (targetIndex >= targetLimit) { 204 int targetLimit = target.limit(); 279 if (targetIndex >= targetLimit) { 299 if (targetIndex >= targetLimit) { 311 if (targetIndex >= targetLimit) { 369 int targetLimit = target.arrayOffset() + target.limit(); 380 cr = encodeFourBytes(sourceArray, targetArray, sourceLimit, targetLimit, 541 encodeFourBytes(char[] sourceArray, byte[] targetArray, int sourceLimit, int targetLimit, int char32) argument [all...] |
/external/icu/icu4c/source/samples/ucnv/ |
H A D | convsamp.cpp | 297 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 D | cintltst.c | 507 char *newString,*targetLimit,*target; local 526 targetLimit = newString+sizeof(char) * 8 * (length +1); 528 ucnv_fromUnicode(conv,&target,targetLimit, &unichars, (UChar*)(unichars+length),NULL,TRUE,&errorCode);
|
H A D | ncnvtst.c | 1020 char *targetLimit; local 1040 targetLimit=targ+MAX_LENGTH; 1044 (const char *)targetLimit, 1110 UChar *targetLimit; local 1133 targetLimit=targ+MAX_LENGTH; 1140 targetLimit, 1799 UChar *target, *targetLimit; local 1821 targetLimit=buffer+UPRV_LENGTHOF(buffer); 1824 ucnv_toUnicode(cnv, &target, targetLimit, &source, sourceLimit, NULL, FALSE, &errorCode); 1833 ucnv_toUnicode(cnv, &target, targetLimit, [all...] |
H A D | ccapitst.c | 411 int32_t targetLimit=0, sourceLimit=0, i=0, targetCapacity=0; local 417 targetLimit=0; 419 targetCapacity=ucnv_convert("ibm-1364", "ibm-1363", NULL, targetLimit , (const char*)source, sourceLimit, &err); 422 targetLimit=targetCapacity+1; 423 target=(char*)malloc(sizeof(char) * targetLimit); 424 targetCapacity=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sourceLimit, &err); 436 i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source+1, -1, &err); 444 i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, 0, &err); 451 i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sourceLimit, &err); 458 targetLimit 2146 const char *srcLimit, *finalSrcLimit, *targetLimit; local 3211 char* targetLimit = target + 10; local 3246 char* targetLimit = target + 2; /* expect overflow from converting \\U00101234\\U00050005 */ local 3317 UChar* targetLimit = target + 20; local 3354 UChar* targetLimit = target + 1; /* expect overflow from converting */ local [all...] |
H A D | nucnvtst.c | 4167 UChar* targetLimit = target+100; local 4173 ucnv_toUnicode(kr,&target,targetLimit,&source,source+uprv_strlen(source),NULL,TRUE,&errorCode); 4184 targetLimit = target+100; 4185 ucnv_toUnicode(kr,&target,targetLimit,&source,source+uprv_strlen(source),NULL,TRUE,&errorCode); 5486 UChar* targetLimit = dest+100; local 5497 ucnv_toUnicode(conv, &target, targetLimit, &source, sourceLimit, NULL, TRUE, &status); 5501 targetLimit = target; 5503 printUSeq(target, targetLimit-target); 5504 while(target<targetLimit){ 5539 UChar* targetLimit local [all...] |
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/ |
H A D | TestCharset.java | 1860 boolean throwException, boolean flush, boolean backedByArray, int targetLimit) 1904 if (result.isUnderflow() && !equals(myTarget, target, targetLimit)) { 1942 if (result.isUnderflow() && !equals(myTarget, target, targetLimit)) { 1978 if (!equals(myTarget, target, targetLimit)) { 1995 boolean throwException, boolean flush, boolean backedByArray, int targetLimit) throws Exception, 2038 if (!equals(myTarget, target, targetLimit)) { 2070 if (!equals(myTarget, target, targetLimit)) { 2112 if (!equals(myTarget, target, targetLimit)) { 1859 smBufDecode(CharsetDecoder decoder, String encoding, ByteBuffer source, CharBuffer target, boolean throwException, boolean flush, boolean backedByArray, int targetLimit) argument 1994 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 | 863 UChar *target, *targetLimit, *resultLimit; local 880 targetLimit=resultLimit; 885 targetLimit=target; 898 &target, targetLimit, 904 if(source>sourceLimit || target>targetLimit) { 908 if(target!=targetLimit) { 912 } else if(targetLimit==resultLimit) { 918 targetLimit=(resultLimit-target)>=step ? target+step : resultLimit; 994 targetLimit=target<resultLimit ? target+1 : resultLimit; 1008 &target, targetLimit, 1266 char *target, *targetLimit, *resultLimit; local 1370 char *target, *targetLimit, *resultLimit; local [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | rbt_pars.cpp | 1654 UChar *targetLimit = target+sourceLen; local 1739 if (target < targetLimit) {
|
/external/icu/icu4c/source/tools/genrb/ |
H A D | parse.cpp | 322 UChar *targetLimit = NULL; local 375 targetLimit = pTarget+size; 378 while (target < targetLimit) 437 if(target < targetLimit){
|