Lines Matching refs:curAndConstraint
469 U_ASSERT(curAndConstraint != NULL); in parse()
470 curAndConstraint = curAndConstraint->add(); in parse()
482 curAndConstraint = orNode->add(); in parse()
486 U_ASSERT(curAndConstraint != NULL); in parse()
487 U_ASSERT(curAndConstraint->value == -1); in parse()
488 U_ASSERT(curAndConstraint->rangeList == NULL); in parse()
491 U_ASSERT(curAndConstraint != NULL); in parse()
492 curAndConstraint->negated=TRUE; in parse()
496 curAndConstraint->negated=TRUE; in parse()
500 U_ASSERT(curAndConstraint != NULL); in parse()
501 curAndConstraint->rangeList = new UVector32(status); in parse()
502 curAndConstraint->rangeList->addElement(-1, status); // range Low in parse()
503 curAndConstraint->rangeList->addElement(-1, status); // range Hi in parse()
506 curAndConstraint->value=PLURAL_RANGE_HIGH; in parse()
507 curAndConstraint->integerOnly = (type != tWithin); in parse()
510 U_ASSERT(curAndConstraint != NULL); in parse()
511 if ( (curAndConstraint->op==AndConstraint::MOD)&& in parse()
512 (curAndConstraint->opNum == -1 ) ) { in parse()
513 curAndConstraint->opNum=getNumberValue(token); in parse()
516 if (curAndConstraint->rangeList == NULL) { in parse()
518 curAndConstraint->value = getNumberValue(token); in parse()
521 if (curAndConstraint->rangeList->elementAti(rangeLowIdx) == -1) { in parse()
522 … curAndConstraint->rangeList->setElementAt(getNumberValue(token), rangeLowIdx); in parse()
523 … curAndConstraint->rangeList->setElementAt(getNumberValue(token), rangeHiIdx); in parse()
526 … curAndConstraint->rangeList->setElementAt(getNumberValue(token), rangeHiIdx); in parse()
527 if (curAndConstraint->rangeList->elementAti(rangeLowIdx) > in parse()
528 curAndConstraint->rangeList->elementAti(rangeHiIdx)) { in parse()
542 if (curAndConstraint == NULL || curAndConstraint->rangeList == NULL) { in parse()
546 U_ASSERT(curAndConstraint->rangeList->size() >= 2); in parse()
547 rangeLowIdx = curAndConstraint->rangeList->size(); in parse()
548 curAndConstraint->rangeList->addElement(-1, status); // range Low in parse()
549 rangeHiIdx = curAndConstraint->rangeList->size(); in parse()
550 curAndConstraint->rangeList->addElement(-1, status); // range Hi in parse()
553 U_ASSERT(curAndConstraint != NULL); in parse()
554 curAndConstraint->op=AndConstraint::MOD; in parse()
561 U_ASSERT(curAndConstraint != NULL); in parse()
562 curAndConstraint->digitsType = type; in parse()
587 curAndConstraint = orNode->add(); in parse()
1049 curAndConstraint(NULL), currentChain(NULL), rangeLowIdx(-1), rangeHiIdx(-1) in PluralRuleParser()