Home
last modified time | relevance | path

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

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DEnumSetTest.java21 import java.util.EnumSet;
75 EnumSet.noneOf((Class) null); in test_NoneOf_LClass()
82 EnumSet.noneOf(Enum.class); in test_NoneOf_LClass()
91 EnumSet.noneOf(c); in test_NoneOf_LClass()
97 EnumSet<EnumWithAllInnerClass> setWithInnerClass = EnumSet in test_NoneOf_LClass()
105 EnumSet.noneOf(hc); in test_NoneOf_LClass()
111 EnumSet<HugeEnumWithInnerClass> hugeSetWithInnerClass = EnumSet in test_NoneOf_LClass()
120 EnumSet<HugeEnumCount> set; in test_iterator_HugeEnumSet()
125 set = EnumSet.range(HugeEnumCount.NO1, HugeEnumCount.NO65); in test_iterator_HugeEnumSet()
133 set = EnumSet.range(HugeEnumCount.NO1, HugeEnumCount.NO130); in test_iterator_HugeEnumSet()
[all …]
/external/icu4c/common/unicode/
Denumset.h30 class EnumSet {
32 inline EnumSet() : fBools(0) {} in EnumSet() function
33 inline EnumSet(const EnumSet<T,minValue,limitValue>& other) : fBools(other.fBools) {} in EnumSet() function
34 inline ~EnumSet() {} in ~EnumSet()
43 …inline const EnumSet<T,minValue,limitValue>& operator=(const EnumSet<T,minValue,limitValue>& other…
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/
DExampleNumbersTest.java26 import java.util.EnumSet;
94 Set<PhoneNumberType> fixedLineTypes = EnumSet.of(PhoneNumberType.FIXED_LINE, in testFixedLine()
102 Set<PhoneNumberType> mobileTypes = EnumSet.of(PhoneNumberType.MOBILE, in testMobile()
110 Set<PhoneNumberType> tollFreeTypes = EnumSet.of(PhoneNumberType.TOLL_FREE); in testTollFree()
117 Set<PhoneNumberType> premiumRateTypes = EnumSet.of(PhoneNumberType.PREMIUM_RATE); in testPremiumRate()
124 Set<PhoneNumberType> voipTypes = EnumSet.of(PhoneNumberType.VOIP); in testVoip()
131 Set<PhoneNumberType> pagerTypes = EnumSet.of(PhoneNumberType.PAGER); in testPager()
138 Set<PhoneNumberType> uanTypes = EnumSet.of(PhoneNumberType.UAN); in testUan()
145 Set<PhoneNumberType> voicemailTypes = EnumSet.of(PhoneNumberType.VOICEMAIL); in testVoicemail()
152 Set<PhoneNumberType> sharedCostTypes = EnumSet.of(PhoneNumberType.SHARED_COST); in testSharedCost()
/external/guava/guava/src/com/google/common/collect/
DImmutableEnumSet.java23 import java.util.EnumSet;
42 private final transient EnumSet<E> delegate;
44 ImmutableEnumSet(EnumSet<E> delegate) { in ImmutableEnumSet()
106 final EnumSet<E> delegate;
107 EnumSerializedForm(EnumSet<E> delegate) { in EnumSerializedForm()
DSets.java41 import java.util.EnumSet;
82 return new ImmutableEnumSet<E>(EnumSet.of(anElement, otherElements)); in immutableEnumSet()
104 if (elements instanceof EnumSet) { in immutableEnumSet()
105 EnumSet<E> enumSetClone = EnumSet.copyOf((EnumSet<E>) elements); in immutableEnumSet()
109 EnumSet<E> set = EnumSet.of(first); in immutableEnumSet()
122 public static <E extends Enum<E>> EnumSet<E> newEnumSet(Iterable<E> iterable, in newEnumSet()
138 EnumSet<E> set = EnumSet.noneOf(elementType); in newEnumSet()
376 public static <E extends Enum<E>> EnumSet<E> complementOf( in complementOf()
378 if (collection instanceof EnumSet) { in complementOf()
379 return EnumSet.complementOf((EnumSet<E>) collection); in complementOf()
[all …]
/external/dexmaker/src/dx/java/com/android/dx/ssa/
DOptimizer.java24 import java.util.EnumSet;
74 EnumSet.allOf(OptionalStep.class)); in optimize()
93 TranslationAdvice inAdvice, EnumSet<OptionalStep> steps) { in optimize()
130 EnumSet<OptionalStep> steps) { in optimizeMinimizeRegisters()
137 EnumSet<OptionalStep> newSteps = steps.clone(); in optimizeMinimizeRegisters()
152 EnumSet<OptionalStep> steps) { in runSsaFormSteps()
242 TranslationAdvice inAdvice, EnumSet<OptionalStep> steps) { in debugNoRegisterAllocation()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DSets.java38 import java.util.EnumSet;
79 return new ImmutableEnumSet<E>(EnumSet.of(anElement, otherElements)); in immutableEnumSet()
101 if (elements instanceof EnumSet) { in immutableEnumSet()
102 EnumSet<E> enumSetClone = EnumSet.copyOf((EnumSet<E>) elements); in immutableEnumSet()
106 EnumSet<E> set = EnumSet.of(first); in immutableEnumSet()
119 public static <E extends Enum<E>> EnumSet<E> newEnumSet(Iterable<E> iterable, in newEnumSet()
135 EnumSet<E> set = EnumSet.noneOf(elementType); in newEnumSet()
373 public static <E extends Enum<E>> EnumSet<E> complementOf( in complementOf()
375 if (collection instanceof EnumSet) { in complementOf()
376 return EnumSet.complementOf((EnumSet<E>) collection); in complementOf()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/system/
DNullRenderer.java50 import java.util.EnumSet;
54 private static final EnumSet<Caps> caps = EnumSet.noneOf(Caps.class);
57 public EnumSet<Caps> getCaps() { in getCaps()
/external/guava/guava-tests/test/com/google/common/collect/
DSetsTest.java64 import java.util.EnumSet;
298 EnumSet<?> delegate = (EnumSet<?>) in.readObject();
333 EnumSet<SomeEnum> copy =
335 assertEquals(EnumSet.noneOf(SomeEnum.class), copy);
339 EnumSet<SomeEnum> set = EnumSet.of(SomeEnum.A, SomeEnum.D);
483 Set<SomeEnum> units = EnumSet.of(SomeEnum.B, SomeEnum.D);
484 EnumSet<SomeEnum> otherUnits = Sets.complementOf(units);
485 verifySetContents(otherUnits, EnumSet.of(SomeEnum.A, SomeEnum.C));
489 Set<SomeEnum> units = EnumSet.of(SomeEnum.B, SomeEnum.D);
490 EnumSet<SomeEnum> otherUnits = Sets.complementOf(units, SomeEnum.class);
[all …]
DEnumMultisetTest.java28 import java.util.EnumSet;
61 Collection<Color> empty = EnumSet.noneOf(Color.class); in testIllegalCreate()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DIteratorFeature.java20 import java.util.EnumSet;
61 Collections.unmodifiableSet(EnumSet.allOf(IteratorFeature.class));
DTestsForSetsInJavaUtil.java31 import java.util.EnumSet;
173 ? EnumSet.noneOf(AnEnum.class)
174 : EnumSet.copyOf(MinimalCollection.of(elements));
/external/jmonkeyengine/engine/src/core/com/jme3/material/
DTechniqueDef.java43 import java.util.EnumSet;
99 private EnumSet<Caps> requiredCaps = EnumSet.noneOf(Caps.class);
219 public EnumSet<Caps> getRequiredCaps() { in getRequiredCaps()
DMaterial.java843 EnumSet<Caps> rendererCaps = renderManager.getRenderer().getCaps(); in selectTechnique()
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/
DRenderer.java46 import java.util.EnumSet;
60 public EnumSet<Caps> getCaps(); in getCaps()
/external/v8/src/
Dutils.h929 class EnumSet {
931 explicit EnumSet(T bits = 0) : bits_(bits) {}
934 bool ContainsAnyOf(const EnumSet& set) const {
938 void Add(const EnumSet& set) { bits_ |= set.bits_; }
940 void Remove(const EnumSet& set) { bits_ &= ~set.bits_; }
942 void Intersect(const EnumSet& set) { bits_ &= set.bits_; }
944 bool operator==(const EnumSet& set) { return bits_ == set.bits_; }
Dcode-stubs.h1059 EnumSet<Type, byte> set_;
Dast.h174 class Flags : public EnumSet<AstPropertiesFlag, int> {};
Dhydrogen-instructions.h519 typedef EnumSet<GVNFlag> GVNFlagSet;
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/
DMethodAnalyzer.java39 import java.util.EnumSet;
1649 private static final EnumSet<RegisterType.Category> Primitive32BitCategories = EnumSet.of(
1661 private static final EnumSet<RegisterType.Category> WideLowCategories = EnumSet.of(
1665 private static final EnumSet<RegisterType.Category> WideHighCategories = EnumSet.of(
1669 private static final EnumSet<RegisterType.Category> ReferenceCategories = EnumSet.of(
1673 … private static final EnumSet<RegisterType.Category> ReferenceOrUninitThisCategories = EnumSet.of(
1678 private static final EnumSet<RegisterType.Category> ReferenceOrUninitCategories = EnumSet.of(
1684 …private static final EnumSet<RegisterType.Category> ReferenceAndPrimitive32BitCategories = EnumSet
1697 private static final EnumSet<RegisterType.Category> BooleanCategories = EnumSet.of(
1709 private void verifyMove(AnalyzedInstruction analyzedInstruction, EnumSet validCategories) { in verifyMove()
[all …]
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
DLwjglGL1Renderer.java31 import java.util.EnumSet;
51 private final EnumSet<Caps> caps = EnumSet.noneOf(Caps.class);
85 public EnumSet<Caps> getCaps() { in getCaps()
DLwjglRenderer.java63 import java.util.EnumSet;
91 private final EnumSet<Caps> caps = EnumSet.noneOf(Caps.class);
137 public EnumSet<Caps> getCaps() { in getCaps()
/external/icu4c/i18n/unicode/
Ddecimfmt.h62 template class U_I18N_API EnumSet<UNumberFormatAttribute, variable
2250 EnumSet<UNumberFormatAttribute,
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/
DOGLESShaderRenderer.java62 import java.util.EnumSet;
77 private final EnumSet<Caps> caps = EnumSet.noneOf(Caps.class);
149 public EnumSet<Caps> getCaps() { in getCaps()
/external/icu4c/test/intltest/
Dnumfmtst.cpp6697 EnumSet<myEnum, in TestEnumSet()