Home
last modified time | relevance | path

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

/external/icu/icu4c/source/tools/makeconv/
Dmakeconv.cpp91 writeConverterData(ConvData *data, const char *cnvName, const char *cnvDir, UErrorCode *status);
110 writeConverterData(ConvData *data, const char *cnvName, const char *cnvDir, UErrorCode *status) in writeConverterData() argument
130 …mem = udata_create(cnvDir, "cnv", cnvName, &dataInfo, haveCopyright ? U_COPYRIGHT_STRING : NULL, s… in writeConverterData()
135 cnvName, in writeConverterData()
143 printf("- Opened udata %s.%s\n", cnvName, "cnv"); in writeConverterData()
199 char cnvName[UCNV_MAX_FULL_FILE_NAME_LENGTH]; in main() local
311 if ((outFileName.length() - outBasenameStart) >= UPRV_LENGTHOF(cnvName)) { in main()
315 uprv_strcpy(cnvName, outFileName.data() + outBasenameStart); in main()
345 p = strrchr(cnvName, U_FILE_SEP_CHAR); /* Find last file separator */ in main()
349 p = strrchr(cnvName, U_FILE_ALT_SEP_CHAR); in main()
[all …]
/external/icu/icu4c/source/common/
Ducnv_bld.cpp624 char *cnvName = pPieces->cnvName; in parseConverterOptions() local
636 pPieces->cnvName[0]=0; in parseConverterOptions()
639 *cnvName++=c; in parseConverterOptions()
642 *cnvName=0; in parseConverterOptions()
643 pArgs->name=pPieces->cnvName; in parseConverterOptions()
737 pPieces->cnvName[0] = 0; in ucnv_loadSharedData()
783 pArgs->name = pPieces->cnvName; in ucnv_loadSharedData()
790 if(mayContainOption && pArgs->name != pPieces->cnvName) { in ucnv_loadSharedData()
930 stackPieces.cnvName[0] = 0; in ucnv_createConverterFromPackage()
1182 stackPieces.cnvName[0] = 0; in internalSetName()
Ducnv_imp.h46 char cnvName[UCNV_MAX_CONVERTER_NAME_LENGTH]; member
Ducnv2022.cpp567 const char *cnvName; in _ISO2022Open() local
569 cnvName="icu-internal-25546"; in _ISO2022Open()
572 cnvName="ksc_5601"; in _ISO2022Open()
577 ucnv_canCreateConverter(cnvName, errorCode); /* errorCode carries result */ in _ISO2022Open()
582 myConverterData->currentConverter=ucnv_open(cnvName, errorCode); in _ISO2022Open()
/external/icu/icu4c/source/test/cintltst/
Dncnvtst.c1795 doTestTruncated(const char *cnvName, const uint8_t *bytes, int32_t length) { in doTestTruncated() argument
1805 cnv=ucnv_open(cnvName, &errorCode); in doTestTruncated()
1807 …log_data_err("error TestTruncated: unable to open \"%s\" - %s\n", cnvName, u_errorName(errorCode)); in doTestTruncated()
1813 cnvName, u_errorName(errorCode)); in doTestTruncated()
1827cnvName, length, u_errorName(errorCode), (int)(sourceLimit-source), (int)(target-buffer)); in doTestTruncated()
1836 cnvName, (int)length, u_errorName(errorCode), (int)(target-buffer)); in doTestTruncated()
1848cnvName, length, u_errorName(errorCode), (int)(sourceLimit-source), (int)(target-buffer)); in doTestTruncated()
1858 const char *cnvName; in TestTruncated() member
1896 doTestTruncated(testCases[i].cnvName, testCases[i].bytes, testCases[i].length); in TestTruncated()
Dnucnvtst.c1526 const char* cnvName = ucnv_getName(cnv, &status); in TestAmbiguous() local
1527 if (strlen(cnvName) < 8 || in TestAmbiguous()
1528 strncmp(cnvName, "ISO_2022_CN", 8) != 0) { in TestAmbiguous()
1831 const char *cnvName; in TestUTF7() local
1842 cnvName = ucnv_getName(cnv, &errorCode); in TestUTF7()
1843 if (U_FAILURE(errorCode) || uprv_strcmp(cnvName, "UTF-7") != 0) { in TestUTF7()
1844 log_err("UTF-7 converter is called %s: %s\n", cnvName, u_errorName(errorCode)); in TestUTF7()
1874 const char *cnvName; in TestIMAP() local
1885 cnvName = ucnv_getName(cnv, &errorCode); in TestIMAP()
1886 if (U_FAILURE(errorCode) || uprv_strcmp(cnvName, "IMAP-mailbox-name") != 0) { in TestIMAP()
[all …]