Lines Matching defs:stateTree
404 * This is called from the SimpleStateHandler to match a stateTree
408 MatchBranchHead(TMSimpleStateTree stateTree, int startIndex, TMEventPtr event)
410 TMBranchHead branchHead = &stateTree->branchHeadTbl[startIndex];
414 for (i = startIndex; i < (int) stateTree->numBranchHeads; i++, branchHead++) {
594 TMSimpleStateTree stateTree,
620 XrmQuarkToString(stateTree->quarkTbl[actions->idx]);
745 MatchExact(TMSimpleStateTree stateTree,
750 TMBranchHead branchHead = &(stateTree->branchHeadTbl[startIndex]);
753 for (i = startIndex; i < (int) stateTree->numBranchHeads; i++, branchHead++) {
779 TMSimpleStateTree stateTree =
786 while (!(match && stateTree->isSimple) &&
791 MatchExact(stateTree, currIndex, typeIndex, modIndex);
793 currIndex = MatchBranchHead(stateTree, currIndex, curEventPtr);
798 branchHead = &stateTree->branchHeadTbl[currIndex];
802 currState = ((TMComplexStateTree) stateTree)
874 MatchComplexBranch(TMComplexStateTree stateTree,
882 for (i = (TMShortCard) startIndex; i < stateTree->numComplexBranchHeads;
888 for (candState = stateTree->complexBranchHeadTbl[i];
1066 NewState(TMParseStateTree stateTree _X_UNUSED,
1092 TMComplexStateTree stateTree = (TMComplexStateTree) tree;
1101 if (stateTree->isSimple == False)
1102 for (i = 0; i < stateTree->numComplexBranchHeads; i++) {
1103 currState = stateTree->complexBranchHeadTbl[i];
1113 for (i = 0, currBH = stateTree->branchHeadTbl;
1114 i < stateTree->numBranchHeads; i++, currBH++) {
1226 TMStateTree stateTree = xlations->stateTreeTbl[i];
1228 _XtTraverseStateTree(stateTree,
1233 stateTree->simple.mappingNotifyInterest);
1277 TMSimpleStateTree stateTree =
1281 stateTree->mappingNotifyInterest);
1457 TMParseStateTree stateTree)
1464 stateTree->quarkTbl);
1471 stateTree->quarkTbl);
1484 _XtAddEventSeqToStateTree(EventSeqPtr eventSeq, TMParseStateTree stateTree)
1503 idx = GetBranchHead(stateTree, typeIndex, modIndex, False);
1504 branchHead = &stateTree->branchHeadTbl[idx];
1517 stateTree->mappingNotifyInterest = True;
1529 GetComplexBranchIndex(stateTree, typeIndex, modIndex), 13);
1530 state = &stateTree->complexBranchHeadTbl[TMBranchMore(branchHead)];
1533 *state = NewState(stateTree, typeIndex, modIndex);
1536 stateTree->mappingNotifyInterest = True;
1543 AmbigActions(initialEvent, state, stateTree);
1564 (void) GetBranchHead(stateTree, typeIndex, modIndex, True);
2072 TMComplexStateTree stateTree = (TMComplexStateTree) tree;
2074 if (--stateTree->refCount == 0) {
2078 if (!stateTree->isSimple) {
2082 for (i = 0; i < stateTree->numComplexBranchHeads; i++) {
2083 currState = nextState = stateTree->complexBranchHeadTbl[i];
2094 XtFree((char *) stateTree->complexBranchHeadTbl);
2096 XtFree((char *) stateTree->branchHeadTbl);
2097 XtFree((char *) stateTree);