Home | History | Annotate | Download | only in common

Lines Matching refs:sd

739             RBBIStateDescriptor *sd = (RBBIStateDescriptor *)fDStates->elementAt(n);
740 if (sd->fPositions->indexOf(endMarker) >= 0) {
745 if (sd->fAccepting==0) {
747 sd->fAccepting = endMarker->fVal;
748 if (sd->fAccepting == 0) {
749 sd->fAccepting = -1;
752 if (sd->fAccepting==-1 && endMarker->fVal != 0) {
756 sd->fAccepting = endMarker->fVal;
759 // if sd->fAccepting already had a value other than 0 or -1, leave it be.
767 sd->fLookAhead = sd->fAccepting;
797 RBBIStateDescriptor *sd = (RBBIStateDescriptor *)fDStates->elementAt(n);
798 if (sd->fPositions->indexOf(lookAheadNode) >= 0) {
799 sd->fLookAhead = lookAheadNode->fVal;
833 RBBIStateDescriptor *sd = (RBBIStateDescriptor *)fDStates->elementAt(n);
834 if (sd->fPositions->indexOf(tagNode) >= 0) { // if s include the tag node t
835 sortedAdd(&sd->fTagVals, tagNode->fVal);
876 RBBIStateDescriptor *sd = (RBBIStateDescriptor *)fDStates->elementAt(n);
877 UVector *thisStatesTagValues = sd->fTagVals;
881 sd->fTagsIdx = 0;
888 sd->fTagsIdx = -1;
915 sd->fTagsIdx = thisTagGroupStart;
920 if (sd->fTagsIdx == -1) {
922 sd->fTagsIdx = fRB->fRuleStatusVals->size();
1091 RBBIStateDescriptor *sd = (RBBIStateDescriptor *)fDStates->elementAt(state);
1092 table_base = (uint16_t)sd->fDtran->elementAti(categories->first);
1093 table_dupl = (uint16_t)sd->fDtran->elementAti(categories->second);
1113 RBBIStateDescriptor *sd = (RBBIStateDescriptor *)fDStates->elementAt(state);
1114 U_ASSERT(column < sd->fDtran->size());
1115 sd->fDtran->removeElementAt(column);
1196 RBBIStateDescriptor *sd = (RBBIStateDescriptor *)fDStates->elementAt(state);
1198 int32_t existingVal = sd->fDtran->elementAti(col);
1205 sd->fDtran->setElementAt(newVal, col);
1207 if (sd->fAccepting == duplState) {
1208 sd->fAccepting = keepState;
1209 } else if (sd->fAccepting > duplState) {
1210 sd->fAccepting--;
1212 if (sd->fLookAhead == duplState) {
1213 sd->fLookAhead = keepState;
1214 } else if (sd->fLookAhead > duplState) {
1215 sd->fLookAhead--;
1230 UnicodeString *sd = (UnicodeString *)fSafeTable->elementAt(state);
1231 int32_t numCols = sd->length();
1233 int32_t existingVal = sd->charAt(col);
1240 sd->setCharAt(col, static_cast<char16_t>(newVal));
1324 RBBIStateDescriptor *sd = (RBBIStateDescriptor *)fDStates->elementAt(state);
1326 U_ASSERT (-32768 < sd->fAccepting && sd->fAccepting <= 32767);
1327 U_ASSERT (-32768 < sd->fLookAhead && sd->fLookAhead <= 32767);
1328 row->fAccepting = (int16_t)sd->fAccepting;
1329 row->fLookAhead = (int16_t)sd->fLookAhead;
1330 row->fTagIdx = (int16_t)sd->fTagsIdx;
1332 row->fNextState[col] = (uint16_t)sd->fDtran->elementAti(col);
1558 RBBIStateDescriptor *sd = (RBBIStateDescriptor *)fDStates->elementAt(n);
1560 RBBIDebugPrintf("%3d %3d %5d ", sd->fAccepting, sd->fLookAhead, sd->fTagsIdx);
1562 RBBIDebugPrintf(" %2d", sd->fDtran->elementAti(c));