Home
last modified time | relevance | path

Searched refs:countStates (Results 1 – 8 of 8) sorted by relevance

/external/icu/icu4c/source/tools/toolutil/
Ducmstate.cpp191 if(states->countStates==MBCS_MAX_STATE_COUNT) { in ucm_addState()
196 error=parseState(s, states->stateTable[states->countStates], in ucm_addState()
197 &states->stateFlags[states->countStates]); in ucm_addState()
203 ++states->countStates; in ucm_addState()
347 for(count=states->countStates; !allStatesReady && count>=0; --count) { in sumUpStates()
349 for(state=states->countStates-1; state>=0; --state) { in sumUpStates()
408 for(state=1; state<states->countStates; ++state) { in sumUpStates()
434 if(states->countStates==0) { in ucm_processStates()
494 for(state=0; state<states->countStates; ++state) { in ucm_processStates()
531 for(state=states->countStates-1; state>=0; --state) { in ucm_processStates()
[all …]
Ducm.h100 int32_t countStates, minCharLength, maxCharLength, countToUCodeUnits; member
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DUConverterDataReader.java472 h.countStates = byteBuffer.getInt(); in readMBCSHeader()
490 mbcsTable.countStates = (byte) header.countStates; in readMBCSTable()
491 mbcsTable.stateTable = new int[header.countStates][256]; in readMBCSTable()
493 for(i = 0; i < header.countStates; ++i) { in readMBCSTable()
DCharsetMBCS.java69 short countStates; field in CharsetMBCS.UConverterMBCSTable
154 int countStates, countToUFallbacks, offsetToUCodeUnits, offsetFromUTable, offsetFromUBytes; field in CharsetMBCS.MBCSHeader
364 … && baseSharedData.staticData.maxBytesPerChar == 2 && mbcsTable.countStates <= 127) { in loadConverter()
373 count = mbcsTable.countStates; in loadConverter()
394 mbcsTable.countStates = (byte) (count + 1); in loadConverter()
454 …(mbcsTable.countStates == 1 ? ((char)header.version[2] >= (SBCS_FAST_MAX>>8)) : ((char)header.vers… in loadConverter()
457 if (mbcsTable.countStates == 1) { in loadConverter()
690 for (state = 0; state < mbcsTable.countStates; ++state) { in MBCSEnumToUnicode()
2032 if (sharedData.mbcs.countStates == 1) { in cnvMBCSToUnicodeWithOffsets()
/external/icu/icu4c/source/common/
Ducnvmbcs.h372 uint8_t countStates, dbcsOnlyState, stateTableOwned; member
465 uint32_t countStates, member
Ducnvmbcs.cpp838 for(state=0; state<mbcsTable->countStates; ++state) { in ucnv_MBCSEnumToUnicode()
1348 mbcsTable->countStates*1024+ in _EBCDICSwapLFNL()
1359 uprv_memcpy(newStateTable, mbcsTable->stateTable, mbcsTable->countStates*1024); in _EBCDICSwapLFNL()
1365 newResults=(uint16_t *)newStateTable[mbcsTable->countStates]; in _EBCDICSwapLFNL()
1696 mbcsTable->countStates<=127 in ucnv_MBCSLoad()
1704 count=mbcsTable->countStates; in ucnv_MBCSLoad()
1728 mbcsTable->countStates=(uint8_t)(count+1); in ucnv_MBCSLoad()
1769 mbcsTable->countStates=(uint8_t)header->countStates; in ucnv_MBCSLoad()
1772 … mbcsTable->toUFallbacks=(const _MBCSToUFallback *)(mbcsTable->stateTable+header->countStates); in ucnv_MBCSLoad()
1803 (mbcsTable->countStates==1 ? in ucnv_MBCSLoad()
[all …]
Ducnv_bld.cpp1452 mbcsHeader.countStates= ds->readUInt32(inMBCSHeader->countStates); in ucnv_swap()
1541 ds->swapArray32(ds, &inMBCSHeader->countStates, count-4, in ucnv_swap()
1542 &outMBCSHeader->countStates, pErrorCode); in ucnv_swap()
1560 count=mbcsHeader.countStates*1024; in ucnv_swap()
/external/icu/icu4c/source/tools/makeconv/
Dgenmbcs.cpp382 if(mbcsData->ucm->states.countStates==0) { in MBCSAddToUnicode()
1521 header.countStates=mbcsData->ucm->states.countStates; in MBCSWrite()
1526 mbcsData->ucm->states.countStates*1024+ in MBCSWrite()
1555 udata_writeBlock(pData, mbcsData->ucm->states.stateTable, header.countStates*1024); in MBCSWrite()