Home
last modified time | relevance | path

Searched refs:sourceLimit (Results 1 - 25 of 79) sorted by relevance

1234

/third_party/icu/icu4c/source/common/
H A Ducnv_u32.cpp52 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; in T_UConverter_toUnicode_UTF32_BE() local
67 while (mySource < sourceLimit && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE()
72 if (mySource < sourceLimit) { in T_UConverter_toUnicode_UTF32_BE()
116 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) { in T_UConverter_toUnicode_UTF32_BE()
132 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC() local
148 while (mySource < sourceLimit && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
153 if (mySource < sourceLimit) { in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
201 if (mySource < sourceLimit in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
218 const UChar *sourceLimit = args->sourceLimit; T_UConverter_fromUnicode_UTF32_BE() local
320 const UChar *sourceLimit = args->sourceLimit; T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC() local
514 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; T_UConverter_toUnicode_UTF32_LE() local
600 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC() local
696 const UChar *sourceLimit = args->sourceLimit; T_UConverter_fromUnicode_UTF32_LE() local
806 const UChar *sourceLimit = args->sourceLimit; T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC() local
1053 const char *sourceLimit=pArgs->sourceLimit; _UTF32ToUnicodeWithOffsets() local
[all...]
H A Ducnv_u8.cpp71 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; in ucnv_toUnicode_UTF8() local
91 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_toUnicode_UTF8()
108 if (mySource < sourceLimit) in ucnv_toUnicode_UTF8()
171 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_toUnicode_UTF8()
189 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC() local
208 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
225 if (mySource < sourceLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
289 if (mySource < sourceLimit in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
305 const UChar *sourceLimit = args->sourceLimit; ucnv_fromUnicode_UTF8() local
420 const UChar *sourceLimit = args->sourceLimit; ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() local
655 const uint8_t *source, *sourceLimit; ucnv_UTF8FromUTF8() local
[all...]
H A Ducnvlat1.cpp57 length=(int32_t)((const uint8_t *)pArgs->sourceLimit-source); in _Latin1ToUnicodeWithOffsets()
125 if(source<(const uint8_t *)pArgs->sourceLimit) { in _Latin1GetNextUChar()
140 const UChar *source, *sourceLimit; in _Latin1FromUnicodeWithOffsets() local
153 sourceLimit=pArgs->sourceLimit; in _Latin1FromUnicodeWithOffsets()
174 length=(int32_t)(sourceLimit-source); in _Latin1FromUnicodeWithOffsets()
275 if(source<sourceLimit) { in _Latin1FromUnicodeWithOffsets()
311 if(U_SUCCESS(*pErrorCode) && source<sourceLimit && target>=(uint8_t *)pArgs->targetLimit) { in _Latin1FromUnicodeWithOffsets()
328 const uint8_t *source, *sourceLimit; in ucnv_Latin1FromUTF8() local
338 sourceLimit in ucnv_Latin1FromUTF8()
484 const uint8_t *source, *sourceLimit; _ASCIIToUnicodeWithOffsets() local
621 const uint8_t *source, *sourceLimit; ucnv_ASCIIFromUTF8() local
[all...]
H A Ducnv.cpp883 realSourceLimit=pArgs->sourceLimit; in _fromUnicodeWithCallback()
889 pArgs->sourceLimit=replay-cnv->preFromULength; in _fromUnicodeWithCallback()
918 * s<sourceLimit before converterSawEndOfInput is checked in _fromUnicodeWithCallback()
922 pArgs->flush && pArgs->source==pArgs->sourceLimit && in _fromUnicodeWithCallback()
972 realSourceLimit=pArgs->sourceLimit; in _fromUnicodeWithCallback()
978 pArgs->sourceLimit=replay-cnv->preFromULength; in _fromUnicodeWithCallback()
997 if(s<pArgs->sourceLimit) { in _fromUnicodeWithCallback()
1006 pArgs->sourceLimit=realSourceLimit; in _fromUnicodeWithCallback()
1071 length=(int32_t)(pArgs->sourceLimit-pArgs->source); in _fromUnicodeWithCallback()
1078 pArgs->sourceLimit in _fromUnicodeWithCallback()
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
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
1840 ucnv_getNextUChar(UConverter *cnv, const char **source, const char *sourceLimit, UErrorCode *err) ucnv_getNextUChar() 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
2412 const char *sourceLimit; ucnv_internalConvert() local
[all...]
H A Ducnv_u7.cpp214 const uint8_t *source, *sourceLimit; in _UTF7ToUnicodeWithOffsets() local
238 sourceLimit=(const uint8_t *)pArgs->sourceLimit; in _UTF7ToUnicodeWithOffsets()
267 length=(int32_t)(sourceLimit-source); in _UTF7ToUnicodeWithOffsets()
297 if(source<sourceLimit && target>=targetLimit) { in _UTF7ToUnicodeWithOffsets()
313 while(source<sourceLimit) { in _UTF7ToUnicodeWithOffsets()
440 if(U_SUCCESS(*pErrorCode) && pArgs->flush && source==sourceLimit && bits==0) { in _UTF7ToUnicodeWithOffsets()
465 const UChar *source, *sourceLimit; in _UTF7FromUnicodeWithOffsets() local
483 sourceLimit=pArgs->sourceLimit; in _UTF7FromUnicodeWithOffsets()
898 const uint8_t *source, *sourceLimit; _IMAPToUnicodeWithOffsets() local
1166 const UChar *source, *sourceLimit; _IMAPFromUnicodeWithOffsets() local
[all...]
H A Ducnvbocu.cpp395 const UChar *source, *sourceLimit; in _Bocu1FromUnicodeWithOffsets() local
407 sourceLimit=pArgs->sourceLimit; in _Bocu1FromUnicodeWithOffsets()
431 diff=(int32_t)(sourceLimit-source); in _Bocu1FromUnicodeWithOffsets()
462 while(source<sourceLimit) { in _Bocu1FromUnicodeWithOffsets()
486 if(source<sourceLimit) { in _Bocu1FromUnicodeWithOffsets()
656 const UChar *source, *sourceLimit; in _Bocu1FromUnicode() local
665 sourceLimit=pArgs->sourceLimit; in _Bocu1FromUnicode()
684 diff=(int32_t)(sourceLimit in _Bocu1FromUnicode()
959 const uint8_t *source, *sourceLimit; _Bocu1ToUnicodeWithOffsets() local
1182 const uint8_t *source, *sourceLimit; _Bocu1ToUnicode() local
[all...]
H A Ducnvmbcs.cpp1107 const UChar **source, const UChar *sourceLimit, in _extFromU()
1119 cp, source, sourceLimit, in _extFromU()
1174 const uint8_t **source, const uint8_t *sourceLimit, in _extToU()
1184 length, (const char **)source, (const char *)sourceLimit, in _extToU()
2036 const uint8_t *source, *sourceLimit; in ucnv_MBCSSingleToUnicodeWithOffsets() local
2052 sourceLimit=(const uint8_t *)pArgs->sourceLimit; in ucnv_MBCSSingleToUnicodeWithOffsets()
2067 while(source<sourceLimit) { in ucnv_MBCSSingleToUnicodeWithOffsets()
2158 1, &source, sourceLimit, in ucnv_MBCSSingleToUnicodeWithOffsets()
2188 const uint8_t *source, *sourceLimit, *lastSourc in ucnv_MBCSSingleToBMPWithOffsets() local
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) _extFromU() 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) _extToU() argument
2468 const uint8_t *source, *sourceLimit; ucnv_MBCSToUnicodeWithOffsets() local
2886 const uint8_t *source, *sourceLimit; ucnv_MBCSSingleGetNextUChar() local
2970 const uint8_t *source, *sourceLimit, *lastSource; ucnv_MBCSGetNextUChar() local
3409 const UChar *source, *sourceLimit; ucnv_MBCSDoubleFromUnicodeWithOffsets() local
3641 const UChar *source, *sourceLimit; ucnv_MBCSSingleFromUnicodeWithOffsets() local
3817 const UChar *source, *sourceLimit, *lastSource; ucnv_MBCSSingleFromBMPWithOffsets() local
4074 const UChar *source, *sourceLimit; ucnv_MBCSFromUnicodeWithOffsets() local
5024 const uint8_t *source, *sourceLimit; ucnv_SBCSFromUTF8() local
5326 const uint8_t *source, *sourceLimit; ucnv_DBCSFromUTF8() local
[all...]
/third_party/node/deps/icu-small/source/common/
H A Ducnv_u32.cpp52 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; in T_UConverter_toUnicode_UTF32_BE() local
67 while (mySource < sourceLimit && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE()
72 if (mySource < sourceLimit) { in T_UConverter_toUnicode_UTF32_BE()
116 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) { in T_UConverter_toUnicode_UTF32_BE()
132 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC() local
148 while (mySource < sourceLimit && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
153 if (mySource < sourceLimit) { in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
201 if (mySource < sourceLimit in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
218 const char16_t *sourceLimit = args->sourceLimit; T_UConverter_fromUnicode_UTF32_BE() local
320 const char16_t *sourceLimit = args->sourceLimit; T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC() local
514 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; T_UConverter_toUnicode_UTF32_LE() local
600 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC() local
696 const char16_t *sourceLimit = args->sourceLimit; T_UConverter_fromUnicode_UTF32_LE() local
806 const char16_t *sourceLimit = args->sourceLimit; T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC() local
1053 const char *sourceLimit=pArgs->sourceLimit; _UTF32ToUnicodeWithOffsets() local
[all...]
H A Ducnv_u8.cpp71 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; in ucnv_toUnicode_UTF8() local
91 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_toUnicode_UTF8()
108 if (mySource < sourceLimit) in ucnv_toUnicode_UTF8()
171 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_toUnicode_UTF8()
189 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC() local
208 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
225 if (mySource < sourceLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
289 if (mySource < sourceLimit in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
305 const char16_t *sourceLimit = args->sourceLimit; ucnv_fromUnicode_UTF8() local
420 const char16_t *sourceLimit = args->sourceLimit; ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() local
655 const uint8_t *source, *sourceLimit; ucnv_UTF8FromUTF8() local
[all...]
H A Ducnvlat1.cpp57 length=(int32_t)((const uint8_t *)pArgs->sourceLimit-source); in _Latin1ToUnicodeWithOffsets()
125 if(source<(const uint8_t *)pArgs->sourceLimit) { in _Latin1GetNextUChar()
140 const char16_t *source, *sourceLimit; in _Latin1FromUnicodeWithOffsets() local
153 sourceLimit=pArgs->sourceLimit; in _Latin1FromUnicodeWithOffsets()
174 length=(int32_t)(sourceLimit-source); in _Latin1FromUnicodeWithOffsets()
275 if(source<sourceLimit) { in _Latin1FromUnicodeWithOffsets()
311 if(U_SUCCESS(*pErrorCode) && source<sourceLimit && target>=(uint8_t *)pArgs->targetLimit) { in _Latin1FromUnicodeWithOffsets()
328 const uint8_t *source, *sourceLimit; in ucnv_Latin1FromUTF8() local
338 sourceLimit in ucnv_Latin1FromUTF8()
484 const uint8_t *source, *sourceLimit; _ASCIIToUnicodeWithOffsets() local
621 const uint8_t *source, *sourceLimit; ucnv_ASCIIFromUTF8() local
[all...]
H A Ducnv.cpp883 realSourceLimit=pArgs->sourceLimit; in _fromUnicodeWithCallback()
889 pArgs->sourceLimit=replay-cnv->preFromULength; in _fromUnicodeWithCallback()
918 * s<sourceLimit before converterSawEndOfInput is checked in _fromUnicodeWithCallback()
922 pArgs->flush && pArgs->source==pArgs->sourceLimit && in _fromUnicodeWithCallback()
972 realSourceLimit=pArgs->sourceLimit; in _fromUnicodeWithCallback()
978 pArgs->sourceLimit=replay-cnv->preFromULength; in _fromUnicodeWithCallback()
997 if(s<pArgs->sourceLimit) { in _fromUnicodeWithCallback()
1006 pArgs->sourceLimit=realSourceLimit; in _fromUnicodeWithCallback()
1071 length=(int32_t)(pArgs->sourceLimit-pArgs->source); in _fromUnicodeWithCallback()
1078 pArgs->sourceLimit in _fromUnicodeWithCallback()
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
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
1840 ucnv_getNextUChar(UConverter *cnv, const char **source, const char *sourceLimit, UErrorCode *err) ucnv_getNextUChar() 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
2412 const char *sourceLimit; ucnv_internalConvert() local
[all...]
H A Ducnv_u7.cpp214 const uint8_t *source, *sourceLimit; in _UTF7ToUnicodeWithOffsets() local
238 sourceLimit=(const uint8_t *)pArgs->sourceLimit; in _UTF7ToUnicodeWithOffsets()
267 length=(int32_t)(sourceLimit-source); in _UTF7ToUnicodeWithOffsets()
297 if(source<sourceLimit && target>=targetLimit) { in _UTF7ToUnicodeWithOffsets()
313 while(source<sourceLimit) { in _UTF7ToUnicodeWithOffsets()
440 if(U_SUCCESS(*pErrorCode) && pArgs->flush && source==sourceLimit && bits==0) { in _UTF7ToUnicodeWithOffsets()
465 const char16_t *source, *sourceLimit; in _UTF7FromUnicodeWithOffsets() local
483 sourceLimit=pArgs->sourceLimit; in _UTF7FromUnicodeWithOffsets()
898 const uint8_t *source, *sourceLimit; _IMAPToUnicodeWithOffsets() local
1166 const char16_t *source, *sourceLimit; _IMAPFromUnicodeWithOffsets() local
[all...]
H A Ducnvbocu.cpp395 const char16_t *source, *sourceLimit; in _Bocu1FromUnicodeWithOffsets() local
407 sourceLimit=pArgs->sourceLimit; in _Bocu1FromUnicodeWithOffsets()
431 diff=(int32_t)(sourceLimit-source); in _Bocu1FromUnicodeWithOffsets()
462 while(source<sourceLimit) { in _Bocu1FromUnicodeWithOffsets()
486 if(source<sourceLimit) { in _Bocu1FromUnicodeWithOffsets()
656 const char16_t *source, *sourceLimit; in _Bocu1FromUnicode() local
665 sourceLimit=pArgs->sourceLimit; in _Bocu1FromUnicode()
684 diff=(int32_t)(sourceLimit in _Bocu1FromUnicode()
959 const uint8_t *source, *sourceLimit; _Bocu1ToUnicodeWithOffsets() local
1182 const uint8_t *source, *sourceLimit; _Bocu1ToUnicode() local
[all...]
H A Ducnvmbcs.cpp1107 const char16_t **source, const char16_t *sourceLimit, in _extFromU()
1119 cp, source, sourceLimit, in _extFromU()
1174 const uint8_t **source, const uint8_t *sourceLimit, in _extToU()
1184 length, (const char **)source, (const char *)sourceLimit, in _extToU()
2036 const uint8_t *source, *sourceLimit; in ucnv_MBCSSingleToUnicodeWithOffsets() local
2052 sourceLimit=(const uint8_t *)pArgs->sourceLimit; in ucnv_MBCSSingleToUnicodeWithOffsets()
2067 while(source<sourceLimit) { in ucnv_MBCSSingleToUnicodeWithOffsets()
2158 1, &source, sourceLimit, in ucnv_MBCSSingleToUnicodeWithOffsets()
2188 const uint8_t *source, *sourceLimit, *lastSourc in ucnv_MBCSSingleToBMPWithOffsets() local
1105 _extFromU(UConverter *cnv, const UConverterSharedData *sharedData, UChar32 cp, const char16_t **source, const char16_t *sourceLimit, uint8_t **target, const uint8_t *targetLimit, int32_t **offsets, int32_t sourceIndex, UBool flush, UErrorCode *pErrorCode) _extFromU() argument
1172 _extToU(UConverter *cnv, const UConverterSharedData *sharedData, int8_t length, const uint8_t **source, const uint8_t *sourceLimit, char16_t **target, const char16_t *targetLimit, int32_t **offsets, int32_t sourceIndex, UBool flush, UErrorCode *pErrorCode) _extToU() argument
2468 const uint8_t *source, *sourceLimit; ucnv_MBCSToUnicodeWithOffsets() local
2886 const uint8_t *source, *sourceLimit; ucnv_MBCSSingleGetNextUChar() local
2970 const uint8_t *source, *sourceLimit, *lastSource; ucnv_MBCSGetNextUChar() local
3409 const char16_t *source, *sourceLimit; ucnv_MBCSDoubleFromUnicodeWithOffsets() local
3641 const char16_t *source, *sourceLimit; ucnv_MBCSSingleFromUnicodeWithOffsets() local
3817 const char16_t *source, *sourceLimit, *lastSource; ucnv_MBCSSingleFromBMPWithOffsets() local
4074 const char16_t *source, *sourceLimit; ucnv_MBCSFromUnicodeWithOffsets() local
5024 const uint8_t *source, *sourceLimit; ucnv_SBCSFromUTF8() local
5326 const uint8_t *source, *sourceLimit; ucnv_DBCSFromUTF8() local
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Ducnv_u32.cpp52 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; in T_UConverter_toUnicode_UTF32_BE() local
67 while (mySource < sourceLimit && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE()
72 if (mySource < sourceLimit) { in T_UConverter_toUnicode_UTF32_BE()
116 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) { in T_UConverter_toUnicode_UTF32_BE()
132 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC() local
148 while (mySource < sourceLimit && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
153 if (mySource < sourceLimit) { in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
201 if (mySource < sourceLimit in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
218 const UChar *sourceLimit = args->sourceLimit; T_UConverter_fromUnicode_UTF32_BE() local
320 const UChar *sourceLimit = args->sourceLimit; T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC() local
514 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; T_UConverter_toUnicode_UTF32_LE() local
600 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC() local
696 const UChar *sourceLimit = args->sourceLimit; T_UConverter_fromUnicode_UTF32_LE() local
806 const UChar *sourceLimit = args->sourceLimit; T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC() local
1053 const char *sourceLimit=pArgs->sourceLimit; _UTF32ToUnicodeWithOffsets() local
[all...]
H A Ducnv_u8.cpp71 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; in ucnv_toUnicode_UTF8() local
91 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_toUnicode_UTF8()
108 if (mySource < sourceLimit) in ucnv_toUnicode_UTF8()
171 if (mySource < sourceLimit && myTarget >= targetLimit && U_SUCCESS(*err)) in ucnv_toUnicode_UTF8()
189 const unsigned char *sourceLimit = (unsigned char *) args->sourceLimit; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC() local
208 while (mySource < sourceLimit && myTarget < targetLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
225 if (mySource < sourceLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
289 if (mySource < sourceLimit in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
305 const UChar *sourceLimit = args->sourceLimit; ucnv_fromUnicode_UTF8() local
420 const UChar *sourceLimit = args->sourceLimit; ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() local
655 const uint8_t *source, *sourceLimit; ucnv_UTF8FromUTF8() local
[all...]
H A Ducnvlat1.cpp57 length=(int32_t)((const uint8_t *)pArgs->sourceLimit-source); in _Latin1ToUnicodeWithOffsets()
125 if(source<(const uint8_t *)pArgs->sourceLimit) { in _Latin1GetNextUChar()
140 const UChar *source, *sourceLimit; in _Latin1FromUnicodeWithOffsets() local
153 sourceLimit=pArgs->sourceLimit; in _Latin1FromUnicodeWithOffsets()
174 length=(int32_t)(sourceLimit-source); in _Latin1FromUnicodeWithOffsets()
275 if(source<sourceLimit) { in _Latin1FromUnicodeWithOffsets()
311 if(U_SUCCESS(*pErrorCode) && source<sourceLimit && target>=(uint8_t *)pArgs->targetLimit) { in _Latin1FromUnicodeWithOffsets()
328 const uint8_t *source, *sourceLimit; in ucnv_Latin1FromUTF8() local
338 sourceLimit in ucnv_Latin1FromUTF8()
484 const uint8_t *source, *sourceLimit; _ASCIIToUnicodeWithOffsets() local
621 const uint8_t *source, *sourceLimit; ucnv_ASCIIFromUTF8() local
[all...]
H A Ducnv.cpp876 realSourceLimit=pArgs->sourceLimit; in _fromUnicodeWithCallback()
882 pArgs->sourceLimit=replay-cnv->preFromULength; in _fromUnicodeWithCallback()
911 * s<sourceLimit before converterSawEndOfInput is checked in _fromUnicodeWithCallback()
915 pArgs->flush && pArgs->source==pArgs->sourceLimit && in _fromUnicodeWithCallback()
965 realSourceLimit=pArgs->sourceLimit; in _fromUnicodeWithCallback()
971 pArgs->sourceLimit=replay-cnv->preFromULength; in _fromUnicodeWithCallback()
990 if(s<pArgs->sourceLimit) { in _fromUnicodeWithCallback()
999 pArgs->sourceLimit=realSourceLimit; in _fromUnicodeWithCallback()
1064 length=(int32_t)(pArgs->sourceLimit-pArgs->source); in _fromUnicodeWithCallback()
1071 pArgs->sourceLimit in _fromUnicodeWithCallback()
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
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
1833 ucnv_getNextUChar(UConverter *cnv, const char **source, const char *sourceLimit, UErrorCode *err) ucnv_getNextUChar() 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
2405 const char *sourceLimit; ucnv_internalConvert() local
[all...]
H A Ducnv_u7.cpp214 const uint8_t *source, *sourceLimit; in _UTF7ToUnicodeWithOffsets() local
238 sourceLimit=(const uint8_t *)pArgs->sourceLimit; in _UTF7ToUnicodeWithOffsets()
267 length=(int32_t)(sourceLimit-source); in _UTF7ToUnicodeWithOffsets()
297 if(source<sourceLimit && target>=targetLimit) { in _UTF7ToUnicodeWithOffsets()
313 while(source<sourceLimit) { in _UTF7ToUnicodeWithOffsets()
440 if(U_SUCCESS(*pErrorCode) && pArgs->flush && source==sourceLimit && bits==0) { in _UTF7ToUnicodeWithOffsets()
465 const UChar *source, *sourceLimit; in _UTF7FromUnicodeWithOffsets() local
483 sourceLimit=pArgs->sourceLimit; in _UTF7FromUnicodeWithOffsets()
898 const uint8_t *source, *sourceLimit; _IMAPToUnicodeWithOffsets() local
1166 const UChar *source, *sourceLimit; _IMAPFromUnicodeWithOffsets() local
[all...]
H A Ducnvbocu.cpp395 const UChar *source, *sourceLimit; in _Bocu1FromUnicodeWithOffsets() local
407 sourceLimit=pArgs->sourceLimit; in _Bocu1FromUnicodeWithOffsets()
431 diff=(int32_t)(sourceLimit-source); in _Bocu1FromUnicodeWithOffsets()
462 while(source<sourceLimit) { in _Bocu1FromUnicodeWithOffsets()
486 if(source<sourceLimit) { in _Bocu1FromUnicodeWithOffsets()
656 const UChar *source, *sourceLimit; in _Bocu1FromUnicode() local
665 sourceLimit=pArgs->sourceLimit; in _Bocu1FromUnicode()
684 diff=(int32_t)(sourceLimit in _Bocu1FromUnicode()
959 const uint8_t *source, *sourceLimit; _Bocu1ToUnicodeWithOffsets() local
1182 const uint8_t *source, *sourceLimit; _Bocu1ToUnicode() local
[all...]
H A Ducnvmbcs.cpp1107 const UChar **source, const UChar *sourceLimit, in _extFromU()
1119 cp, source, sourceLimit, in _extFromU()
1174 const uint8_t **source, const uint8_t *sourceLimit, in _extToU()
1184 length, (const char **)source, (const char *)sourceLimit, in _extToU()
2036 const uint8_t *source, *sourceLimit; in ucnv_MBCSSingleToUnicodeWithOffsets() local
2052 sourceLimit=(const uint8_t *)pArgs->sourceLimit; in ucnv_MBCSSingleToUnicodeWithOffsets()
2067 while(source<sourceLimit) { in ucnv_MBCSSingleToUnicodeWithOffsets()
2158 1, &source, sourceLimit, in ucnv_MBCSSingleToUnicodeWithOffsets()
2188 const uint8_t *source, *sourceLimit, *lastSourc in ucnv_MBCSSingleToBMPWithOffsets() local
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) _extFromU() 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) _extToU() argument
2468 const uint8_t *source, *sourceLimit; ucnv_MBCSToUnicodeWithOffsets() local
2886 const uint8_t *source, *sourceLimit; ucnv_MBCSSingleGetNextUChar() local
2970 const uint8_t *source, *sourceLimit, *lastSource; ucnv_MBCSGetNextUChar() local
3409 const UChar *source, *sourceLimit; ucnv_MBCSDoubleFromUnicodeWithOffsets() local
3641 const UChar *source, *sourceLimit; ucnv_MBCSSingleFromUnicodeWithOffsets() local
3817 const UChar *source, *sourceLimit, *lastSource; ucnv_MBCSSingleFromBMPWithOffsets() local
4074 const UChar *source, *sourceLimit; ucnv_MBCSFromUnicodeWithOffsets() local
5024 const uint8_t *source, *sourceLimit; ucnv_SBCSFromUTF8() local
5326 const uint8_t *source, *sourceLimit; ucnv_DBCSFromUTF8() local
[all...]
/third_party/icu/icu4c/source/samples/ucnv/
H A Dconvsamp.cpp290 the source pointer will be equal to sourceLimit. If the output
303 const char *sourceLimit; in convsample_05() local
336 sourceLimit = inBuf + count; in convsample_05()
344 &source, sourceLimit, NULL, in convsample_05()
371 } while (source < sourceLimit); // while simply out of space in convsample_05()
403 const char *sourceLimit; in convsample_06() local
451 sourceLimit = inBuf + count; in convsample_06()
453 while(source < sourceLimit) in convsample_06()
455 p = ucnv_getNextUChar(conv, &source, sourceLimit, &status); in convsample_06()
575 const char *source, *sourceLimit; in convsample_13() local
882 const char *sourceLimit; convsample_40() local
986 const UChar *sourceLimit; convsample_46() local
[all...]
/third_party/skia/third_party/externals/icu/source/samples/ucnv/
H A Dconvsamp.cpp290 the source pointer will be equal to sourceLimit. If the output
303 const char *sourceLimit; in convsample_05() local
336 sourceLimit = inBuf + count; in convsample_05()
344 &source, sourceLimit, NULL, in convsample_05()
371 } while (source < sourceLimit); // while simply out of space in convsample_05()
403 const char *sourceLimit; in convsample_06() local
451 sourceLimit = inBuf + count; in convsample_06()
453 while(source < sourceLimit) in convsample_06()
455 p = ucnv_getNextUChar(conv, &source, sourceLimit, &status); in convsample_06()
575 const char *source, *sourceLimit; in convsample_13() local
882 const char *sourceLimit; convsample_40() local
986 const UChar *sourceLimit; convsample_46() local
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Dconvtest.cpp728 const char *sourceLimit = text + strlen(text); in TestUTF8ToUTF8Overflow() local
741 &target, result + 2, &source, sourceLimit, in TestUTF8ToUTF8Overflow()
751 &target, targetLimit, &source, sourceLimit, in TestUTF8ToUTF8Overflow()
767 sourceLimit = text2 + strlen(text2); in TestUTF8ToUTF8Overflow()
774 &target, result + 3, &source, sourceLimit, in TestUTF8ToUTF8Overflow()
784 &target, targetLimit, &source, sourceLimit, in TestUTF8ToUTF8Overflow()
800 sourceLimit = illFormed + strlen(illFormed); in TestUTF8ToUTF8Overflow()
827 &target, targetLimit, &source, sourceLimit, in TestUTF8ToUTF8Overflow()
863 const char* sourceLimit = text + chunk1; in TestUTF8ToUTF8Streaming() local
876 &target, result + targetLen, &source, sourceLimit, in TestUTF8ToUTF8Streaming()
1013 const char *source, *sourceLimit, *bytesLimit; stepToUnicode() local
1419 const char *source, *sourceLimit, *utf8Limit; stepFromUTF8() local
1525 const UChar *source, *sourceLimit, *unicodeLimit; stepFromUnicode() local
[all...]
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
H A DCharsetUTF8.java65 int sourceLimit = source.arrayOffset() + source.limit(); in decodeLoop()
94 if (sourceIndex >= sourceLimit) { in decodeLoop()
142 if (sourceIndex >= sourceLimit) { in decodeLoop()
154 if (sourceIndex >= sourceLimit) { in decodeLoop()
188 int sourceLimit = source.limit(); in decodeLoop()
216 if (sourceIndex >= sourceLimit) { in decodeLoop()
268 if (sourceIndex >= sourceLimit) { in decodeLoop()
280 if (sourceIndex >= sourceLimit) { in decodeLoop()
343 int sourceLimit = source.arrayOffset() + source.limit(); in encodeLoop()
357 cr = encodeFourBytes(sourceArray, targetArray, sourceLimit, targetLimi in encodeLoop()
518 encodeFourBytes(char[] sourceArray, byte[] targetArray, int sourceLimit, int targetLimit, int char32) encodeFourBytes() argument
[all...]

Completed in 237 milliseconds

1234