/external/icu4c/tools/makeconv/ |
makeconv.c | 33 #include "ucm.h" 42 UCMFile *ucm; member in struct:ConvData 67 ucm_close(data->ucm); 68 data->ucm=NULL; 230 "\tread .ucm codepage mapping files and write .cnv files\n" 248 printf("makeconv version %hu.%hu, ICU tool to read .ucm codepage mapping files and write .cnv files\n", 451 if(ucm_parseHeaderLine(data->ucm, line, &key, &value)) { 495 staticData->maxBytesPerChar=(int8_t)data->ucm->states.maxCharLength; 496 staticData->minBytesPerChar=(int8_t)data->ucm->states.minCharLength; 497 staticData->conversionType=data->ucm->states.conversionType [all...] |
gencnvex.c | 26 #include "ucm.h" 50 UCMFile *ucm; member in struct:CnvExtData 52 /* toUnicode (state table in ucm->states) */ 75 CnvExtOpen(UCMFile *ucm) { 85 extData->ucm=ucm; /* aliased, not owned */ 127 length=(int32_t)uprv_strlen(extData->ucm->baseName)+1; 130 extData->ucm->baseName[length++]=0; 142 udata_writeBlock(pData, extData->ucm->baseName, length); 220 indexes[UCNV_EXT_FLAGS]=extData->ucm->ext->unicodeMask [all...] |
genmbcs.c | 24 #include "ucm.h" 36 UCMFile *ucm; member in struct:MBCSData 38 /* toUnicode (state table in ucm->states) */ 150 MBCSInit(MBCSData *mbcsData, UCMFile *ucm) { 153 mbcsData->ucm=ucm; /* aliased, not owned */ 162 MBCSOpen(UCMFile *ucm) { 169 MBCSInit(mbcsData, ucm); 197 sum=mbcsData->ucm->states.countToUCodeUnits; 215 maxCharLength=mbcsData->ucm->states.maxCharLength [all...] |
/external/icu4c/tools/toolutil/ |
ucm.c | 8 * file name: ucm.c 16 * This file reads a .ucm file, stores its mappings and sorts them. 17 * It implements handling of Unicode conversion mappings from .ucm files 35 #include "ucm.h" 135 * Comparing by lengths first is for compatibility with old .ucm tools 245 fprintf(stderr, "ucm error: unable to allocate reverseMap\n"); 259 fprintf(stderr, "ucm error: sortTable()/uprv_sortArray() fails - %s\n", 372 "ucm error: the base table contains a mapping whose input sequence\n" 397 "ucm error: the base table contains a mapping whose input sequence\n" 489 "ucm error: the base table contains a mapping whose input sequence\n 1011 UCMFile *ucm=(UCMFile *)uprv_malloc(sizeof(UCMFile)); local [all...] |