Home
last modified time | relevance | path

Searched refs:maxCharLength (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4c/source/tools/makeconv/
Dgenmbcs.cpp197 int32_t i, sum, maxCharLength, in MBCSStartMappings() local
222 maxCharLength=mbcsData->ucm->states.maxCharLength; in MBCSStartMappings()
225 if(maxCharLength==1) { in MBCSStartMappings()
230 sum=0x100000*maxCharLength; in MBCSStartMappings()
291 if(maxCharLength==1) { in MBCSStartMappings()
316 … mbcsData->stage3Top=(stage3NullLength+stage3AllocLength)*maxCharLength; /* ==sum*maxCharLength */ in MBCSStartMappings()
691 int32_t maxCharLength; in MBCSAddFromUnicode() local
695 maxCharLength=mbcsData->ucm->states.maxCharLength; in MBCSAddFromUnicode()
760 blockSize=MBCS_UTF8_STAGE_3_BLOCK_SIZE*maxCharLength; in MBCSAddFromUnicode()
763 blockSize=MBCS_STAGE_3_BLOCK_SIZE*maxCharLength; in MBCSAddFromUnicode()
[all …]
Dmakeconv.cpp487 staticData->maxBytesPerChar=(int8_t)data->ucm->states.maxCharLength; in readHeader()
538 data->ucm->states.outputType=(int8_t)data->ucm->states.maxCharLength-1; in readHeader()
747 if(states->maxCharLength<states->minCharLength) { in createConverter()
748 … staticData->maxBytesPerChar=(int8_t)(states->maxCharLength=baseStates->maxCharLength); in createConverter()
795 if(states->maxCharLength>1) { in createConverter()
/external/icu/icu4c/source/tools/toolutil/
Ducmstate.cpp282 states->maxCharLength=(int8_t)(c-'0'); in ucm_parseHeaderLine()
283 states->outputType=(int8_t)(states->maxCharLength-1); in ucm_parseHeaderLine()
313 if(states->maxCharLength==0) { in ucm_parseHeaderLine()
438 if(states->maxCharLength!=1) { in ucm_processStates()
451 if(states->minCharLength!=1 || states->maxCharLength!=2) { in ucm_processStates()
464 if(states->minCharLength!=2 || states->maxCharLength!=2) { in ucm_processStates()
487 if(states->maxCharLength<states->minCharLength) { in ucm_processStates()
499 if(states->maxCharLength>count+1) { in ucm_processStates()
553 if(states->maxCharLength!=2) { in ucm_processStates()
554 …r, "ucm error: SI/SO codepages must have max 2 bytes/char (not %x)\n", (int)states->maxCharLength); in ucm_processStates()
[all …]
Ducm.h100 int32_t countStates, minCharLength, maxCharLength, countToUCodeUnits; member
Ducm.cpp1030 ucm->states.minCharLength=ucm->states.maxCharLength=1; in ucm_open()
1081 (baseStates->maxCharLength==1 || in ucm_mappingType()