/external/guava/guava-tests/test/com/google/common/collect/ |
D | TreeRangeSetTest.java | 177 TreeRangeSet<Integer> complement = TreeRangeSet.create(); in testAllSingleRangesComplementAgainstRemove() local 178 complement.add(Range.<Integer>all()); in testAllSingleRangesComplementAgainstRemove() 179 complement.remove(range); in testAllSingleRangesComplementAgainstRemove() 181 assertEquals(complement, rangeSet.complement()); in testAllSingleRangesComplementAgainstRemove() 182 assertThat(rangeSet.complement().asRanges()) in testAllSingleRangesComplementAgainstRemove() 183 .containsExactlyElementsIn(complement.asRanges()) in testAllSingleRangesComplementAgainstRemove() 194 testIntersects(TreeRangeSet.<Integer>create().complement()); in testEmptyIntersecting() 202 testIntersects(rangeSet.complement()); in testAllSingleRangesIntersecting() 213 testIntersects(rangeSet.complement()); in testAllTwoRangesIntersecting() 220 testEnclosing(TreeRangeSet.<Integer>create().complement()); in testEmptyEnclosing() [all …]
|
D | ImmutableRangeSetTest.java | 134 assertEquals(ImmutableRangeSet.<Integer>all(), rangeSet.complement()); in testEmpty() 151 assertEquals(ImmutableRangeSet.<Integer>of(), rangeSet.complement()); in testAll() 178 assertEquals(expectedComplement, rangeSet.complement()); in testSingleBoundedRange() 201 assertEquals(ImmutableRangeSet.of(Range.atMost(2)), rangeSet.complement()); in testSingleBoundedBelowRange() 225 assertEquals(ImmutableRangeSet.of(Range.greaterThan(3)), rangeSet.complement()); in testSingleBoundedAboveRange() 257 assertEquals(expectedComplement, rangeSet.complement()); in testMultipleBoundedRanges() 285 assertEquals(expectedComplement, rangeSet.complement()); in testMultipleBoundedBelowRanges() 313 assertEquals(expectedComplement, rangeSet.complement()); in testMultipleBoundedAboveRanges() 441 assertEquals(mutable.complement(), built.complement()); in testExhaustive()
|
/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | TreeRangeSetTest.java | 177 TreeRangeSet<Integer> complement = TreeRangeSet.create(); in testAllSingleRangesComplementAgainstRemove() local 178 complement.add(Range.<Integer>all()); in testAllSingleRangesComplementAgainstRemove() 179 complement.remove(range); in testAllSingleRangesComplementAgainstRemove() 181 assertEquals(complement, rangeSet.complement()); in testAllSingleRangesComplementAgainstRemove() 182 assertThat(rangeSet.complement().asRanges()) in testAllSingleRangesComplementAgainstRemove() 183 .containsExactlyElementsIn(complement.asRanges()) in testAllSingleRangesComplementAgainstRemove() 194 testIntersects(TreeRangeSet.<Integer>create().complement()); in testEmptyIntersecting() 202 testIntersects(rangeSet.complement()); in testAllSingleRangesIntersecting() 213 testIntersects(rangeSet.complement()); in testAllTwoRangesIntersecting() 220 testEnclosing(TreeRangeSet.<Integer>create().complement()); in testEmptyEnclosing() [all …]
|
D | ImmutableRangeSetTest.java | 133 assertEquals(ImmutableRangeSet.<Integer>all(), rangeSet.complement()); in testEmpty() 150 assertEquals(ImmutableRangeSet.<Integer>of(), rangeSet.complement()); in testAll() 177 assertEquals(expectedComplement, rangeSet.complement()); in testSingleBoundedRange() 200 assertEquals(ImmutableRangeSet.of(Range.atMost(2)), rangeSet.complement()); in testSingleBoundedBelowRange() 224 assertEquals(ImmutableRangeSet.of(Range.greaterThan(3)), rangeSet.complement()); in testSingleBoundedAboveRange() 256 assertEquals(expectedComplement, rangeSet.complement()); in testMultipleBoundedRanges() 284 assertEquals(expectedComplement, rangeSet.complement()); in testMultipleBoundedBelowRanges() 312 assertEquals(expectedComplement, rangeSet.complement()); in testMultipleBoundedAboveRanges() 440 assertEquals(mutable.complement(), built.complement()); in testExhaustive()
|
/external/freetype/src/gxvalid/ |
D | gxvprop.c | 121 char complement; in gxv_prop_property_validate() local 131 complement = (char)( offset >> 8 ); in gxv_prop_property_validate() 132 if ( complement & 0x08 ) in gxv_prop_property_validate() 137 complement = (char)( ( complement & 0x07 ) + 1 ); in gxv_prop_property_validate() 140 if ( glyph <= complement ) in gxv_prop_property_validate() 149 gxv_glyphid_validate( (FT_UShort)( glyph + complement ), gxvalid ); in gxv_prop_property_validate()
|
/external/skia/modules/pathkit/tests/ |
D | effects.spec.js | 44 let complement = drawStar().trim(.1, .9, true); 47 expect(trimmed.equals(complement)).toBe(false); 49 expect(complement.equals(orig)).toBe(false); 52 reportPath(complement, 'trimmed_complement', done); 55 complement.delete();
|
/external/skqp/modules/pathkit/tests/ |
D | effects.spec.js | 60 let complement = drawStar().trim(.1, .9, true); 63 expect(trimmed.equals(complement)).toBe(false); 65 expect(complement.equals(orig)).toBe(false); 68 reportPath(complement, 'trimmed_complement', done); 71 complement.delete();
|
/external/s2-geometry-library-java/tests/com/google/common/geometry/ |
D | S2CapTest.java | 33 assertTrue(empty.complement().isFull()); in testBasic() 36 assertTrue(full.complement().isEmpty()); in testBasic() 60 S2Cap xcomp = xaxis.complement(); in testBasic() 66 assertTrue(xcomp.complement().isValid()); in testBasic() 67 assertTrue(xcomp.complement().isEmpty()); in testBasic() 68 assertTrue(!xcomp.complement().contains(xaxis.axis())); in testBasic() 82 assertEquals(hemi.complement().axis(), S2Point.neg(hemi.axis())); in testBasic() 83 assertEquals(hemi.complement().height(), 1.0); in testBasic() 85 assertTrue(!hemi.complement().contains(new S2Point(1, 0, 0))); in testBasic() 113 assertTrue(concave.interiorIntersects(hemi.complement())); in testBasic()
|
D | S1IntervalTest.java | 104 assertTrue(empty.complement().isFull()); in testBasic() 105 assertTrue(full.complement().isEmpty()); in testBasic() 106 assertTrue(pi.complement().isFull()); in testBasic() 107 assertTrue(mipi.complement().isFull()); in testBasic() 108 assertTrue(zero.complement().isFull()); in testBasic() 109 assertTrue(quad12.complement().approxEquals(quad34)); in testBasic() 110 assertTrue(quad34.complement().approxEquals(quad12)); in testBasic() 112 assertTrue(quad123.complement().approxEquals(quad4)); in testBasic()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestUnicodeProperty.java | 38 errln("Contents:\t" + lu.complement().complement().toPattern(false)); in TestBasic() 67 errln("Contents:\t" + luSet.complement().complement().toPattern(false)); in TestSymbolTable2()
|
/external/llvm-project/llvm/test/CodeGen/SystemZ/ |
D | not-01.ll | 1 ; Combined logical operations involving complement on z15 5 ; And-with-complement 32-bit. 15 ; And-with-complement 64-bit. 25 ; Or-with-complement 32-bit. 35 ; Or-with-complement 64-bit. 105 ; Or-with-complement 32-bit of a constant. 116 ; Or-with-complement 64-bit of a constant.
|
/external/llvm-project/mlir/unittests/Analysis/ |
D | PresburgerSetTest.cpp | 69 PresburgerSet complement = s.complement(); in testComplementAtPoints() local 70 complement.complement(); in testComplementAtPoints() 73 bool inComplement = complement.containsPoint(point); in testComplementAtPoints()
|
/external/antlr/tool/src/test/java/org/antlr/test/ |
D | TestIntervalSet.java | 103 String result = (s.complement(vocabulary)).toString(); in testNotSingleElement() 113 String result = (s.complement(vocabulary)).toString(); in testNotSet() 121 String result = (s.complement(vocabulary)).toString(); in testNotEqualSet() 129 String result = (s.complement(vocabulary)).toString(); in testNotSetEdgeElement() 142 String result = (s.complement(vocabulary)).toString(); in testNotSetFragmentedVocabulary() 294 String result = (s.complement(s2)).toString(); in testComplement() 302 String result = (s.complement(s2)).toString(); in testComplement2() 310 String result = (s.complement(1,Label.MAX_CHAR_VALUE)).toString(); in testComplement3()
|
/external/selinux/python/sepolgen/tests/ |
D | test_refpolicy.py | 41 self.assertEqual(s1.complement, False) 45 self.assertEqual(s2.complement, True) 88 a.complement = False 90 a.complement = True 94 a.complement = False 98 a.complement = True 102 a.complement = False
|
/external/guava/guava/src/com/google/common/collect/ |
D | ImmutableRangeSet.java | 143 private ImmutableRangeSet(ImmutableList<Range<C>> ranges, ImmutableRangeSet<C> complement) { in ImmutableRangeSet() argument 145 this.complement = complement; in ImmutableRangeSet() 301 @LazyInit private transient ImmutableRangeSet<C> complement; field in ImmutableRangeSet 359 public ImmutableRangeSet<C> complement() { in complement() method in ImmutableRangeSet 360 ImmutableRangeSet<C> result = complement; in complement() 364 return complement = all(); in complement() 366 return complement = of(); in complement() 369 result = complement = new ImmutableRangeSet<C>(complementRanges, this); in complement() 397 copy.removeAll(other.complement()); in intersection()
|
/external/guava/android/guava/src/com/google/common/collect/ |
D | ImmutableRangeSet.java | 130 private ImmutableRangeSet(ImmutableList<Range<C>> ranges, ImmutableRangeSet<C> complement) { in ImmutableRangeSet() argument 132 this.complement = complement; in ImmutableRangeSet() 288 @LazyInit private transient ImmutableRangeSet<C> complement; field in ImmutableRangeSet 346 public ImmutableRangeSet<C> complement() { in complement() method in ImmutableRangeSet 347 ImmutableRangeSet<C> result = complement; in complement() 351 return complement = all(); in complement() 353 return complement = of(); in complement() 356 result = complement = new ImmutableRangeSet<C>(complementRanges, this); in complement() 384 copy.removeAll(other.complement()); in intersection()
|
/external/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_blending.c | 77 int complement = complement_factor(factor); in uncomplement_factor() local 78 return (complement == -1) ? factor : complement; in uncomplement_factor()
|
/external/llvm-project/lldb/examples/customization/bin-utils/ |
D | README | 23 Convert the integer to print its two's complement representation. 25 args[1] (mandatory) is the bit width of the two's complement representation
|
/external/s2-geometry-library-java/src/com/google/common/geometry/ |
D | S2Cap.java | 155 public S2Cap complement() { in complement() method in S2Cap 182 return !complement().contains(other); in interiorIntersects() 311 return !complement().intersects(cell, vertices); in contains()
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | UnicodeSetBuilder.java | 157 propSet = propSet.complement(); in handle() 171 propSet = propSet.complement(); in handle() 211 current.complement(); in handle()
|
/external/ukey2/src/main/proto/ |
D | securemessage.proto | 99 // x and y are encoded in big-endian two's complement (slightly wasteful) 107 // Encoded in big-endian two's complement 116 // Big-endian two's complement encoded group element
|
/external/icu/icu4c/source/i18n/ |
D | regexst.cpp | 93 fPropSets[URX_GC_NORMAL].complement(); in RegexStaticSets() 119 .addAll(UnicodeString(gRuleSet_rule_chars)).complement().freeze(); in RegexStaticSets()
|
/external/antlr/tool/src/main/java/org/antlr/misc/ |
D | IntervalSet.java | 210 public IntervalSet complement(int minElement, int maxElement) { in complement() method in IntervalSet 211 return this.complement(IntervalSet.of(minElement,maxElement)); in complement() 221 public IntervalSet complement(IntSet vocabulary) { in complement() method in IntervalSet 274 return this.and(((IntervalSet)other).complement(COMPLETE_SET)); in subtract()
|
/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-project/clang/utils/ |
D | token-delta.py | 92 complement = sum(sets[:i] + sets[i+1:],[]) 93 if self.getTestResult(complement): 94 return self.delta(complement, sets[:i] + sets[i+1:])
|