/external/icu/icu4c/source/tools/makeconv/ |
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->states.conversionType [all...] |
gencnvex.c | 26 #include "ucm.h" 47 UCMFile *ucm; member in struct:CnvExtData 49 /* toUnicode (state table in ucm->states) */ 72 CnvExtOpen(UCMFile *ucm) { 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->ext->unicodeMask [all...] |
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) { 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...] |
/frameworks/av/media/libmedia/ |
CharacterEncodingDetector.cpp | 87 const UCharsetMatch *ucm; local 191 ucm = ucsdet_detect(csd, &status); 192 if (!ucm) { 196 enc = ucsdet_getName(ucm, &status); 198 enc, mNames.getEntry(i), ucsdet_getConfidence(ucm, &status));
|
/external/icu/icu4c/source/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...] |