Home
last modified time | relevance | path

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

12

/external/guava/guava-tests/test/com/google/common/base/
DEnumsTest.java53 assertEquals(Optional.of(TestEnum.CHEETO), Enums.getIfPresent(TestEnum.class, "CHEETO")); in testGetIfPresent()
54 assertEquals(Optional.of(TestEnum.HONDA), Enums.getIfPresent(TestEnum.class, "HONDA")); in testGetIfPresent()
55 assertEquals(Optional.of(TestEnum.POODLE), Enums.getIfPresent(TestEnum.class, "POODLE")); in testGetIfPresent()
57 assertTrue(Enums.getIfPresent(TestEnum.class, "CHEETO").isPresent()); in testGetIfPresent()
58 assertTrue(Enums.getIfPresent(TestEnum.class, "HONDA").isPresent()); in testGetIfPresent()
59 assertTrue(Enums.getIfPresent(TestEnum.class, "POODLE").isPresent()); in testGetIfPresent()
61 assertEquals(TestEnum.CHEETO, Enums.getIfPresent(TestEnum.class, "CHEETO").get()); in testGetIfPresent()
62 assertEquals(TestEnum.HONDA, Enums.getIfPresent(TestEnum.class, "HONDA").get()); in testGetIfPresent()
63 assertEquals(TestEnum.POODLE, Enums.getIfPresent(TestEnum.class, "POODLE").get()); in testGetIfPresent()
67 assertFalse(Enums.getIfPresent(TestEnum.class, "cHEETO").isPresent()); in testGetIfPresent_caseSensitive()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DEnumsTest.java44 assertEquals(Optional.of(TestEnum.CHEETO), Enums.getIfPresent(TestEnum.class, "CHEETO")); in testGetIfPresent()
45 assertEquals(Optional.of(TestEnum.HONDA), Enums.getIfPresent(TestEnum.class, "HONDA")); in testGetIfPresent()
46 assertEquals(Optional.of(TestEnum.POODLE), Enums.getIfPresent(TestEnum.class, "POODLE")); in testGetIfPresent()
48 assertTrue(Enums.getIfPresent(TestEnum.class, "CHEETO").isPresent()); in testGetIfPresent()
49 assertTrue(Enums.getIfPresent(TestEnum.class, "HONDA").isPresent()); in testGetIfPresent()
50 assertTrue(Enums.getIfPresent(TestEnum.class, "POODLE").isPresent()); in testGetIfPresent()
52 assertEquals(TestEnum.CHEETO, Enums.getIfPresent(TestEnum.class, "CHEETO").get()); in testGetIfPresent()
53 assertEquals(TestEnum.HONDA, Enums.getIfPresent(TestEnum.class, "HONDA").get()); in testGetIfPresent()
54 assertEquals(TestEnum.POODLE, Enums.getIfPresent(TestEnum.class, "POODLE").get()); in testGetIfPresent()
58 assertFalse(Enums.getIfPresent(TestEnum.class, "cHEETO").isPresent()); in testGetIfPresent_caseSensitive()
[all …]
/external/v8/test/unittests/base/
Dflags-unittest.cc86 typedef Flags<Enum, uint32_t> Enums; typedef
90 DEFINE_OPERATORS_FOR_FLAGS(Foo::Enums)
96 Foo::Enums enums; in TEST()
/external/llvm/tools/llvm-pdbdump/
DTypeDumper.cpp31 auto Enums = Exe.findAllChildren<PDBSymbolTypeEnum>(); in start() local
34 Printer << ": (" << Enums->getChildCount() << " items)"; in start()
36 while (auto Enum = Enums->getNext()) in start()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DTestEnumSetGenerator.java20 import com.google.common.collect.testing.SampleElements.Enums;
35 return new Enums(); in samples()
DSampleElements.java78 public static class Enums extends SampleElements<AnEnum> { class in SampleElements
79 public Enums() { in Enums() method in SampleElements.Enums
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DTestEnumMultisetGenerator.java23 import com.google.common.collect.testing.SampleElements.Enums;
39 return new Enums(); in samples()
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
DEnums.java37 public final class Enums { class
39 private Enums() {} in Enums() method in Enums
/external/llvm/test/tools/llvm-pdbdump/
Dregex-filter.test19 ; NO_FILTER: Enums:
39 ; EXCLUDE_TYPEDEFS: Enums:
49 ; EXCLUDE_ENUMS: Enums:
Denum-layout.test6 ; GLOBAL_ENUM: Enums:
/external/guava/guava/src/com/google/common/base/
DEnums.java44 public final class Enums { class
46 private Enums() {} in Enums() method in Enums
DPlatform.java42 WeakReference<? extends Enum<?>> ref = Enums.getEnumConstants(enumClass).get(value); in getEnumIfPresent()
/external/llvm/bindings/python/llvm/tests/
Dtest_core.py6 from ..core import Enums
12 for enum_cls, enum_spec in Enums:
/external/llvm/bindings/python/llvm/
Dcore.py36 Enums = [] variable
590 if Enums:
625 Enums = register_enumerations() variable
/external/llvm/test/DebugInfo/PDB/DIA/
Dpdbdump-symbol-format.test20 ; TYPES_FORMAT: Enums
/external/smali/examples/Enums/
DEnum.smali33 #create an array of Enums, for the $VALUES member
/external/libbrillo/brillo/
Dany_unittest.cc97 TEST(Any, Enums) { in TEST() argument
/external/doclava/res/assets/templates/
Dclass.cs45 <?cs if:linkcount ?>&#124; <?cs /if ?><a href="#enumconstants">Enums</a>
/external/deqp/scripts/khr_util/
Dregistry.py46 class Enums(Located): class
/external/llvm/docs/TableGen/
DBackEnds.rst208 **Output**: Enums, globals, local tables for sub-target information.
/external/curl/packages/OS400/
DREADME.OS40035 short. Enums that are internally implemented by the C compiler as one of these
/external/clang/docs/
DObjectiveCLiterals.rst145 Boxed Enums
/external/guava/guava-tests/benchmark/com/google/common/base/
DEnumsBenchmark.java70 Enums.getIfPresent(enumType, sampleData[i & 255]); in getIfPresent()
/external/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc2126 TEST_F(SourceInfoTest, Enums) { in TEST_F() argument
/external/clang/include/clang/Basic/
DAttr.td178 list<string> Enums = enums;
187 list<string> Enums = enums;

12