/external/chromium_org/third_party/icu/source/common/ |
H A D | ucnv_set.c | 30 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 D | ustr_cnv.c | 135 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 D | ucnv_u16.c | 50 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 D | ucnv.c | 152 ucnv_safeClone(const UConverter* cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status) argument 186 if (!pBufferSize || !cnv){ 193 ucnv_getName(cnv, status), cnv, stackBuffer); 195 if (cnv->sharedData->impl->safeClone != NULL) { 198 cnv->sharedData->impl->safeClone(cnv, NULL, &bufferSizeNeeded, status); 256 uprv_memcpy(localConverter, cnv, sizeof(UConverter)); 260 if (cnv->subChars == (uint8_t *)cnv 472 ucnv_setSubstString(UConverter *cnv, const UChar *s, int32_t length, UErrorCode *err) argument 826 UConverter *cnv; local 1115 ucnv_outputOverflowFromUnicode(UConverter *cnv, char **target, const char *targetLimit, int32_t **pOffsets, UErrorCode *err) argument 1168 ucnv_fromUnicode(UConverter *cnv, char **target, const char *targetLimit, const UChar **source, const UChar *sourceLimit, int32_t *offsets, UBool flush, UErrorCode *err) argument 1271 UConverter *cnv; local 1561 ucnv_outputOverflowToUnicode(UConverter *cnv, UChar **target, const UChar *targetLimit, int32_t **pOffsets, UErrorCode *err) argument 1614 ucnv_toUnicode(UConverter *cnv, UChar **target, const UChar *targetLimit, const char **source, const char *sourceLimit, int32_t *offsets, UBool flush, UErrorCode *err) argument 1715 ucnv_fromUChars(UConverter *cnv, char *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument 1775 ucnv_toUChars(UConverter *cnv, UChar *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument 1839 ucnv_getNextUChar(UConverter *cnv, const char **source, const char *sourceLimit, UErrorCode *err) argument 2525 ucnv_convertAlgorithmic(UBool convertToAlgorithmic, UConverterType algorithmicType, UConverter *cnv, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument 2582 ucnv_toAlgorithmic(UConverterType algorithmicType, UConverter *cnv, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument 2594 ucnv_fromAlgorithmic(UConverter *cnv, UConverterType algorithmicType, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument 2633 ucnv_getAmbiguous(const UConverter *cnv) argument 2661 ucnv_fixFileSeparator(const UConverter *cnv, UChar* source, int32_t sourceLength) argument 2682 ucnv_isAmbiguous(const UConverter *cnv) argument 2687 ucnv_setFallback(UConverter *cnv, UBool usesFallback) argument 2693 ucnv_usesFallback(const UConverter *cnv) argument 2842 ucnv_fromUCountPending(const UConverter* cnv, UErrorCode* status) argument 2866 ucnv_toUCountPending(const UConverter* cnv, UErrorCode* status) argument [all...] |
H A D | ucnvhz.c | 69 _HZOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode){ argument 79 cnv->toUnicodeStatus = 0; 80 cnv->fromUnicodeStatus= 0; 81 cnv->mode=0; 82 cnv->fromUChar32=0x0000; 83 cnv->extraInfo = uprv_malloc(sizeof(UConverterDataHZ)); 84 if(cnv->extraInfo != NULL){ 85 uprv_memset(cnv->extraInfo, 0, sizeof(UConverterDataHZ)); 86 ((UConverterDataHZ*)cnv->extraInfo)->gbConverter = gbConverter; 96 _HZClose(UConverter *cnv){ argument 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 D | ucnv_cnv.c | 30 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 D | ucnv_cnv.h | 64 typedef void (*UConverterOpen) (UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *pErrorCode); 65 typedef void (*UConverterClose) (UConverter *cnv); 73 typedef void (*UConverterReset) (UConverter *cnv, UConverterResetChoice choice); 155 typedef const char * (*UConverterGetName) (const UConverter *cnv); 175 typedef UConverter * (*UConverterSafeClone) (const UConverter *cnv, 204 typedef void (*UConverterGetUnicodeSet) (const UConverter *cnv, 266 #define UCNV_TO_U_USE_FALLBACK(cnv) TRUE 268 /** Use fallbacks from Unicode to codepage when cnv->useFallback or for private-use code points */ 271 #define UCNV_FROM_U_USE_FALLBACK(cnv, c) FROM_U_USE_FALLBACK((cnv) [all...] |
H A D | ucnv_ext.c | 233 ucnv_extWriteToU(UConverter *cnv, const int32_t *cx, argument 242 cnv, UCNV_EXT_TO_U_GET_CODE_POINT(value), 249 cnv, 265 * cnv->mode==0 is equivalent to firstLength==1. 267 #define UCNV_SISO_STATE(cnv) \ 268 ((cnv)->sharedData->mbcs.outputType==MBCS_OUTPUT_2_SISO ? (int8_t)(cnv)->mode : \ 269 (cnv)->sharedData->mbcs.outputType==MBCS_OUTPUT_DBCS_ONLY ? 1 : -1) 275 ucnv_extInitialMatchToU(UConverter *cnv, const int32_t *cx, argument 286 match=ucnv_extMatchToU(cx, (int8_t)UCNV_SISO_STATE(cnv), 367 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 D | ucnvdisp.c | 34 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 D | ucnv_u7.c | 179 _UTF7Reset(UConverter *cnv, UConverterResetChoice choice) { argument 182 cnv->toUnicodeStatus=0x1000000; /* inDirectMode=TRUE */ 183 cnv->toULength=0; 187 cnv->fromUnicodeStatus=(cnv->fromUnicodeStatus&0xf0000000)|0x1000000; /* keep version, inDirectMode=TRUE */ 192 _UTF7Open(UConverter *cnv, argument 195 if(UCNV_GET_VERSION(cnv)<=1) { 196 /* TODO(markus): Should just use cnv->options rather than copying the version number. */ 197 cnv->fromUnicodeStatus=UCNV_GET_VERSION(cnv)<<2 207 UConverter *cnv; local 446 UConverter *cnv; local 707 _UTF7GetName(const UConverter *cnv) argument 864 UConverter *cnv; local 1132 UConverter *cnv; local [all...] |
H A D | ures_cnv.c | 56 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 D | ucnvmbcs.c | 114 * - Added an optional extension table structure at the end of the .cnv file. 928 ucnv_MBCSGetUnicodeSet(const UConverter *cnv, argument 932 if(cnv->options&_MBCS_OPTION_GB18030) { 936 ucnv_MBCSGetUnicodeSetForUnicode(cnv->sharedData, sa, which, pErrorCode); 954 * @return if(U_FAILURE) return the code point for cnv->fromUChar32 958 _extFromU(UConverter *cnv, const UConverterSharedData *sharedData, argument 967 cnv->useSubChar1=FALSE; 971 cnv, cx, 982 if((cnv->options&_MBCS_OPTION_GB18030)!=0) { 1006 ucnv_fromUWriteBytes(cnv, 1025 _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 1752 ucnv_MBCSOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *pErrorCode) argument 1843 ucnv_MBCSGetName(const UConverter *cnv) argument 1885 UConverter *cnv; local 2037 UConverter *cnv; local 2317 UConverter *cnv; local 2734 UConverter *cnv; local 2819 UConverter *cnv; local 3258 UConverter *cnv; local 3490 UConverter *cnv; local 3666 UConverter *cnv; local 3923 UConverter *cnv; local 4862 UConverter *utf8, *cnv; local 5165 UConverter *utf8, *cnv; local 5478 ucnv_MBCSGetStarters(const UConverter* cnv, UBool starters[256], UErrorCode *pErrorCode) argument 5504 UConverter *cnv=pArgs->converter; local [all...] |
H A D | unistr_cnv.cpp | 86 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/icu4c/common/ |
H A D | ucnv_set.c | 30 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 D | ustr_cnv.c | 135 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 D | ucnv_u16.c | 50 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 D | ucnv.c | 154 ucnv_safeClone(const UConverter* cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status) argument 188 if (!pBufferSize || !cnv){ 195 ucnv_getName(cnv, status), cnv, stackBuffer); 197 if (cnv->sharedData->impl->safeClone != NULL) { 200 cnv->sharedData->impl->safeClone(cnv, NULL, &bufferSizeNeeded, status); 258 uprv_memcpy(localConverter, cnv, sizeof(UConverter)); 262 if (cnv->subChars == (uint8_t *)cnv 474 ucnv_setSubstString(UConverter *cnv, const UChar *s, int32_t length, UErrorCode *err) argument 828 UConverter *cnv; local 1117 ucnv_outputOverflowFromUnicode(UConverter *cnv, char **target, const char *targetLimit, int32_t **pOffsets, UErrorCode *err) argument 1170 ucnv_fromUnicode(UConverter *cnv, char **target, const char *targetLimit, const UChar **source, const UChar *sourceLimit, int32_t *offsets, UBool flush, UErrorCode *err) argument 1273 UConverter *cnv; local 1563 ucnv_outputOverflowToUnicode(UConverter *cnv, UChar **target, const UChar *targetLimit, int32_t **pOffsets, UErrorCode *err) argument 1616 ucnv_toUnicode(UConverter *cnv, UChar **target, const UChar *targetLimit, const char **source, const char *sourceLimit, int32_t *offsets, UBool flush, UErrorCode *err) argument 1717 ucnv_fromUChars(UConverter *cnv, char *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument 1777 ucnv_toUChars(UConverter *cnv, UChar *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument 1841 ucnv_getNextUChar(UConverter *cnv, const char **source, const char *sourceLimit, UErrorCode *err) argument 2527 ucnv_convertAlgorithmic(UBool convertToAlgorithmic, UConverterType algorithmicType, UConverter *cnv, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument 2584 ucnv_toAlgorithmic(UConverterType algorithmicType, UConverter *cnv, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument 2596 ucnv_fromAlgorithmic(UConverter *cnv, UConverterType algorithmicType, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument 2635 ucnv_getAmbiguous(const UConverter *cnv) argument 2663 ucnv_fixFileSeparator(const UConverter *cnv, UChar* source, int32_t sourceLength) argument 2684 ucnv_isAmbiguous(const UConverter *cnv) argument 2689 ucnv_setFallback(UConverter *cnv, UBool usesFallback) argument 2695 ucnv_usesFallback(const UConverter *cnv) argument 2844 ucnv_fromUCountPending(const UConverter* cnv, UErrorCode* status) argument 2866 ucnv_toUCountPending(const UConverter* cnv, UErrorCode* status) argument 2887 ucnv_isFixedWidth(UConverter *cnv, UErrorCode *status) argument [all...] |
H A D | ucnvhz.c | 70 _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 D | ucnv_cnv.c | 30 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 D | ucnv_cnv.h | 67 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 D | ucnv_ext.cpp | 234 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 D | ucnv_u7.c | 180 _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 D | ucnvdisp.c | 34 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 D | ures_cnv.c | 56 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 D | ucnvmbcs.c | 116 * - 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...] |