Searched refs:targetLimit (Results 1 - 25 of 38) 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 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) {
460 uint8_t *target, *targetLimit; local
479 targetLimit=(uint8_t *)pArgs->targetLimit;
497 targetCapacity=(int32_t)(targetLimit
891 const UChar *targetLimit; local
1158 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 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 Ducnv_cb.c48 &args->target, args->targetLimit,
83 args->targetLimit,
104 /* && (*source < sourceLimit && args->target >= args->targetLimit)
239 &args->target, args->targetLimit,
H A Ducnv_cnv.h91 * - U_BUFFER_OVERFLOW_ERROR and the target is full: target==targetLimit
296 char **target, const char *targetLimit,
303 UChar **target, const UChar *targetLimit,
311 UChar **target, const UChar *targetLimit,
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_u16.c73 &pArgs->target, pArgs->targetLimit,
80 if(target >= pArgs->targetLimit) {
85 targetCapacity=(uint32_t)(pArgs->targetLimit-target);
235 (char **)&target, pArgs->targetLimit,
238 targetCapacity=(uint32_t)(pArgs->targetLimit-(char *)target);
276 if(target >= pArgs->targetLimit) {
281 targetCapacity=(uint32_t)(pArgs->targetLimit-target);
672 &pArgs->target, pArgs->targetLimit,
679 if(target >= pArgs->targetLimit) {
684 targetCapacity=(uint32_t)(pArgs->targetLimit
[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 Ducnv_ext.h350 UChar **target, const UChar *targetLimit,
370 char **target, const char *targetLimit,
H A Ducnvlat1.c43 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target);
150 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target);
306 if(U_SUCCESS(*pErrorCode) && source<sourceLimit && target>=(uint8_t *)pArgs->targetLimit) {
335 targetCapacity=(int32_t)(pFromUArgs->targetLimit-pFromUArgs->target);
485 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target);
557 } else if(source<sourceLimit && target>=pArgs->targetLimit) {
625 targetCapacity=(int32_t)(pFromUArgs->targetLimit-pFromUArgs->target);
683 } else if(source<sourceLimit && target>=(const uint8_t *)pFromUArgs->targetLimit) {
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 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 Ducnv_ct.c332 const uint8_t *targetLimit = (const uint8_t *) args->targetLimit; local
350 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) {
355 if(target < targetLimit){
434 if (target < targetLimit) {
489 if(myTarget < args->targetLimit){
526 if (myTarget < args->targetLimit) {
H A Ducnvmbcs.c962 uint8_t **target, const uint8_t *targetLimit,
974 (char **)target, (char *)targetLimit,
1008 bytes, 4, (char **)target, (char *)targetLimit,
1029 UChar **target, const UChar *targetLimit,
1039 target, targetLimit,
1064 ucnv_toUWriteCodePoint(cnv, linear, target, targetLimit, offsets, sourceIndex, pErrorCode);
1889 const UChar *targetLimit; local
1905 targetLimit=pArgs->targetLimit;
1927 if(target>=targetLimit) {
959 _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
1026 _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
2321 const UChar *targetLimit; local
[all...]
/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/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:__anon6403
215 const UChar *targetLimit; /**< Pointer to the limit (end + 1) of target buffer. @stable ICU 2.0 */ member in struct:__anon6404
H A Ducnv.h1104 * @param targetLimit the pointer just after last of the <TT>target</TT> buffer
1129 const char *targetLimit,
1172 * @param targetLimit the pointer just after the end of the <TT>target</TT> buffer
1198 const UChar *targetLimit,
1446 * @param targetLimit Pointer to the first unit after the target buffer.
1486 char **target, const char *targetLimit,
/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:__anon14947
208 const UChar *targetLimit; /**< Pointer to the limit (end + 1) of target buffer. @stable ICU 2.0 */ member in struct:__anon14948
H A Ducnv.h948 * @param targetLimit the pointer just after last of the <TT>target</TT> buffer
973 const char *targetLimit,
1016 * @param targetLimit the pointer just after the end of the <TT>target</TT> buffer
1042 const UChar *targetLimit,
1280 * @param targetLimit Pointer to the first unit after the target buffer.
1320 char **target, const char *targetLimit,
/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:__anon15024
208 const UChar *targetLimit; /**< Pointer to the limit (end + 1) of target buffer. @stable ICU 2.0 */ member in struct:__anon15025
/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:__anon15190
208 const UChar *targetLimit; /**< Pointer to the limit (end + 1) of target buffer. @stable ICU 2.0 */ member in struct:__anon15191
/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/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);

Completed in 235 milliseconds

12