Lines Matching refs:sd
741 RBBIStateDescriptor *sd = (RBBIStateDescriptor *)fDStates->elementAt(n);
742 if (sd->fPositions->indexOf(endMarker) >= 0) {
747 if (sd->fAccepting==0) {
749 sd->fAccepting = endMarker->fVal;
750 if (sd->fAccepting == 0) {
751 sd->fAccepting = -1;
754 if (sd->fAccepting==-1 && endMarker->fVal != 0) {
758 sd->fAccepting = endMarker->fVal;
761 // if sd->fAccepting already had a value other than 0 or -1, leave it be.
769 sd->fLookAhead = sd->fAccepting;
799 RBBIStateDescriptor *sd = (RBBIStateDescriptor *)fDStates->elementAt(n);
800 if (sd->fPositions->indexOf(lookAheadNode) >= 0) {
801 sd->fLookAhead = lookAheadNode->fVal;
835 RBBIStateDescriptor *sd = (RBBIStateDescriptor *)fDStates->elementAt(n);
836 if (sd->fPositions->indexOf(tagNode) >= 0) { // if s include the tag node t
837 sortedAdd(&sd->fTagVals, tagNode->fVal);
878 RBBIStateDescriptor *sd = (RBBIStateDescriptor *)fDStates->elementAt(n);
879 UVector *thisStatesTagValues = sd->fTagVals;
883 sd->fTagsIdx = 0;
890 sd->fTagsIdx = -1;
917 sd->fTagsIdx = thisTagGroupStart;
922 if (sd->fTagsIdx == -1) {
924 sd->fTagsIdx = fRB->fRuleStatusVals->size();
1148 RBBIStateDescriptor *sd = (RBBIStateDescriptor *)fDStates->elementAt(state);
1150 U_ASSERT (-32768 < sd->fAccepting && sd->fAccepting <= 32767);
1151 U_ASSERT (-32768 < sd->fLookAhead && sd->fLookAhead <= 32767);
1152 row->fAccepting = (int16_t)sd->fAccepting;
1153 row->fLookAhead = (int16_t)sd->fLookAhead;
1154 row->fTagIdx = (int16_t)sd->fTagsIdx;
1156 row->fNextState[col] = (uint16_t)sd->fDtran->elementAti(col);
1203 RBBIStateDescriptor *sd = (RBBIStateDescriptor *)fDStates->elementAt(n);
1205 RBBIDebugPrintf("%3d %3d %5d ", sd->fAccepting, sd->fLookAhead, sd->fTagsIdx);
1207 RBBIDebugPrintf(" %2d", sd->fDtran->elementAti(c));