Home
last modified time | relevance | path

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

12

/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DEnumsTest.java45 Function<String, TestEnum> function = Enums.valueOfFunction(TestEnum.class); in testValueOfFunction()
52 Function<String, TestEnum> function = Enums.valueOfFunction(TestEnum.class); in testValueOfFunction_caseSensitive()
59 Function<String, TestEnum> function = Enums.valueOfFunction(TestEnum.class); in testValueOfFunction_nullWhenNoMatchingConstant()
66 Enums.valueOfFunction(TestEnum.class), Enums.valueOfFunction(TestEnum.class)) in testValueOfFunction_equals()
67 .addEqualityGroup(Enums.valueOfFunction(OtherEnum.class)) in testValueOfFunction_equals()
72 assertEquals(Optional.of(TestEnum.CHEETO), Enums.getIfPresent(TestEnum.class, "CHEETO")); in testGetIfPresent()
73 assertEquals(Optional.of(TestEnum.HONDA), Enums.getIfPresent(TestEnum.class, "HONDA")); in testGetIfPresent()
74 assertEquals(Optional.of(TestEnum.POODLE), Enums.getIfPresent(TestEnum.class, "POODLE")); in testGetIfPresent()
76 assertTrue(Enums.getIfPresent(TestEnum.class, "CHEETO").isPresent()); in testGetIfPresent()
77 assertTrue(Enums.getIfPresent(TestEnum.class, "HONDA").isPresent()); in testGetIfPresent()
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DEnumsTest.java54 Function<String, TestEnum> function = Enums.valueOfFunction(TestEnum.class); in testValueOfFunction()
61 Function<String, TestEnum> function = Enums.valueOfFunction(TestEnum.class); in testValueOfFunction_caseSensitive()
68 Function<String, TestEnum> function = Enums.valueOfFunction(TestEnum.class); in testValueOfFunction_nullWhenNoMatchingConstant()
75 Enums.valueOfFunction(TestEnum.class), Enums.valueOfFunction(TestEnum.class)) in testValueOfFunction_equals()
76 .addEqualityGroup(Enums.valueOfFunction(OtherEnum.class)) in testValueOfFunction_equals()
82 Function<String, TestEnum> function = Enums.valueOfFunction(TestEnum.class); in testValueOfFunction_serialization()
87 assertEquals(Optional.of(TestEnum.CHEETO), Enums.getIfPresent(TestEnum.class, "CHEETO")); in testGetIfPresent()
88 assertEquals(Optional.of(TestEnum.HONDA), Enums.getIfPresent(TestEnum.class, "HONDA")); in testGetIfPresent()
89 assertEquals(Optional.of(TestEnum.POODLE), Enums.getIfPresent(TestEnum.class, "POODLE")); in testGetIfPresent()
91 assertTrue(Enums.getIfPresent(TestEnum.class, "CHEETO").isPresent()); in testGetIfPresent()
[all …]
/external/v8/src/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/llvm/test/tools/llvm-pdbdump/
Dregex-filter.test15 ; NO_FILTER: Enums:
35 ; EXCLUDE_TYPEDEFS: Enums:
45 ; EXCLUDE_ENUMS: Enums:
Denum-layout.test6 ; GLOBAL_ENUM: Enums:
/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/bindings/python/llvm/tests/
Dtest_core.py6 from ..core import Enums
12 for enum_cls, enum_spec in 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/jpeg/
Dmakeproj.mac52 Set Preferences of panel "C/C++ Compiler" to {Enums Always Ints:true}
116 Set Preferences of panel "C/C++ Compiler" to {Enums Always Ints:true}
151 Set Preferences of panel "C/C++ Compiler" to {Enums Always Ints:true}
186 Set Preferences of panel "C/C++ Compiler" to {Enums Always Ints:true}
/external/llvm/bindings/python/llvm/
Dcore.py36 Enums = [] variable
593 if Enums:
629 Enums = register_enumerations() variable
/external/llvm/test/DebugInfo/PDB/
Dpdbdump-symbol-format.test20 ; TYPES_FORMAT: Enums
/external/smali/examples/Enums/
DEnum.smali33 #create an array of Enums, for the $VALUES member
/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/clang/docs/
DObjectiveCLiterals.rst139 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.td172 list<string> Enums = enums;
181 list<string> Enums = enums;
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12