Lines Matching refs:sd
715 RBBIStateDescriptor *sd = (RBBIStateDescriptor *)fDStates->elementAt(n);
716 if (sd->fPositions->indexOf(endMarker) >= 0) {
721 if (sd->fAccepting==0) {
723 sd->fAccepting = endMarker->fVal;
724 if (sd->fAccepting == 0) {
725 sd->fAccepting = -1;
728 if (sd->fAccepting==-1 && endMarker->fVal != 0) {
732 sd->fAccepting = endMarker->fVal;
735 // if sd->fAccepting already had a value other than 0 or -1, leave it be.
743 sd->fLookAhead = sd->fAccepting;
773 RBBIStateDescriptor *sd = (RBBIStateDescriptor *)fDStates->elementAt(n);
774 if (sd->fPositions->indexOf(lookAheadNode) >= 0) {
775 sd->fLookAhead = lookAheadNode->fVal;
809 RBBIStateDescriptor *sd = (RBBIStateDescriptor *)fDStates->elementAt(n);
810 if (sd->fPositions->indexOf(tagNode) >= 0) { // if s include the tag node t
811 sortedAdd(&sd->fTagVals, tagNode->fVal);
852 RBBIStateDescriptor *sd = (RBBIStateDescriptor *)fDStates->elementAt(n);
853 UVector *thisStatesTagValues = sd->fTagVals;
857 sd->fTagsIdx = 0;
864 sd->fTagsIdx = -1;
891 sd->fTagsIdx = thisTagGroupStart;
896 if (sd->fTagsIdx == -1) {
898 sd->fTagsIdx = fRB->fRuleStatusVals->size();
1120 RBBIStateDescriptor *sd = (RBBIStateDescriptor *)fDStates->elementAt(state);
1122 U_ASSERT (-32768 < sd->fAccepting && sd->fAccepting <= 32767);
1123 U_ASSERT (-32768 < sd->fLookAhead && sd->fLookAhead <= 32767);
1124 row->fAccepting = (int16_t)sd->fAccepting;
1125 row->fLookAhead = (int16_t)sd->fLookAhead;
1126 row->fTagIdx = (int16_t)sd->fTagsIdx;
1128 row->fNextState[col] = (uint16_t)sd->fDtran->elementAti(col);
1175 RBBIStateDescriptor *sd = (RBBIStateDescriptor *)fDStates->elementAt(n);
1177 RBBIDebugPrintf("%3d %3d %5d ", sd->fAccepting, sd->fLookAhead, sd->fTagsIdx);
1179 RBBIDebugPrintf(" %2d", sd->fDtran->elementAti(c));