Home
last modified time | relevance | path

Searched refs:stateTable (Results 1 – 14 of 14) sorted by relevance

/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DThaiStateTable.java20 static Vector stateTable = null; field in ThaiStateTable
31 stateTable.addElement(stateRow); in newState()
73 ThaiStateTransition[] groundState = (ThaiStateTransition[]) stateTable.elementAt(0); in fixNextStates()
75 for (int s = 1; s < stateTable.size(); s += 1) { in fixNextStates()
76 ThaiStateTransition[] state = (ThaiStateTransition[]) stateTable.elementAt(s); in fixNextStates()
91 ThaiStateTransition[] stateRow = (ThaiStateTransition[]) stateTable.elementAt(state); in addState()
139 stateTable = new Vector();
148 ThaiStateTransition[] row = (ThaiStateTransition[]) stateTable.elementAt(state); in getTransition()
173 for (int state = 0; state < stateTable.size(); state += 1) { in writeStateTable()
174 ThaiStateTransition[] row = (ThaiStateTransition[]) stateTable.elementAt(state); in writeStateTable()
[all …]
/external/icu/icu4c/source/tools/toolutil/
Ducmstate.cpp196 error=parseState(s, states->stateTable[states->countStates], in ucm_addState()
356 entry=states->stateTable[state][cell]; in sumUpStates()
360 states->stateTable[state][cell]=MBCS_ENTRY_FINAL_SET_VALUE(entry, sum); in sumUpStates()
364 states->stateTable[state][cell]=MBCS_ENTRY_FINAL_SET_VALUE(entry, sum); in sumUpStates()
376 entry=states->stateTable[state][cell]; in sumUpStates()
379 … states->stateTable[state][cell]=MBCS_ENTRY_TRANSITION_SET_OFFSET(entry, sum); in sumUpStates()
413 entry=states->stateTable[state][cell]; in sumUpStates()
415 states->stateTable[state][cell]=MBCS_ENTRY_TRANSITION_ADD_OFFSET(entry, sum2); in sumUpStates()
512 entry=states->stateTable[0][cell]; in ucm_processStates()
533 entry=states->stateTable[state][cell]; in ucm_processStates()
[all …]
Ducm.h96 int32_t stateTable[MBCS_MAX_STATE_COUNT][256]; member
/external/icu/icu4c/source/common/
Ducnvmbcs.cpp646 row=mbcsTable->stateTable[state]; in enumToU()
737 getStateProp(const int32_t (*stateTable)[256], int8_t stateProps[], int state) { in getStateProp()
741 row=stateTable[state]; in getStateProp()
749 getStateProp(stateTable, stateProps, nextState); in getStateProp()
770 getStateProp(stateTable, stateProps, nextState); in getStateProp()
787 getStateProp(stateTable, stateProps, nextState); in getStateProp()
836 getStateProp(mbcsTable->stateTable, stateProps, 0); in ucnv_MBCSEnumToUnicode()
1286 … mbcsTable->stateTable[0][EBCDIC_LF]==MBCS_ENTRY_FINAL(0, MBCS_STATE_VALID_DIRECT_16, U_LF) && in _EBCDICSwapLFNL()
1287 mbcsTable->stateTable[0][EBCDIC_NL]==MBCS_ENTRY_FINAL(0, MBCS_STATE_VALID_DIRECT_16, U_NL) in _EBCDICSwapLFNL()
1359 uprv_memcpy(newStateTable, mbcsTable->stateTable, mbcsTable->countStates*1024); in _EBCDICSwapLFNL()
[all …]
Ducnvmbcs.h375 const int32_t (*stateTable)/*[countStates]*/[256]; member
516 (UChar)MBCS_ENTRY_FINAL_VALUE_16((sharedData)->mbcs.stateTable[0][(uint8_t)(b)])
527 (UBool)MBCS_ENTRY_IS_TRANSITION((sharedData)->mbcs.stateTable[0][(uint8_t)(byte)])
Drbbi.cpp958 const RBBIStateTable *stateTable = fData->fReverseTable; in handleSafePrevious() local
975 (stateTable->fTableData + (stateTable->fRowLen * state)); in handleSafePrevious()
1008 (stateTable->fTableData + (stateTable->fRowLen * state)); in handleSafePrevious()
/external/jsilver/src/com/google/streamhtmlparser/impl/
DParserStateTable.java71 private final InternalState[][] stateTable; field in ParserStateTable
82 stateTable = new InternalState[MAX_STATES][MAX_CHARS]; in ParserStateTable()
113 result = stateTable[id][currentChar]; in getNextState()
171 stateTable[from.getId()][chr] = to; in setDestination()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetMBCS.java74 int stateTable[/* countStates */][/* 256 */]; field in CharsetMBCS.UConverterMBCSTable
355 entry = mbcsTable.stateTable[0][0xe]; in loadConverter()
376 for (i = 0; i < mbcsTable.stateTable.length; ++i) in loadConverter()
377 System.arraycopy(mbcsTable.stateTable[i], 0, newStateTable[i], 0, in loadConverter()
378 mbcsTable.stateTable[i].length); in loadConverter()
393 mbcsTable.stateTable = newStateTable; in loadConverter()
481 … if (mbcsTable.stateTable[0][i] != MBCS_ENTRY_FINAL(0, MBCS_STATE_VALID_DIRECT_16, i)) { in loadConverter()
688 getStateProp(mbcsTable.stateTable, stateProps, 0); in MBCSEnumToUnicode()
707 row = mbcsTable.stateTable[state]; in enumToU()
793 private static byte getStateProp(int stateTable[][], byte stateProps[], int state) { in getStateProp() argument
[all …]
DUConverterDataReader.java491 mbcsTable.stateTable = new int[header.countStates][256]; in readMBCSTable()
494 intBuffer.get(mbcsTable.stateTable[i]); in readMBCSTable()
DCharsetLMBCS.java723 … if (CharsetMBCS.MBCS_ENTRY_IS_TRANSITION(cnv.mbcs.stateTable[0][CurByte]) /* isLeadByte */) { in LMBCSGetNextUCharWorker()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/
DNGramParser.java67 private StateEntry[][] stateTable = { field in NGramParser
141 StateEntry entry = stateTable[state][charClass]; in parse()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRuleBasedBreakIterator.java805 short[] stateTable = fRData.fFTable.fTable; in handleNext() local
892 state = stateTable[row + RBBIDataWrapper.NEXTSTATES + category]; in handleNext()
895 if (stateTable[row + RBBIDataWrapper.ACCEPTING] == -1) { in handleNext()
905 fRuleStatusIndex = stateTable[row + RBBIDataWrapper.TAGIDX]; in handleNext()
908 int completedRule = stateTable[row + RBBIDataWrapper.ACCEPTING]; in handleNext()
913 fRuleStatusIndex = stateTable[row + RBBIDataWrapper.TAGIDX]; in handleNext()
919 int rule = stateTable[row + RBBIDataWrapper.LOOKAHEAD]; in handleNext()
980 short[] stateTable = fRData.fRTable.fTable; in handleSafePrevious() local
1016 state = stateTable[row + RBBIDataWrapper.NEXTSTATES + category]; in handleSafePrevious()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRuleBasedBreakIterator.java826 short[] stateTable = fRData.fFTable.fTable; in handleNext() local
913 state = stateTable[row + RBBIDataWrapper.NEXTSTATES + category]; in handleNext()
916 if (stateTable[row + RBBIDataWrapper.ACCEPTING] == -1) { in handleNext()
926 fRuleStatusIndex = stateTable[row + RBBIDataWrapper.TAGIDX]; in handleNext()
929 int completedRule = stateTable[row + RBBIDataWrapper.ACCEPTING]; in handleNext()
934 fRuleStatusIndex = stateTable[row + RBBIDataWrapper.TAGIDX]; in handleNext()
940 int rule = stateTable[row + RBBIDataWrapper.LOOKAHEAD]; in handleNext()
1001 short[] stateTable = fRData.fRTable.fTable; in handleSafePrevious() local
1037 state = stateTable[row + RBBIDataWrapper.NEXTSTATES + category]; in handleSafePrevious()
/external/icu/icu4c/source/tools/makeconv/
Dgenmbcs.cpp398 entry=mbcsData->ucm->states.stateTable[state][bytes[i++]]; in MBCSAddToUnicode()
459 mbcsData->ucm->states.stateTable[state][bytes[i-1]]=entry; in MBCSAddToUnicode()
1555 udata_writeBlock(pData, mbcsData->ucm->states.stateTable, header.countStates*1024); in MBCSWrite()