• Home
  • Raw
  • Download

Lines Matching refs:curAndConstraint

490             U_ASSERT(curAndConstraint != nullptr);  in parse()
491 curAndConstraint = curAndConstraint->add(status); in parse()
507 curAndConstraint = orNode->add(status); in parse()
511 U_ASSERT(curAndConstraint != nullptr); in parse()
512 U_ASSERT(curAndConstraint->value == -1); in parse()
513 U_ASSERT(curAndConstraint->rangeList == nullptr); in parse()
516 U_ASSERT(curAndConstraint != nullptr); in parse()
517 curAndConstraint->negated=TRUE; in parse()
521 curAndConstraint->negated=TRUE; in parse()
527 U_ASSERT(curAndConstraint != nullptr); in parse()
532 curAndConstraint->rangeList = newRangeList.orphan(); in parse()
533 curAndConstraint->rangeList->addElement(-1, status); // range Low in parse()
534 curAndConstraint->rangeList->addElement(-1, status); // range Hi in parse()
537 curAndConstraint->value=PLURAL_RANGE_HIGH; in parse()
538 curAndConstraint->integerOnly = (type != tWithin); in parse()
542 U_ASSERT(curAndConstraint != nullptr); in parse()
543 if ( (curAndConstraint->op==AndConstraint::MOD)&& in parse()
544 (curAndConstraint->opNum == -1 ) ) { in parse()
545 curAndConstraint->opNum=getNumberValue(token); in parse()
548 if (curAndConstraint->rangeList == nullptr) { in parse()
550 curAndConstraint->value = getNumberValue(token); in parse()
553 if (curAndConstraint->rangeList->elementAti(rangeLowIdx) == -1) { in parse()
554curAndConstraint->rangeList->setElementAt(getNumberValue(token), rangeLowIdx); in parse()
555curAndConstraint->rangeList->setElementAt(getNumberValue(token), rangeHiIdx); in parse()
558curAndConstraint->rangeList->setElementAt(getNumberValue(token), rangeHiIdx); in parse()
559 if (curAndConstraint->rangeList->elementAti(rangeLowIdx) > in parse()
560 curAndConstraint->rangeList->elementAti(rangeHiIdx)) { in parse()
574 if (curAndConstraint == nullptr || curAndConstraint->rangeList == nullptr) { in parse()
578 U_ASSERT(curAndConstraint->rangeList->size() >= 2); in parse()
579 rangeLowIdx = curAndConstraint->rangeList->size(); in parse()
580 curAndConstraint->rangeList->addElement(-1, status); // range Low in parse()
581 rangeHiIdx = curAndConstraint->rangeList->size(); in parse()
582 curAndConstraint->rangeList->addElement(-1, status); // range Hi in parse()
585 U_ASSERT(curAndConstraint != nullptr); in parse()
586 curAndConstraint->op=AndConstraint::MOD; in parse()
593 U_ASSERT(curAndConstraint != nullptr); in parse()
594 curAndConstraint->digitsType = type; in parse()
623 curAndConstraint = orNode->add(status); in parse()
1109 curAndConstraint(nullptr), currentChain(nullptr), rangeLowIdx(-1), rangeHiIdx(-1) in PluralRuleParser()