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

12

/external/icu4c/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...]
H A Ducnvisci.c825 #define WRITE_TO_TARGET_FROM_U(args,offsets,source,target,targetLimit,targetByteUnit,err){ \
828 if(target < targetLimit){ \
842 if (!(target < targetLimit)) { \
853 if(target < targetLimit){ \
892 unsigned char *targetLimit = (unsigned char *) args->targetLimit; local
902 if ((args->converter == NULL) || (args->targetLimit < args->target) || (args->sourceLimit < args->source)) {
923 WRITE_TO_TARGET_FROM_U(args,offsets,source,target,targetLimit,targetByteUnit,err);
937 WRITE_TO_TARGET_FROM_U(args,offsets,source,target,targetLimit,sourceChar,err);
1020 WRITE_TO_TARGET_FROM_U(args,offsets,source,target,targetLimit,tem
1174 const UChar* targetLimit = args->targetLimit; local
[all...]
H A Ducnv.c1116 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 Ducnv2022.c407 uint8_t **target, const char *targetLimit,
413 ucnv_fromUWriteBytes(cnv, bytes, length, &targetChars, targetLimit,
1260 args->targetLimit,
1635 const uint8_t *targetLimit = (const uint8_t *) args->targetLimit; local
1657 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) {
1662 if(target < targetLimit) {
1954 } else if(outLen == 2 && (target + 2) <= targetLimit) {
1966 &target, (const char *)targetLimit,
2034 &target, (const char *)targetLimit,
405 fromUWriteUInt8(UConverter *cnv, const char *bytes, int32_t length, uint8_t **target, const char *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument
2328 unsigned char *targetLimit = (unsigned char *) args->targetLimit; local
2887 const uint8_t *targetLimit = (const uint8_t *) args->targetLimit; local
[all...]
H A Ducnvmbcs.c961 uint8_t **target, const uint8_t *targetLimit,
973 (char **)target, (char *)targetLimit,
1007 bytes, 4, (char **)target, (char *)targetLimit,
1028 UChar **target, const UChar *targetLimit,
1038 target, targetLimit,
1063 ucnv_toUWriteCodePoint(cnv, linear, target, targetLimit, offsets, sourceIndex, pErrorCode);
1888 const UChar *targetLimit; local
1904 targetLimit=pArgs->targetLimit;
1926 if(target>=targetLimit) {
958 _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
1025 _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
2320 const UChar *targetLimit; local
[all...]
/external/icu4c/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:__anon4716
215 const UChar *targetLimit; /**< Pointer to the limit (end + 1) of target buffer. @stable ICU 2.0 */ member in struct:__anon4717
/external/webkit/Source/JavaScriptCore/icu/unicode/
H A Ducnv_err.h192 const char *targetLimit; /**< Pointer to the limit (end + 1) of target buffer. @stable ICU 2.0 */ member in struct:__anon11601
208 const UChar *targetLimit; /**< Pointer to the limit (end + 1) of target buffer. @stable ICU 2.0 */ member in struct:__anon11602
/external/webkit/Source/JavaScriptGlue/icu/unicode/
H A Ducnv_err.h192 const char *targetLimit; /**< Pointer to the limit (end + 1) of target buffer. @stable ICU 2.0 */ member in struct:__anon11678
208 const UChar *targetLimit; /**< Pointer to the limit (end + 1) of target buffer. @stable ICU 2.0 */ member in struct:__anon11679
/external/webkit/Source/WebCore/icu/unicode/
H A Ducnv_err.h192 const char *targetLimit; /**< Pointer to the limit (end + 1) of target buffer. @stable ICU 2.0 */ member in struct:__anon11844
208 const UChar *targetLimit; /**< Pointer to the limit (end + 1) of target buffer. @stable ICU 2.0 */ member in struct:__anon11845
/external/icu4c/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/icu4c/samples/ucnv/
H A Dconvsamp.cpp302 UChar *targetLimit; local
337 targetLimit = uBuf + uBufSize;
339 ucnv_toUnicode(conv, &target, targetLimit,
883 UChar *targetLimit; local
927 targetLimit = uBuf + uBufSize;
929 ucnv_toUnicode( conv, &target, targetLimit,
988 char *targetLimit; local
1033 targetLimit = buf + bufSize;
1035 ucnv_fromUnicode( conv, &target, targetLimit,
/external/icu4c/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);
H A Dncnvtst.c1019 char *targetLimit; local
1039 targetLimit=targ+MAX_LENGTH;
1043 (const char *)targetLimit,
1109 UChar *targetLimit; local
1132 targetLimit=targ+MAX_LENGTH;
1139 targetLimit,
1799 UChar *target, *targetLimit; local
1821 targetLimit=buffer+LENGTHOF(buffer);
1824 ucnv_toUnicode(cnv, &target, targetLimit, &source, sourceLimit, NULL, FALSE, &errorCode);
1833 ucnv_toUnicode(cnv, &target, targetLimit,
[all...]
H A Dccapitst.c457 int32_t targetLimit=0, sourceLimit=0, i=0, targetCapacity=0; local
463 targetLimit=0;
465 targetCapacity=ucnv_convert("ibm-1364", "ibm-1363", NULL, targetLimit , (const char*)source, sourceLimit, &err);
468 targetLimit=targetCapacity+1;
469 target=(char*)malloc(sizeof(char) * targetLimit);
470 targetCapacity=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sourceLimit, &err);
482 i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source+1, -1, &err);
490 i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, 0, &err);
497 i=ucnv_convert("ibm-1364", "ibm-1363", target, targetLimit , (const char*)source, sourceLimit, &err);
504 targetLimit
2183 const char *srcLimit, *finalSrcLimit, *targetLimit; local
3242 char* targetLimit = target + 10; local
3277 char* targetLimit = target + 2; /* expect overflow from converting \\U00101234\\U00050005 */ local
3348 UChar* targetLimit = target + 20; local
3385 UChar* targetLimit = target + 1; /* expect overflow from converting */ local
[all...]
/external/webkit/Source/WebCore/platform/text/
H A DTextCodecICU.cpp251 int TextCodecICU::decodeToBuffer(UChar* target, UChar* targetLimit, const char*& source, const char* sourceLimit, int32_t* offsets, bool flush, UErrorCode& err) argument
255 ucnv_toUnicode(m_converterICU, &target, targetLimit, &source, sourceLimit, offsets, flush, &err);
460 char* targetLimit = target + ConversionBufferSize; local
462 ucnv_fromUnicode(m_converterICU, &target, targetLimit, &source, sourceLimit, 0, true, &err);
/external/icu4c/test/intltest/
H A Dconvtest.cpp789 UChar *target, *targetLimit, *resultLimit; local
806 targetLimit=resultLimit;
811 targetLimit=target;
824 &target, targetLimit,
830 if(source>sourceLimit || target>targetLimit) {
834 if(target!=targetLimit) {
838 } else if(targetLimit==resultLimit) {
844 targetLimit=(resultLimit-target)>=step ? target+step : resultLimit;
920 targetLimit=target<resultLimit ? target+1 : resultLimit;
934 &target, targetLimit,
1192 char *target, *targetLimit, *resultLimit; local
1296 char *target, *targetLimit, *resultLimit; local
[all...]
/external/icu4c/tools/genrb/
H A Dparse.c295 UChar *targetLimit = NULL; local
348 targetLimit = pTarget+size;
351 while (target < targetLimit)
410 if(target < targetLimit){
/external/icu4c/i18n/
H A Drbt_pars.cpp1648 UChar *targetLimit = target+sourceLen; local
1726 if (target < targetLimit) {

Completed in 714 milliseconds

12