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

12345

/external/chromium_org/third_party/icu/source/common/
H A Ducnv_set.c30 ucnv_getUnicodeSet(const UConverter *cnv, argument
38 if(cnv==NULL || setFillIn==NULL || whichSet<UCNV_ROUNDTRIP_SET || UCNV_SET_COUNT<=whichSet) {
44 if(cnv->sharedData->impl->getUnicodeSet==NULL) {
64 cnv->sharedData->impl->getUnicodeSet(cnv, &sa, whichSet, pErrorCode);
H A Dustr_cnv.c135 UConverter *cnv = u_getDefaultConverter(&err); local
136 if(U_SUCCESS(err) && cnv != NULL) {
137 ucnv_reset(cnv);
138 ucnv_toUnicode(cnv,
146 ucnv_reset(cnv); /* be good citizens */
147 u_releaseDefaultConverter(cnv);
165 UConverter *cnv = u_getDefaultConverter(&err); local
166 if(U_SUCCESS(err) && cnv != NULL) {
167 ucnv_toUChars(cnv,
173 u_releaseDefaultConverter(cnv);
207 UConverter *cnv = u_getDefaultConverter(&err); local
237 UConverter *cnv = u_getDefaultConverter(&err); local
[all...]
H A Ducnv_u16.c50 UConverter *cnv; local
66 cnv=pArgs->converter;
69 if(cnv->fromUnicodeStatus==UCNV_NEED_TO_WRITE_BOM) {
71 ucnv_fromUWriteBytes(cnv,
76 cnv->fromUnicodeStatus=0;
91 if((c=(UChar)cnv->fromUChar32)!=0 && U16_IS_TRAIL(trail=*source) && targetCapacity>=4) {
108 cnv->fromUChar32=c=0;
228 cnv->fromUChar32=c;
233 ucnv_fromUWriteBytes(cnv,
254 UConverter *cnv; local
569 _UTF16BEReset(UConverter *cnv, UConverterResetChoice choice) argument
585 _UTF16BEOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *pErrorCode) argument
596 _UTF16BEGetName(const UConverter *cnv) argument
649 UConverter *cnv; local
853 UConverter *cnv; local
1168 _UTF16LEReset(UConverter *cnv, UConverterResetChoice choice) argument
1184 _UTF16LEOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *pErrorCode) argument
1195 _UTF16LEGetName(const UConverter *cnv) argument
1271 _UTF16Reset(UConverter *cnv, UConverterResetChoice choice) argument
1285 _UTF16Open(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *pErrorCode) argument
1306 _UTF16GetName(const UConverter *cnv) argument
1325 UConverter *cnv=pArgs->converter; local
[all...]
H A Ducnv.c154 ucnv_safeClone(const UConverter* cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status) argument
189 if (cnv == NULL) {
196 ucnv_getName(cnv, status), cnv, stackBuffer);
198 if (cnv->sharedData->impl->safeClone != NULL) {
201 cnv->sharedData->impl->safeClone(cnv, NULL, &bufferSizeNeeded, status);
266 uprv_memcpy(localConverter, cnv, sizeof(UConverter));
270 if (cnv->subChars == (uint8_t *)cnv
482 ucnv_setSubstString(UConverter *cnv, const UChar *s, int32_t length, UErrorCode *err) argument
836 UConverter *cnv; local
1125 ucnv_outputOverflowFromUnicode(UConverter *cnv, char **target, const char *targetLimit, int32_t **pOffsets, UErrorCode *err) argument
1178 ucnv_fromUnicode(UConverter *cnv, char **target, const char *targetLimit, const UChar **source, const UChar *sourceLimit, int32_t *offsets, UBool flush, UErrorCode *err) argument
1281 UConverter *cnv; local
1571 ucnv_outputOverflowToUnicode(UConverter *cnv, UChar **target, const UChar *targetLimit, int32_t **pOffsets, UErrorCode *err) argument
1624 ucnv_toUnicode(UConverter *cnv, UChar **target, const UChar *targetLimit, const char **source, const char *sourceLimit, int32_t *offsets, UBool flush, UErrorCode *err) argument
1725 ucnv_fromUChars(UConverter *cnv, char *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument
1785 ucnv_toUChars(UConverter *cnv, UChar *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument
1849 ucnv_getNextUChar(UConverter *cnv, const char **source, const char *sourceLimit, UErrorCode *err) argument
2535 ucnv_convertAlgorithmic(UBool convertToAlgorithmic, UConverterType algorithmicType, UConverter *cnv, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2592 ucnv_toAlgorithmic(UConverterType algorithmicType, UConverter *cnv, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2604 ucnv_fromAlgorithmic(UConverter *cnv, UConverterType algorithmicType, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2643 ucnv_getAmbiguous(const UConverter *cnv) argument
2671 ucnv_fixFileSeparator(const UConverter *cnv, UChar* source, int32_t sourceLength) argument
2692 ucnv_isAmbiguous(const UConverter *cnv) argument
2697 ucnv_setFallback(UConverter *cnv, UBool usesFallback) argument
2703 ucnv_usesFallback(const UConverter *cnv) argument
2852 ucnv_fromUCountPending(const UConverter* cnv, UErrorCode* status) argument
2874 ucnv_toUCountPending(const UConverter* cnv, UErrorCode* status) argument
2895 ucnv_isFixedWidth(UConverter *cnv, UErrorCode *status) argument
[all...]
H A Ducnvhz.c70 _HZOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode){ argument
80 cnv->toUnicodeStatus = 0;
81 cnv->fromUnicodeStatus= 0;
82 cnv->mode=0;
83 cnv->fromUChar32=0x0000;
84 cnv->extraInfo = uprv_calloc(1, sizeof(UConverterDataHZ));
85 if(cnv->extraInfo != NULL){
86 ((UConverterDataHZ*)cnv->extraInfo)->gbConverter = gbConverter;
96 _HZClose(UConverter *cnv){ argument
97 if(cnv
107 _HZReset(UConverter *cnv, UConverterResetChoice choice) argument
501 UConverter *cnv = args->converter; local
531 UConverter cnv; member in struct:cloneHZStruct
539 _HZ_SafeClone(const UConverter *cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status) argument
572 _HZ_GetUnicodeSet(const UConverter *cnv, const USetAdder *sa, UConverterUnicodeSet which, UErrorCode *pErrorCode) argument
[all...]
H A Ducnv_cnv.c30 ucnv_getCompleteUnicodeSet(const UConverter *cnv, argument
38 ucnv_getNonSurrogateUnicodeSet(const UConverter *cnv, argument
47 ucnv_fromUWriteBytes(UConverter *cnv, argument
75 if(cnv!=NULL) {
76 t=(char *)cnv->charErrorBuffer;
77 cnv->charErrorBufferLength=(int8_t)length;
87 ucnv_toUWriteUChars(UConverter *cnv, argument
115 if(cnv!=NULL) {
116 t=cnv->UCharErrorBuffer;
117 cnv
127 ucnv_toUWriteCodePoint(UConverter *cnv, UChar32 c, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument
[all...]
H A Ducnv_cnv.h67 typedef void (*UConverterOpen) (UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *pErrorCode);
68 typedef void (*UConverterClose) (UConverter *cnv);
76 typedef void (*UConverterReset) (UConverter *cnv, UConverterResetChoice choice);
158 typedef const char * (*UConverterGetName) (const UConverter *cnv);
178 typedef UConverter * (*UConverterSafeClone) (const UConverter *cnv,
207 typedef void (*UConverterGetUnicodeSet) (const UConverter *cnv,
274 #define UCNV_TO_U_USE_FALLBACK(cnv) TRUE
276 /** Use fallbacks from Unicode to codepage when cnv->useFallback or for private-use code points */
279 #define UCNV_FROM_U_USE_FALLBACK(cnv, c) FROM_U_USE_FALLBACK((cnv)
[all...]
H A Ducnv_ext.cpp234 ucnv_extWriteToU(UConverter *cnv, const int32_t *cx, argument
243 cnv, UCNV_EXT_TO_U_GET_CODE_POINT(value),
250 cnv,
266 * cnv->mode==0 is equivalent to firstLength==1.
268 #define UCNV_SISO_STATE(cnv) \
269 ((cnv)->sharedData->mbcs.outputType==MBCS_OUTPUT_2_SISO ? (int8_t)(cnv)->mode : \
270 (cnv)->sharedData->mbcs.outputType==MBCS_OUTPUT_DBCS_ONLY ? 1 : -1)
276 ucnv_extInitialMatchToU(UConverter *cnv, const int32_t *cx, argument
287 match=ucnv_extMatchToU(cx, (int8_t)UCNV_SISO_STATE(cnv),
368 ucnv_extContinueMatchToU(UConverter *cnv, UConverterToUnicodeArgs *pArgs, int32_t srcIndex, UErrorCode *pErrorCode) argument
669 ucnv_extWriteFromU(UConverter *cnv, const int32_t *cx, uint32_t value, char **target, const char *targetLimit, int32_t **offsets, int32_t srcIndex, UErrorCode *pErrorCode) argument
744 ucnv_extInitialMatchFromU(UConverter *cnv, const int32_t *cx, UChar32 cp, const UChar **src, const UChar *srcLimit, char **target, const char *targetLimit, int32_t **offsets, int32_t srcIndex, UBool flush, UErrorCode *pErrorCode) argument
861 ucnv_extContinueMatchFromU(UConverter *cnv, UConverterFromUnicodeArgs *pArgs, int32_t srcIndex, UErrorCode *pErrorCode) argument
[all...]
H A Ducnv_u7.c180 _UTF7Reset(UConverter *cnv, UConverterResetChoice choice) { argument
183 cnv->toUnicodeStatus=0x1000000; /* inDirectMode=TRUE */
184 cnv->toULength=0;
188 cnv->fromUnicodeStatus=(cnv->fromUnicodeStatus&0xf0000000)|0x1000000; /* keep version, inDirectMode=TRUE */
193 _UTF7Open(UConverter *cnv, argument
196 if(UCNV_GET_VERSION(cnv)<=1) {
197 /* TODO(markus): Should just use cnv->options rather than copying the version number. */
198 cnv->fromUnicodeStatus=UCNV_GET_VERSION(cnv)<<2
208 UConverter *cnv; local
459 UConverter *cnv; local
733 _UTF7GetName(const UConverter *cnv) argument
890 UConverter *cnv; local
1158 UConverter *cnv; local
[all...]
H A Ducnvdisp.c34 ucnv_getDisplayName(const UConverter *cnv, argument
48 if(cnv==NULL || displayNameCapacity<0 || (displayNameCapacity>0 && displayName==NULL)) {
60 name=ures_getStringByKey(rb, cnv->sharedData->staticData->name, &length, &localStatus);
71 length=(int32_t)uprv_strlen(cnv->sharedData->staticData->name);
72 u_charsToUChars(cnv->sharedData->staticData->name, displayName, uprv_min(length, displayNameCapacity));
H A Dures_cnv.c56 UConverter *cnv=u_getDefaultConverter(status); local
57 length=ucnv_fromUChars(cnv, path, (int32_t)sizeof(pathBuffer), myPath, length, status);
58 u_releaseDefaultConverter(cnv);
H A Ducnvmbcs.c116 * - Added an optional extension table structure at the end of the .cnv file.
931 ucnv_MBCSGetUnicodeSet(const UConverter *cnv, argument
935 if(cnv->options&_MBCS_OPTION_GB18030) {
939 ucnv_MBCSGetUnicodeSetForUnicode(cnv->sharedData, sa, which, pErrorCode);
957 * @return if(U_FAILURE) return the code point for cnv->fromUChar32
961 _extFromU(UConverter *cnv, const UConverterSharedData *sharedData, argument
970 cnv->useSubChar1=FALSE;
974 cnv, cx,
985 if((cnv->options&_MBCS_OPTION_GB18030)!=0) {
1009 ucnv_fromUWriteBytes(cnv,
1028 _extToU(UConverter *cnv, const UConverterSharedData *sharedData, int8_t length, const uint8_t **source, const uint8_t *sourceLimit, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UBool flush, UErrorCode *pErrorCode) argument
1754 ucnv_MBCSOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *pErrorCode) argument
1845 ucnv_MBCSGetName(const UConverter *cnv) argument
1887 UConverter *cnv; local
2039 UConverter *cnv; local
2319 UConverter *cnv; local
2736 UConverter *cnv; local
2821 UConverter *cnv; local
3260 UConverter *cnv; local
3492 UConverter *cnv; local
3668 UConverter *cnv; local
3925 UConverter *cnv; local
4865 UConverter *utf8, *cnv; local
5171 UConverter *utf8, *cnv; local
5480 ucnv_MBCSGetStarters(const UConverter* cnv, UBool starters[256], UErrorCode *pErrorCode) argument
5506 UConverter *cnv=pArgs->converter; local
[all...]
H A Dunistr_cnv.cpp86 UConverter *cnv,
103 if(cnv!=0) {
105 ucnv_resetToUnicode(cnv);
106 doCodepageCreate(src, srcLength, cnv, errorCode);
109 cnv=u_getDefaultConverter(&errorCode);
110 doCodepageCreate(src, srcLength, cnv, errorCode);
111 u_releaseDefaultConverter(cnv);
216 UConverter *cnv,
235 if(cnv==0) {
237 cnv
85 UnicodeString(const char *src, int32_t srcLength, UConverter *cnv, UErrorCode &errorCode) argument
215 extract(char *dest, int32_t destCapacity, UConverter *cnv, UErrorCode &errorCode) const argument
258 doExtract(int32_t start, int32_t length, char *dest, int32_t destCapacity, UConverter *cnv, UErrorCode &errorCode) const argument
[all...]
/external/icu/icu4c/source/common/
H A Ducnv_set.c30 ucnv_getUnicodeSet(const UConverter *cnv, argument
38 if(cnv==NULL || setFillIn==NULL || whichSet<UCNV_ROUNDTRIP_SET || UCNV_SET_COUNT<=whichSet) {
44 if(cnv->sharedData->impl->getUnicodeSet==NULL) {
64 cnv->sharedData->impl->getUnicodeSet(cnv, &sa, whichSet, pErrorCode);
H A Dustr_cnv.c135 UConverter *cnv = u_getDefaultConverter(&err); local
136 if(U_SUCCESS(err) && cnv != NULL) {
137 ucnv_reset(cnv);
138 ucnv_toUnicode(cnv,
146 ucnv_reset(cnv); /* be good citizens */
147 u_releaseDefaultConverter(cnv);
165 UConverter *cnv = u_getDefaultConverter(&err); local
166 if(U_SUCCESS(err) && cnv != NULL) {
167 ucnv_toUChars(cnv,
173 u_releaseDefaultConverter(cnv);
207 UConverter *cnv = u_getDefaultConverter(&err); local
237 UConverter *cnv = u_getDefaultConverter(&err); local
[all...]
H A Ducnv_u16.c50 UConverter *cnv; local
66 cnv=pArgs->converter;
69 if(cnv->fromUnicodeStatus==UCNV_NEED_TO_WRITE_BOM) {
71 ucnv_fromUWriteBytes(cnv,
76 cnv->fromUnicodeStatus=0;
91 if((c=(UChar)cnv->fromUChar32)!=0 && U16_IS_TRAIL(trail=*source) && targetCapacity>=4) {
108 cnv->fromUChar32=c=0;
228 cnv->fromUChar32=c;
233 ucnv_fromUWriteBytes(cnv,
254 UConverter *cnv; local
569 _UTF16BEReset(UConverter *cnv, UConverterResetChoice choice) argument
585 _UTF16BEOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *pErrorCode) argument
596 _UTF16BEGetName(const UConverter *cnv) argument
649 UConverter *cnv; local
853 UConverter *cnv; local
1168 _UTF16LEReset(UConverter *cnv, UConverterResetChoice choice) argument
1184 _UTF16LEOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *pErrorCode) argument
1195 _UTF16LEGetName(const UConverter *cnv) argument
1271 _UTF16Reset(UConverter *cnv, UConverterResetChoice choice) argument
1285 _UTF16Open(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *pErrorCode) argument
1306 _UTF16GetName(const UConverter *cnv) argument
1325 UConverter *cnv=pArgs->converter; local
[all...]
H A Ducnv.c154 ucnv_safeClone(const UConverter* cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status) argument
189 if (cnv == NULL) {
196 ucnv_getName(cnv, status), cnv, stackBuffer);
198 if (cnv->sharedData->impl->safeClone != NULL) {
201 cnv->sharedData->impl->safeClone(cnv, NULL, &bufferSizeNeeded, status);
266 uprv_memcpy(localConverter, cnv, sizeof(UConverter));
270 if (cnv->subChars == (uint8_t *)cnv
482 ucnv_setSubstString(UConverter *cnv, const UChar *s, int32_t length, UErrorCode *err) argument
836 UConverter *cnv; local
1125 ucnv_outputOverflowFromUnicode(UConverter *cnv, char **target, const char *targetLimit, int32_t **pOffsets, UErrorCode *err) argument
1178 ucnv_fromUnicode(UConverter *cnv, char **target, const char *targetLimit, const UChar **source, const UChar *sourceLimit, int32_t *offsets, UBool flush, UErrorCode *err) argument
1281 UConverter *cnv; local
1571 ucnv_outputOverflowToUnicode(UConverter *cnv, UChar **target, const UChar *targetLimit, int32_t **pOffsets, UErrorCode *err) argument
1624 ucnv_toUnicode(UConverter *cnv, UChar **target, const UChar *targetLimit, const char **source, const char *sourceLimit, int32_t *offsets, UBool flush, UErrorCode *err) argument
1725 ucnv_fromUChars(UConverter *cnv, char *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument
1785 ucnv_toUChars(UConverter *cnv, UChar *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument
1849 ucnv_getNextUChar(UConverter *cnv, const char **source, const char *sourceLimit, UErrorCode *err) argument
2535 ucnv_convertAlgorithmic(UBool convertToAlgorithmic, UConverterType algorithmicType, UConverter *cnv, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2592 ucnv_toAlgorithmic(UConverterType algorithmicType, UConverter *cnv, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2604 ucnv_fromAlgorithmic(UConverter *cnv, UConverterType algorithmicType, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument
2643 ucnv_getAmbiguous(const UConverter *cnv) argument
2671 ucnv_fixFileSeparator(const UConverter *cnv, UChar* source, int32_t sourceLength) argument
2692 ucnv_isAmbiguous(const UConverter *cnv) argument
2697 ucnv_setFallback(UConverter *cnv, UBool usesFallback) argument
2703 ucnv_usesFallback(const UConverter *cnv) argument
2852 ucnv_fromUCountPending(const UConverter* cnv, UErrorCode* status) argument
2874 ucnv_toUCountPending(const UConverter* cnv, UErrorCode* status) argument
2895 ucnv_isFixedWidth(UConverter *cnv, UErrorCode *status) argument
[all...]
H A Ducnvhz.c70 _HZOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode){ argument
80 cnv->toUnicodeStatus = 0;
81 cnv->fromUnicodeStatus= 0;
82 cnv->mode=0;
83 cnv->fromUChar32=0x0000;
84 cnv->extraInfo = uprv_calloc(1, sizeof(UConverterDataHZ));
85 if(cnv->extraInfo != NULL){
86 ((UConverterDataHZ*)cnv->extraInfo)->gbConverter = gbConverter;
96 _HZClose(UConverter *cnv){ argument
97 if(cnv
107 _HZReset(UConverter *cnv, UConverterResetChoice choice) argument
501 UConverter *cnv = args->converter; local
531 UConverter cnv; member in struct:cloneHZStruct
539 _HZ_SafeClone(const UConverter *cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status) argument
572 _HZ_GetUnicodeSet(const UConverter *cnv, const USetAdder *sa, UConverterUnicodeSet which, UErrorCode *pErrorCode) argument
[all...]
H A Ducnv_cnv.c30 ucnv_getCompleteUnicodeSet(const UConverter *cnv, argument
38 ucnv_getNonSurrogateUnicodeSet(const UConverter *cnv, argument
47 ucnv_fromUWriteBytes(UConverter *cnv, argument
75 if(cnv!=NULL) {
76 t=(char *)cnv->charErrorBuffer;
77 cnv->charErrorBufferLength=(int8_t)length;
87 ucnv_toUWriteUChars(UConverter *cnv, argument
115 if(cnv!=NULL) {
116 t=cnv->UCharErrorBuffer;
117 cnv
127 ucnv_toUWriteCodePoint(UConverter *cnv, UChar32 c, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UErrorCode *pErrorCode) argument
[all...]
H A Ducnv_cnv.h67 typedef void (*UConverterOpen) (UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *pErrorCode);
68 typedef void (*UConverterClose) (UConverter *cnv);
76 typedef void (*UConverterReset) (UConverter *cnv, UConverterResetChoice choice);
158 typedef const char * (*UConverterGetName) (const UConverter *cnv);
178 typedef UConverter * (*UConverterSafeClone) (const UConverter *cnv,
207 typedef void (*UConverterGetUnicodeSet) (const UConverter *cnv,
269 #define UCNV_TO_U_USE_FALLBACK(cnv) TRUE
271 /** Use fallbacks from Unicode to codepage when cnv->useFallback or for private-use code points */
274 #define UCNV_FROM_U_USE_FALLBACK(cnv, c) FROM_U_USE_FALLBACK((cnv)
[all...]
H A Ducnv_ext.cpp234 ucnv_extWriteToU(UConverter *cnv, const int32_t *cx, argument
243 cnv, UCNV_EXT_TO_U_GET_CODE_POINT(value),
250 cnv,
266 * cnv->mode==0 is equivalent to firstLength==1.
268 #define UCNV_SISO_STATE(cnv) \
269 ((cnv)->sharedData->mbcs.outputType==MBCS_OUTPUT_2_SISO ? (int8_t)(cnv)->mode : \
270 (cnv)->sharedData->mbcs.outputType==MBCS_OUTPUT_DBCS_ONLY ? 1 : -1)
276 ucnv_extInitialMatchToU(UConverter *cnv, const int32_t *cx, argument
287 match=ucnv_extMatchToU(cx, (int8_t)UCNV_SISO_STATE(cnv),
368 ucnv_extContinueMatchToU(UConverter *cnv, UConverterToUnicodeArgs *pArgs, int32_t srcIndex, UErrorCode *pErrorCode) argument
669 ucnv_extWriteFromU(UConverter *cnv, const int32_t *cx, uint32_t value, char **target, const char *targetLimit, int32_t **offsets, int32_t srcIndex, UErrorCode *pErrorCode) argument
744 ucnv_extInitialMatchFromU(UConverter *cnv, const int32_t *cx, UChar32 cp, const UChar **src, const UChar *srcLimit, char **target, const char *targetLimit, int32_t **offsets, int32_t srcIndex, UBool flush, UErrorCode *pErrorCode) argument
861 ucnv_extContinueMatchFromU(UConverter *cnv, UConverterFromUnicodeArgs *pArgs, int32_t srcIndex, UErrorCode *pErrorCode) argument
[all...]
H A Ducnv_u7.c180 _UTF7Reset(UConverter *cnv, UConverterResetChoice choice) { argument
183 cnv->toUnicodeStatus=0x1000000; /* inDirectMode=TRUE */
184 cnv->toULength=0;
188 cnv->fromUnicodeStatus=(cnv->fromUnicodeStatus&0xf0000000)|0x1000000; /* keep version, inDirectMode=TRUE */
193 _UTF7Open(UConverter *cnv, argument
196 if(UCNV_GET_VERSION(cnv)<=1) {
197 /* TODO(markus): Should just use cnv->options rather than copying the version number. */
198 cnv->fromUnicodeStatus=UCNV_GET_VERSION(cnv)<<2
208 UConverter *cnv; local
459 UConverter *cnv; local
733 _UTF7GetName(const UConverter *cnv) argument
890 UConverter *cnv; local
1158 UConverter *cnv; local
[all...]
H A Ducnvdisp.c34 ucnv_getDisplayName(const UConverter *cnv, argument
48 if(cnv==NULL || displayNameCapacity<0 || (displayNameCapacity>0 && displayName==NULL)) {
60 name=ures_getStringByKey(rb, cnv->sharedData->staticData->name, &length, &localStatus);
71 length=(int32_t)uprv_strlen(cnv->sharedData->staticData->name);
72 u_charsToUChars(cnv->sharedData->staticData->name, displayName, uprv_min(length, displayNameCapacity));
H A Dures_cnv.c56 UConverter *cnv=u_getDefaultConverter(status); local
57 length=ucnv_fromUChars(cnv, path, (int32_t)sizeof(pathBuffer), myPath, length, status);
58 u_releaseDefaultConverter(cnv);
H A Ducnvmbcs.c116 * - Added an optional extension table structure at the end of the .cnv file.
931 ucnv_MBCSGetUnicodeSet(const UConverter *cnv, argument
935 if(cnv->options&_MBCS_OPTION_GB18030) {
939 ucnv_MBCSGetUnicodeSetForUnicode(cnv->sharedData, sa, which, pErrorCode);
957 * @return if(U_FAILURE) return the code point for cnv->fromUChar32
961 _extFromU(UConverter *cnv, const UConverterSharedData *sharedData, argument
970 cnv->useSubChar1=FALSE;
974 cnv, cx,
985 if((cnv->options&_MBCS_OPTION_GB18030)!=0) {
1009 ucnv_fromUWriteBytes(cnv,
1028 _extToU(UConverter *cnv, const UConverterSharedData *sharedData, int8_t length, const uint8_t **source, const uint8_t *sourceLimit, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UBool flush, UErrorCode *pErrorCode) argument
1754 ucnv_MBCSOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *pErrorCode) argument
1845 ucnv_MBCSGetName(const UConverter *cnv) argument
1887 UConverter *cnv; local
2039 UConverter *cnv; local
2319 UConverter *cnv; local
2736 UConverter *cnv; local
2821 UConverter *cnv; local
3260 UConverter *cnv; local
3492 UConverter *cnv; local
3668 UConverter *cnv; local
3925 UConverter *cnv; local
4865 UConverter *utf8, *cnv; local
5171 UConverter *utf8, *cnv; local
5480 ucnv_MBCSGetStarters(const UConverter* cnv, UBool starters[256], UErrorCode *pErrorCode) argument
5506 UConverter *cnv=pArgs->converter; local
[all...]

Completed in 371 milliseconds

12345