• Home
  • Raw
  • Download

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()
501 U_ASSERT(curAndConstraint != NULL); in parse()
502 curAndConstraint->rangeList = new UVector32(status); in parse()
503 curAndConstraint->rangeList->addElement(-1, status); // range Low in parse()
504 curAndConstraint->rangeList->addElement(-1, status); // range Hi in parse()
507 curAndConstraint->value=PLURAL_RANGE_HIGH; in parse()
508 curAndConstraint->integerOnly = (type != tWithin); in parse()
511 U_ASSERT(curAndConstraint != NULL); in parse()
512 if ( (curAndConstraint->op==AndConstraint::MOD)&& in parse()
513 (curAndConstraint->opNum == -1 ) ) { in parse()
514 curAndConstraint->opNum=getNumberValue(token); in parse()
517 if (curAndConstraint->rangeList == NULL) { in parse()
519 curAndConstraint->value = getNumberValue(token); in parse()
522 if (curAndConstraint->rangeList->elementAti(rangeLowIdx) == -1) { in parse()
523curAndConstraint->rangeList->setElementAt(getNumberValue(token), rangeLowIdx); in parse()
524curAndConstraint->rangeList->setElementAt(getNumberValue(token), rangeHiIdx); in parse()
527curAndConstraint->rangeList->setElementAt(getNumberValue(token), rangeHiIdx); in parse()
528 if (curAndConstraint->rangeList->elementAti(rangeLowIdx) > in parse()
529 curAndConstraint->rangeList->elementAti(rangeHiIdx)) { in parse()
543 if (curAndConstraint == NULL || curAndConstraint->rangeList == NULL) { in parse()
547 U_ASSERT(curAndConstraint->rangeList->size() >= 2); in parse()
548 rangeLowIdx = curAndConstraint->rangeList->size(); in parse()
549 curAndConstraint->rangeList->addElement(-1, status); // range Low in parse()
550 rangeHiIdx = curAndConstraint->rangeList->size(); in parse()
551 curAndConstraint->rangeList->addElement(-1, status); // range Hi in parse()
554 U_ASSERT(curAndConstraint != NULL); in parse()
555 curAndConstraint->op=AndConstraint::MOD; in parse()
562 U_ASSERT(curAndConstraint != NULL); in parse()
563 curAndConstraint->digitsType = type; in parse()
588 curAndConstraint = orNode->add(); in parse()
1050 curAndConstraint(NULL), currentChain(NULL), rangeLowIdx(-1), rangeHiIdx(-1) in PluralRuleParser()