Home
last modified time | relevance | path

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

/external/cronet/third_party/icu/source/tools/makeconv/
Dgenmbcs.cpp198 int32_t i, sum, maxCharLength, in MBCSStartMappings() local
223 maxCharLength=mbcsData->ucm->states.maxCharLength; in MBCSStartMappings()
226 if(maxCharLength==1) { in MBCSStartMappings()
231 sum=0x100000*maxCharLength; in MBCSStartMappings()
292 if(maxCharLength==1) { in MBCSStartMappings()
317 … mbcsData->stage3Top=(stage3NullLength+stage3AllocLength)*maxCharLength; /* ==sum*maxCharLength */ in MBCSStartMappings()
692 int32_t maxCharLength; in MBCSAddFromUnicode() local
696 maxCharLength=mbcsData->ucm->states.maxCharLength; in MBCSAddFromUnicode()
761 blockSize=MBCS_UTF8_STAGE_3_BLOCK_SIZE*maxCharLength; in MBCSAddFromUnicode()
764 blockSize=MBCS_STAGE_3_BLOCK_SIZE*maxCharLength; in MBCSAddFromUnicode()
[all …]
Dmakeconv.cpp499 staticData->maxBytesPerChar=(int8_t)data->ucm->states.maxCharLength; in readHeader()
550 data->ucm->states.outputType=(int8_t)data->ucm->states.maxCharLength-1; in readHeader()
759 if(states->maxCharLength<states->minCharLength) { in createConverter()
760 … staticData->maxBytesPerChar=(int8_t)(states->maxCharLength=baseStates->maxCharLength); in createConverter()
807 if(states->maxCharLength>1) { in createConverter()
/external/icu/icu4c/source/tools/makeconv/
Dgenmbcs.cpp198 int32_t i, sum, maxCharLength, in MBCSStartMappings() local
223 maxCharLength=mbcsData->ucm->states.maxCharLength; in MBCSStartMappings()
226 if(maxCharLength==1) { in MBCSStartMappings()
231 sum=0x100000*maxCharLength; in MBCSStartMappings()
292 if(maxCharLength==1) { in MBCSStartMappings()
317 … mbcsData->stage3Top=(stage3NullLength+stage3AllocLength)*maxCharLength; /* ==sum*maxCharLength */ in MBCSStartMappings()
692 int32_t maxCharLength; in MBCSAddFromUnicode() local
696 maxCharLength=mbcsData->ucm->states.maxCharLength; in MBCSAddFromUnicode()
761 blockSize=MBCS_UTF8_STAGE_3_BLOCK_SIZE*maxCharLength; in MBCSAddFromUnicode()
764 blockSize=MBCS_STAGE_3_BLOCK_SIZE*maxCharLength; in MBCSAddFromUnicode()
[all …]
Dmakeconv.cpp499 staticData->maxBytesPerChar=(int8_t)data->ucm->states.maxCharLength; in readHeader()
550 data->ucm->states.outputType=(int8_t)data->ucm->states.maxCharLength-1; in readHeader()
759 if(states->maxCharLength<states->minCharLength) { in createConverter()
760 … staticData->maxBytesPerChar=(int8_t)(states->maxCharLength=baseStates->maxCharLength); in createConverter()
807 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()
/external/cronet/third_party/icu/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()