• Home
  • Raw
  • Download

Lines Matching refs:curAndConstraint

607             U_ASSERT(curAndConstraint != nullptr);  in parse()
608 curAndConstraint = curAndConstraint->add(status); in parse()
624 curAndConstraint = orNode->add(status); in parse()
628 U_ASSERT(curAndConstraint != nullptr); in parse()
629 U_ASSERT(curAndConstraint->value == -1); in parse()
630 U_ASSERT(curAndConstraint->rangeList == nullptr); in parse()
633 U_ASSERT(curAndConstraint != nullptr); in parse()
634 curAndConstraint->negated=TRUE; in parse()
638 curAndConstraint->negated=TRUE; in parse()
644 U_ASSERT(curAndConstraint != nullptr); in parse()
649 curAndConstraint->rangeList = newRangeList.orphan(); in parse()
650 curAndConstraint->rangeList->addElement(-1, status); // range Low in parse()
651 curAndConstraint->rangeList->addElement(-1, status); // range Hi in parse()
654 curAndConstraint->value=PLURAL_RANGE_HIGH; in parse()
655 curAndConstraint->integerOnly = (type != tWithin); in parse()
659 U_ASSERT(curAndConstraint != nullptr); in parse()
660 if ( (curAndConstraint->op==AndConstraint::MOD)&& in parse()
661 (curAndConstraint->opNum == -1 ) ) { in parse()
662 curAndConstraint->opNum=getNumberValue(token); in parse()
665 if (curAndConstraint->rangeList == nullptr) { in parse()
667 curAndConstraint->value = getNumberValue(token); in parse()
670 if (curAndConstraint->rangeList->elementAti(rangeLowIdx) == -1) { in parse()
671curAndConstraint->rangeList->setElementAt(getNumberValue(token), rangeLowIdx); in parse()
672curAndConstraint->rangeList->setElementAt(getNumberValue(token), rangeHiIdx); in parse()
675curAndConstraint->rangeList->setElementAt(getNumberValue(token), rangeHiIdx); in parse()
676 if (curAndConstraint->rangeList->elementAti(rangeLowIdx) > in parse()
677 curAndConstraint->rangeList->elementAti(rangeHiIdx)) { in parse()
691 if (curAndConstraint == nullptr || curAndConstraint->rangeList == nullptr) { in parse()
695 U_ASSERT(curAndConstraint->rangeList->size() >= 2); in parse()
696 rangeLowIdx = curAndConstraint->rangeList->size(); in parse()
697 curAndConstraint->rangeList->addElement(-1, status); // range Low in parse()
698 rangeHiIdx = curAndConstraint->rangeList->size(); in parse()
699 curAndConstraint->rangeList->addElement(-1, status); // range Hi in parse()
702 U_ASSERT(curAndConstraint != nullptr); in parse()
703 curAndConstraint->op=AndConstraint::MOD; in parse()
712 U_ASSERT(curAndConstraint != nullptr); in parse()
713 curAndConstraint->digitsType = type; in parse()
742 curAndConstraint = orNode->add(status); in parse()
1232 curAndConstraint(nullptr), currentChain(nullptr), rangeLowIdx(-1), rangeHiIdx(-1) in PluralRuleParser()