Home
last modified time | relevance | path

Searched refs:cnv (Results 1 - 25 of 130) sorted by relevance

123456

/third_party/icu/icu4c/source/common/
H A Ducnv.cpp158 ucnv_safeClone(const UConverter* cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status) in ucnv_safeClone() argument
192 if (cnv == NULL) { in ucnv_safeClone()
199 ucnv_getName(cnv, status), cnv, stackBuffer); in ucnv_safeClone()
201 if (cnv->sharedData->impl->safeClone != NULL) { in ucnv_safeClone()
204 cnv->sharedData->impl->safeClone(cnv, NULL, &bufferSizeNeeded, status); in ucnv_safeClone()
271 uprv_memcpy(localConverter, cnv, sizeof(UConverter)); in ucnv_safeClone()
275 if (cnv->subChars == (uint8_t *)cnv in ucnv_safeClone()
324 ucnv_clone(const UConverter* cnv, UErrorCode *status) ucnv_clone() argument
481 ucnv_setSubstString(UConverter *cnv, const UChar *s, int32_t length, UErrorCode *err) ucnv_setSubstString() argument
835 UConverter *cnv; _fromUnicodeWithCallback() local
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
1280 UConverter *cnv; _toUnicodeWithCallback() local
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
1724 ucnv_fromUChars(UConverter *cnv, char *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) ucnv_fromUChars() argument
1780 ucnv_toUChars(UConverter *cnv, UChar *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) ucnv_toUChars() argument
1840 ucnv_getNextUChar(UConverter *cnv, const char **source, const char *sourceLimit, UErrorCode *err) ucnv_getNextUChar() argument
2526 ucnv_convertAlgorithmic(UBool convertToAlgorithmic, UConverterType algorithmicType, UConverter *cnv, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) ucnv_convertAlgorithmic() argument
2583 ucnv_toAlgorithmic(UConverterType algorithmicType, UConverter *cnv, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) ucnv_toAlgorithmic() argument
2595 ucnv_fromAlgorithmic(UConverter *cnv, UConverterType algorithmicType, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) ucnv_fromAlgorithmic() argument
2634 ucnv_getAmbiguous(const UConverter *cnv) ucnv_getAmbiguous() argument
2662 ucnv_fixFileSeparator(const UConverter *cnv, UChar* source, int32_t sourceLength) ucnv_fixFileSeparator() argument
2683 ucnv_isAmbiguous(const UConverter *cnv) ucnv_isAmbiguous() argument
2688 ucnv_setFallback(UConverter *cnv, UBool usesFallback) ucnv_setFallback() argument
2694 ucnv_usesFallback(const UConverter *cnv) ucnv_usesFallback() argument
2843 ucnv_fromUCountPending(const UConverter* cnv, UErrorCode* status) ucnv_fromUCountPending() argument
2865 ucnv_toUCountPending(const UConverter* cnv, UErrorCode* status) ucnv_toUCountPending() argument
2886 ucnv_isFixedWidth(UConverter *cnv, UErrorCode *status) ucnv_isFixedWidth() argument
[all...]
H A Ducnv_u16.cpp54 UConverter *cnv; in _UTF16BEFromUnicodeWithOffsets() local
70 cnv=pArgs->converter; in _UTF16BEFromUnicodeWithOffsets()
73 if(cnv->fromUnicodeStatus==UCNV_NEED_TO_WRITE_BOM) { in _UTF16BEFromUnicodeWithOffsets()
75 ucnv_fromUWriteBytes(cnv, in _UTF16BEFromUnicodeWithOffsets()
80 cnv->fromUnicodeStatus=0; in _UTF16BEFromUnicodeWithOffsets()
95 if((c=(UChar)cnv->fromUChar32)!=0 && U16_IS_TRAIL(trail=*source) && targetCapacity>=4) { in _UTF16BEFromUnicodeWithOffsets()
112 cnv->fromUChar32=c=0; in _UTF16BEFromUnicodeWithOffsets()
232 cnv->fromUChar32=c; in _UTF16BEFromUnicodeWithOffsets()
237 ucnv_fromUWriteBytes(cnv, in _UTF16BEFromUnicodeWithOffsets()
258 UConverter *cnv; in _UTF16BEToUnicodeWithOffsets() local
573 _UTF16BEReset(UConverter *cnv, UConverterResetChoice choice) _UTF16BEReset() argument
589 _UTF16BEOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *pErrorCode) _UTF16BEOpen() argument
601 _UTF16BEGetName(const UConverter *cnv) _UTF16BEGetName() argument
655 UConverter *cnv; _UTF16LEFromUnicodeWithOffsets() local
859 UConverter *cnv; _UTF16LEToUnicodeWithOffsets() local
1174 _UTF16LEReset(UConverter *cnv, UConverterResetChoice choice) _UTF16LEReset() argument
1190 _UTF16LEOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *pErrorCode) _UTF16LEOpen() argument
1202 _UTF16LEGetName(const UConverter *cnv) _UTF16LEGetName() argument
1279 _UTF16Reset(UConverter *cnv, UConverterResetChoice choice) _UTF16Reset() argument
1293 _UTF16Open(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *pErrorCode) _UTF16Open() argument
1314 _UTF16GetName(const UConverter *cnv) _UTF16GetName() argument
1326 IS_UTF16BE(const UConverter *cnv) IS_UTF16BE() argument
1330 IS_UTF16LE(const UConverter *cnv) IS_UTF16LE() argument
1334 IS_UTF16(const UConverter *cnv) IS_UTF16() argument
1342 UConverter *cnv=pArgs->converter; _UTF16ToUnicodeWithOffsets() local
[all...]
H A Ducnv_ext.cpp237 ucnv_extWriteToU(UConverter *cnv, const int32_t *cx, in ucnv_extWriteToU() argument
246 cnv, UCNV_EXT_TO_U_GET_CODE_POINT(value), in ucnv_extWriteToU()
253 cnv, in ucnv_extWriteToU()
269 * cnv->mode==0 is equivalent to firstLength==1.
271 #define UCNV_SISO_STATE(cnv) \
272 ((cnv)->sharedData->mbcs.outputType==MBCS_OUTPUT_2_SISO ? (int8_t)(cnv)->mode : \
273 (cnv)->sharedData->mbcs.outputType==MBCS_OUTPUT_DBCS_ONLY ? 1 : -1)
279 ucnv_extInitialMatchToU(UConverter *cnv, const int32_t *cx, in ucnv_extInitialMatchToU() argument
290 match=ucnv_extMatchToU(cx, (int8_t)UCNV_SISO_STATE(cnv), in ucnv_extInitialMatchToU()
371 ucnv_extContinueMatchToU(UConverter *cnv, UConverterToUnicodeArgs *pArgs, int32_t srcIndex, UErrorCode *pErrorCode) ucnv_extContinueMatchToU() argument
672 ucnv_extWriteFromU(UConverter *cnv, const int32_t *cx, uint32_t value, char **target, const char *targetLimit, int32_t **offsets, int32_t srcIndex, UErrorCode *pErrorCode) ucnv_extWriteFromU() argument
750 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) ucnv_extInitialMatchFromU() argument
867 ucnv_extContinueMatchFromU(UConverter *cnv, UConverterFromUnicodeArgs *pArgs, int32_t srcIndex, UErrorCode *pErrorCode) ucnv_extContinueMatchFromU() argument
[all...]
H A Ducnv_u8.cpp56 static UBool hasCESU8Data(const UConverter *cnv) in hasCESU8Data() argument
61 return (UBool)(cnv->sharedData == &_CESU8Data); in hasCESU8Data()
68 UConverter *cnv = args->converter; in ucnv_toUnicode_UTF8() local
73 unsigned char *toUBytes = cnv->toUBytes; in ucnv_toUnicode_UTF8()
74 UBool isCESU8 = hasCESU8Data(cnv); in ucnv_toUnicode_UTF8()
79 if (cnv->toULength > 0 && myTarget < targetLimit) in ucnv_toUnicode_UTF8()
81 inBytes = cnv->mode; /* restore # of bytes to consume */ in ucnv_toUnicode_UTF8()
82 i = cnv->toULength; /* restore # of bytes consumed */ in ucnv_toUnicode_UTF8()
83 cnv->toULength = 0; in ucnv_toUnicode_UTF8()
85 ch = cnv in ucnv_toUnicode_UTF8()
184 UConverter *cnv = args->converter; ucnv_toUnicode_UTF8_OFFSETS_LOGIC() local
303 UConverter *cnv = args->converter; ucnv_fromUnicode_UTF8() local
417 UConverter *cnv = args->converter; ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() local
556 UConverter *cnv; ucnv_getNextUChar_UTF8() local
[all...]
H A Ducnv_u7.cpp184 _UTF7Reset(UConverter *cnv, UConverterResetChoice choice) { in _UTF7Reset() argument
187 cnv->toUnicodeStatus=0x1000000; /* inDirectMode=true */ in _UTF7Reset()
188 cnv->toULength=0; in _UTF7Reset()
192 cnv->fromUnicodeStatus=(cnv->fromUnicodeStatus&0xf0000000)|0x1000000; /* keep version, inDirectMode=true */ in _UTF7Reset()
197 _UTF7Open(UConverter *cnv, in _UTF7Open() argument
201 if(UCNV_GET_VERSION(cnv)<=1) { in _UTF7Open()
202 /* TODO(markus): Should just use cnv->options rather than copying the version number. */ in _UTF7Open()
203 cnv->fromUnicodeStatus=UCNV_GET_VERSION(cnv)<<2 in _UTF7Open()
213 UConverter *cnv; _UTF7ToUnicodeWithOffsets() local
464 UConverter *cnv; _UTF7FromUnicodeWithOffsets() local
738 _UTF7GetName(const UConverter *cnv) _UTF7GetName() argument
897 UConverter *cnv; _IMAPToUnicodeWithOffsets() local
1165 UConverter *cnv; _IMAPFromUnicodeWithOffsets() local
[all...]
H A Ducnvmbcs.cpp119 * - Added an optional extension table structure at the end of the .cnv file.
391 ucnv_MBCSOpen(UConverter *cnv,
400 ucnv_MBCSGetStarters(const UConverter* cnv,
406 ucnv_MBCSGetName(const UConverter *cnv);
424 ucnv_MBCSGetUnicodeSet(const UConverter *cnv,
1075 ucnv_MBCSGetUnicodeSet(const UConverter *cnv, in ucnv_MBCSGetUnicodeSet() argument
1079 if(cnv->options&_MBCS_OPTION_GB18030) { in ucnv_MBCSGetUnicodeSet()
1083 ucnv_MBCSGetUnicodeSetForUnicode(cnv->sharedData, sa, which, pErrorCode); in ucnv_MBCSGetUnicodeSet()
1101 * @return if(U_FAILURE) return the code point for cnv->fromUChar32
1105 _extFromU(UConverter *cnv, cons 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
1898 ucnv_MBCSOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *pErrorCode) ucnv_MBCSOpen() argument
1991 ucnv_MBCSGetName(const UConverter *cnv) ucnv_MBCSGetName() argument
2035 UConverter *cnv; ucnv_MBCSSingleToUnicodeWithOffsets() local
2187 UConverter *cnv; ucnv_MBCSSingleToBMPWithOffsets() local
2467 UConverter *cnv; ucnv_MBCSToUnicodeWithOffsets() local
2884 UConverter *cnv; ucnv_MBCSSingleGetNextUChar() local
2969 UConverter *cnv; ucnv_MBCSGetNextUChar() local
3408 UConverter *cnv; ucnv_MBCSDoubleFromUnicodeWithOffsets() local
3640 UConverter *cnv; ucnv_MBCSSingleFromUnicodeWithOffsets() local
3816 UConverter *cnv; ucnv_MBCSSingleFromBMPWithOffsets() local
4073 UConverter *cnv; ucnv_MBCSFromUnicodeWithOffsets() local
5023 UConverter *utf8, *cnv; ucnv_SBCSFromUTF8() local
5325 UConverter *utf8, *cnv; ucnv_DBCSFromUTF8() local
5628 ucnv_MBCSGetStarters(const UConverter* cnv, UBool starters[256], UErrorCode *) ucnv_MBCSGetStarters() argument
5654 UConverter *cnv=pArgs->converter; ucnv_MBCSWriteSub() local
[all...]
H A Dustr_cnv.cpp138 UConverter *cnv = u_getDefaultConverter(&err); in u_uastrncpy() local
139 if(U_SUCCESS(err) && cnv != NULL) { in u_uastrncpy()
140 ucnv_reset(cnv); in u_uastrncpy()
141 ucnv_toUnicode(cnv, in u_uastrncpy()
149 ucnv_reset(cnv); /* be good citizens */ in u_uastrncpy()
150 u_releaseDefaultConverter(cnv); in u_uastrncpy()
168 UConverter *cnv = u_getDefaultConverter(&err); in u_uastrcpy() local
169 if(U_SUCCESS(err) && cnv != NULL) { in u_uastrcpy()
170 ucnv_toUChars(cnv, in u_uastrcpy()
176 u_releaseDefaultConverter(cnv); in u_uastrcpy()
210 UConverter *cnv = u_getDefaultConverter(&err); u_austrncpy() local
240 UConverter *cnv = u_getDefaultConverter(&err); u_austrcpy() local
[all...]
H A Ducnvhz.cpp72 _HZOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode){ in _HZOpen() argument
82 cnv->toUnicodeStatus = 0; in _HZOpen()
83 cnv->fromUnicodeStatus= 0; in _HZOpen()
84 cnv->mode=0; in _HZOpen()
85 cnv->fromUChar32=0x0000; in _HZOpen()
86 cnv->extraInfo = uprv_calloc(1, sizeof(UConverterDataHZ)); in _HZOpen()
87 if(cnv->extraInfo != NULL){ in _HZOpen()
88 ((UConverterDataHZ*)cnv->extraInfo)->gbConverter = gbConverter; in _HZOpen()
98 _HZClose(UConverter *cnv){ in _HZClose() argument
99 if(cnv in _HZClose()
109 _HZReset(UConverter *cnv, UConverterResetChoice choice) _HZReset() argument
501 UConverter *cnv = args->converter; _HZ_WriteSub() local
524 UConverter cnv; global() member
531 _HZ_SafeClone(const UConverter *cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status) _HZ_SafeClone() argument
564 _HZ_GetUnicodeSet(const UConverter *cnv, const USetAdder *sa, UConverterUnicodeSet which, UErrorCode *pErrorCode) _HZ_GetUnicodeSet() argument
[all...]
H A Ducnv_cnv.cpp32 ucnv_getCompleteUnicodeSet(const UConverter *cnv, in ucnv_getCompleteUnicodeSet() argument
36 (void)cnv; in ucnv_getCompleteUnicodeSet()
43 ucnv_getNonSurrogateUnicodeSet(const UConverter *cnv, in ucnv_getNonSurrogateUnicodeSet() argument
47 (void)cnv; in ucnv_getNonSurrogateUnicodeSet()
55 ucnv_fromUWriteBytes(UConverter *cnv, in ucnv_fromUWriteBytes() argument
83 if(cnv!=NULL) { in ucnv_fromUWriteBytes()
84 t=(char *)cnv->charErrorBuffer; in ucnv_fromUWriteBytes()
85 cnv->charErrorBufferLength=(int8_t)length; in ucnv_fromUWriteBytes()
95 ucnv_toUWriteUChars(UConverter *cnv, in ucnv_toUWriteUChars() argument
123 if(cnv! in ucnv_toUWriteUChars()
135 ucnv_toUWriteCodePoint(UConverter *cnv, UChar32 c, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) ucnv_toUWriteCodePoint() argument
[all...]
/third_party/node/deps/icu-small/source/common/
H A Ducnv.cpp158 ucnv_safeClone(const UConverter* cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status) in ucnv_safeClone() argument
192 if (cnv == nullptr) { in ucnv_safeClone()
199 ucnv_getName(cnv, status), cnv, stackBuffer); in ucnv_safeClone()
201 if (cnv->sharedData->impl->safeClone != nullptr) { in ucnv_safeClone()
204 cnv->sharedData->impl->safeClone(cnv, nullptr, &bufferSizeNeeded, status); in ucnv_safeClone()
271 uprv_memcpy(localConverter, cnv, sizeof(UConverter)); in ucnv_safeClone()
275 if (cnv->subChars == (uint8_t *)cnv in ucnv_safeClone()
324 ucnv_clone(const UConverter* cnv, UErrorCode *status) ucnv_clone() argument
481 ucnv_setSubstString(UConverter *cnv, const char16_t *s, int32_t length, UErrorCode *err) ucnv_setSubstString() argument
835 UConverter *cnv; _fromUnicodeWithCallback() local
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
1280 UConverter *cnv; _toUnicodeWithCallback() local
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
1724 ucnv_fromUChars(UConverter *cnv, char *dest, int32_t destCapacity, const char16_t *src, int32_t srcLength, UErrorCode *pErrorCode) ucnv_fromUChars() argument
1780 ucnv_toUChars(UConverter *cnv, char16_t *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) ucnv_toUChars() argument
1840 ucnv_getNextUChar(UConverter *cnv, const char **source, const char *sourceLimit, UErrorCode *err) ucnv_getNextUChar() argument
2526 ucnv_convertAlgorithmic(UBool convertToAlgorithmic, UConverterType algorithmicType, UConverter *cnv, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) ucnv_convertAlgorithmic() argument
2583 ucnv_toAlgorithmic(UConverterType algorithmicType, UConverter *cnv, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) ucnv_toAlgorithmic() argument
2639 ucnv_getAmbiguous(const UConverter *cnv) ucnv_getAmbiguous() argument
2667 ucnv_fixFileSeparator(const UConverter *cnv, char16_t* source, int32_t sourceLength) ucnv_fixFileSeparator() argument
2688 ucnv_isAmbiguous(const UConverter *cnv) ucnv_isAmbiguous() argument
2693 ucnv_setFallback(UConverter *cnv, UBool usesFallback) ucnv_setFallback() argument
2699 ucnv_usesFallback(const UConverter *cnv) ucnv_usesFallback() argument
2848 ucnv_fromUCountPending(const UConverter* cnv, UErrorCode* status) ucnv_fromUCountPending() argument
2870 ucnv_toUCountPending(const UConverter* cnv, UErrorCode* status) ucnv_toUCountPending() argument
2891 ucnv_isFixedWidth(UConverter *cnv, UErrorCode *status) ucnv_isFixedWidth() argument
[all...]
H A Ducnv_u16.cpp54 UConverter *cnv; in _UTF16BEFromUnicodeWithOffsets() local
70 cnv=pArgs->converter; in _UTF16BEFromUnicodeWithOffsets()
73 if(cnv->fromUnicodeStatus==UCNV_NEED_TO_WRITE_BOM) { in _UTF16BEFromUnicodeWithOffsets()
75 ucnv_fromUWriteBytes(cnv, in _UTF16BEFromUnicodeWithOffsets()
80 cnv->fromUnicodeStatus=0; in _UTF16BEFromUnicodeWithOffsets()
95 if((c=(char16_t)cnv->fromUChar32)!=0 && U16_IS_TRAIL(trail=*source) && targetCapacity>=4) { in _UTF16BEFromUnicodeWithOffsets()
112 cnv->fromUChar32=c=0; in _UTF16BEFromUnicodeWithOffsets()
232 cnv->fromUChar32=c; in _UTF16BEFromUnicodeWithOffsets()
237 ucnv_fromUWriteBytes(cnv, in _UTF16BEFromUnicodeWithOffsets()
258 UConverter *cnv; in _UTF16BEToUnicodeWithOffsets() local
573 _UTF16BEReset(UConverter *cnv, UConverterResetChoice choice) _UTF16BEReset() argument
589 _UTF16BEOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *pErrorCode) _UTF16BEOpen() argument
601 _UTF16BEGetName(const UConverter *cnv) _UTF16BEGetName() argument
655 UConverter *cnv; _UTF16LEFromUnicodeWithOffsets() local
859 UConverter *cnv; _UTF16LEToUnicodeWithOffsets() local
1174 _UTF16LEReset(UConverter *cnv, UConverterResetChoice choice) _UTF16LEReset() argument
1190 _UTF16LEOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *pErrorCode) _UTF16LEOpen() argument
1202 _UTF16LEGetName(const UConverter *cnv) _UTF16LEGetName() argument
1279 _UTF16Reset(UConverter *cnv, UConverterResetChoice choice) _UTF16Reset() argument
1293 _UTF16Open(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *pErrorCode) _UTF16Open() argument
1314 _UTF16GetName(const UConverter *cnv) _UTF16GetName() argument
1326 IS_UTF16BE(const UConverter *cnv) IS_UTF16BE() argument
1330 IS_UTF16LE(const UConverter *cnv) IS_UTF16LE() argument
1334 IS_UTF16(const UConverter *cnv) IS_UTF16() argument
1342 UConverter *cnv=pArgs->converter; _UTF16ToUnicodeWithOffsets() local
[all...]
H A Ducnv_ext.cpp237 ucnv_extWriteToU(UConverter *cnv, const int32_t *cx, in ucnv_extWriteToU() argument
246 cnv, UCNV_EXT_TO_U_GET_CODE_POINT(value), in ucnv_extWriteToU()
253 cnv, in ucnv_extWriteToU()
269 * cnv->mode==0 is equivalent to firstLength==1.
271 #define UCNV_SISO_STATE(cnv) \
272 ((cnv)->sharedData->mbcs.outputType==MBCS_OUTPUT_2_SISO ? (int8_t)(cnv)->mode : \
273 (cnv)->sharedData->mbcs.outputType==MBCS_OUTPUT_DBCS_ONLY ? 1 : -1)
279 ucnv_extInitialMatchToU(UConverter *cnv, const int32_t *cx, in ucnv_extInitialMatchToU() argument
290 match=ucnv_extMatchToU(cx, (int8_t)UCNV_SISO_STATE(cnv), in ucnv_extInitialMatchToU()
371 ucnv_extContinueMatchToU(UConverter *cnv, UConverterToUnicodeArgs *pArgs, int32_t srcIndex, UErrorCode *pErrorCode) ucnv_extContinueMatchToU() argument
672 ucnv_extWriteFromU(UConverter *cnv, const int32_t *cx, uint32_t value, char **target, const char *targetLimit, int32_t **offsets, int32_t srcIndex, UErrorCode *pErrorCode) ucnv_extWriteFromU() argument
750 ucnv_extInitialMatchFromU(UConverter *cnv, const int32_t *cx, UChar32 cp, const char16_t **src, const char16_t *srcLimit, char **target, const char *targetLimit, int32_t **offsets, int32_t srcIndex, UBool flush, UErrorCode *pErrorCode) ucnv_extInitialMatchFromU() argument
867 ucnv_extContinueMatchFromU(UConverter *cnv, UConverterFromUnicodeArgs *pArgs, int32_t srcIndex, UErrorCode *pErrorCode) ucnv_extContinueMatchFromU() argument
[all...]
H A Ducnv_u8.cpp56 static UBool hasCESU8Data(const UConverter *cnv) in hasCESU8Data() argument
61 return (UBool)(cnv->sharedData == &_CESU8Data); in hasCESU8Data()
68 UConverter *cnv = args->converter; in ucnv_toUnicode_UTF8() local
73 unsigned char *toUBytes = cnv->toUBytes; in ucnv_toUnicode_UTF8()
74 UBool isCESU8 = hasCESU8Data(cnv); in ucnv_toUnicode_UTF8()
79 if (cnv->toULength > 0 && myTarget < targetLimit) in ucnv_toUnicode_UTF8()
81 inBytes = cnv->mode; /* restore # of bytes to consume */ in ucnv_toUnicode_UTF8()
82 i = cnv->toULength; /* restore # of bytes consumed */ in ucnv_toUnicode_UTF8()
83 cnv->toULength = 0; in ucnv_toUnicode_UTF8()
85 ch = cnv in ucnv_toUnicode_UTF8()
184 UConverter *cnv = args->converter; ucnv_toUnicode_UTF8_OFFSETS_LOGIC() local
303 UConverter *cnv = args->converter; ucnv_fromUnicode_UTF8() local
417 UConverter *cnv = args->converter; ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() local
556 UConverter *cnv; ucnv_getNextUChar_UTF8() local
[all...]
H A Ducnv_u7.cpp184 _UTF7Reset(UConverter *cnv, UConverterResetChoice choice) { in _UTF7Reset() argument
187 cnv->toUnicodeStatus=0x1000000; /* inDirectMode=true */ in _UTF7Reset()
188 cnv->toULength=0; in _UTF7Reset()
192 cnv->fromUnicodeStatus=(cnv->fromUnicodeStatus&0xf0000000)|0x1000000; /* keep version, inDirectMode=true */ in _UTF7Reset()
197 _UTF7Open(UConverter *cnv, in _UTF7Open() argument
201 if(UCNV_GET_VERSION(cnv)<=1) { in _UTF7Open()
202 /* TODO(markus): Should just use cnv->options rather than copying the version number. */ in _UTF7Open()
203 cnv->fromUnicodeStatus=UCNV_GET_VERSION(cnv)<<2 in _UTF7Open()
213 UConverter *cnv; _UTF7ToUnicodeWithOffsets() local
464 UConverter *cnv; _UTF7FromUnicodeWithOffsets() local
738 _UTF7GetName(const UConverter *cnv) _UTF7GetName() argument
897 UConverter *cnv; _IMAPToUnicodeWithOffsets() local
1165 UConverter *cnv; _IMAPFromUnicodeWithOffsets() local
[all...]
H A Ducnvmbcs.cpp119 * - Added an optional extension table structure at the end of the .cnv file.
391 ucnv_MBCSOpen(UConverter *cnv,
400 ucnv_MBCSGetStarters(const UConverter* cnv,
406 ucnv_MBCSGetName(const UConverter *cnv);
424 ucnv_MBCSGetUnicodeSet(const UConverter *cnv,
1075 ucnv_MBCSGetUnicodeSet(const UConverter *cnv, in ucnv_MBCSGetUnicodeSet() argument
1079 if(cnv->options&_MBCS_OPTION_GB18030) { in ucnv_MBCSGetUnicodeSet()
1083 ucnv_MBCSGetUnicodeSetForUnicode(cnv->sharedData, sa, which, pErrorCode); in ucnv_MBCSGetUnicodeSet()
1101 * @return if(U_FAILURE) return the code point for cnv->fromUChar32
1105 _extFromU(UConverter *cnv, cons 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
1898 ucnv_MBCSOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *pErrorCode) ucnv_MBCSOpen() argument
1991 ucnv_MBCSGetName(const UConverter *cnv) ucnv_MBCSGetName() argument
2035 UConverter *cnv; ucnv_MBCSSingleToUnicodeWithOffsets() local
2187 UConverter *cnv; ucnv_MBCSSingleToBMPWithOffsets() local
2467 UConverter *cnv; ucnv_MBCSToUnicodeWithOffsets() local
2884 UConverter *cnv; ucnv_MBCSSingleGetNextUChar() local
2969 UConverter *cnv; ucnv_MBCSGetNextUChar() local
3408 UConverter *cnv; ucnv_MBCSDoubleFromUnicodeWithOffsets() local
3640 UConverter *cnv; ucnv_MBCSSingleFromUnicodeWithOffsets() local
3816 UConverter *cnv; ucnv_MBCSSingleFromBMPWithOffsets() local
4073 UConverter *cnv; ucnv_MBCSFromUnicodeWithOffsets() local
5023 UConverter *utf8, *cnv; ucnv_SBCSFromUTF8() local
5325 UConverter *utf8, *cnv; ucnv_DBCSFromUTF8() local
5628 ucnv_MBCSGetStarters(const UConverter* cnv, UBool starters[256], UErrorCode *) ucnv_MBCSGetStarters() argument
5654 UConverter *cnv=pArgs->converter; ucnv_MBCSWriteSub() local
[all...]
H A Dustr_cnv.cpp138 UConverter *cnv = u_getDefaultConverter(&err); in u_uastrncpy() local
139 if(U_SUCCESS(err) && cnv != nullptr) { in u_uastrncpy()
140 ucnv_reset(cnv); in u_uastrncpy()
141 ucnv_toUnicode(cnv, in u_uastrncpy()
149 ucnv_reset(cnv); /* be good citizens */ in u_uastrncpy()
150 u_releaseDefaultConverter(cnv); in u_uastrncpy()
168 UConverter *cnv = u_getDefaultConverter(&err); in u_uastrcpy() local
169 if(U_SUCCESS(err) && cnv != nullptr) { in u_uastrcpy()
170 ucnv_toUChars(cnv, in u_uastrcpy()
176 u_releaseDefaultConverter(cnv); in u_uastrcpy()
210 UConverter *cnv = u_getDefaultConverter(&err); u_austrncpy() local
240 UConverter *cnv = u_getDefaultConverter(&err); u_austrcpy() local
[all...]
H A Ducnvhz.cpp72 _HZOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode){ in _HZOpen() argument
82 cnv->toUnicodeStatus = 0; in _HZOpen()
83 cnv->fromUnicodeStatus= 0; in _HZOpen()
84 cnv->mode=0; in _HZOpen()
85 cnv->fromUChar32=0x0000; in _HZOpen()
86 cnv->extraInfo = uprv_calloc(1, sizeof(UConverterDataHZ)); in _HZOpen()
87 if(cnv->extraInfo != nullptr){ in _HZOpen()
88 ((UConverterDataHZ*)cnv->extraInfo)->gbConverter = gbConverter; in _HZOpen()
98 _HZClose(UConverter *cnv){ in _HZClose() argument
99 if(cnv in _HZClose()
109 _HZReset(UConverter *cnv, UConverterResetChoice choice) _HZReset() argument
501 UConverter *cnv = args->converter; _HZ_WriteSub() local
524 UConverter cnv; global() member
531 _HZ_SafeClone(const UConverter *cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status) _HZ_SafeClone() argument
564 _HZ_GetUnicodeSet(const UConverter *cnv, const USetAdder *sa, UConverterUnicodeSet which, UErrorCode *pErrorCode) _HZ_GetUnicodeSet() argument
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Ducnv.cpp158 ucnv_safeClone(const UConverter* cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status) in ucnv_safeClone() argument
192 if (cnv == NULL) { in ucnv_safeClone()
199 ucnv_getName(cnv, status), cnv, stackBuffer); in ucnv_safeClone()
201 if (cnv->sharedData->impl->safeClone != NULL) { in ucnv_safeClone()
204 cnv->sharedData->impl->safeClone(cnv, NULL, &bufferSizeNeeded, status); in ucnv_safeClone()
268 uprv_memcpy(localConverter, cnv, sizeof(UConverter)); in ucnv_safeClone()
272 if (cnv->subChars == (uint8_t *)cnv in ucnv_safeClone()
474 ucnv_setSubstString(UConverter *cnv, const UChar *s, int32_t length, UErrorCode *err) ucnv_setSubstString() argument
828 UConverter *cnv; _fromUnicodeWithCallback() local
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
1273 UConverter *cnv; _toUnicodeWithCallback() local
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
1717 ucnv_fromUChars(UConverter *cnv, char *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) ucnv_fromUChars() argument
1773 ucnv_toUChars(UConverter *cnv, UChar *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) ucnv_toUChars() argument
1833 ucnv_getNextUChar(UConverter *cnv, const char **source, const char *sourceLimit, UErrorCode *err) ucnv_getNextUChar() argument
2519 ucnv_convertAlgorithmic(UBool convertToAlgorithmic, UConverterType algorithmicType, UConverter *cnv, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) ucnv_convertAlgorithmic() argument
2576 ucnv_toAlgorithmic(UConverterType algorithmicType, UConverter *cnv, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) ucnv_toAlgorithmic() argument
2588 ucnv_fromAlgorithmic(UConverter *cnv, UConverterType algorithmicType, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) ucnv_fromAlgorithmic() argument
2627 ucnv_getAmbiguous(const UConverter *cnv) ucnv_getAmbiguous() argument
2655 ucnv_fixFileSeparator(const UConverter *cnv, UChar* source, int32_t sourceLength) ucnv_fixFileSeparator() argument
2676 ucnv_isAmbiguous(const UConverter *cnv) ucnv_isAmbiguous() argument
2681 ucnv_setFallback(UConverter *cnv, UBool usesFallback) ucnv_setFallback() argument
2687 ucnv_usesFallback(const UConverter *cnv) ucnv_usesFallback() argument
2836 ucnv_fromUCountPending(const UConverter* cnv, UErrorCode* status) ucnv_fromUCountPending() argument
2858 ucnv_toUCountPending(const UConverter* cnv, UErrorCode* status) ucnv_toUCountPending() argument
2879 ucnv_isFixedWidth(UConverter *cnv, UErrorCode *status) ucnv_isFixedWidth() argument
[all...]
H A Ducnv_u16.cpp54 UConverter *cnv; in _UTF16BEFromUnicodeWithOffsets() local
70 cnv=pArgs->converter; in _UTF16BEFromUnicodeWithOffsets()
73 if(cnv->fromUnicodeStatus==UCNV_NEED_TO_WRITE_BOM) { in _UTF16BEFromUnicodeWithOffsets()
75 ucnv_fromUWriteBytes(cnv, in _UTF16BEFromUnicodeWithOffsets()
80 cnv->fromUnicodeStatus=0; in _UTF16BEFromUnicodeWithOffsets()
95 if((c=(UChar)cnv->fromUChar32)!=0 && U16_IS_TRAIL(trail=*source) && targetCapacity>=4) { in _UTF16BEFromUnicodeWithOffsets()
112 cnv->fromUChar32=c=0; in _UTF16BEFromUnicodeWithOffsets()
232 cnv->fromUChar32=c; in _UTF16BEFromUnicodeWithOffsets()
237 ucnv_fromUWriteBytes(cnv, in _UTF16BEFromUnicodeWithOffsets()
258 UConverter *cnv; in _UTF16BEToUnicodeWithOffsets() local
573 _UTF16BEReset(UConverter *cnv, UConverterResetChoice choice) _UTF16BEReset() argument
589 _UTF16BEOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *pErrorCode) _UTF16BEOpen() argument
601 _UTF16BEGetName(const UConverter *cnv) _UTF16BEGetName() argument
655 UConverter *cnv; _UTF16LEFromUnicodeWithOffsets() local
859 UConverter *cnv; _UTF16LEToUnicodeWithOffsets() local
1174 _UTF16LEReset(UConverter *cnv, UConverterResetChoice choice) _UTF16LEReset() argument
1190 _UTF16LEOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *pErrorCode) _UTF16LEOpen() argument
1202 _UTF16LEGetName(const UConverter *cnv) _UTF16LEGetName() argument
1279 _UTF16Reset(UConverter *cnv, UConverterResetChoice choice) _UTF16Reset() argument
1293 _UTF16Open(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *pErrorCode) _UTF16Open() argument
1314 _UTF16GetName(const UConverter *cnv) _UTF16GetName() argument
1326 IS_UTF16BE(const UConverter *cnv) IS_UTF16BE() argument
1330 IS_UTF16LE(const UConverter *cnv) IS_UTF16LE() argument
1334 IS_UTF16(const UConverter *cnv) IS_UTF16() argument
1342 UConverter *cnv=pArgs->converter; _UTF16ToUnicodeWithOffsets() local
[all...]
H A Ducnv_ext.cpp237 ucnv_extWriteToU(UConverter *cnv, const int32_t *cx, in ucnv_extWriteToU() argument
246 cnv, UCNV_EXT_TO_U_GET_CODE_POINT(value), in ucnv_extWriteToU()
253 cnv, in ucnv_extWriteToU()
269 * cnv->mode==0 is equivalent to firstLength==1.
271 #define UCNV_SISO_STATE(cnv) \
272 ((cnv)->sharedData->mbcs.outputType==MBCS_OUTPUT_2_SISO ? (int8_t)(cnv)->mode : \
273 (cnv)->sharedData->mbcs.outputType==MBCS_OUTPUT_DBCS_ONLY ? 1 : -1)
279 ucnv_extInitialMatchToU(UConverter *cnv, const int32_t *cx, in ucnv_extInitialMatchToU() argument
290 match=ucnv_extMatchToU(cx, (int8_t)UCNV_SISO_STATE(cnv), in ucnv_extInitialMatchToU()
371 ucnv_extContinueMatchToU(UConverter *cnv, UConverterToUnicodeArgs *pArgs, int32_t srcIndex, UErrorCode *pErrorCode) ucnv_extContinueMatchToU() argument
672 ucnv_extWriteFromU(UConverter *cnv, const int32_t *cx, uint32_t value, char **target, const char *targetLimit, int32_t **offsets, int32_t srcIndex, UErrorCode *pErrorCode) ucnv_extWriteFromU() argument
750 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) ucnv_extInitialMatchFromU() argument
867 ucnv_extContinueMatchFromU(UConverter *cnv, UConverterFromUnicodeArgs *pArgs, int32_t srcIndex, UErrorCode *pErrorCode) ucnv_extContinueMatchFromU() argument
[all...]
H A Ducnv_u8.cpp56 static UBool hasCESU8Data(const UConverter *cnv) in hasCESU8Data() argument
61 return (UBool)(cnv->sharedData == &_CESU8Data); in hasCESU8Data()
68 UConverter *cnv = args->converter; in ucnv_toUnicode_UTF8() local
73 unsigned char *toUBytes = cnv->toUBytes; in ucnv_toUnicode_UTF8()
74 UBool isCESU8 = hasCESU8Data(cnv); in ucnv_toUnicode_UTF8()
79 if (cnv->toULength > 0 && myTarget < targetLimit) in ucnv_toUnicode_UTF8()
81 inBytes = cnv->mode; /* restore # of bytes to consume */ in ucnv_toUnicode_UTF8()
82 i = cnv->toULength; /* restore # of bytes consumed */ in ucnv_toUnicode_UTF8()
83 cnv->toULength = 0; in ucnv_toUnicode_UTF8()
85 ch = cnv in ucnv_toUnicode_UTF8()
184 UConverter *cnv = args->converter; ucnv_toUnicode_UTF8_OFFSETS_LOGIC() local
303 UConverter *cnv = args->converter; ucnv_fromUnicode_UTF8() local
417 UConverter *cnv = args->converter; ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() local
556 UConverter *cnv; ucnv_getNextUChar_UTF8() local
[all...]
H A Ducnv_u7.cpp184 _UTF7Reset(UConverter *cnv, UConverterResetChoice choice) { in _UTF7Reset() argument
187 cnv->toUnicodeStatus=0x1000000; /* inDirectMode=TRUE */ in _UTF7Reset()
188 cnv->toULength=0; in _UTF7Reset()
192 cnv->fromUnicodeStatus=(cnv->fromUnicodeStatus&0xf0000000)|0x1000000; /* keep version, inDirectMode=TRUE */ in _UTF7Reset()
197 _UTF7Open(UConverter *cnv, in _UTF7Open() argument
201 if(UCNV_GET_VERSION(cnv)<=1) { in _UTF7Open()
202 /* TODO(markus): Should just use cnv->options rather than copying the version number. */ in _UTF7Open()
203 cnv->fromUnicodeStatus=UCNV_GET_VERSION(cnv)<<2 in _UTF7Open()
213 UConverter *cnv; _UTF7ToUnicodeWithOffsets() local
464 UConverter *cnv; _UTF7FromUnicodeWithOffsets() local
738 _UTF7GetName(const UConverter *cnv) _UTF7GetName() argument
897 UConverter *cnv; _IMAPToUnicodeWithOffsets() local
1165 UConverter *cnv; _IMAPFromUnicodeWithOffsets() local
[all...]
H A Ducnvmbcs.cpp119 * - Added an optional extension table structure at the end of the .cnv file.
391 ucnv_MBCSOpen(UConverter *cnv,
400 ucnv_MBCSGetStarters(const UConverter* cnv,
406 ucnv_MBCSGetName(const UConverter *cnv);
424 ucnv_MBCSGetUnicodeSet(const UConverter *cnv,
1075 ucnv_MBCSGetUnicodeSet(const UConverter *cnv, in ucnv_MBCSGetUnicodeSet() argument
1079 if(cnv->options&_MBCS_OPTION_GB18030) { in ucnv_MBCSGetUnicodeSet()
1083 ucnv_MBCSGetUnicodeSetForUnicode(cnv->sharedData, sa, which, pErrorCode); in ucnv_MBCSGetUnicodeSet()
1101 * @return if(U_FAILURE) return the code point for cnv->fromUChar32
1105 _extFromU(UConverter *cnv, cons 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
1898 ucnv_MBCSOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *pErrorCode) ucnv_MBCSOpen() argument
1991 ucnv_MBCSGetName(const UConverter *cnv) ucnv_MBCSGetName() argument
2035 UConverter *cnv; ucnv_MBCSSingleToUnicodeWithOffsets() local
2187 UConverter *cnv; ucnv_MBCSSingleToBMPWithOffsets() local
2467 UConverter *cnv; ucnv_MBCSToUnicodeWithOffsets() local
2884 UConverter *cnv; ucnv_MBCSSingleGetNextUChar() local
2969 UConverter *cnv; ucnv_MBCSGetNextUChar() local
3408 UConverter *cnv; ucnv_MBCSDoubleFromUnicodeWithOffsets() local
3640 UConverter *cnv; ucnv_MBCSSingleFromUnicodeWithOffsets() local
3816 UConverter *cnv; ucnv_MBCSSingleFromBMPWithOffsets() local
4073 UConverter *cnv; ucnv_MBCSFromUnicodeWithOffsets() local
5023 UConverter *utf8, *cnv; ucnv_SBCSFromUTF8() local
5325 UConverter *utf8, *cnv; ucnv_DBCSFromUTF8() local
5628 ucnv_MBCSGetStarters(const UConverter* cnv, UBool starters[256], UErrorCode *) ucnv_MBCSGetStarters() argument
5654 UConverter *cnv=pArgs->converter; ucnv_MBCSWriteSub() local
[all...]
H A Dustr_cnv.cpp138 UConverter *cnv = u_getDefaultConverter(&err); in u_uastrncpy() local
139 if(U_SUCCESS(err) && cnv != NULL) { in u_uastrncpy()
140 ucnv_reset(cnv); in u_uastrncpy()
141 ucnv_toUnicode(cnv, in u_uastrncpy()
149 ucnv_reset(cnv); /* be good citizens */ in u_uastrncpy()
150 u_releaseDefaultConverter(cnv); in u_uastrncpy()
168 UConverter *cnv = u_getDefaultConverter(&err); in u_uastrcpy() local
169 if(U_SUCCESS(err) && cnv != NULL) { in u_uastrcpy()
170 ucnv_toUChars(cnv, in u_uastrcpy()
176 u_releaseDefaultConverter(cnv); in u_uastrcpy()
210 UConverter *cnv = u_getDefaultConverter(&err); u_austrncpy() local
240 UConverter *cnv = u_getDefaultConverter(&err); u_austrcpy() local
[all...]
H A Ducnvhz.cpp72 _HZOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode){ in _HZOpen() argument
82 cnv->toUnicodeStatus = 0; in _HZOpen()
83 cnv->fromUnicodeStatus= 0; in _HZOpen()
84 cnv->mode=0; in _HZOpen()
85 cnv->fromUChar32=0x0000; in _HZOpen()
86 cnv->extraInfo = uprv_calloc(1, sizeof(UConverterDataHZ)); in _HZOpen()
87 if(cnv->extraInfo != NULL){ in _HZOpen()
88 ((UConverterDataHZ*)cnv->extraInfo)->gbConverter = gbConverter; in _HZOpen()
98 _HZClose(UConverter *cnv){ in _HZClose() argument
99 if(cnv in _HZClose()
109 _HZReset(UConverter *cnv, UConverterResetChoice choice) _HZReset() argument
501 UConverter *cnv = args->converter; _HZ_WriteSub() local
524 UConverter cnv; global() member
531 _HZ_SafeClone(const UConverter *cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status) _HZ_SafeClone() argument
564 _HZ_GetUnicodeSet(const UConverter *cnv, const USetAdder *sa, UConverterUnicodeSet which, UErrorCode *pErrorCode) _HZ_GetUnicodeSet() argument
[all...]

Completed in 24 milliseconds

123456