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

/external/chromium_org/third_party/icu/source/tools/makeconv/
H A Dgenmbcs.cpp30 * Reduce tests for maxCharLength.
137 * Assume maxCharLength>1.
190 int32_t i, sum, maxCharLength, local
215 maxCharLength=mbcsData->ucm->states.maxCharLength;
218 if(maxCharLength==1) {
222 /* allocate 1M * maxCharLength bytes for at most 1M mappings */
223 sum=0x100000*maxCharLength;
281 * MBCS: indexes need to be multiplied by 16*maxCharLength, indexes increment by 1
284 if(maxCharLength
683 int32_t maxCharLength; local
940 int32_t i, maxCharLength; local
1332 int32_t maxCharLength, stage3Width; local
[all...]
H A Dmakeconv.c495 staticData->maxBytesPerChar=(int8_t)data->ucm->states.maxCharLength;
546 data->ucm->states.outputType=(int8_t)data->ucm->states.maxCharLength-1;
755 if(states->maxCharLength<states->minCharLength) {
756 staticData->maxBytesPerChar=(int8_t)(states->maxCharLength=baseStates->maxCharLength);
803 if(states->maxCharLength>1) {
/external/icu/icu4c/source/tools/makeconv/
H A Dgenmbcs.cpp30 * Reduce tests for maxCharLength.
137 * Assume maxCharLength>1.
190 int32_t i, sum, maxCharLength, local
215 maxCharLength=mbcsData->ucm->states.maxCharLength;
218 if(maxCharLength==1) {
222 /* allocate 1M * maxCharLength bytes for at most 1M mappings */
223 sum=0x100000*maxCharLength;
281 * MBCS: indexes need to be multiplied by 16*maxCharLength, indexes increment by 1
284 if(maxCharLength
683 int32_t maxCharLength; local
940 int32_t i, maxCharLength; local
1332 int32_t maxCharLength, stage3Width; local
[all...]
H A Dmakeconv.c495 staticData->maxBytesPerChar=(int8_t)data->ucm->states.maxCharLength;
546 data->ucm->states.outputType=(int8_t)data->ucm->states.maxCharLength-1;
755 if(states->maxCharLength<states->minCharLength) {
756 staticData->maxBytesPerChar=(int8_t)(states->maxCharLength=baseStates->maxCharLength);
803 if(states->maxCharLength>1) {
/external/chromium_org/third_party/icu/source/tools/toolutil/
H A Ducmstate.c280 states->maxCharLength=(int8_t)(c-'0');
281 states->outputType=(int8_t)(states->maxCharLength-1);
311 if(states->maxCharLength==0) {
436 if(states->maxCharLength!=1) {
449 if(states->minCharLength!=1 || states->maxCharLength!=2) {
462 if(states->minCharLength!=2 || states->maxCharLength!=2) {
485 if(states->maxCharLength<states->minCharLength) {
497 if(states->maxCharLength>count+1) {
551 if(states->maxCharLength!=2) {
552 fprintf(stderr, "ucm error: SI/SO codepages must have max 2 bytes/char (not %x)\n", (int)states->maxCharLength);
[all...]
H A Ducm.h98 int32_t countStates, minCharLength, maxCharLength, countToUCodeUnits; member in struct:UCMStates
H A Ducm.c1025 ucm->states.minCharLength=ucm->states.maxCharLength=1;
1075 (baseStates->maxCharLength==1 ||
/external/icu/icu4c/source/tools/toolutil/
H A Ducmstate.c280 states->maxCharLength=(int8_t)(c-'0');
281 states->outputType=(int8_t)(states->maxCharLength-1);
311 if(states->maxCharLength==0) {
436 if(states->maxCharLength!=1) {
449 if(states->minCharLength!=1 || states->maxCharLength!=2) {
462 if(states->minCharLength!=2 || states->maxCharLength!=2) {
485 if(states->maxCharLength<states->minCharLength) {
497 if(states->maxCharLength>count+1) {
551 if(states->maxCharLength!=2) {
552 fprintf(stderr, "ucm error: SI/SO codepages must have max 2 bytes/char (not %x)\n", (int)states->maxCharLength);
[all...]
H A Ducm.h98 int32_t countStates, minCharLength, maxCharLength, countToUCodeUnits; member in struct:UCMStates
H A Ducm.c1025 ucm->states.minCharLength=ucm->states.maxCharLength=1;
1075 (baseStates->maxCharLength==1 ||

Completed in 334 milliseconds