Searched defs:ucm (Results 1 - 5 of 5) sorted by relevance
/external/icu/icu4c/source/tools/toolutil/ |
H A D | ucmstate.c | 16 * This file handles ICU .ucm file state information as part of the ucm module. 27 #include "ucm.h" 190 fprintf(stderr, "ucm error: too many states (maximum %u)\n", MBCS_MAX_STATE_COUNT); 197 fprintf(stderr, "ucm error: parse error in state definition at '%s'\n", error); 205 ucm_parseHeaderLine(UCMFile *ucm, argument 211 states=&ucm->states; 237 fprintf(stderr, "ucm error: no header field <key> in line \"%s\"\n", line); 243 fprintf(stderr, "ucm error: incomplete header field <key> in line \"%s\"\n", line); 273 fprintf(stderr, "ucm erro [all...] |
H A D | 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 erro 693 ucm_separateMappings(UCMFile *ucm, UBool isSISO) argument 1011 UCMFile *ucm=(UCMFile *)uprv_malloc(sizeof(UCMFile)); local 1031 ucm_close(UCMFile *ucm) argument 1087 ucm_addMappingAuto(UCMFile *ucm, UBool forBase, UCMStates *baseStates, UCMapping *m, UChar32 codePoints[UCNV_EXT_MAX_UCHARS], uint8_t bytes[UCNV_EXT_MAX_BYTES]) argument 1126 ucm_addMappingFromLine(UCMFile *ucm, const char *line, UBool forBase, UCMStates *baseStates) argument 1144 ucm_readTable(UCMFile *ucm, FileStream* convFile, UBool forBase, UCMStates *baseStates, UErrorCode *pErrorCode) argument [all...] |
/external/icu/icu4c/source/tools/makeconv/ |
H A D | makeconv.cpp | 34 #include "ucm.h" 41 UCMFile *ucm; member in struct:ConvData 66 ucm_close(data->ucm); 67 data->ucm=NULL; 224 "\tread .ucm codepage mapping files and write .cnv files\n" 243 printf("makeconv version %u.%u, ICU tool to read .ucm codepage mapping files and write .cnv files\n", 441 if(ucm_parseHeaderLine(data->ucm, line, &key, &value)) { 485 staticData->maxBytesPerChar=(int8_t)data->ucm->states.maxCharLength; 486 staticData->minBytesPerChar=(int8_t)data->ucm->states.minCharLength; 487 staticData->conversionType=data->ucm [all...] |
H A D | gencnvex.c | 26 #include "ucm.h" 47 UCMFile *ucm; member in struct:CnvExtData 49 /* toUnicode (state table in ucm->states) */ 72 CnvExtOpen(UCMFile *ucm) { argument 82 extData->ucm=ucm; /* aliased, not owned */ 125 length=(int32_t)uprv_strlen(extData->ucm->baseName)+1; 128 extData->ucm->baseName[length++]=0; 140 udata_writeBlock(pData, extData->ucm->baseName, length); 218 indexes[UCNV_EXT_FLAGS]=extData->ucm [all...] |
H A D | genmbcs.cpp | 24 #include "ucm.h" 36 UCMFile *ucm; member in struct:MBCSData 38 /* toUnicode (state table in ucm->states) */ 150 MBCSInit(MBCSData *mbcsData, UCMFile *ucm) { argument 153 mbcsData->ucm=ucm; /* aliased, not owned */ 162 MBCSOpen(UCMFile *ucm) { argument 169 MBCSInit(mbcsData, ucm); 197 sum=mbcsData->ucm->states.countToUCodeUnits; 215 maxCharLength=mbcsData->ucm [all...] |
Completed in 192 milliseconds