Home
last modified time | relevance | path

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

12345

/external/icu/libandroidicu/include/unicode/
Ducnv.h365 U_STABLE UConverter* U_EXPORT2
395 U_STABLE UConverter* U_EXPORT2
463 U_STABLE UConverter* U_EXPORT2
498 U_STABLE UConverter* U_EXPORT2
540 U_STABLE UConverter * U_EXPORT2
541 ucnv_safeClone(const UConverter *cnv,
570 ucnv_close(UConverter * converter);
585 U_DEFINE_LOCAL_OPEN_POINTER(LocalUConverterPointer, UConverter, ucnv_close);
609 ucnv_getSubstChars(const UConverter *converter,
634 ucnv_setSubstChars(UConverter *converter,
[all …]
Ducnv_err.h93 struct UConverter;
96 typedef struct UConverter UConverter; typedef
197UConverter *converter; /**< Pointer to the converter that is opened and to which this struct …
213UConverter *converter; /**< Pointer to the converter that is opened and to which this struct …
/external/icu/icu4c/source/common/unicode/
Ducnv.h365 U_STABLE UConverter* U_EXPORT2
395 U_STABLE UConverter* U_EXPORT2
463 U_STABLE UConverter* U_EXPORT2
498 U_STABLE UConverter* U_EXPORT2
540 U_STABLE UConverter * U_EXPORT2
541 ucnv_safeClone(const UConverter *cnv,
570 ucnv_close(UConverter * converter);
585 U_DEFINE_LOCAL_OPEN_POINTER(LocalUConverterPointer, UConverter, ucnv_close);
609 ucnv_getSubstChars(const UConverter *converter,
634 ucnv_setSubstChars(UConverter *converter,
[all …]
Ducnv_err.h93 struct UConverter;
96 typedef struct UConverter UConverter; typedef
197UConverter *converter; /**< Pointer to the converter that is opened and to which this struct …
213UConverter *converter; /**< Pointer to the converter that is opened and to which this struct …
/external/icu/icu4c/source/common/
Ducnv_cnv.h69 typedef void (*UConverterOpen) (UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *pErrorCode);
70 typedef void (*UConverterClose) (UConverter *cnv);
78 typedef void (*UConverterReset) (UConverter *cnv, UConverterResetChoice choice);
152 typedef void (*UConverterGetStarters)(const UConverter* converter,
160 typedef const char * (*UConverterGetName) (const UConverter *cnv);
180 typedef UConverter * (*UConverterSafeClone) (const UConverter *cnv,
209 typedef void (*UConverterGetUnicodeSet) (const UConverter *cnv,
287 ucnv_getCompleteUnicodeSet(const UConverter *cnv,
293 ucnv_getNonSurrogateUnicodeSet(const UConverter *cnv,
299 ucnv_fromUWriteBytes(UConverter *cnv,
[all …]
Ducnv_imp.h61 U_CAPI UConverter *
62 ucnv_createConverter(UConverter *myUConverter, const char *converterName, UErrorCode * err);
75 U_CFUNC UConverter *
76 ucnv_createAlgorithmicConverter(UConverter *myUConverter,
87 U_CFUNC UConverter *
88 ucnv_createConverterFromSharedData(UConverter *myUConverter,
93 U_CFUNC UConverter *
Ducnv.cpp72 U_CAPI UConverter* U_EXPORT2
76 UConverter *r; in ucnv_open()
86 U_CAPI UConverter* U_EXPORT2
93 U_CAPI UConverter* U_EXPORT2
135 U_CAPI UConverter* U_EXPORT2
157 U_CAPI UConverter* U_EXPORT2
158 ucnv_safeClone(const UConverter* cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status) in ucnv_safeClone()
160 UConverter *localConverter, *allocatedConverter; in ucnv_safeClone()
213 bufferSizeNeeded = sizeof(UConverter); in ucnv_safeClone()
233 uintptr_t aligned_p = (p + alignof(UConverter) - 1) & ~(alignof(UConverter) - 1); in ucnv_safeClone()
[all …]
Dustr_cnv.cpp35 static UConverter *gDefaultConverter = NULL;
37 U_CAPI UConverter* U_EXPORT2
40 UConverter *converter = NULL; in u_getDefaultConverter()
66 u_releaseDefaultConverter(UConverter *converter) in u_releaseDefaultConverter()
89 UConverter *converter = NULL; in u_flushDefaultConverter()
138 UConverter *cnv = u_getDefaultConverter(&err); in u_uastrncpy()
168 UConverter *cnv = u_getDefaultConverter(&err); in u_uastrcpy()
210 UConverter *cnv = u_getDefaultConverter(&err); in u_austrncpy()
240 UConverter *cnv = u_getDefaultConverter(&err); in u_austrcpy()
Ducnv_cnv.cpp32 ucnv_getCompleteUnicodeSet(const UConverter *cnv, in ucnv_getCompleteUnicodeSet()
43 ucnv_getNonSurrogateUnicodeSet(const UConverter *cnv, in ucnv_getNonSurrogateUnicodeSet()
55 ucnv_fromUWriteBytes(UConverter *cnv, in ucnv_fromUWriteBytes()
95 ucnv_toUWriteUChars(UConverter *cnv, in ucnv_toUWriteUChars()
135 ucnv_toUWriteCodePoint(UConverter *cnv, in ucnv_toUWriteCodePoint()
Ducnvhz.cpp60 UConverter* gbConverter;
72 _HZOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode){ in _HZOpen()
73 UConverter *gbConverter; in _HZOpen()
98 _HZClose(UConverter *cnv){ in _HZClose()
109 _HZReset(UConverter *cnv, UConverterResetChoice choice){ in _HZReset()
501 UConverter *cnv = args->converter; in _HZ_WriteSub()
524 UConverter cnv;
525 UConverter subCnv;
530 static UConverter * U_CALLCONV
531 _HZ_SafeClone(const UConverter *cnv, in _HZ_SafeClone()
[all …]
Dunistr_cnv.cpp80 UConverter *cnv, in UnicodeString()
164 UConverter *converter; in extract()
208 UConverter *cnv, in extract()
252 UConverter *cnv, in doExtract()
315 UConverter *converter; in doCodepageCreate()
359 UConverter *converter, in doCodepageCreate()
Ducnv_ext.h353 ucnv_extInitialMatchToU(UConverter *cnv, const int32_t *cx,
367 ucnv_extContinueMatchToU(UConverter *cnv,
373 ucnv_extInitialMatchFromU(UConverter *cnv, const int32_t *cx,
387 ucnv_extContinueMatchFromU(UConverter *cnv,
Ducnv_u16.cpp54 UConverter *cnv; in _UTF16BEFromUnicodeWithOffsets()
258 UConverter *cnv; in _UTF16BEToUnicodeWithOffsets()
573 _UTF16BEReset(UConverter *cnv, UConverterResetChoice choice) { in _UTF16BEReset()
589 _UTF16BEOpen(UConverter *cnv, in _UTF16BEOpen()
601 _UTF16BEGetName(const UConverter *cnv) { in _UTF16BEGetName()
655 UConverter *cnv; in _UTF16LEFromUnicodeWithOffsets()
859 UConverter *cnv; in _UTF16LEToUnicodeWithOffsets()
1174 _UTF16LEReset(UConverter *cnv, UConverterResetChoice choice) { in _UTF16LEReset()
1190 _UTF16LEOpen(UConverter *cnv, in _UTF16LEOpen()
1202 _UTF16LEGetName(const UConverter *cnv) { in _UTF16LEGetName()
[all …]
Dustr_cnv.h31 U_CAPI UConverter* U_EXPORT2
40 u_releaseDefaultConverter(UConverter *converter);
Ducnv_ct.cpp170 _CompoundTextOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode);
173 _CompoundTextClose(UConverter *converter);
176 _CompoundTextReset(UConverter *converter, UConverterResetChoice choice);
179 _CompoundTextgetName(const UConverter* cnv);
262 _CompoundTextOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode){ in _CompoundTextOpen()
305 _CompoundTextClose(UConverter *converter) { in _CompoundTextClose()
323 _CompoundTextReset(UConverter *converter, UConverterResetChoice choice) { in _CompoundTextReset()
329 _CompoundTextgetName(const UConverter* cnv){ in _CompoundTextgetName()
336 UConverter *cnv = args->converter; in UConverter_fromUnicode_CompoundText_OFFSETS()
583 _CompoundText_GetUnicodeSet(const UConverter *cnv, in _CompoundText_GetUnicodeSet()
Ducnv_bld.cpp827 U_CAPI UConverter *
828 ucnv_createConverter(UConverter *myUConverter, const char *converterName, UErrorCode * err) in ucnv_createConverter()
859 UConverter myUConverter; in ucnv_canCreateConverter()
882 UConverter *
883 ucnv_createAlgorithmicConverter(UConverter *myUConverter, in ucnv_createAlgorithmicConverter()
887 UConverter *cnv; in ucnv_createAlgorithmicConverter()
919 U_CFUNC UConverter*
922 UConverter *myUConverter; in ucnv_createConverterFromPackage()
971 U_CFUNC UConverter*
972 ucnv_createConverterFromSharedData(UConverter *myUConverter, in ucnv_createConverterFromSharedData()
[all …]
Ducnv2022.cpp211 UConverter *currentConverter;
389 _ISO2022Open(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode);
392 _ISO2022Close(UConverter *converter);
395 _ISO2022Reset(UConverter *converter, UConverterResetChoice choice);
399 _ISO2022getName(const UConverter* cnv);
406 static UConverter * U_CALLCONV
407 _ISO_2022_SafeClone(const UConverter *cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *sta…
432 fromUWriteUInt8(UConverter *cnv, in fromUWriteUInt8()
447 setInitialStateToUnicodeKR(UConverter* /*converter*/, UConverterDataISO2022 *myConverterData){ in setInitialStateToUnicodeKR() argument
449 UConverter *cnv = myConverterData->currentConverter; in setInitialStateToUnicodeKR()
[all …]
/external/icu/icu4c/source/test/intltest/
Dconvtest.h89 checkToUnicode(ConversionCase &cc, UConverter *cnv, const char *name,
95 checkFromUnicode(ConversionCase &cc, UConverter *cnv, const char *name,
100 UConverter *
104 UConverter *utf8Cnv;
/external/icu/icu4c/source/test/cintltst/
Deurocreg.c119 UBool isEuroAware(UConverter*);
128 UConverter* myConv = ucnv_open(convertersToCheck[i], &err); in TestEuroRegression()
142 UBool isEuroAware(UConverter* myConv) in isEuroAware()
Dnucnvtst.c31 static void TestNextUChar(UConverter* cnv, const char* source, const char* limit, const int32_t res…
32 static void TestNextUCharError(UConverter* cnv, const char* source, const char* limit, UErrorCode e…
120 static UConverter *my_ucnv_open(const char *cnv, UErrorCode *err);
131 static UConverter *my_ucnv_open(const char *cnv, UErrorCode *err) in my_ucnv_open()
176 TestNextUChar(UConverter* cnv, const char* source, const char* limit, const int32_t results[], cons… in TestNextUChar()
206 TestNextUCharError(UConverter* cnv, const char* source, const char* limit, UErrorCode expected, con… in TestNextUCharError()
365 UConverter *conv = 0; in testConvertFromU()
522 UConverter *conv = 0; in testConvertToU()
1350 UConverter* myConverter; in TestConverterType()
1375 UConverter* myConverter; in TestConverterTypesAndStarters()
[all …]
Dccapitst.c47 static UConverter *
267 UConverter* someConverters[5]; in TestConvert()
268 UConverter* myConverter = 0; in TestConvert()
362 UConverter *converter=NULL; in TestConvert()
406 UConverter *cnv=NULL; in TestConvert()
677 UConverter *cnv=ucnv_open("ISO_2022", &err); in TestConvert()
1071 UConverter* someConverters[5]; in TestFlushCache()
1185 UConverter *cnv; in TestAlias()
1498 UConverter *conv1, *conv2 = NULL; in TestConvertSafeCloneCallback()
1698 (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/android_icu4j/libcore_bridge/src/native/
Dcom_android_icu_charset_NativeConverter.cpp62 static UConverter* toUConverter(jlong address) { in toUConverter()
63 return reinterpret_cast<UConverter*>(static_cast<uintptr_t>(address)); in toUConverter()
186 UConverter* cnv = ucnv_open(converterNameChars.c_str(), &status); in NativeConverter_openConverter()
216 UConverter* cnv = toUConverter(address); in NativeConverter_encode()
272 UConverter* cnv = toUConverter(address); in NativeConverter_decode()
325 UConverter* cnv = toUConverter(address); in NativeConverter_resetByteToChar()
332 UConverter* cnv = toUConverter(address); in NativeConverter_resetCharToByte()
339 UConverter* cnv = toUConverter(address); in NativeConverter_getMaxBytesPerChar()
344 UConverter* cnv = toUConverter(address); in NativeConverter_getAveBytesPerChar()
414 UConverter* cnv = toUConverter(address); in NativeConverter_setCallbackEncode()
[all …]
/external/icu/icu4c/source/samples/ucnv/
Dconvsamp.cpp213 UConverter *conv; in convsample_02()
309 UConverter *conv; in convsample_05()
405 UConverter *conv; in convsample_06()
538 UConverter *conv; in convsample_12()
578 UConverter *conv = NULL; in convsample_13()
625 UConverter *conv = NULL; in convsample_20_didSubstitute()
719 UConverter *conv = NULL, *cloneCnv = NULL; in convsample_21_didSubstitute()
887 UConverter *conv = NULL; in convsample_40()
992 UConverter *conv = NULL; in convsample_46()
1086 UConverter *conv = NULL; in convsample_50()

12345