Home | History | Annotate | Download | only in cintltst

Lines Matching full:lmbcs

835     /* LMBCS */
957 /*LMBCS*/
959 expectedLMBCS, sizeof(expectedLMBCS), "LMBCS-1", toLMBCSOffs,FALSE );
961 LMBCSUChars, sizeof(LMBCSUChars)/sizeof(LMBCSUChars[0]), "LMBCS-1", fmLMBCSOffs,FALSE);
4761 /* LMBCS-1 string */
4842 #define NAME_LMBCS_1 "LMBCS-1"
4843 #define NAME_LMBCS_2 "LMBCS-2"
4846 /* Some basic open/close/property tests on some LMBCS converters */
4863 log_data_err("Unable to open a LMBCS-1 converter: %s\n", u_errorName(errorCode));
4868 log_data_err("Unable to open a LMBCS-2 converter: %s\n", u_errorName(errorCode));
4912 /* LMBCS to Unicode - offsets */
4932 cnv=ucnv_open("lmbcs", &errorCode); /* use generic name for LMBCS-1 */
4934 log_data_err("Unable to open a LMBCS converter: %s\n", u_errorName(errorCode));
4952 log_err("LMBCS->Uni: Calculated offsets do not match expected results\n");
4956 log_err("LMBCS->Uni: Calculated codepoints do not match expected results\n");
4961 /* LMBCS to Unicode - getNextUChar */
4971 cnv=ucnv_open("LMBCS-1", &errorCode);
4973 log_data_err("Unable to open a LMBCS-1 converter: %s\n", u_errorName(errorCode));
4983 log_err("LMBCS-1 ucnv_getNextUChar() failed: %s\n", u_errorName(errorCode));
4986 log_err("LMBCS-1 ucnv_getNextUChar() result %lx from %d bytes, should have been %lx from %d bytes.\n",
4996 { /* test locale & optimization group operations: Unicode to LMBCS */
4999 UConverter *cnv16he = ucnv_open("LMBCS-16,locale=he", &errorCode);
5000 UConverter *cnv16jp = ucnv_open("LMBCS-16,locale=ja_JP", &errorCode);
5001 UConverter *cnv01us = ucnv_open("LMBCS-1,locale=us_EN", &errorCode);
5017 log_err("LMBCS-16,locale=he gives unexpected translation\n");
5029 log_err("LMBCS-1,locale=US gives unexpected translation\n");
5042 log_err("Unexpected results from LMBCS-16 single byte char\n");
5054 log_err("Unexpected results to LMBCS-1 single byte mbcs char\n");
5064 log_err("Unexpected results from LMBCS-1 single byte mbcs char\n");
5074 log_err("Unexpected results to LMBCS-16 single byte mbcs char\n");
5081 /* Small source buffer testing, LMBCS -> Unicode */
5096 log_err("Unable to open a LMBCS-1 converter: %s\n", u_errorName(errorCode));
5119 log_err("LMBCS->Uni result %lx should have been %lx \n",
5215 /* unpaired or chopped LMBCS surrogates */