/external/guava/guava-tests/test/com/google/common/base/ |
D | EnumsTest.java | 53 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/ |
D | EnumsTest.java | 44 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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/ |
D | PrettyTypeDumper.cpp | 138 if (opts::pretty::Enums) { in start() 139 if (auto Enums = Exe.findAllChildren<PDBSymbolTypeEnum>()) { in start() local 142 Printer << ": (" << Enums->getChildCount() << " items)"; in start() 144 while (auto Enum = Enums->getNext()) in start() 219 assert(opts::pretty::Enums); in dump()
|
/external/llvm/tools/llvm-pdbdump/ |
D | TypeDumper.cpp | 32 auto Enums = Exe.findAllChildren<PDBSymbolTypeEnum>(); in start() local 35 Printer << ": (" << Enums->getChildCount() << " items)"; in start() 37 while (auto Enum = Enums->getNext()) in start()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | TestEnumSetGenerator.java | 20 import com.google.common.collect.testing.SampleElements.Enums; 35 return new Enums(); in samples()
|
D | SampleElements.java | 78 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/ |
D | TestEnumMultisetGenerator.java | 23 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/ |
D | Enums.java | 37 public final class Enums { class 39 private Enums() {} in Enums() method in Enums
|
/external/llvm/test/tools/llvm-pdbdump/ |
D | regex-filter.test | 19 ; NO_FILTER: Enums: 39 ; EXCLUDE_TYPEDEFS: Enums: 49 ; EXCLUDE_ENUMS: Enums:
|
D | enum-layout.test | 6 ; GLOBAL_ENUM: Enums:
|
/external/guava/guava/src/com/google/common/base/ |
D | Enums.java | 44 public final class Enums { class 46 private Enums() {} in Enums() method in Enums
|
D | Platform.java | 42 WeakReference<? extends Enum<?>> ref = Enums.getEnumConstants(enumClass).get(value); in getEnumIfPresent()
|
/external/llvm/bindings/python/llvm/tests/ |
D | test_core.py | 6 from ..core import Enums 12 for enum_cls, enum_spec in Enums:
|
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/python/llvm/tests/ |
D | test_core.py | 6 from ..core import Enums 12 for enum_cls, enum_spec in Enums:
|
/external/nanopb-c/tests/regression/issue_188/ |
D | SConscript | 1 # Regression test for issue with Enums inside OneOf.
|
/external/grpc-grpc/third_party/nanopb/tests/regression/issue_188/ |
D | SConscript | 1 # Regression test for issue with Enums inside OneOf.
|
/external/grpc-grpc/third_party/nanopb/tests/multiple_files/subdir/ |
D | multifile2.proto | 18 message Enums { message
|
/external/nanopb-c/tests/multiple_files/subdir/ |
D | multifile2.proto | 18 message Enums { message
|
/external/nanopb-c/tests/multiple_files/ |
D | multifile2.proto | 18 message Enums { message
|
/external/grpc-grpc/third_party/nanopb/tests/multiple_files/ |
D | multifile2.proto | 18 message Enums { message
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-pdbdump/ |
D | enum-layout.test | 6 ; GLOBAL_ENUM: Enums:
|
/external/libchrome/mojo/public/tools/bindings/generators/js_templates/ |
D | module_definition.tmpl | 6 {#--- Enums #}
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | BinaryStreamTest.cpp | 592 std::vector<MyEnum> Enums = {MyEnum::Bar, MyEnum::Baz, MyEnum::Foo}; in TEST_F() local 594 initializeOutput(Enums.size() * sizeof(MyEnum), alignof(MyEnum)); in TEST_F() 598 for (auto Value : Enums) in TEST_F() 605 for (size_t I = 0; I < Enums.size(); ++I) { in TEST_F() 608 EXPECT_EQ(Enums[I], Value); in TEST_F()
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/ |
D | SearchableTableEmitter.cpp | 92 std::vector<std::unique_ptr<GenericEnum>> Enums; member in __anonc010a48a0111::SearchableTableEmitter 656 Enums.emplace_back(std::move(Enum)); in run() 733 Enums.emplace_back(std::move(Enum)); in run() 767 for (const auto &Enum : Enums) in run()
|
D | IntrinsicEmitter.cpp | 37 void run(raw_ostream &OS, bool Enums); 59 void IntrinsicEmitter::run(raw_ostream &OS, bool Enums) { in run() argument 69 if (Enums) { in run()
|