/external/guava/guava-tests/test/com/google/common/collect/ |
D | TreeRangeSetTest.java | 149 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 …]
|
D | ImmutableRangeSetTest.java | 147 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()
|
D | AbstractRangeSetTest.java | 34 testInvariantsInternal(rangeSet.complement()); in testInvariants()
|
/external/guava/guava/src/com/google/common/collect/ |
D | ImmutableRangeSet.java | 107 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)) {
|
D | RangeSet.java | 109 RangeSet<C> complement(); in complement() method
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
D | TestIntervalSet.java | 105 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/ |
D | IntervalSet.java | 205 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()
|
D | IntSet.java | 57 IntSet complement(IntSet elements); in complement() method
|
D | BitSet.java | 287 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/ |
D | token-delta.py | 91 complement = sum(sets[:i] + sets[i+1:],[]) 92 if self.getTestResult(complement): 93 return self.delta(complement, sets[:i] + sets[i+1:])
|
/external/llvm/test/tools/llvm-readobj/ |
D | gnu-file-headers.test | 9 ELF32-NEXT: Data: 2's complement, little endian 30 ELF64-NEXT: Data: 2's complement, little endian
|
/external/icu/icu4c/source/common/unicode/ |
D | uniset.h | 1236 virtual UnicodeSet& complement(void); 1252 virtual UnicodeSet& complement(UChar32 start, UChar32 end); 1261 UnicodeSet& complement(UChar32 c); 1273 UnicodeSet& complement(const UnicodeString& s);
|
/external/llvm/test/CodeGen/SystemZ/ |
D | fp-cmp-05.ll | 2 ; 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/util/ |
D | StringTokenizerTest.java | 912 us.complement(invalid[i], UnicodeSet.MAX_VALUE); in TestComplement_int_int() 922 us.complement(UnicodeSet.MIN_VALUE, invalid[i]); in TestComplement_int_int() 931 us.complement(UnicodeSet.MIN_VALUE+1, UnicodeSet.MIN_VALUE); in TestComplement_int_int() 938 us.complement(UnicodeSet.MAX_VALUE, UnicodeSet.MAX_VALUE-1); in TestComplement_int_int() 954 us.complement("dummy"); in TestComplement_String() 964 us.complement("\uDC11"); in TestComplement_String()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | StringTokenizerTest.java | 911 us.complement(invalid[i], UnicodeSet.MAX_VALUE); in TestComplement_int_int() 921 us.complement(UnicodeSet.MIN_VALUE, invalid[i]); in TestComplement_int_int() 930 us.complement(UnicodeSet.MIN_VALUE+1, UnicodeSet.MIN_VALUE); in TestComplement_int_int() 937 us.complement(UnicodeSet.MAX_VALUE, UnicodeSet.MAX_VALUE-1); in TestComplement_int_int() 953 us.complement("dummy"); in TestComplement_String() 963 us.complement("\uDC11"); in TestComplement_String()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | UnicodeSetTest.java | 441 set.complement(); in TestPatterns() 585 set.complement(); in TestAPI() 626 c.complement(); in TestAPI() 634 c.complement(); in TestAPI() 671 set.complement("ab"); in TestAPI() 811 {new UnicodeSet('a','z').add('A', 'Z').retain('M','m').complement('X'), in TestStrings() 1744 testSet.complement().complement(); in CheckRangeSpeed() 1807 case 14: test.complement(0); break; in checkModification() 1808 case 15: test.complement(0,0); break; in checkModification() 1809 case 16: test.complement("ab"); break; in checkModification() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
D | UnicodeSetTest.java | 442 set.complement(); in TestPatterns() 586 set.complement(); in TestAPI() 627 c.complement(); in TestAPI() 635 c.complement(); in TestAPI() 672 set.complement("ab"); in TestAPI() 812 {new UnicodeSet('a','z').add('A', 'Z').retain('M','m').complement('X'), in TestStrings() 1745 testSet.complement().complement(); in CheckRangeSpeed() 1808 case 14: test.complement(0); break; in checkModification() 1809 case 15: test.complement(0,0); break; in checkModification() 1810 case 16: test.complement("ab"); break; in checkModification() [all …]
|
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/ |
D | TreeToNFAConverter.g | 498 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/ |
D | UnicodeSetClosure.java | 116 original.complement(); in test() 117 original.complement(); in test()
|
/external/icu/icu4c/source/i18n/ |
D | regexcmp.cpp | 1555 SSet.complement(); in doParseActions() 1574 digits.complement(); in doParseActions() 1595 h.complement(); in doParseActions() 1616 v.complement(); in doParseActions() 1632 SSet.complement(); in doParseActions() 2775 fRXPat->fInitialChars->complement(); in matchStartType() 2801 sc.complement(); in matchStartType() 2817 s.complement(); in matchStartType() 2834 s.complement(); in matchStartType() 2853 s.complement(); in matchStartType() [all …]
|
/external/fec/ |
D | peak_sse_assist.s | 28 pxor %mm1,%mm0 # complement negatives
|
D | peakval_sse_assist.s | 28 pxor %mm1,%mm0 # complement negatives
|
D | peak_sse2_assist.s | 28 pxor %xmm1,%xmm0 # complement negatives
|
D | peakval_sse2_assist.s | 28 pxor %xmm1,%xmm0 # complement negatives
|
/external/icu/icu4c/source/test/intltest/ |
D | usettest.cpp | 274 set.complement(); in TestPatterns() 394 set.complement(); in TestAddRemove() 594 c.complement(); in TestAPI() 602 c.complement(); in TestAPI() 640 set.complement("ab"); in TestAPI() 841 &((new UnicodeSet('a','z'))->add('A', 'Z').retain('M','m').complement('X')), in TestStrings() 1512 set.complement(); in TestInvalidCodePoint() 1517 set.complement(start, end); in TestInvalidCodePoint() 1518 set.complement(); in TestInvalidCodePoint() 1521 set.complement(start); in TestInvalidCodePoint() [all …]
|