Lines Matching defs:pattern

406 	boolean matchDoesNotContain(Object pattern, BVCollector returns) {
417 if (!compareEqual(rec.value, pattern)) {
443 matchEqual(Object pattern, BVCollector returns) {
450 if (pattern instanceof AttributePattern) {
456 AttributePattern pat = (AttributePattern)pattern;
464 RegRecord rec = walkVector(pattern, false);
485 matchNotEqual(Object pattern, BVCollector returns) {
495 if (!compareEqual(rec.value, pattern)) {
505 matchLessEqual(Object pattern,
517 if (!compareLessEqual(rec.value, pattern)) {
529 matchNotLessEqual(Object pattern,
540 if (compareLessEqual(rec.value, pattern)) {
552 matchGreaterEqual(Object pattern,
563 if (!compareGreaterEqual(rec.value, pattern)) {
575 matchNotGreaterEqual(Object pattern,
586 if (compareGreaterEqual(rec.value, pattern)) {
601 walkVector(Object pattern, boolean update) {
641 if (compareEqual(rec.value, pattern)) {
644 } else if (compareLessEqual(pattern, rec.value)) {
666 rec = new RegRecord(pattern);
668 // If the pattern is equal to bottom, return it.
669 // If the pattern is less than or equal to bottom,
673 if (compareEqual(trec.value, pattern)) {
676 } else if (compareLessEqual(pattern, trec.value)) {
691 if (compareEqual(trec.value, pattern)) {
701 } else if (compareGreaterEqual(pattern, rec.value)) {
722 rec = new RegRecord(pattern);
724 // If the pattern is equal to the top, we
725 // return the top. If the pattern is greater
729 if (compareEqual(trec.value, pattern)) {
732 } else if (compareGreaterEqual(pattern,
759 if (compareEqual(trec.value, pattern)) {
774 rec = new RegRecord(pattern);
786 // Add any registrations that match the pattern.
789 compareEqual(Object target, Object pattern) {
795 if (pattern.equals(target)) {
802 // If the pattern is an AttributePattern instead of an
805 if (((AttributeString)pattern).match(
814 new Object[] {pattern.getClass().getName()});
821 // Add any registrations that are less than or equal to the pattern.
824 compareLessEqual(Object target, Object pattern) {
828 ((Integer)pattern).intValue()) {
836 (AttributeString)pattern)) {
843 ((Long)pattern).longValue()) {
850 if (target.toString().compareTo(pattern.toString()) <= 0) {
864 // Add any registrations that are greater than or equal to the pattern.
867 compareGreaterEqual(Object target, Object pattern) {
871 ((Integer)pattern).intValue()) {
879 (AttributeString)pattern)) {
886 ((Long)pattern).longValue()) {
893 if (target.toString().compareTo(pattern.toString()) >= 0) {
940 Object pattern,
992 // Get the pattern's class. Pattern will not be null because
996 Class pclass = pattern.getClass();
1002 if (pattern instanceof AttributePattern) {
1038 match = bvec.matchEqual(pattern, returns);
1041 match = bvec.matchNotEqual(pattern, returns);
1052 match = bvec.matchLessEqual(pattern, returns);
1055 match = bvec.matchNotLessEqual(pattern, returns);
1066 match = bvec.matchGreaterEqual(pattern, returns);
1069 match = bvec.matchNotGreaterEqual(pattern, returns);
2123 // Process string tags into pattern objects. Note that, here,
2254 // Process string tags into pattern objects. Note that, here,
2922 // All attributes match if the pattern vector is
2930 // Check each pattern against the attribute id.
2945 // Check the attribute against the pattern. If the pattern is null,
2958 // the pattern is null or it matches the attribute id.
3215 // Convert a vector of attribute tag strings to attribute pattern objects.