Home
last modified time | relevance | path

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

12345678910

/external/guava/guava-tests/test/com/google/common/collect/
DTreeRangeSetTest.java177 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 …]
DImmutableRangeSetTest.java134 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()
445 assertEquals(mutable.complement(), built.complement()); in testExhaustive()
/external/guava/android/guava-tests/test/com/google/common/collect/
DTreeRangeSetTest.java177 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 …]
DImmutableRangeSetTest.java133 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()
444 assertEquals(mutable.complement(), built.complement()); in testExhaustive()
/external/freetype/src/gxvalid/
Dgxvprop.c121 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/s2-geometry-library-java/tests/com/google/common/geometry/
DS2CapTest.java33 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()
DS1IntervalTest.java104 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/skia/modules/pathkit/tests/
Deffects.spec.js44 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/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/
DTestUnicodeProperty.java38 errln("Contents:\t" + lu.complement().complement().toPattern(false)); in TestBasic()
67 errln("Contents:\t" + luSet.complement().complement().toPattern(false)); in TestSymbolTable2()
/external/antlr/tool/src/test/java/org/antlr/test/
DTestIntervalSet.java103 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/
Dtest_refpolicy.py41 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/
DImmutableRangeSet.java150 private ImmutableRangeSet(ImmutableList<Range<C>> ranges, ImmutableRangeSet<C> complement) { in ImmutableRangeSet() argument
152 this.complement = complement; in ImmutableRangeSet()
315 @LazyInit @CheckForNull private transient ImmutableRangeSet<C> complement; field in ImmutableRangeSet
373 public ImmutableRangeSet<C> complement() { in complement() method in ImmutableRangeSet
374 ImmutableRangeSet<C> result = complement; in complement()
378 return complement = all(); in complement()
380 return complement = of(); in complement()
383 result = complement = new ImmutableRangeSet<C>(complementRanges, this); in complement()
411 copy.removeAll(other.complement()); in intersection()
/external/guava/android/guava/src/com/google/common/collect/
DImmutableRangeSet.java137 private ImmutableRangeSet(ImmutableList<Range<C>> ranges, ImmutableRangeSet<C> complement) { in ImmutableRangeSet() argument
139 this.complement = complement; in ImmutableRangeSet()
302 @LazyInit @CheckForNull private transient ImmutableRangeSet<C> complement; field in ImmutableRangeSet
360 public ImmutableRangeSet<C> complement() { in complement() method in ImmutableRangeSet
361 ImmutableRangeSet<C> result = complement; in complement()
365 return complement = all(); in complement()
367 return complement = of(); in complement()
370 result = complement = new ImmutableRangeSet<C>(complementRanges, this); in complement()
398 copy.removeAll(other.complement()); in intersection()
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_blending.c77 int complement = complement_factor(factor); in uncomplement_factor() local
78 return (complement == -1) ? factor : complement; in uncomplement_factor()
/external/s2-geometry-library-java/src/com/google/common/geometry/
DS2Cap.java155 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/cldr-code/src/main/java/org/unicode/cldr/draft/
DUnicodeSetBuilder.java157 propSet = propSet.complement(); in handle()
171 propSet = propSet.complement(); in handle()
211 current.complement(); in handle()
/external/ukey2/src/main/proto/
Dsecuremessage.proto99 // 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/antlr/tool/src/main/java/org/antlr/misc/
DIntervalSet.java210 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/icu/icu4c/source/i18n/
Dregexst.cpp93 fPropSets[URX_GC_NORMAL].complement(); in RegexStaticSets()
119 .addAll(UnicodeString(gRuleSet_rule_chars)).complement().freeze(); in RegexStaticSets()
/external/cronet/third_party/icu/source/i18n/
Dregexst.cpp93 fPropSets[URX_GC_NORMAL].complement(); in RegexStaticSets()
119 .addAll(UnicodeString(gRuleSet_rule_chars)).complement().freeze(); in RegexStaticSets()
/external/rust/beto-rust/nearby/connections/ukey2/ukey2_proto/proto/
Dsecuremessage.proto103 // x and y are encoded in big-endian two's complement (slightly wasteful)
111 // Encoded in big-endian two's complement
120 // Big-endian two's complement encoded group element
/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/cronet/third_party/icu/source/common/
Duset.cpp159 ((UnicodeSet*) set)->UnicodeSet::complement(); in uset_complement()
164 ((UnicodeSet*) set)->UnicodeSet::complement(start, end); in uset_complementRange()
170 ((UnicodeSet*) set)->UnicodeSet::complement(s); in uset_complementString()
180 uset_complementAll(USet* set, const USet* complement) { in uset_complementAll() argument
181 ((UnicodeSet*) set)->UnicodeSet::complementAll(*(const UnicodeSet*)complement); in uset_complementAll()
/external/icu/icu4c/source/common/
Duset.cpp159 ((UnicodeSet*) set)->UnicodeSet::complement(); in uset_complement()
164 ((UnicodeSet*) set)->UnicodeSet::complement(start, end); in uset_complementRange()
170 ((UnicodeSet*) set)->UnicodeSet::complement(s); in uset_complementString()
180 uset_complementAll(USet* set, const USet* complement) { in uset_complementAll() argument
181 ((UnicodeSet*) set)->UnicodeSet::complementAll(*(const UnicodeSet*)complement); in uset_complementAll()
/external/llvm/test/tools/llvm-readobj/
Dgnu-file-headers.test9 ELF32-NEXT: Data: 2's complement, little endian
30 ELF64-NEXT: Data: 2's complement, little endian

12345678910