Home
last modified time | relevance | path

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

1234567

/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()
/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/skqp/modules/pathkit/tests/
Deffects.spec.js60 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/skia/modules/pathkit/tests/
Deffects.spec.js60 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/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)) {
/external/cldr/tools/cldr-unittest/src/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/cldr/tools/java/org/unicode/cldr/draft/
DUnicodeSetBuilder.java156 propSet = propSet.complement(); in handle()
170 propSet = propSet.complement(); in handle()
210 current.complement(); in handle()
/external/ukey2/src/main/proto/
Dsecuremessage.proto97 // x and y are encoded in big-endian two's complement (slightly wasteful)
105 // Encoded in big-endian two's complement
114 // 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()
DIntSet.java57 IntSet complement(IntSet elements); in complement() method
DBitSet.java289 public IntSet complement() { in complement() method in BitSet
296 public IntSet complement(IntSet set) { in complement() method in BitSet
298 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.h1247 virtual UnicodeSet& complement(void);
1263 virtual UnicodeSet& complement(UChar32 start, UChar32 end);
1272 UnicodeSet& complement(UChar32 c);
1284 UnicodeSet& complement(const UnicodeString& s);
/external/swiftshader/third_party/llvm-7.0/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
/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
/external/u-boot/drivers/usb/ulpi/
Dulpi.c112 int passthu, int complement) in ulpi_set_vbus_indicator() argument
123 flags |= complement ? ULPI_IFACE_EXTVBUS_COMPLEMENT : 0; in ulpi_set_vbus_indicator()
/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/swiftshader/third_party/llvm-7.0/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/util/
DStringTokenizerTest.java917 us.complement(invalid[i], UnicodeSet.MAX_VALUE); in TestComplement_int_int()
927 us.complement(UnicodeSet.MIN_VALUE, invalid[i]); in TestComplement_int_int()
936 us.complement(UnicodeSet.MIN_VALUE+1, UnicodeSet.MIN_VALUE); in TestComplement_int_int()
943 us.complement(UnicodeSet.MAX_VALUE, UnicodeSet.MAX_VALUE-1); in TestComplement_int_int()
959 us.complement("dummy"); in TestComplement_String()
969 us.complement("\uDC11"); in TestComplement_String()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DStringTokenizerTest.java914 us.complement(invalid[i], UnicodeSet.MAX_VALUE); in TestComplement_int_int()
924 us.complement(UnicodeSet.MIN_VALUE, invalid[i]); in TestComplement_int_int()
933 us.complement(UnicodeSet.MIN_VALUE+1, UnicodeSet.MIN_VALUE); in TestComplement_int_int()
940 us.complement(UnicodeSet.MAX_VALUE, UnicodeSet.MAX_VALUE-1); in TestComplement_int_int()
956 us.complement("dummy"); in TestComplement_String()
966 us.complement("\uDC11"); in TestComplement_String()
/external/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/
DTreeToNFAConverter.g499 IntSet notAtom = grammar.complement(ttype);
527 notAtom = grammar.complement(notAtom);
533 notAtom = grammar.complement(ttype);
548 //IntSet notSet = grammar.complement(stNode.getSetValue());
549 // let code generator complement the sets
552 // let code gen do the complement again; here we compute
554 s = grammar.complement(s);
784 IntSet not = grammar.complement(ns);
/external/cldr/tools/java/org/unicode/cldr/test/
DTestMisc.java121 UnicodeSet codes = set.complement().complement(); in main()
124 bf.showSetNames(set.complement().complement()) + CldrUtility.LINE_SEPARATOR); in main()
452 spanned = spanned.complement().complement(); in showSpans()

1234567