/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | UnknownEnumValueTest.java | 58 assertEquals(TestAllTypes.NestedEnum.UNRECOGNIZED, message.getOptionalNestedEnum()); in testUnknownEnumValues() 59 assertEquals(TestAllTypes.NestedEnum.UNRECOGNIZED, message.getRepeatedNestedEnum(0)); in testUnknownEnumValues() 60 assertEquals(TestAllTypes.NestedEnum.UNRECOGNIZED, message.getRepeatedNestedEnumList().get(0)); in testUnknownEnumValues() 61 assertEquals(TestAllTypes.NestedEnum.UNRECOGNIZED, message.getPackedNestedEnum(0)); in testUnknownEnumValues() 71 assertEquals(TestAllTypes.NestedEnum.UNRECOGNIZED, message.getOptionalNestedEnum()); in testUnknownEnumValues() 72 assertEquals(TestAllTypes.NestedEnum.UNRECOGNIZED, message.getRepeatedNestedEnum(0)); in testUnknownEnumValues() 73 assertEquals(TestAllTypes.NestedEnum.UNRECOGNIZED, message.getRepeatedNestedEnumList().get(0)); in testUnknownEnumValues() 74 assertEquals(TestAllTypes.NestedEnum.UNRECOGNIZED, message.getPackedNestedEnum(0)); in testUnknownEnumValues() 83 assertEquals(TestAllTypes.NestedEnum.UNRECOGNIZED, builder.getOptionalNestedEnum()); in testUnknownEnumValues() 84 assertEquals(TestAllTypes.NestedEnum.UNRECOGNIZED, builder.getRepeatedNestedEnum(0)); in testUnknownEnumValues() [all …]
|
D | UnknownFieldSetTest.java | 292 .addVarint(TestAllTypes.NestedEnum.BAR.getNumber()) in testParseUnknownEnumValue() 297 .addVarint(TestAllTypes.NestedEnum.FOO.getNumber()) in testParseUnknownEnumValue() 299 .addVarint(TestAllTypes.NestedEnum.BAZ.getNumber()) in testParseUnknownEnumValue() 307 assertEquals(TestAllTypes.NestedEnum.BAR, in testParseUnknownEnumValue() 310 Arrays.asList(TestAllTypes.NestedEnum.FOO, TestAllTypes.NestedEnum.BAZ), in testParseUnknownEnumValue() 325 assertEquals(TestAllTypes.NestedEnum.BAR, in testParseUnknownEnumValue() 328 Arrays.asList(TestAllTypes.NestedEnum.FOO, TestAllTypes.NestedEnum.BAZ), in testParseUnknownEnumValue() 511 .setOptionalNestedEnum(TestAllTypes.NestedEnum.BAZ) in testMergeFromLite() 590 .addVarint(TestAllTypes.NestedEnum.BAR.getNumber()) in testParseUnknownEnumValueLite() 595 .addVarint(TestAllTypes.NestedEnum.FOO.getNumber()) in testParseUnknownEnumValueLite() [all …]
|
D | FieldPresenceTest.java | 164 builder.setOptionalNestedEnum(TestAllTypes.NestedEnum.FOO); in testFieldPresence() 173 a.setOptionalNestedEnum(TestAllTypes.NestedEnum.BAR); in testFieldPresence() 178 b.setOptionalNestedEnum(TestAllTypes.NestedEnum.FOO); in testFieldPresence() 184 assertEquals(TestAllTypes.NestedEnum.BAR, message.getOptionalNestedEnum()); in testFieldPresence() 214 .setOptionalNestedEnum(TestAllTypes.NestedEnum.FOO) in testFieldPresenceByReflection() 227 .setOptionalNestedEnum(TestAllTypes.NestedEnum.BAR) in testFieldPresenceByReflection() 275 assertEquals(TestAllTypes.NestedEnum.FOO, message.getOptionalNestedEnum()); in testSerializeAndParse()
|
D | GeneratedMessageTest.java | 341 builder.addRepeatedNestedEnum(TestAllTypes.NestedEnum.FOO); in testRepeatedSettersRejectNull() 342 builder.addRepeatedNestedEnum(TestAllTypes.NestedEnum.BAR); in testRepeatedSettersRejectNull() 798 .setNestedEnum(MessageWithNoOuter.NestedEnum.BAZ) in testMultipleFilesOption() 929 TestAllTypes.NestedEnum.BAR.getNumber(), in testEnumValues() 930 TestAllTypes.NestedEnum.BAR_VALUE); in testEnumValues() 932 TestAllTypes.NestedEnum.BAZ.getNumber(), in testEnumValues() 933 TestAllTypes.NestedEnum.BAZ_VALUE); in testEnumValues() 935 TestAllTypes.NestedEnum.FOO.getNumber(), in testEnumValues() 936 TestAllTypes.NestedEnum.FOO_VALUE); in testEnumValues() 978 builder.setOptionalNestedEnum(TestAllTypes.NestedEnum.BAR); in testInvalidations() [all …]
|
D | TestUtilLite.java | 210 builder.setOptionalNestedEnum (TestAllTypesLite.NestedEnum.BAZ); in setAllFields() 246 builder.addRepeatedNestedEnum (TestAllTypesLite.NestedEnum.BAR); in setAllFields() 281 builder.addRepeatedNestedEnum (TestAllTypesLite.NestedEnum.BAZ); in setAllFields() 306 builder.setDefaultNestedEnum (TestAllTypesLite.NestedEnum.FOO); in setAllFields() 375 message.setExtension(optionalNestedEnumExtensionLite, TestAllTypesLite.NestedEnum.BAZ); in setAllExtensions() 411 message.addExtension(repeatedNestedEnumExtensionLite, TestAllTypesLite.NestedEnum.BAR); in setAllExtensions() 446 message.addExtension(repeatedNestedEnumExtensionLite, TestAllTypesLite.NestedEnum.BAZ); in setAllExtensions() 471 message.setExtension(defaultNestedEnumExtensionLite, TestAllTypesLite.NestedEnum.FOO); in setAllExtensions() 520 message.setExtension(repeatedNestedEnumExtensionLite , 1, TestAllTypesLite.NestedEnum.FOO); in modifyRepeatedExtensions()
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | wtf_hash_unittest.cc | 38 ASSERT_EQ(WTF::DefaultHash<blink::TestWTFStruct::NestedEnum>::Hash().GetHash( in TEST_F() 39 blink::TestWTFStruct::NestedEnum::E0), in TEST_F() 40 WTF::DefaultHash<blink::TestWTFStruct::NestedEnum>::Hash().GetHash( in TEST_F() 41 blink::TestWTFStruct::NestedEnum::E0)); in TEST_F() 44 ASSERT_EQ(WTF::DefaultHash<blink::TestWTF::NestedEnum>::Hash().GetHash( in TEST_F() 45 blink::TestWTF::NestedEnum::E0), in TEST_F() 46 WTF::DefaultHash<blink::TestWTF::NestedEnum>::Hash().GetHash( in TEST_F() 47 blink::TestWTF::NestedEnum::E0)); in TEST_F()
|
/external/protobuf/python/google/protobuf/internal/ |
D | descriptor_pool_test1.proto | 39 enum NestedEnum { enum 44 optional NestedEnum nested_enum = 1 [default = BETA]; 47 enum NestedEnum { enum 51 optional NestedEnum nested_enum = 1 [default = ZETA]; 56 enum NestedEnum { enum 60 optional NestedEnum nested_enum = 1 [default = ETA]; 69 enum NestedEnum { enum 74 optional NestedEnum nested_enum = 1 [default = GAMMA]; 77 enum NestedEnum { enum 81 optional NestedEnum nested_enum = 1 [default = IOTA]; [all …]
|
D | missing_enum_values.proto | 36 enum NestedEnum { enum 40 optional NestedEnum optional_nested_enum = 1; 41 repeated NestedEnum repeated_nested_enum = 2; 42 repeated NestedEnum packed_nested_enum = 3 [packed = true]; 46 enum NestedEnum { enum 49 optional NestedEnum optional_nested_enum = 1; 50 repeated NestedEnum repeated_nested_enum = 2; 51 repeated NestedEnum packed_nested_enum = 3 [packed = true];
|
D | descriptor_pool_test2.proto | 45 enum NestedEnum { enum 50 optional NestedEnum nested_enum = 1 [default = XI]; 53 enum NestedEnum { enum 57 optional NestedEnum nested_enum = 1 [default = PI]; 62 enum NestedEnum { enum 66 optional NestedEnum nested_enum = 1 [default = RHO];
|
/external/protobuf/java/core/src/test/proto/com/google/protobuf/ |
D | field_presence_test.proto | 42 enum NestedEnum { enum 54 NestedEnum optional_nested_enum = 4; 63 NestedEnum oneof_nested_enum = 15; 71 repeated NestedEnum repeated_nested_enum = 24; 74 repeated NestedEnum packed_nested_enum = 27 [packed = true]; 81 TestAllTypes.NestedEnum optional_nested_enum = 4; 90 repeated TestAllTypes.NestedEnum repeated_nested_enum = 24;
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-pdbdump/ |
D | regex-filter.test | 9 ; RUN: llvm-pdbutil pretty -types -exclude-types="GlobalEnum|NestedEnum" \ 34 ; NO_FILTER-DAG: enum NestedEnum 49 ; EXCLUDE_TYPEDEFS-DAG: NestedEnum 54 ; EXCLUDE_ENUMS-NOT: NestedEnum 62 ; EXCLUDE_VARS-DAG: NestedEnum 72 ; EXCLUDE_WHOLE_CLASS-NOT: enum NestedEnum
|
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/ |
D | unittest_has_nano.proto | 44 enum NestedEnum { enum 59 optional NestedEnum optional_nested_enum = 21; 68 repeated NestedEnum repeated_nested_enum = 51; 77 optional NestedEnum default_nested_enum = 81 [default = BAR]; 80 required NestedEnum required_enum = 87;
|
D | unittest_reference_types_nano.proto | 8 enum NestedEnum { enum 41 optional NestedEnum optional_nested_enum = 21; 69 repeated NestedEnum repeated_nested_enum = 51; 78 repeated NestedEnum repeated_packed_nested_enum = 89 [packed=true];
|
D | unittest_nano.proto | 47 enum NestedEnum { enum 79 optional NestedEnum optional_nested_enum = 21; 112 repeated NestedEnum repeated_nested_enum = 51; 123 repeated NestedEnum repeated_packed_nested_enum = 89 [packed=true]; 152 optional NestedEnum default_nested_enum = 81 [default = BAR]; 177 NestedEnum oneof_enum = 116;
|
D | unittest_accessors_nano.proto | 44 enum NestedEnum { enum 59 optional NestedEnum optional_nested_enum = 21; 68 repeated NestedEnum repeated_nested_enum = 51; 77 optional NestedEnum default_nested_enum = 81 [default = BAR];
|
/external/tensorflow/tensorflow/tools/proto_text/ |
D | test.proto | 17 enum NestedEnum { enum 45 NestedEnum optional_nested_enum = 21; 68 repeated NestedEnum repeated_nested_enum = 51; 77 NestedEnum oneof_enum = 100;
|
/external/protobuf/src/google/protobuf/ |
D | unittest_drop_unknown_fields.proto | 39 enum NestedEnum { enum 45 NestedEnum enum_value = 2; 49 enum NestedEnum { enum 56 NestedEnum enum_value = 2;
|
D | unittest_no_field_presence.proto | 47 enum NestedEnum { enum 76 NestedEnum optional_nested_enum = 21; 108 repeated NestedEnum repeated_nested_enum = 51; 120 NestedEnum oneof_enum = 114;
|
D | unittest_lite.proto | 52 enum NestedEnum { enum 84 optional NestedEnum optional_nested_enum = 21; 123 repeated NestedEnum repeated_nested_enum = 51; 149 optional NestedEnum default_nested_enum = 81 [default = BAR]; 227 optional TestAllTypesLite.NestedEnum optional_nested_enum_extension_lite = 21; 269 repeated TestAllTypesLite.NestedEnum repeated_nested_enum_extension_lite = 51; 298 optional TestAllTypesLite.NestedEnum
|
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | SampleMessages.cs | 63 SingleNestedEnum = TestAllTypes.Types.NestedEnum.Foo, in CreateFullTestAllTypes() 85 … RepeatedNestedEnum = { TestAllTypes.Types.NestedEnum.Foo, TestAllTypes.Types.NestedEnum.Neg }, in CreateFullTestAllTypes()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/PDB/Inputs/ |
D | every-type.cpp | 12 enum NestedEnum { // LF_ENUM enum in FooClass 27 NestedEnum EnumVariable; // LF_MEMBER
|
D | symbolformat.cpp | 32 enum NestedEnum { enum 39 NestedEnum m_nested_enum;
|
/external/llvm/test/tools/llvm-pdbdump/ |
D | regex-filter.test | 5 ; RUN: llvm-pdbdump pretty -types -exclude-types="GlobalEnum|NestedEnum" \ 27 ; NO_FILTER-DAG: enum NestedEnum 55 ; EXCLUDE_ENUMS-NOT: NestedEnum 71 ; EXCLUDE_WHOLE_CLASS-NOT: enum NestedEnum
|
/external/llvm/test/DebugInfo/PDB/Inputs/ |
D | symbolformat.cpp | 32 enum NestedEnum { enum 39 NestedEnum m_nested_enum;
|
/external/libchrome/mojo/public/interfaces/bindings/tests/ |
D | test_wtf_types.mojom | 28 enum NestedEnum { 43 enum NestedEnum {
|