HomeSort by relevance Sort by last modified time
    Searched defs:complement (Results 1 - 25 of 175) sorted by null

1 2 3 4 5 6 7

  /libcore/ojluni/src/main/java/java/util/
EnumSet.java 189 * @param s the enum set from whose complement to initialize this enum set
190 * @return The complement of the specified set in this set
195 result.complement();
389 abstract void complement(); method in class:EnumSet
RegularEnumSet.java 57 void complement() { method in class:RegularEnumSet
JumboEnumSet.java 77 void complement() { method in class:JumboEnumSet
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
IntSet.java 57 IntSet complement(IntSet elements); method in interface:IntSet
IntervalSet.java 205 public IntSet complement(int minElement, int maxElement) { method in class:IntervalSet
206 return this.complement(IntervalSet.of(minElement,maxElement));
215 public IntSet complement(IntSet vocabulary) { method in class:IntervalSet
220 throw new IllegalArgumentException("can't complement with non IntervalSet ("+
261 // assume the whole unicode range here for the complement
267 return this.and(((IntervalSet)other).complement(COMPLETE_SET));
275 * Keep around, but 10-20-2005, I decided to make complement work w/o
BitSet.java 287 public IntSet complement() { method in class:BitSet
293 public IntSet complement(IntSet set) { method in class:BitSet
295 return this.complement();
306 /** complement bits in the range 0..maxBit. */
311 /** complement bits in the range minBit..maxBit.*/
  /external/guava/guava/src/com/google/common/collect/
RangeSet.java 104 * Returns a view of the complement of this {@code RangeSet}.
109 RangeSet<C> complement(); method in interface:RangeSet
ImmutableRangeSet.java 107 private ImmutableRangeSet(ImmutableList<Range<C>> ranges, ImmutableRangeSet<C> complement) {
109 this.complement = complement;
183 private transient ImmutableRangeSet<C> complement; field in class:ImmutableRangeSet
241 public ImmutableRangeSet<C> complement() { method in class:ImmutableRangeSet
242 ImmutableRangeSet<C> result = complement;
246 return complement = all();
248 return complement = of();
251 result = complement = new ImmutableRangeSet<C>(complementRanges, this);
562 } else if (!rangeSet.complement().encloses(range))
    [all...]
TreeRangeSet.java 232 private transient RangeSet<C> complement; field in class:TreeRangeSet
235 public RangeSet<C> complement() { method in class:TreeRangeSet
236 RangeSet<C> result = complement;
237 return (result == null) ? complement = new Complement() : result;
406 * "complement ranges by lower bound" map; it's a constraint on the *keys*, and does not affect
457 * firstComplementRangeLowerBound is the first complement range lower bound inside
458 * complementLowerBoundWindow. Complement range lower bounds are either positive range upper
462 * firstComplementRangeLowerBound. (Positive range lower bounds correspond to complement range
510 * firstComplementRangeUpperBound is the upper bound of the last complement range with lowe
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
AbstractRangeSetTest.java 34 testInvariantsInternal(rangeSet.complement());
ImmutableRangeSetTest.java 147 assertEquals(ImmutableRangeSet.<Integer>all(), rangeSet.complement());
161 assertEquals(ImmutableRangeSet.<Integer>of(), rangeSet.complement());
182 assertEquals(expectedComplement, rangeSet.complement());
199 assertEquals(ImmutableRangeSet.of(Range.atMost(2)), rangeSet.complement());
216 assertEquals(ImmutableRangeSet.of(Range.greaterThan(3)), rangeSet.complement());
237 assertEquals(expectedComplement, rangeSet.complement());
257 assertEquals(expectedComplement, rangeSet.complement());
277 assertEquals(expectedComplement, rangeSet.complement());
374 assertEquals(mutable.complement(), built.complement());
    [all...]
TreeRangeSetTest.java 149 TreeRangeSet<Integer> complement = TreeRangeSet.create(); local
150 complement.add(Range.<Integer>all());
151 complement.remove(range);
153 assertEquals(complement, rangeSet.complement());
154 assertThat(rangeSet.complement().asRanges())
155 .has().exactlyAs(complement.asRanges()).inOrder();
168 testEnclosing(rangeSet.complement());
179 testEnclosing(rangeSet.complement());
234 testViewAgainstExpected(expectedComplement(rangeSet), rangeSet.complement());
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/support/rexpr/
rexpr.c 37 * ~ means complement the set in [..]. i.e. all characters not listed
78 static int atomList( char *p, int complement );
252 int complement = 0; local
257 if ( token == '~' ) {complement = 1; next();}
260 if ( atomList( s, complement ) == -1 ) return -1;
328 static int atomList(char *p, int complement)
330 static int atomList(p, complement)
332 int complement;
365 if ( complement )
  /external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
BitSet.js 412 complement: function(set) {
423 * If no arguments are passed sets all bits to the complement of their
425 * beginning of the bit set to index1 (inclusive) to the complement of its
428 * complement of its current value.
403 }, method in class:org.antlr.runtime.BitSet
  /external/freetype/src/gxvalid/
gxvprop.c 121 char complement; local
131 complement = (char)( offset >> 8 );
132 if ( complement & 0x08 )
137 complement = (char)( ( complement & 0x07 ) + 1 );
139 /* The gid for complement must be greater than 0 */
140 if ( glyph <= complement )
142 GXV_TRACE(( " found non-positive glyph complement\n" ));
148 /* The gid for complement must be the face. */
149 gxv_glyphid_validate( (FT_UShort)( glyph + complement ), gxvalid )
    [all...]
  /system/sepolicy/tools/sepolicy-analyze/
neverallow.c 191 bool complement = false; local
280 complement = true;
353 if (complement) {
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
UnicodeSetStringSpanTest.java 39 set.complement();
63 uset.complement();
399 * Count spans on a string with the method according to type and set the span limits. The set may be the complement
567 * or frozen versions of the set, and using the set or its complement (switching the spanConditions accordingly).
568 * The latter verifies that set.span(spanCondition) == set.complement().span(!spanCondition).
1013 sets[SLOW_NOT].complement(); method
    [all...]
UnicodeSetTest.java 446 // Throw in a test of complement
447 set.complement();
591 set.complement();
632 c.complement();
636 logln("c.complement(): " + c);
638 errln(Utility.escape("FAIL: c.complement() = " + c + ", expect " + exp));
640 c.complement();
643 logln("c.complement(): " + c);
645 errln("FAIL: c.complement() = " + c + ", expect " + exp);
651 logln("c.set(a).complement(b): " + c)
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
UnicodeSetStringSpanTest.java 36 set.complement();
60 uset.complement();
396 * Count spans on a string with the method according to type and set the span limits. The set may be the complement
564 * or frozen versions of the set, and using the set or its complement (switching the spanConditions accordingly).
565 * The latter verifies that set.span(spanCondition) == set.complement().span(!spanCondition).
1010 sets[SLOW_NOT].complement(); method
    [all...]
UnicodeSetTest.java 443 // Throw in a test of complement
444 set.complement();
588 set.complement();
629 c.complement();
633 logln("c.complement(): " + c);
635 errln(Utility.escape("FAIL: c.complement() = " + c + ", expect " + exp));
637 c.complement();
640 logln("c.complement(): " + c);
642 errln("FAIL: c.complement() = " + c + ", expect " + exp);
648 logln("c.set(a).complement(b): " + c)
    [all...]
  /cts/hostsidetests/statsd/src/android/cts/statsd/atom/
ProcStateAtomTests.java 120 Set<Integer> offStates = complement(onStates);
162 Set<Integer> offStates = complement(onStates);
183 Set<Integer> offStates = complement(onStates);
206 Set<Integer> offStates = complement(onStates);
235 Set<Integer> offStates = complement(onStates);
313 private Set<Integer> complement(Set<Integer> set) { method in class:ProcStateAtomTests
  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
UnicodeSetClosure.java 116 original.complement();
117 original.complement();
    [all...]
  /frameworks/base/services/core/java/com/android/server/hdmi/
HotplugDetectionAction.java 155 BitSet removed = complement(currentInfos, polledResult);
178 BitSet added = complement(polledResult, currentInfos);
209 private static BitSet complement(BitSet first, BitSet second) { method in class:HotplugDetectionAction
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
StringTokenizerTest.java     [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
StringTokenizerTest.java     [all...]

Completed in 1303 milliseconds

1 2 3 4 5 6 7