Lines Matching refs:pass

1506     UBool pass;
1507 pass = strcmp(var1.next(), value->next()) == 0;
1508 pass = pass && strcmp(var2.next(), value2->next()) == 0;
1509 pass = pass && strcmp(var3.next(), value3->next()) == 0;
1510 return pass;
1522 UBool pass;
1523 pass = t.find(NULL) == SymbolTable::EMPTY;
1524 pass = pass && t.find("ccc") == SymbolTable::NO_VAR;
1525 pass = pass && t.find("bbb") == SymbolTable::NO_REF;
1526 pass = pass && t.find("abc") == SymbolTable::HAS_REF;
1527 pass = pass && t.find("$aaa") == SymbolTable::HAS_REF;
1530 pass = pass && t.find("abc") == SymbolTable::NO_VAR;
1531 return pass;
1548 UBool pass = TRUE;
1551 while (pass){
1553 pass = pass? i == tokenNum : FALSE;
1556 pass = FALSE;
1559 pass = strcmp( &(t.token[0]), str_r[i++]) == 0;
1575 //pass = TRUE;
1584 return pass;
1607 UBool pass = TRUE;
1608 pass = pass && test ("$s = ' ' ? 50%;");
1609 pass = pass && test("$x = ($var {1,2}) 3%;"); // legal
1610 pass = pass && test("$x = $var {1,2} 3% | b 4%;"); // legal
1611 pass = pass && test("$x = $var {1,2} 3%;"); // legal
1612 pass = pass && test("$m = $c ? 2% 4% | $r 5% | $n 25%;"); // legal
1613 pass = pass && test("$a = b ? 2% | c 5%;"); // legal
1614 pass = pass && test("$x = A B 5% C 10% | D;", 8, FALSE); // illegal 5%
1615 pass = pass && test("$x = aa 45% | bb 5% cc;", 19, FALSE);// illegal cc
1616 pass = pass && test("$x = (b 5%) (c 6%);"); // legal
1617 pass = pass && test("$x = (b 5%) c 6%;", 13, FALSE); // illegal 6%
1618 pass = pass && test("$x = b 5% (c 6%);", 9, FALSE); // illegal (c 6%)
1619 pass = pass && test("$x = b 5% c 6%;", 9, FALSE); // illegal c 6%
1620 pass = pass && test("$x = b 5%;"); // legal
1621 pass = pass && test("$x = aa 45% | bb 5% cc;", 19, FALSE);// illegal cc
1622 pass = pass && test("$x = a | b | c 4% | d 5%;"); // legal
1623 pass = pass && test("$s = ' ' ? 50% abc;"); // legal
1624 pass = pass && test("$s = a | c d | e f;"); // legal
1625 pass = pass && test( "$z = q 0% | p 1% | r 100%;"); // legal How to check parsed tree??
1627 pass = pass && test("$s = ' ' ? 50%;");
1628 pass = pass && test("$relationList = '<' | '<<' | ';' | '<<<' | ',' | '=';");
1629 pass = pass && test("$p1 = ($string $s '|' $s)? 25%;");
1630 pass = pass && test("$p2 = (\\\\ $s $string $s)? 25%;");
1631 pass = pass && test("$rel2 = $p1 $string $s $p2;");
1632 pass = pass && test("$relation = $relationList $s ($rel1 | $rel2) $crlf;");
1633 pass = pass && test("$command = $commandList $crlf;");
1634 pass = pass && test("$reset = '&' $s ($beforeList $s)? 10% ($positionList 100% | $string 10%) $crlf;");
1635 pass = pass && test("$mostRules = $command 1% | $reset 5% | $relation 25%;");
1636 pass = pass && test("$root = $command{0,5} $reset $mostRules{1,20};");
1683 pass = pass && test(collationBNF);
1686 return pass;
1717 UBool pass;
1733 pass = g.parseBNF(def, "$x",TRUE);
1736 if (pass != LanguageGenerator::OK) return FALSE;
1739 return pass;
1741 ////UBool pass = strcmp(s,r) == 0;
1743 //if (pass){
1748 //return pass;