Home
last modified time | relevance | path

Searched refs:complement (Results 1 – 25 of 130) sorted by relevance

123456

/external/guava/guava-tests/test/com/google/common/collect/
DTreeRangeSetTest.java149 TreeRangeSet<Integer> complement = TreeRangeSet.create(); in testAllSingleRangesComplementAgainstRemove() local
150 complement.add(Range.<Integer>all()); in testAllSingleRangesComplementAgainstRemove()
151 complement.remove(range); in testAllSingleRangesComplementAgainstRemove()
153 assertEquals(complement, rangeSet.complement()); in testAllSingleRangesComplementAgainstRemove()
154 assertThat(rangeSet.complement().asRanges()) in testAllSingleRangesComplementAgainstRemove()
155 .has().exactlyAs(complement.asRanges()).inOrder(); in testAllSingleRangesComplementAgainstRemove()
168 testEnclosing(rangeSet.complement()); in testAllSingleRangesEnclosing()
179 testEnclosing(rangeSet.complement()); in testAllTwoRangesEnclosing()
234 testViewAgainstExpected(expectedComplement(rangeSet), rangeSet.complement()); in testComplement()
248 rangeSet.complement().subRangeSet(subRange)); in testSubRangeSetOfComplement()
[all …]
DImmutableRangeSetTest.java147 assertEquals(ImmutableRangeSet.<Integer>all(), rangeSet.complement()); in testEmpty()
161 assertEquals(ImmutableRangeSet.<Integer>of(), rangeSet.complement()); in testAll()
182 assertEquals(expectedComplement, rangeSet.complement()); in testSingleBoundedRange()
199 assertEquals(ImmutableRangeSet.of(Range.atMost(2)), rangeSet.complement()); in testSingleBoundedBelowRange()
216 assertEquals(ImmutableRangeSet.of(Range.greaterThan(3)), rangeSet.complement()); in testSingleBoundedAboveRange()
237 assertEquals(expectedComplement, rangeSet.complement()); in testMultipleBoundedRanges()
257 assertEquals(expectedComplement, rangeSet.complement()); in testMultipleBoundedBelowRanges()
277 assertEquals(expectedComplement, rangeSet.complement()); in testMultipleBoundedAboveRanges()
374 assertEquals(mutable.complement(), built.complement()); in testExhaustive()
DAbstractRangeSetTest.java34 testInvariantsInternal(rangeSet.complement()); in testInvariants()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DTestUnicodeProperty.java41 errln("Contents:\t" + lu.complement().complement().toPattern(false)); in TestBasic()
70 errln("Contents:\t" + luSet.complement().complement().toPattern(false)); in TestSymbolTable2()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DTestUnicodeProperty.java37 errln("Contents:\t" + lu.complement().complement().toPattern(false)); in TestBasic()
66 errln("Contents:\t" + luSet.complement().complement().toPattern(false)); in TestSymbolTable2()
/external/guava/guava/src/com/google/common/collect/
DImmutableRangeSet.java107 private ImmutableRangeSet(ImmutableList<Range<C>> ranges, ImmutableRangeSet<C> complement) { in ImmutableRangeSet() argument
109 this.complement = complement; in ImmutableRangeSet()
183 private transient ImmutableRangeSet<C> complement; field in ImmutableRangeSet
241 public ImmutableRangeSet<C> complement() { in complement() method in ImmutableRangeSet
242 ImmutableRangeSet<C> result = complement; in complement()
246 return complement = all(); in complement()
248 return complement = of(); in complement()
251 result = complement = new ImmutableRangeSet<C>(complementRanges, this); in complement()
562 } else if (!rangeSet.complement().encloses(range)) {
DRangeSet.java109 RangeSet<C> complement(); in complement() method
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestIntervalSet.java105 String result = (s.complement(vocabulary)).toString(); in testNotSingleElement()
115 String result = (s.complement(vocabulary)).toString(); in testNotSet()
123 String result = (s.complement(vocabulary)).toString(); in testNotEqualSet()
131 String result = (s.complement(vocabulary)).toString(); in testNotSetEdgeElement()
144 String result = (s.complement(vocabulary)).toString(); in testNotSetFragmentedVocabulary()
296 String result = (s.complement(s2)).toString(); in testComplement()
304 String result = (s.complement(s2)).toString(); in testComplement2()
312 String result = (s.complement(1,Label.MAX_CHAR_VALUE)).toString(); in testComplement3()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
DIntervalSet.java205 public IntSet complement(int minElement, int maxElement) { in complement() method in IntervalSet
206 return this.complement(IntervalSet.of(minElement,maxElement)); in complement()
215 public IntSet complement(IntSet vocabulary) { in complement() method in IntervalSet
267 return this.and(((IntervalSet)other).complement(COMPLETE_SET)); in subtract()
DIntSet.java57 IntSet complement(IntSet elements); in complement() method
DBitSet.java287 public IntSet complement() { in complement() method in BitSet
293 public IntSet complement(IntSet set) { in complement() method in BitSet
295 return this.complement(); in complement()
/external/clang/utils/
Dtoken-delta.py91 complement = sum(sets[:i] + sets[i+1:],[])
92 if self.getTestResult(complement):
93 return self.delta(complement, sets[:i] + sets[i+1:])
/external/icu/icu4c/source/common/unicode/
Duniset.h1234 virtual UnicodeSet& complement(void);
1250 virtual UnicodeSet& complement(UChar32 start, UChar32 end);
1259 UnicodeSet& complement(UChar32 c);
1271 UnicodeSet& complement(const UnicodeString& s);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DStringTokenizerTest.java898 us.complement(invalid[i], UnicodeSet.MAX_VALUE); in TestComplement_int_int()
908 us.complement(UnicodeSet.MIN_VALUE, invalid[i]); in TestComplement_int_int()
917 us.complement(UnicodeSet.MIN_VALUE+1, UnicodeSet.MIN_VALUE); in TestComplement_int_int()
924 us.complement(UnicodeSet.MAX_VALUE, UnicodeSet.MAX_VALUE-1); in TestComplement_int_int()
939 us.complement("dummy"); in TestComplement_String()
949 us.complement("\uDC11"); in TestComplement_String()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DStringTokenizerTest.java902 us.complement(invalid[i], UnicodeSet.MAX_VALUE); in TestComplement_int_int()
912 us.complement(UnicodeSet.MIN_VALUE, invalid[i]); in TestComplement_int_int()
921 us.complement(UnicodeSet.MIN_VALUE+1, UnicodeSet.MIN_VALUE); in TestComplement_int_int()
928 us.complement(UnicodeSet.MAX_VALUE, UnicodeSet.MAX_VALUE-1); in TestComplement_int_int()
943 us.complement("dummy"); in TestComplement_String()
953 us.complement("\uDC11"); in TestComplement_String()
/external/llvm/test/CodeGen/SystemZ/
Dfp-cmp-05.ll2 ; eliminate compares for load complement, load negative and load
8 ; Load complement (sign-bit flipped).
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUnicodeSetTest.java441 set.complement(); in TestPatterns()
581 set.complement(); in TestAPI()
622 c.complement(); in TestAPI()
630 c.complement(); in TestAPI()
667 set.complement("ab"); in TestAPI()
806 {new UnicodeSet('a','z').add('A', 'Z').retain('M','m').complement('X'), in TestStrings()
1720 testSet.complement().complement(); in CheckRangeSpeed()
1783 case 14: test.complement(0); break; in checkModification()
1784 case 15: test.complement(0,0); break; in checkModification()
1785 case 16: test.complement("ab"); break; in checkModification()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUnicodeSetTest.java437 set.complement(); in TestPatterns()
577 set.complement(); in TestAPI()
618 c.complement(); in TestAPI()
626 c.complement(); in TestAPI()
663 set.complement("ab"); in TestAPI()
802 {new UnicodeSet('a','z').add('A', 'Z').retain('M','m').complement('X'), in TestStrings()
1716 testSet.complement().complement(); in CheckRangeSpeed()
1779 case 14: test.complement(0); break; in checkModification()
1780 case 15: test.complement(0,0); break; in checkModification()
1781 case 16: test.complement("ab"); break; in checkModification()
[all …]
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
DTreeToNFAConverter.g498 IntSet notAtom = grammar.complement(ttype);
526 notAtom = grammar.complement(notAtom);
532 notAtom = grammar.complement(ttype);
547 //IntSet notSet = grammar.complement(stNode.getSetValue());
548 // let code generator complement the sets
551 // let code gen do the complement again; here we compute
553 s = grammar.complement(s);
783 IntSet not = grammar.complement(ns);
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
DUnicodeSetClosure.java114 original.complement(); in test()
115 original.complement(); in test()
/external/icu/icu4c/source/i18n/
Dregexcmp.cpp1552 SSet.complement(); in doParseActions()
1571 digits.complement(); in doParseActions()
1592 h.complement(); in doParseActions()
1613 v.complement(); in doParseActions()
1629 SSet.complement(); in doParseActions()
2767 fRXPat->fInitialChars->complement(); in matchStartType()
2793 sc.complement(); in matchStartType()
2809 s.complement(); in matchStartType()
2826 s.complement(); in matchStartType()
2845 s.complement(); in matchStartType()
[all …]
/external/icu/icu4c/source/test/intltest/
Dusettest.cpp271 set.complement(); in TestPatterns()
391 set.complement(); in TestAddRemove()
591 c.complement(); in TestAPI()
599 c.complement(); in TestAPI()
637 set.complement("ab"); in TestAPI()
838 &((new UnicodeSet('a','z'))->add('A', 'Z').retain('M','m').complement('X')), in TestStrings()
1509 set.complement(); in TestInvalidCodePoint()
1514 set.complement(start, end); in TestInvalidCodePoint()
1515 set.complement(); in TestInvalidCodePoint()
1518 set.complement(start); in TestInvalidCodePoint()
[all …]
/external/fec/
Dpeak_sse_assist.s28 pxor %mm1,%mm0 # complement negatives
Dpeakval_sse_assist.s28 pxor %mm1,%mm0 # complement negatives
/external/icu/icu4c/source/common/
Duniset.cpp185 complement(start, end); in UnicodeSet()
824 complement(start, end); in set()
1226 UnicodeSet& UnicodeSet::complement(UChar32 start, UChar32 end) { in complement() function in UnicodeSet
1238 UnicodeSet& UnicodeSet::complement(UChar32 c) { in complement() function in UnicodeSet
1239 return complement(c, c); in complement()
1246 UnicodeSet& UnicodeSet::complement(void) { in complement() function in UnicodeSet
1280 UnicodeSet& UnicodeSet::complement(const UnicodeString& s) { in complement() function in UnicodeSet
1291 complement((UChar32)cp, (UChar32)cp); in complement()

123456