Home
last modified time | relevance | path

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

/external/icu4c/tools/makeconv/
Dmakeconv.c91 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()
201 char cnvName[UCNV_MAX_FULL_FILE_NAME_LENGTH]; in main() local
324 uprv_strcpy(cnvName, outBasename); in main()
352 p = strrchr(cnvName, U_FILE_SEP_CHAR); /* Find last file separator */ in main()
356 p = strrchr(cnvName, U_FILE_ALT_SEP_CHAR); in main()
359 p=cnvName; /* If no separators, no problem */ in main()
[all …]
/external/icu4c/common/
Ducnv_bld.c631 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()
795 if(mayContainOption && pArgs->name != pPieces->cnvName) { in ucnv_loadSharedData()
940 stackPieces.cnvName[0] = 0; in ucnv_createConverterFromPackage()
1205 stackPieces.cnvName[0] = 0; in internalSetName()
Ducnv_imp.h46 char cnvName[UCNV_MAX_CONVERTER_NAME_LENGTH]; member
Ducnv2022.c531 const char *cnvName; in _ISO2022Open() local
533 cnvName="icu-internal-25546"; in _ISO2022Open()
536 cnvName="ksc_5601"; in _ISO2022Open()
541 ucnv_canCreateConverter(cnvName, errorCode); /* errorCode carries result */ in _ISO2022Open()
546 myConverterData->currentConverter=ucnv_open(cnvName, errorCode); in _ISO2022Open()
/external/icu4c/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.c1542 const char* cnvName = ucnv_getName(cnv, &status); in TestAmbiguous() local
1543 if (strlen(cnvName) < 8 || in TestAmbiguous()
1544 strncmp(cnvName, "ISO_2022", 8) != 0) { in TestAmbiguous()
1847 const char *cnvName; in TestUTF7() local
1858 cnvName = ucnv_getName(cnv, &errorCode); in TestUTF7()
1859 if (U_FAILURE(errorCode) || uprv_strcmp(cnvName, "UTF-7") != 0) { in TestUTF7()
1860 log_err("UTF-7 converter is called %s: %s\n", cnvName, u_errorName(errorCode)); in TestUTF7()
1890 const char *cnvName; in TestIMAP() local
1901 cnvName = ucnv_getName(cnv, &errorCode); in TestIMAP()
1902 if (U_FAILURE(errorCode) || uprv_strcmp(cnvName, "IMAP-mailbox-name") != 0) { in TestIMAP()
[all …]