Home
last modified time | relevance | path

Searched refs:cnvName (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4c/source/tools/makeconv/
Dmakeconv.cpp93 writeConverterData(ConvData *data, const char *cnvName, const char *cnvDir, UErrorCode *status);
112 writeConverterData(ConvData *data, const char *cnvName, const char *cnvDir, UErrorCode *status) in writeConverterData() argument
132 …mem = udata_create(cnvDir, "cnv", cnvName, &dataInfo, haveCopyright ? U_COPYRIGHT_STRING : NULL, s… in writeConverterData()
137 cnvName, in writeConverterData()
145 printf("- Opened udata %s.%s\n", cnvName, "cnv"); in writeConverterData()
201 char cnvName[UCNV_MAX_FULL_FILE_NAME_LENGTH]; in main() local
313 if ((outFileName.length() - outBasenameStart) >= UPRV_LENGTHOF(cnvName)) { in main()
317 uprv_strcpy(cnvName, outFileName.data() + outBasenameStart); in main()
347 p = strrchr(cnvName, U_FILE_SEP_CHAR); /* Find last file separator */ in main()
351 p = strrchr(cnvName, U_FILE_ALT_SEP_CHAR); in main()
[all …]
/external/icu/icu4c/source/common/
Ducnv_bld.cpp631 char *cnvName = pPieces->cnvName; in parseConverterOptions() local
643 pPieces->cnvName[0]=0; in parseConverterOptions()
646 *cnvName++=c; in parseConverterOptions()
649 *cnvName=0; in parseConverterOptions()
650 pArgs->name=pPieces->cnvName; in parseConverterOptions()
744 pPieces->cnvName[0] = 0; in ucnv_loadSharedData()
790 pArgs->name = pPieces->cnvName; in ucnv_loadSharedData()
797 if(mayContainOption && pArgs->name != pPieces->cnvName) { in ucnv_loadSharedData()
937 stackPieces.cnvName[0] = 0; in ucnv_createConverterFromPackage()
1189 stackPieces.cnvName[0] = 0; in internalSetName()
Ducnv_imp.h48 char cnvName[UCNV_MAX_CONVERTER_NAME_LENGTH]; member
Ducnv2022.cpp552 const char *cnvName; in _ISO2022Open() local
554 cnvName="icu-internal-25546"; in _ISO2022Open()
557 cnvName="ksc_5601"; in _ISO2022Open()
562 ucnv_canCreateConverter(cnvName, errorCode); /* errorCode carries result */ in _ISO2022Open()
567 myConverterData->currentConverter=ucnv_open(cnvName, errorCode); in _ISO2022Open()
/external/icu/icu4c/source/test/cintltst/
Dncnvtst.c1793 doTestTruncated(const char *cnvName, const uint8_t *bytes, int32_t length) { in doTestTruncated() argument
1803 cnv=ucnv_open(cnvName, &errorCode); in doTestTruncated()
1805 …log_data_err("error TestTruncated: unable to open \"%s\" - %s\n", cnvName, u_errorName(errorCode)); in doTestTruncated()
1811 cnvName, u_errorName(errorCode)); in doTestTruncated()
1825cnvName, length, u_errorName(errorCode), (int)(sourceLimit-source), (int)(target-buffer)); in doTestTruncated()
1834 cnvName, (int)length, u_errorName(errorCode), (int)(target-buffer)); in doTestTruncated()
1846cnvName, length, u_errorName(errorCode), (int)(sourceLimit-source), (int)(target-buffer)); in doTestTruncated()
1856 const char *cnvName; in TestTruncated() member
1894 doTestTruncated(testCases[i].cnvName, testCases[i].bytes, testCases[i].length); in TestTruncated()
Dnucnvtst.c1538 const char* cnvName = ucnv_getName(cnv, &status); in TestAmbiguous() local
1539 if (strlen(cnvName) < 8 || in TestAmbiguous()
1540 strncmp(cnvName, "ISO_2022_CN", 8) != 0) { in TestAmbiguous()
1843 const char *cnvName; in TestUTF7() local
1854 cnvName = ucnv_getName(cnv, &errorCode); in TestUTF7()
1855 if (U_FAILURE(errorCode) || uprv_strcmp(cnvName, "UTF-7") != 0) { in TestUTF7()
1856 log_err("UTF-7 converter is called %s: %s\n", cnvName, u_errorName(errorCode)); in TestUTF7()
1886 const char *cnvName; in TestIMAP() local
1897 cnvName = ucnv_getName(cnv, &errorCode); in TestIMAP()
1898 if (U_FAILURE(errorCode) || uprv_strcmp(cnvName, "IMAP-mailbox-name") != 0) { in TestIMAP()
[all …]