Searched defs:ucm (Results 1 - 5 of 5) sorted by relevance

/external/icu4c/tools/toolutil/
H A Ducmstate.c16 * 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 Ducm.c8 * 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
1086 ucm_addMappingAuto(UCMFile *ucm, UBool forBase, UCMStates *baseStates, UCMapping *m, UChar32 codePoints[UCNV_EXT_MAX_UCHARS], uint8_t bytes[UCNV_EXT_MAX_BYTES]) argument
1125 ucm_addMappingFromLine(UCMFile *ucm, const char *line, UBool forBase, UCMStates *baseStates) argument
1143 ucm_readTable(UCMFile *ucm, FileStream* convFile, UBool forBase, UCMStates *baseStates, UErrorCode *pErrorCode) argument
[all...]
/external/icu4c/tools/makeconv/
H A Dmakeconv.c33 #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
[all...]
H A Dgencnvex.c26 #include "ucm.h"
50 UCMFile *ucm; member in struct:CnvExtData
52 /* toUnicode (state table in ucm->states) */
75 CnvExtOpen(UCMFile *ucm) { argument
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
[all...]
H A Dgenmbcs.c24 #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 87 milliseconds