Home
last modified time | relevance | path

Searched refs:UConverter (Results 1 – 25 of 96) sorted by relevance

1234

/external/icu/icu4c/source/common/unicode/
Ducnv.h364 U_STABLE UConverter* U_EXPORT2
394 U_STABLE UConverter* U_EXPORT2
462 U_STABLE UConverter* U_EXPORT2
497 U_STABLE UConverter* U_EXPORT2
539 U_STABLE UConverter * U_EXPORT2
540 ucnv_safeClone(const UConverter *cnv,
569 ucnv_close(UConverter * converter);
584 U_DEFINE_LOCAL_OPEN_POINTER(LocalUConverterPointer, UConverter, ucnv_close);
608 ucnv_getSubstChars(const UConverter *converter,
633 ucnv_setSubstChars(UConverter *converter,
[all …]
Ducnv_err.h91 struct UConverter;
94 typedef struct UConverter UConverter; typedef
195UConverter *converter; /**< Pointer to the converter that is opened and to which this struct …
211UConverter *converter; /**< Pointer to the converter that is opened and to which this struct …
/external/icu/icu4c/source/common/
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);
150 typedef void (*UConverterGetStarters)(const UConverter* converter,
158 typedef const char * (*UConverterGetName) (const UConverter *cnv);
178 typedef UConverter * (*UConverterSafeClone) (const UConverter *cnv,
207 typedef void (*UConverterGetUnicodeSet) (const UConverter *cnv,
285 ucnv_getCompleteUnicodeSet(const UConverter *cnv,
291 ucnv_getNonSurrogateUnicodeSet(const UConverter *cnv,
297 ucnv_fromUWriteBytes(UConverter *cnv,
[all …]
Ducnv_imp.h59 U_CAPI UConverter *
60 ucnv_createConverter(UConverter *myUConverter, const char *converterName, UErrorCode * err);
73 U_CFUNC UConverter *
74 ucnv_createAlgorithmicConverter(UConverter *myUConverter,
85 U_CFUNC UConverter *
86 ucnv_createConverterFromSharedData(UConverter *myUConverter,
91 U_CFUNC UConverter *
Dustr_cnv.cpp32 static UConverter *gDefaultConverter = NULL;
34 U_CAPI UConverter* U_EXPORT2
37 UConverter *converter = NULL; in u_getDefaultConverter()
63 u_releaseDefaultConverter(UConverter *converter) in u_releaseDefaultConverter()
86 UConverter *converter = NULL; in u_flushDefaultConverter()
135 UConverter *cnv = u_getDefaultConverter(&err); in u_uastrncpy()
165 UConverter *cnv = u_getDefaultConverter(&err); in u_uastrcpy()
207 UConverter *cnv = u_getDefaultConverter(&err); in u_austrncpy()
237 UConverter *cnv = u_getDefaultConverter(&err); in u_austrcpy()
Ducnv.c68 U_CAPI UConverter* U_EXPORT2
72 UConverter *r; in ucnv_open()
82 U_CAPI UConverter* U_EXPORT2
89 U_CAPI UConverter* U_EXPORT2
131 U_CAPI UConverter* U_EXPORT2
153 U_CAPI UConverter* U_EXPORT2
154 ucnv_safeClone(const UConverter* cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status) in ucnv_safeClone()
156 UConverter *localConverter, *allocatedConverter; in ucnv_safeClone()
210 bufferSizeNeeded = sizeof(UConverter); in ucnv_safeClone()
246 localConverter = allocatedConverter = (UConverter *) uprv_malloc (bufferSizeNeeded); in ucnv_safeClone()
[all …]
Ducnvhz.c58 UConverter* gbConverter;
70 _HZOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode){ in _HZOpen()
71 UConverter *gbConverter; in _HZOpen()
96 _HZClose(UConverter *cnv){ in _HZClose()
107 _HZReset(UConverter *cnv, UConverterResetChoice choice){ in _HZReset()
499 UConverter *cnv = args->converter; in _HZ_WriteSub()
529 UConverter cnv;
530 UConverter subCnv;
536 static UConverter *
537 _HZ_SafeClone(const UConverter *cnv, in _HZ_SafeClone()
[all …]
Ducnv_cnv.c30 ucnv_getCompleteUnicodeSet(const UConverter *cnv, in ucnv_getCompleteUnicodeSet()
38 ucnv_getNonSurrogateUnicodeSet(const UConverter *cnv, in ucnv_getNonSurrogateUnicodeSet()
47 ucnv_fromUWriteBytes(UConverter *cnv, in ucnv_fromUWriteBytes()
87 ucnv_toUWriteUChars(UConverter *cnv, in ucnv_toUWriteUChars()
127 ucnv_toUWriteCodePoint(UConverter *cnv, in ucnv_toUWriteCodePoint()
Dunistr_cnv.cpp78 UConverter *cnv, in UnicodeString()
162 UConverter *converter; in extract()
206 UConverter *cnv, in extract()
250 UConverter *cnv, in doExtract()
313 UConverter *converter; in doCodepageCreate()
357 UConverter *converter, in doCodepageCreate()
Ducnv_ext.h351 ucnv_extInitialMatchToU(UConverter *cnv, const int32_t *cx,
365 ucnv_extContinueMatchToU(UConverter *cnv,
371 ucnv_extInitialMatchFromU(UConverter *cnv, const int32_t *cx,
385 ucnv_extContinueMatchFromU(UConverter *cnv,
Dustr_cnv.h29 U_CAPI UConverter* U_EXPORT2
38 u_releaseDefaultConverter(UConverter *converter);
Ducnv_ct.c167 _CompoundTextOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode);
170 _CompoundTextClose(UConverter *converter);
173 _CompoundTextReset(UConverter *converter, UConverterResetChoice choice);
176 _CompoundTextgetName(const UConverter* cnv);
259 _CompoundTextOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode){ in _CompoundTextOpen()
302 _CompoundTextClose(UConverter *converter) { in _CompoundTextClose()
319 _CompoundTextReset(UConverter *converter, UConverterResetChoice choice) { in _CompoundTextReset()
323 _CompoundTextgetName(const UConverter* cnv){ in _CompoundTextgetName()
329 UConverter *cnv = args->converter; in UConverter_fromUnicode_CompoundText_OFFSETS()
576 _CompoundText_GetUnicodeSet(const UConverter *cnv, in _CompoundText_GetUnicodeSet()
Ducnv_u16.c50 UConverter *cnv; in _UTF16BEFromUnicodeWithOffsets()
254 UConverter *cnv; in _UTF16BEToUnicodeWithOffsets()
569 _UTF16BEReset(UConverter *cnv, UConverterResetChoice choice) { in _UTF16BEReset()
585 _UTF16BEOpen(UConverter *cnv, in _UTF16BEOpen()
596 _UTF16BEGetName(const UConverter *cnv) { in _UTF16BEGetName()
646 UConverter *cnv; in _UTF16LEFromUnicodeWithOffsets()
850 UConverter *cnv; in _UTF16LEToUnicodeWithOffsets()
1165 _UTF16LEReset(UConverter *cnv, UConverterResetChoice choice) { in _UTF16LEReset()
1181 _UTF16LEOpen(UConverter *cnv, in _UTF16LEOpen()
1192 _UTF16LEGetName(const UConverter *cnv) { in _UTF16LEGetName()
[all …]
Ducnv_bld.cpp820 U_CAPI UConverter *
821 ucnv_createConverter(UConverter *myUConverter, const char *converterName, UErrorCode * err) in ucnv_createConverter()
852 UConverter myUConverter; in ucnv_canCreateConverter()
875 UConverter *
876 ucnv_createAlgorithmicConverter(UConverter *myUConverter, in ucnv_createAlgorithmicConverter()
880 UConverter *cnv; in ucnv_createAlgorithmicConverter()
912 U_CFUNC UConverter*
915 UConverter *myUConverter; in ucnv_createConverterFromPackage()
964 U_CFUNC UConverter*
965 ucnv_createConverterFromSharedData(UConverter *myUConverter, in ucnv_createConverterFromSharedData()
[all …]
Ducnv2022.cpp209 UConverter *currentConverter;
387 _ISO2022Open(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode);
390 _ISO2022Close(UConverter *converter);
393 _ISO2022Reset(UConverter *converter, UConverterResetChoice choice);
396 _ISO2022getName(const UConverter* cnv);
401 static UConverter *
402 _ISO_2022_SafeClone(const UConverter *cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *sta…
425 fromUWriteUInt8(UConverter *cnv, in fromUWriteUInt8()
440 setInitialStateToUnicodeKR(UConverter* /*converter*/, UConverterDataISO2022 *myConverterData){ in setInitialStateToUnicodeKR() argument
442 UConverter *cnv = myConverterData->currentConverter; in setInitialStateToUnicodeKR()
[all …]
Ducnv_u8.c90 static UBool hasCESU8Data(const UConverter *cnv) in hasCESU8Data()
102 UConverter *cnv = args->converter; in ucnv_toUnicode_UTF8()
230 UConverter *cnv = args->converter; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
360 UConverter *cnv = args->converter; in ucnv_fromUnicode_UTF8()
474 UConverter *cnv = args->converter; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
612 UConverter *cnv; in ucnv_getNextUChar_UTF8()
764 UConverter *utf8; in ucnv_UTF8FromUTF8()
/external/icu/icu4c/source/test/intltest/
Dconvtest.h86 checkToUnicode(ConversionCase &cc, UConverter *cnv, const char *name,
92 checkFromUnicode(ConversionCase &cc, UConverter *cnv, const char *name,
97 UConverter *
101 UConverter *utf8Cnv;
/external/icu/icu4c/source/test/cintltst/
Deurocreg.c117 UBool isEuroAware(UConverter*);
126 UConverter* myConv = ucnv_open(convertersToCheck[i], &err); in TestEuroRegression()
140 UBool isEuroAware(UConverter* myConv) in isEuroAware()
Dnucnvtst.c29 static void TestNextUChar(UConverter* cnv, const char* source, const char* limit, const int32_t res…
30 static void TestNextUCharError(UConverter* cnv, const char* source, const char* limit, UErrorCode e…
118 static UConverter *my_ucnv_open(const char *cnv, UErrorCode *err);
129 static UConverter *my_ucnv_open(const char *cnv, UErrorCode *err) in my_ucnv_open()
174 TestNextUChar(UConverter* cnv, const char* source, const char* limit, const int32_t results[], cons… in TestNextUChar()
204 TestNextUCharError(UConverter* cnv, const char* source, const char* limit, UErrorCode expected, con… in TestNextUCharError()
363 UConverter *conv = 0; in testConvertFromU()
520 UConverter *conv = 0; in testConvertToU()
1338 UConverter* myConverter; in TestConverterType()
1363 UConverter* myConverter; in TestConverterTypesAndStarters()
[all …]
Dccapitst.c41 static UConverter *
261 UConverter* someConverters[5]; in TestConvert()
262 UConverter* myConverter = 0; in TestConvert()
356 UConverter *converter=NULL; in TestConvert()
400 UConverter *cnv=NULL; in TestConvert()
671 UConverter *cnv=ucnv_open("ISO_2022", &err); in TestConvert()
1065 UConverter* someConverters[5]; in TestFlushCache()
1179 UConverter *cnv; in TestAlias()
1483 UConverter *conv1, *conv2 = NULL; in TestConvertSafeCloneCallback()
1683 (int32_t)(3*sizeof(UConverter))/2, /* 1.5*sizeof(UConverter) */ in TestConvertSafeClone()
[all …]
/external/sfntly/cpp/src/test/
Dtest_utils.cc41 int32_t TestUtils::EncodeOneChar(UConverter* encoder, int16_t uchar) { in EncodeOneChar()
72 UConverter* TestUtils::GetEncoder(const char* charset_name) { in GetEncoder()
76 UConverter* conv = ucnv_open(charset_name, &status); in GetEncoder()
Dtest_utils.h91 static int32_t EncodeOneChar(UConverter* encoder, int16_t uchar);
97 static UConverter* GetEncoder(const char* charsetName);
/external/icu/icu4c/source/samples/ucnv/
Dconvsamp.cpp204 UConverter *conv; in convsample_02()
300 UConverter *conv; in convsample_05()
396 UConverter *conv; in convsample_06()
529 UConverter *conv; in convsample_12()
569 UConverter *conv = NULL; in convsample_13()
616 UConverter *conv = NULL; in convsample_20_didSubstitute()
710 UConverter *conv = NULL, *cloneCnv = NULL; in convsample_21_didSubstitute()
879 UConverter *conv = NULL; in convsample_40()
985 UConverter *conv = NULL; in convsample_46()
1080 UConverter *conv = NULL; in convsample_50()
/external/icu/icu4c/source/tools/toolutil/
Ducbuf.h174 ucbuf_autodetect(const char* fileName, const char** cp,UConverter** conv,
194 ucbuf_autodetect_fs(FileStream* in, const char** cp, UConverter** conv, int32_t* signatureLength, U…
/external/libxml2/include/libxml/
Dencoding.h133 UConverter *uconv; /* for conversion between an encoding and UTF-16 */
134 UConverter *utf8; /* for conversion between UTF-8 and UTF-16 */

1234