Home
last modified time | relevance | path

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

/external/chromium_org/third_party/icu/source/tools/makeconv/
Dgenmbcs.c190 int32_t i, sum, maxCharLength, in MBCSStartMappings() local
215 maxCharLength=mbcsData->ucm->states.maxCharLength; in MBCSStartMappings()
218 if(maxCharLength==1) { in MBCSStartMappings()
223 sum=0x100000*maxCharLength; in MBCSStartMappings()
284 if(maxCharLength==1) { in MBCSStartMappings()
309 … mbcsData->stage3Top=(stage3NullLength+stage3AllocLength)*maxCharLength; /* ==sum*maxCharLength */ in MBCSStartMappings()
683 int32_t maxCharLength; in MBCSAddFromUnicode() local
687 maxCharLength=mbcsData->ucm->states.maxCharLength; in MBCSAddFromUnicode()
752 blockSize=MBCS_UTF8_STAGE_3_BLOCK_SIZE*maxCharLength; in MBCSAddFromUnicode()
755 blockSize=MBCS_STAGE_3_BLOCK_SIZE*maxCharLength; in MBCSAddFromUnicode()
[all …]
Dmakeconv.c495 staticData->maxBytesPerChar=(int8_t)data->ucm->states.maxCharLength; in readHeader()
546 data->ucm->states.outputType=(int8_t)data->ucm->states.maxCharLength-1; in readHeader()
755 if(states->maxCharLength<states->minCharLength) { in createConverter()
756 … staticData->maxBytesPerChar=(int8_t)(states->maxCharLength=baseStates->maxCharLength); in createConverter()
803 if(states->maxCharLength>1) { in createConverter()
/external/icu/icu4c/source/tools/makeconv/
Dgenmbcs.cpp190 int32_t i, sum, maxCharLength, in MBCSStartMappings() local
215 maxCharLength=mbcsData->ucm->states.maxCharLength; in MBCSStartMappings()
218 if(maxCharLength==1) { in MBCSStartMappings()
223 sum=0x100000*maxCharLength; in MBCSStartMappings()
284 if(maxCharLength==1) { in MBCSStartMappings()
309 … mbcsData->stage3Top=(stage3NullLength+stage3AllocLength)*maxCharLength; /* ==sum*maxCharLength */ in MBCSStartMappings()
683 int32_t maxCharLength; in MBCSAddFromUnicode() local
687 maxCharLength=mbcsData->ucm->states.maxCharLength; in MBCSAddFromUnicode()
752 blockSize=MBCS_UTF8_STAGE_3_BLOCK_SIZE*maxCharLength; in MBCSAddFromUnicode()
755 blockSize=MBCS_STAGE_3_BLOCK_SIZE*maxCharLength; in MBCSAddFromUnicode()
[all …]
Dmakeconv.c495 staticData->maxBytesPerChar=(int8_t)data->ucm->states.maxCharLength; in readHeader()
546 data->ucm->states.outputType=(int8_t)data->ucm->states.maxCharLength-1; in readHeader()
755 if(states->maxCharLength<states->minCharLength) { in createConverter()
756 … staticData->maxBytesPerChar=(int8_t)(states->maxCharLength=baseStates->maxCharLength); in createConverter()
803 if(states->maxCharLength>1) { in createConverter()
/external/icu/icu4c/source/tools/toolutil/
Ducmstate.c280 states->maxCharLength=(int8_t)(c-'0'); in ucm_parseHeaderLine()
281 states->outputType=(int8_t)(states->maxCharLength-1); in ucm_parseHeaderLine()
311 if(states->maxCharLength==0) { in ucm_parseHeaderLine()
436 if(states->maxCharLength!=1) { in ucm_processStates()
449 if(states->minCharLength!=1 || states->maxCharLength!=2) { in ucm_processStates()
462 if(states->minCharLength!=2 || states->maxCharLength!=2) { in ucm_processStates()
485 if(states->maxCharLength<states->minCharLength) { in ucm_processStates()
497 if(states->maxCharLength>count+1) { in ucm_processStates()
551 if(states->maxCharLength!=2) { in ucm_processStates()
552 …r, "ucm error: SI/SO codepages must have max 2 bytes/char (not %x)\n", (int)states->maxCharLength); in ucm_processStates()
[all …]
Ducm.h98 int32_t countStates, minCharLength, maxCharLength, countToUCodeUnits; member
Ducm.c1025 ucm->states.minCharLength=ucm->states.maxCharLength=1; in ucm_open()
1075 (baseStates->maxCharLength==1 || in ucm_mappingType()
/external/chromium_org/third_party/icu/source/tools/toolutil/
Ducmstate.c280 states->maxCharLength=(int8_t)(c-'0'); in ucm_parseHeaderLine()
281 states->outputType=(int8_t)(states->maxCharLength-1); in ucm_parseHeaderLine()
311 if(states->maxCharLength==0) { in ucm_parseHeaderLine()
436 if(states->maxCharLength!=1) { in ucm_processStates()
449 if(states->minCharLength!=1 || states->maxCharLength!=2) { in ucm_processStates()
462 if(states->minCharLength!=2 || states->maxCharLength!=2) { in ucm_processStates()
485 if(states->maxCharLength<states->minCharLength) { in ucm_processStates()
497 if(states->maxCharLength>count+1) { in ucm_processStates()
551 if(states->maxCharLength!=2) { in ucm_processStates()
552 …r, "ucm error: SI/SO codepages must have max 2 bytes/char (not %x)\n", (int)states->maxCharLength); in ucm_processStates()
[all …]
Ducm.h97 int32_t countStates, minCharLength, maxCharLength, countToUCodeUnits; member
Ducm.c1025 ucm->states.minCharLength=ucm->states.maxCharLength=1; in ucm_open()
1074 (baseStates->maxCharLength==1 || in ucm_mappingType()