Home
last modified time | relevance | path

Searched refs:targetLimit (Results 1 - 25 of 84) sorted by relevance

1234

/third_party/icu/icu4c/source/common/
H A Ducnv_u32.cpp53 const UChar *targetLimit = args->targetLimit; in T_UConverter_toUnicode_UTF32_BE() local
58 if (args->converter->toULength > 0 && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE()
67 while (mySource < sourceLimit && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE()
96 if (myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE()
116 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) { in T_UConverter_toUnicode_UTF32_BE()
133 const UChar *targetLimit = args->targetLimit; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC() local
139 if (args->converter->toULength > 0 && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
148 while (mySource < sourceLimit && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
219 const unsigned char *targetLimit = (unsigned char *) args->targetLimit; T_UConverter_fromUnicode_UTF32_BE() local
321 const unsigned char *targetLimit = (unsigned char *) args->targetLimit; T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC() local
515 const UChar *targetLimit = args->targetLimit; T_UConverter_toUnicode_UTF32_LE() local
601 const UChar *targetLimit = args->targetLimit; T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC() local
697 const unsigned char *targetLimit = (unsigned char *) args->targetLimit; T_UConverter_fromUnicode_UTF32_LE() local
807 const unsigned char *targetLimit = (unsigned char *) args->targetLimit; T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC() local
[all...]
H A Ducnv_u7.cpp216 const UChar *targetLimit; in _UTF7ToUnicodeWithOffsets() local
240 targetLimit=pArgs->targetLimit; in _UTF7ToUnicodeWithOffsets()
268 targetCapacity=(int32_t)(targetLimit-target); in _UTF7ToUnicodeWithOffsets()
297 if(source<sourceLimit && target>=targetLimit) { in _UTF7ToUnicodeWithOffsets()
314 if(target<targetLimit) { in _UTF7ToUnicodeWithOffsets()
466 uint8_t *target, *targetLimit; in _UTF7FromUnicodeWithOffsets() local
485 targetLimit=(uint8_t *)pArgs->targetLimit; in _UTF7FromUnicodeWithOffsets()
504 targetCapacity=(int32_t)(targetLimit in _UTF7FromUnicodeWithOffsets()
900 const UChar *targetLimit; _IMAPToUnicodeWithOffsets() local
1167 uint8_t *target, *targetLimit; _IMAPFromUnicodeWithOffsets() local
[all...]
H A Ducnv_u8.cpp72 const UChar *targetLimit = args->targetLimit; in ucnv_toUnicode_UTF8() local
79 if (cnv->toULength > 0 && myTarget < targetLimit) in ucnv_toUnicode_UTF8()
91 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_toUnicode_UTF8()
147 if (myTarget < targetLimit) in ucnv_toUnicode_UTF8()
171 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_toUnicode_UTF8()
190 const UChar *targetLimit = args->targetLimit; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC() local
197 if (cnv->toULength > 0 && myTarget < targetLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
208 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
307 const uint8_t *targetLimit = (uint8_t *) args->targetLimit; ucnv_fromUnicode_UTF8() local
422 const uint8_t *targetLimit = (uint8_t *) args->targetLimit; ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() local
[all...]
H A Ducnv_cnv.cpp57 char **target, const char *targetLimit, in ucnv_fromUWriteBytes()
66 while(length>0 && t<targetLimit) { in ucnv_fromUWriteBytes()
72 while(length>0 && t<targetLimit) { in ucnv_fromUWriteBytes()
97 UChar **target, const UChar *targetLimit, in ucnv_toUWriteUChars()
106 while(length>0 && t<targetLimit) { in ucnv_toUWriteUChars()
112 while(length>0 && t<targetLimit) { in ucnv_toUWriteUChars()
137 UChar **target, const UChar *targetLimit, in ucnv_toUWriteCodePoint()
146 if(t<targetLimit) { in ucnv_toUWriteCodePoint()
153 if(t<targetLimit) { in ucnv_toUWriteCodePoint()
55 ucnv_fromUWriteBytes(UConverter *cnv, const char *bytes, int32_t length, char **target, const char *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) ucnv_fromUWriteBytes() 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) ucnv_toUWriteUChars() argument
135 ucnv_toUWriteCodePoint(UConverter *cnv, UChar32 c, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) ucnv_toUWriteCodePoint() argument
H A Ducnv.cpp1125 char **target, const char *targetLimit, in ucnv_outputOverflowFromUnicode()
1143 if(t==targetLimit) { in ucnv_outputOverflowFromUnicode()
1178 char **target, const char *targetLimit, in ucnv_fromUnicode()
1223 * An adjustment would be targetLimit=t+0x7fffffff; for example. in ucnv_fromUnicode()
1228 if (sourceLimit<s || targetLimit<t || in ucnv_fromUnicode()
1230 ((size_t)(targetLimit-t)>(size_t)0x7fffffff && targetLimit>t) || in ucnv_fromUnicode()
1239 ucnv_outputOverflowFromUnicode(cnv, target, targetLimit, &offsets, err) in ucnv_fromUnicode()
1253 * !flush && t==targetLimit in ucnv_fromUnicode()
1266 args.targetLimit in ucnv_fromUnicode()
1124 ucnv_outputOverflowFromUnicode(UConverter *cnv, char **target, const char *targetLimit, int32_t **pOffsets, UErrorCode *err) ucnv_outputOverflowFromUnicode() argument
1177 ucnv_fromUnicode(UConverter *cnv, char **target, const char *targetLimit, const UChar **source, const UChar *sourceLimit, int32_t *offsets, UBool flush, UErrorCode *err) ucnv_fromUnicode() argument
1570 ucnv_outputOverflowToUnicode(UConverter *cnv, UChar **target, const UChar *targetLimit, int32_t **pOffsets, UErrorCode *err) ucnv_outputOverflowToUnicode() argument
1623 ucnv_toUnicode(UConverter *cnv, UChar **target, const UChar *targetLimit, const char **source, const char *sourceLimit, int32_t *offsets, UBool flush, UErrorCode *err) ucnv_toUnicode() argument
2045 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) ucnv_convertEx() argument
2413 const char *targetLimit; ucnv_internalConvert() local
[all...]
H A Ducnvbocu.cpp409 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in _Bocu1FromUnicodeWithOffsets()
458 targetCapacity=(int32_t)((const uint8_t *)pArgs->targetLimit-target); in _Bocu1FromUnicodeWithOffsets()
667 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in _Bocu1FromUnicode()
707 targetCapacity=(int32_t)((const uint8_t *)pArgs->targetLimit-target); in _Bocu1FromUnicode()
961 const UChar *targetLimit; in _Bocu1ToUnicodeWithOffsets() local
976 targetLimit=pArgs->targetLimit; in _Bocu1ToUnicodeWithOffsets()
996 if(count>0 && byteIndex>0 && target<targetLimit) { in _Bocu1ToUnicodeWithOffsets()
1004 count=(int32_t)(pArgs->targetLimit-target); in _Bocu1ToUnicodeWithOffsets()
1034 if(target>=targetLimit) { in _Bocu1ToUnicodeWithOffsets()
1184 const UChar *targetLimit; _Bocu1ToUnicode() local
[all...]
H A Ducnv2022.cpp434 uint8_t **target, const char *targetLimit, in fromUWriteUInt8()
440 ucnv_fromUWriteBytes(cnv, bytes, length, &targetChars, targetLimit, in fromUWriteUInt8()
1294 args->targetLimit, in T_UConverter_toUnicode_ISO_2022_OFFSETS_LOGIC()
1669 const uint8_t *targetLimit = (const uint8_t *) args->targetLimit; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
1691 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1696 if(target < targetLimit) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1988 } else if(outLen == 2 && (target + 2) <= targetLimit) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2000 &target, (const char *)targetLimit, in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2068 &target, (const char *)targetLimit, in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
432 fromUWriteUInt8(UConverter *cnv, const char *bytes, int32_t length, uint8_t **target, const char *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) fromUWriteUInt8() argument
2362 unsigned char *targetLimit = (unsigned char *) args->targetLimit; UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC() local
2921 const uint8_t *targetLimit = (const uint8_t *) args->targetLimit; UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC() local
[all...]
/third_party/node/deps/icu-small/source/common/
H A Ducnv_u32.cpp53 const char16_t *targetLimit = args->targetLimit; in T_UConverter_toUnicode_UTF32_BE() local
58 if (args->converter->toULength > 0 && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE()
67 while (mySource < sourceLimit && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE()
96 if (myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE()
116 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) { in T_UConverter_toUnicode_UTF32_BE()
133 const char16_t *targetLimit = args->targetLimit; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC() local
139 if (args->converter->toULength > 0 && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
148 while (mySource < sourceLimit && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
219 const unsigned char *targetLimit = (unsigned char *) args->targetLimit; T_UConverter_fromUnicode_UTF32_BE() local
321 const unsigned char *targetLimit = (unsigned char *) args->targetLimit; T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC() local
515 const char16_t *targetLimit = args->targetLimit; T_UConverter_toUnicode_UTF32_LE() local
601 const char16_t *targetLimit = args->targetLimit; T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC() local
697 const unsigned char *targetLimit = (unsigned char *) args->targetLimit; T_UConverter_fromUnicode_UTF32_LE() local
807 const unsigned char *targetLimit = (unsigned char *) args->targetLimit; T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC() local
[all...]
H A Ducnv_u7.cpp216 const char16_t *targetLimit; in _UTF7ToUnicodeWithOffsets() local
240 targetLimit=pArgs->targetLimit; in _UTF7ToUnicodeWithOffsets()
268 targetCapacity=(int32_t)(targetLimit-target); in _UTF7ToUnicodeWithOffsets()
297 if(source<sourceLimit && target>=targetLimit) { in _UTF7ToUnicodeWithOffsets()
314 if(target<targetLimit) { in _UTF7ToUnicodeWithOffsets()
466 uint8_t *target, *targetLimit; in _UTF7FromUnicodeWithOffsets() local
485 targetLimit=(uint8_t *)pArgs->targetLimit; in _UTF7FromUnicodeWithOffsets()
504 targetCapacity=(int32_t)(targetLimit in _UTF7FromUnicodeWithOffsets()
900 const char16_t *targetLimit; _IMAPToUnicodeWithOffsets() local
1167 uint8_t *target, *targetLimit; _IMAPFromUnicodeWithOffsets() local
[all...]
H A Ducnv_u8.cpp72 const char16_t *targetLimit = args->targetLimit; in ucnv_toUnicode_UTF8() local
79 if (cnv->toULength > 0 && myTarget < targetLimit) in ucnv_toUnicode_UTF8()
91 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_toUnicode_UTF8()
147 if (myTarget < targetLimit) in ucnv_toUnicode_UTF8()
171 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_toUnicode_UTF8()
190 const char16_t *targetLimit = args->targetLimit; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC() local
197 if (cnv->toULength > 0 && myTarget < targetLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
208 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
307 const uint8_t *targetLimit = (uint8_t *) args->targetLimit; ucnv_fromUnicode_UTF8() local
422 const uint8_t *targetLimit = (uint8_t *) args->targetLimit; ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() local
[all...]
H A Ducnv_cnv.cpp57 char **target, const char *targetLimit, in ucnv_fromUWriteBytes()
66 while(length>0 && t<targetLimit) { in ucnv_fromUWriteBytes()
72 while(length>0 && t<targetLimit) { in ucnv_fromUWriteBytes()
97 char16_t **target, const char16_t *targetLimit, in ucnv_toUWriteUChars()
106 while(length>0 && t<targetLimit) { in ucnv_toUWriteUChars()
112 while(length>0 && t<targetLimit) { in ucnv_toUWriteUChars()
137 char16_t **target, const char16_t *targetLimit, in ucnv_toUWriteCodePoint()
146 if(t<targetLimit) { in ucnv_toUWriteCodePoint()
153 if(t<targetLimit) { in ucnv_toUWriteCodePoint()
55 ucnv_fromUWriteBytes(UConverter *cnv, const char *bytes, int32_t length, char **target, const char *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) ucnv_fromUWriteBytes() argument
95 ucnv_toUWriteUChars(UConverter *cnv, const char16_t *uchars, int32_t length, char16_t **target, const char16_t *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) ucnv_toUWriteUChars() argument
135 ucnv_toUWriteCodePoint(UConverter *cnv, UChar32 c, char16_t **target, const char16_t *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) ucnv_toUWriteCodePoint() argument
H A Ducnv.cpp1125 char **target, const char *targetLimit, in ucnv_outputOverflowFromUnicode()
1143 if(t==targetLimit) { in ucnv_outputOverflowFromUnicode()
1178 char **target, const char *targetLimit, in ucnv_fromUnicode()
1223 * An adjustment would be targetLimit=t+0x7fffffff; for example. in ucnv_fromUnicode()
1228 if (sourceLimit<s || targetLimit<t || in ucnv_fromUnicode()
1230 ((size_t)(targetLimit-t)>(size_t)0x7fffffff && targetLimit>t) || in ucnv_fromUnicode()
1239 ucnv_outputOverflowFromUnicode(cnv, target, targetLimit, &offsets, err) in ucnv_fromUnicode()
1253 * !flush && t==targetLimit in ucnv_fromUnicode()
1266 args.targetLimit in ucnv_fromUnicode()
1124 ucnv_outputOverflowFromUnicode(UConverter *cnv, char **target, const char *targetLimit, int32_t **pOffsets, UErrorCode *err) ucnv_outputOverflowFromUnicode() argument
1177 ucnv_fromUnicode(UConverter *cnv, char **target, const char *targetLimit, const char16_t **source, const char16_t *sourceLimit, int32_t *offsets, UBool flush, UErrorCode *err) ucnv_fromUnicode() argument
1570 ucnv_outputOverflowToUnicode(UConverter *cnv, char16_t **target, const char16_t *targetLimit, int32_t **pOffsets, UErrorCode *err) ucnv_outputOverflowToUnicode() argument
1623 ucnv_toUnicode(UConverter *cnv, char16_t **target, const char16_t *targetLimit, const char **source, const char *sourceLimit, int32_t *offsets, UBool flush, UErrorCode *err) ucnv_toUnicode() argument
2045 ucnv_convertEx(UConverter *targetCnv, UConverter *sourceCnv, char **target, const char *targetLimit, const char **source, const char *sourceLimit, char16_t *pivotStart, char16_t **pivotSource, char16_t **pivotTarget, const char16_t *pivotLimit, UBool reset, UBool flush, UErrorCode *pErrorCode) ucnv_convertEx() argument
2413 const char *targetLimit; ucnv_internalConvert() local
[all...]
H A Ducnvbocu.cpp409 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in _Bocu1FromUnicodeWithOffsets()
458 targetCapacity=(int32_t)((const uint8_t *)pArgs->targetLimit-target); in _Bocu1FromUnicodeWithOffsets()
667 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in _Bocu1FromUnicode()
707 targetCapacity=(int32_t)((const uint8_t *)pArgs->targetLimit-target); in _Bocu1FromUnicode()
961 const char16_t *targetLimit; in _Bocu1ToUnicodeWithOffsets() local
976 targetLimit=pArgs->targetLimit; in _Bocu1ToUnicodeWithOffsets()
996 if(count>0 && byteIndex>0 && target<targetLimit) { in _Bocu1ToUnicodeWithOffsets()
1004 count=(int32_t)(pArgs->targetLimit-target); in _Bocu1ToUnicodeWithOffsets()
1034 if(target>=targetLimit) { in _Bocu1ToUnicodeWithOffsets()
1184 const char16_t *targetLimit; _Bocu1ToUnicode() local
[all...]
H A Ducnv2022.cpp434 uint8_t **target, const char *targetLimit, in fromUWriteUInt8()
440 ucnv_fromUWriteBytes(cnv, bytes, length, &targetChars, targetLimit, in fromUWriteUInt8()
1294 args->targetLimit, in T_UConverter_toUnicode_ISO_2022_OFFSETS_LOGIC()
1669 const uint8_t *targetLimit = (const uint8_t *) args->targetLimit; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
1691 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1696 if(target < targetLimit) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1988 } else if(outLen == 2 && (target + 2) <= targetLimit) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2000 &target, (const char *)targetLimit, in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2068 &target, (const char *)targetLimit, in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
432 fromUWriteUInt8(UConverter *cnv, const char *bytes, int32_t length, uint8_t **target, const char *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) fromUWriteUInt8() argument
2362 unsigned char *targetLimit = (unsigned char *) args->targetLimit; UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC() local
2921 const uint8_t *targetLimit = (const uint8_t *) args->targetLimit; UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC() local
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Ducnv_u32.cpp53 const UChar *targetLimit = args->targetLimit; in T_UConverter_toUnicode_UTF32_BE() local
58 if (args->converter->toULength > 0 && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE()
67 while (mySource < sourceLimit && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE()
96 if (myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE()
116 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) { in T_UConverter_toUnicode_UTF32_BE()
133 const UChar *targetLimit = args->targetLimit; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC() local
139 if (args->converter->toULength > 0 && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
148 while (mySource < sourceLimit && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
219 const unsigned char *targetLimit = (unsigned char *) args->targetLimit; T_UConverter_fromUnicode_UTF32_BE() local
321 const unsigned char *targetLimit = (unsigned char *) args->targetLimit; T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC() local
515 const UChar *targetLimit = args->targetLimit; T_UConverter_toUnicode_UTF32_LE() local
601 const UChar *targetLimit = args->targetLimit; T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC() local
697 const unsigned char *targetLimit = (unsigned char *) args->targetLimit; T_UConverter_fromUnicode_UTF32_LE() local
807 const unsigned char *targetLimit = (unsigned char *) args->targetLimit; T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC() local
[all...]
H A Ducnv_u7.cpp216 const UChar *targetLimit; in _UTF7ToUnicodeWithOffsets() local
240 targetLimit=pArgs->targetLimit; in _UTF7ToUnicodeWithOffsets()
268 targetCapacity=(int32_t)(targetLimit-target); in _UTF7ToUnicodeWithOffsets()
297 if(source<sourceLimit && target>=targetLimit) { in _UTF7ToUnicodeWithOffsets()
314 if(target<targetLimit) { in _UTF7ToUnicodeWithOffsets()
466 uint8_t *target, *targetLimit; in _UTF7FromUnicodeWithOffsets() local
485 targetLimit=(uint8_t *)pArgs->targetLimit; in _UTF7FromUnicodeWithOffsets()
504 targetCapacity=(int32_t)(targetLimit in _UTF7FromUnicodeWithOffsets()
900 const UChar *targetLimit; _IMAPToUnicodeWithOffsets() local
1167 uint8_t *target, *targetLimit; _IMAPFromUnicodeWithOffsets() local
[all...]
H A Ducnv_u8.cpp72 const UChar *targetLimit = args->targetLimit; in ucnv_toUnicode_UTF8() local
79 if (cnv->toULength > 0 && myTarget < targetLimit) in ucnv_toUnicode_UTF8()
91 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_toUnicode_UTF8()
147 if (myTarget < targetLimit) in ucnv_toUnicode_UTF8()
171 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_toUnicode_UTF8()
190 const UChar *targetLimit = args->targetLimit; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC() local
197 if (cnv->toULength > 0 && myTarget < targetLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
208 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
307 const uint8_t *targetLimit = (uint8_t *) args->targetLimit; ucnv_fromUnicode_UTF8() local
422 const uint8_t *targetLimit = (uint8_t *) args->targetLimit; ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() local
[all...]
H A Ducnv_cnv.cpp57 char **target, const char *targetLimit, in ucnv_fromUWriteBytes()
66 while(length>0 && t<targetLimit) { in ucnv_fromUWriteBytes()
72 while(length>0 && t<targetLimit) { in ucnv_fromUWriteBytes()
97 UChar **target, const UChar *targetLimit, in ucnv_toUWriteUChars()
106 while(length>0 && t<targetLimit) { in ucnv_toUWriteUChars()
112 while(length>0 && t<targetLimit) { in ucnv_toUWriteUChars()
137 UChar **target, const UChar *targetLimit, in ucnv_toUWriteCodePoint()
146 if(t<targetLimit) { in ucnv_toUWriteCodePoint()
153 if(t<targetLimit) { in ucnv_toUWriteCodePoint()
55 ucnv_fromUWriteBytes(UConverter *cnv, const char *bytes, int32_t length, char **target, const char *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) ucnv_fromUWriteBytes() 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) ucnv_toUWriteUChars() argument
135 ucnv_toUWriteCodePoint(UConverter *cnv, UChar32 c, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) ucnv_toUWriteCodePoint() argument
H A Ducnv.cpp1118 char **target, const char *targetLimit, in ucnv_outputOverflowFromUnicode()
1136 if(t==targetLimit) { in ucnv_outputOverflowFromUnicode()
1171 char **target, const char *targetLimit, in ucnv_fromUnicode()
1216 * An adjustment would be targetLimit=t+0x7fffffff; for example. in ucnv_fromUnicode()
1221 if (sourceLimit<s || targetLimit<t || in ucnv_fromUnicode()
1223 ((size_t)(targetLimit-t)>(size_t)0x7fffffff && targetLimit>t) || in ucnv_fromUnicode()
1232 ucnv_outputOverflowFromUnicode(cnv, target, targetLimit, &offsets, err) in ucnv_fromUnicode()
1246 * !flush && t==targetLimit in ucnv_fromUnicode()
1259 args.targetLimit in ucnv_fromUnicode()
1117 ucnv_outputOverflowFromUnicode(UConverter *cnv, char **target, const char *targetLimit, int32_t **pOffsets, UErrorCode *err) ucnv_outputOverflowFromUnicode() argument
1170 ucnv_fromUnicode(UConverter *cnv, char **target, const char *targetLimit, const UChar **source, const UChar *sourceLimit, int32_t *offsets, UBool flush, UErrorCode *err) ucnv_fromUnicode() argument
1563 ucnv_outputOverflowToUnicode(UConverter *cnv, UChar **target, const UChar *targetLimit, int32_t **pOffsets, UErrorCode *err) ucnv_outputOverflowToUnicode() argument
1616 ucnv_toUnicode(UConverter *cnv, UChar **target, const UChar *targetLimit, const char **source, const char *sourceLimit, int32_t *offsets, UBool flush, UErrorCode *err) ucnv_toUnicode() argument
2038 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) ucnv_convertEx() argument
2406 const char *targetLimit; ucnv_internalConvert() local
[all...]
H A Ducnvbocu.cpp409 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in _Bocu1FromUnicodeWithOffsets()
458 targetCapacity=(int32_t)((const uint8_t *)pArgs->targetLimit-target); in _Bocu1FromUnicodeWithOffsets()
667 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in _Bocu1FromUnicode()
707 targetCapacity=(int32_t)((const uint8_t *)pArgs->targetLimit-target); in _Bocu1FromUnicode()
961 const UChar *targetLimit; in _Bocu1ToUnicodeWithOffsets() local
976 targetLimit=pArgs->targetLimit; in _Bocu1ToUnicodeWithOffsets()
996 if(count>0 && byteIndex>0 && target<targetLimit) { in _Bocu1ToUnicodeWithOffsets()
1004 count=(int32_t)(pArgs->targetLimit-target); in _Bocu1ToUnicodeWithOffsets()
1034 if(target>=targetLimit) { in _Bocu1ToUnicodeWithOffsets()
1184 const UChar *targetLimit; _Bocu1ToUnicode() local
[all...]
H A Ducnv2022.cpp434 uint8_t **target, const char *targetLimit, in fromUWriteUInt8()
440 ucnv_fromUWriteBytes(cnv, bytes, length, &targetChars, targetLimit, in fromUWriteUInt8()
1294 args->targetLimit, in T_UConverter_toUnicode_ISO_2022_OFFSETS_LOGIC()
1596 const uint8_t *targetLimit = (const uint8_t *) args->targetLimit; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
1618 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1623 if(target < targetLimit) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1920 } else if(outLen == 2 && (target + 2) <= targetLimit) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1932 &target, (const char *)targetLimit, in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2000 &target, (const char *)targetLimit, in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
432 fromUWriteUInt8(UConverter *cnv, const char *bytes, int32_t length, uint8_t **target, const char *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) fromUWriteUInt8() argument
2289 unsigned char *targetLimit = (unsigned char *) args->targetLimit; UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC() local
2848 const uint8_t *targetLimit = (const uint8_t *) args->targetLimit; UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC() local
[all...]
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
H A DCharsetUTF8.java68 int targetLimit = target.arrayOffset() + target.limit(); in decodeLoop()
128 if (targetIndex >= targetLimit) { in decodeLoop()
146 if (targetIndex >= targetLimit) { in decodeLoop()
158 if (targetIndex >= targetLimit) { in decodeLoop()
190 int targetLimit = target.limit(); in decodeLoop()
252 if (targetIndex >= targetLimit) { in decodeLoop()
272 if (targetIndex >= targetLimit) { in decodeLoop()
284 if (targetIndex >= targetLimit) { in decodeLoop()
346 int targetLimit = target.arrayOffset() + target.limit(); in encodeLoop()
357 cr = encodeFourBytes(sourceArray, targetArray, sourceLimit, targetLimit, in encodeLoop()
518 encodeFourBytes(char[] sourceArray, byte[] targetArray, int sourceLimit, int targetLimit, int char32) encodeFourBytes() argument
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Dconvtest.cpp731 const char *targetLimit = result + sizeof(result); in TestUTF8ToUTF8Overflow() local
751 &target, targetLimit, &source, sourceLimit, in TestUTF8ToUTF8Overflow()
784 &target, targetLimit, &source, sourceLimit, in TestUTF8ToUTF8Overflow()
811 &target, targetLimit, &source, source + 2, in TestUTF8ToUTF8Overflow()
827 &target, targetLimit, &source, sourceLimit, in TestUTF8ToUTF8Overflow()
867 const char* targetLimit = result + targetLen; in TestUTF8ToUTF8Streaming() local
889 &target, targetLimit, &source, sourceLimit, in TestUTF8ToUTF8Streaming()
1014 UChar *target, *targetLimit, *resultLimit; in stepToUnicode() local
1031 targetLimit=resultLimit; in stepToUnicode()
1036 targetLimit in stepToUnicode()
1422 char *target, *targetLimit, *resultLimit; stepFromUTF8() local
1526 char *target, *targetLimit, *resultLimit; stepFromUnicode() local
[all...]
/third_party/icu/icu4c/source/test/perf/convperf/
H A Dconvperf.h34 UChar* targetLimit; member in ICUToUnicodePerfFunction
46 targetLimit = NULL; in ICUToUnicodePerfFunction()
52 targetLimit = target + reqdLen; in ICUToUnicodePerfFunction()
63 ucnv_toUnicode(conv, &myTarget, targetLimit, &mySrc, sourceLimit, NULL, true, status); in call()
79 char* targetLimit; member in ICUFromUnicodePerfFunction
92 targetLimit = NULL; in ICUFromUnicodePerfFunction()
98 targetLimit = target + reqdLen; in ICUFromUnicodePerfFunction()
109 ucnv_fromUnicode(conv,&myTarget, targetLimit, &mySrc, sourceLimit, NULL, true, status); in call()
/third_party/icu/icu4c/source/samples/ucnv/
H A Dconvsamp.cpp306 UChar *targetLimit; in convsample_05() local
341 targetLimit = uBuf + uBufSize; in convsample_05()
343 ucnv_toUnicode(conv, &target, targetLimit, in convsample_05()
885 UChar *targetLimit; in convsample_40() local
929 targetLimit = uBuf + uBufSize; in convsample_40()
931 ucnv_toUnicode( conv, &target, targetLimit, in convsample_40()
989 char *targetLimit; in convsample_46() local
1034 targetLimit = buf + bufSize; in convsample_46()
1036 ucnv_fromUnicode( conv, &target, targetLimit, in convsample_46()

Completed in 33 milliseconds

1234