Home
last modified time | relevance | path

Searched refs:ImportEnum (Results 1 – 24 of 24) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DSampleMessages.cs59 SingleImportEnum = ImportEnum.ImportBaz, in CreateFullTestAllTypes()
81 RepeatedImportEnum = { ImportEnum.ImportBaz, ImportEnum.Unspecified }, in CreateFullTestAllTypes()
DGeneratedMessageTest.cs71 Assert.AreEqual(ImportEnum.Unspecified, message.SingleImportEnum); in DefaultValues()
150 SingleImportEnum = ImportEnum.ImportBaz, in RoundTrip_SingleValues()
184 RepeatedImportEnum = { ImportEnum.ImportBaz, ImportEnum.Unspecified }, in RoundTrip_RepeatedValues()
DJsonFormatterTest.cs82 SingleImportEnum = ImportEnum.ImportBaz, in AllSingleFields()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DGeneratedMessageTest.java100 builder.setOptionalImportEnum(UnittestImport.ImportEnum.IMPORT_BAR); in testUsingBuilderMultipleTimes()
101 builder.addRepeatedImportEnum(UnittestImport.ImportEnum.IMPORT_BAR); in testUsingBuilderMultipleTimes()
110 assertEquals(UnittestImport.ImportEnum.IMPORT_BAR, in testUsingBuilderMultipleTimes()
112 assertEquals(UnittestImport.ImportEnum.IMPORT_BAR, in testUsingBuilderMultipleTimes()
120 builder.setOptionalImportEnum(UnittestImport.ImportEnum.IMPORT_FOO); in testUsingBuilderMultipleTimes()
121 builder.setRepeatedImportEnum(0, UnittestImport.ImportEnum.IMPORT_FOO); in testUsingBuilderMultipleTimes()
130 assertEquals(UnittestImport.ImportEnum.IMPORT_BAR, in testUsingBuilderMultipleTimes()
132 assertEquals(UnittestImport.ImportEnum.IMPORT_BAR, in testUsingBuilderMultipleTimes()
140 assertEquals(UnittestImport.ImportEnum.IMPORT_FOO, in testUsingBuilderMultipleTimes()
142 assertEquals(UnittestImport.ImportEnum.IMPORT_FOO, in testUsingBuilderMultipleTimes()
[all …]
DTestUtil.java140 import com.google.protobuf.test.UnittestImport.ImportEnum;
258 message.setOptionalImportEnum (ImportEnum.IMPORT_BAZ); in setAllFields()
294 message.addRepeatedImportEnum (ImportEnum.IMPORT_BAR); in setAllFields()
329 message.addRepeatedImportEnum (ImportEnum.IMPORT_BAZ); in setAllFields()
354 message.setDefaultImportEnum (ImportEnum.IMPORT_FOO); in setAllFields()
396 message.setRepeatedImportEnum (1, ImportEnum.IMPORT_FOO); in modifyRepeatedFields()
467 Assert.assertEquals(ImportEnum.IMPORT_BAZ, message.getOptionalImportEnum()); in assertAllFieldsSet()
526 Assert.assertEquals(ImportEnum.IMPORT_BAR, message.getRepeatedImportEnum(0)); in assertAllFieldsSet()
555 Assert.assertEquals(ImportEnum.IMPORT_BAZ, message.getRepeatedImportEnum(1)); in assertAllFieldsSet()
603 Assert.assertEquals(ImportEnum.IMPORT_FOO, message.getDefaultImportEnum()); in assertAllFieldsSet()
[all …]
DDescriptorsTest.java49 import com.google.protobuf.test.UnittestImport.ImportEnum;
118 assertEquals(Arrays.asList(ImportEnum.getDescriptor()), in testFileDescriptor()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestImportProto3.cs35 …new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Protobuf.TestProtos.ImportEnum), }, new… in UnittestImportProto3Reflection()
43 public enum ImportEnum { enum
DUnittestProto3.cs552 private global::Google.Protobuf.TestProtos.ImportEnum singleImportEnum_ = 0;
554 public global::Google.Protobuf.TestProtos.ImportEnum SingleImportEnum {
780 …private static readonly pb::FieldCodec<global::Google.Protobuf.TestProtos.ImportEnum> _repeated_re…
781 … pb::FieldCodec.ForEnum(426, x => (int) x, x => (global::Google.Protobuf.TestProtos.ImportEnum) x);
782 …ogle.Protobuf.TestProtos.ImportEnum> repeatedImportEnum_ = new pbc::RepeatedField<global::Google.P…
784 public pbc::RepeatedField<global::Google.Protobuf.TestProtos.ImportEnum> RepeatedImportEnum {
1447 singleImportEnum_ = (global::Google.Protobuf.TestProtos.ImportEnum) input.ReadEnum(); in MergeFrom()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DGeneratedMessageTest.java110 builder.setOptionalImportEnum(UnittestImport.ImportEnum.IMPORT_BAR); in testUsingBuilderMultipleTimes()
111 builder.addRepeatedImportEnum(UnittestImport.ImportEnum.IMPORT_BAR); in testUsingBuilderMultipleTimes()
120 assertEquals(UnittestImport.ImportEnum.IMPORT_BAR, in testUsingBuilderMultipleTimes()
122 assertEquals(UnittestImport.ImportEnum.IMPORT_BAR, in testUsingBuilderMultipleTimes()
130 builder.setOptionalImportEnum(UnittestImport.ImportEnum.IMPORT_FOO); in testUsingBuilderMultipleTimes()
131 builder.setRepeatedImportEnum(0, UnittestImport.ImportEnum.IMPORT_FOO); in testUsingBuilderMultipleTimes()
140 assertEquals(UnittestImport.ImportEnum.IMPORT_BAR, in testUsingBuilderMultipleTimes()
142 assertEquals(UnittestImport.ImportEnum.IMPORT_BAR, in testUsingBuilderMultipleTimes()
150 assertEquals(UnittestImport.ImportEnum.IMPORT_FOO, in testUsingBuilderMultipleTimes()
152 assertEquals(UnittestImport.ImportEnum.IMPORT_FOO, in testUsingBuilderMultipleTimes()
[all …]
DTestUtil.java221 import com.google.protobuf.test.UnittestImport.ImportEnum;
346 message.setOptionalImportEnum (ImportEnum.IMPORT_BAZ); in setAllFields()
382 message.addRepeatedImportEnum (ImportEnum.IMPORT_BAR); in setAllFields()
417 message.addRepeatedImportEnum (ImportEnum.IMPORT_BAZ); in setAllFields()
442 message.setDefaultImportEnum (ImportEnum.IMPORT_FOO); in setAllFields()
490 message.setRepeatedImportEnum (1, ImportEnum.IMPORT_FOO); in modifyRepeatedFields()
561 Assert.assertEquals(ImportEnum.IMPORT_BAZ, message.getOptionalImportEnum()); in assertAllFieldsSet()
620 Assert.assertEquals(ImportEnum.IMPORT_BAR, message.getRepeatedImportEnum(0)); in assertAllFieldsSet()
649 Assert.assertEquals(ImportEnum.IMPORT_BAZ, message.getRepeatedImportEnum(1)); in assertAllFieldsSet()
697 Assert.assertEquals(ImportEnum.IMPORT_FOO, message.getDefaultImportEnum()); in assertAllFieldsSet()
[all …]
DDescriptorsTest.java48 import com.google.protobuf.test.UnittestImport.ImportEnum;
118 assertEquals(Arrays.asList(ImportEnum.getDescriptor(), in testFileDescriptor()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dunittest_no_arena.proto108 optional protobuf_unittest_import.ImportEnum optional_import_enum = 23;
146 repeated protobuf_unittest_import.ImportEnum repeated_import_enum = 53;
172 optional protobuf_unittest_import.ImportEnum
Dunittest_proto3_lite.proto89 // optional protobuf_unittest_import.ImportEnum optional_import_enum = 23;
132 // repeated protobuf_unittest_import.ImportEnum repeated_import_enum = 53;
Dunittest_proto3_arena.proto89 // optional protobuf_unittest_import.ImportEnum optional_import_enum = 23;
132 // repeated protobuf_unittest_import.ImportEnum repeated_import_enum = 53;
Dunittest_proto3_arena_lite.proto90 // optional protobuf_unittest_import.ImportEnum optional_import_enum = 23;
133 // repeated protobuf_unittest_import.ImportEnum repeated_import_enum = 53;
Dunittest.proto104 optional protobuf_unittest_import.ImportEnum optional_import_enum = 23;
142 repeated protobuf_unittest_import.ImportEnum repeated_import_enum = 53;
168 optional protobuf_unittest_import.ImportEnum
245 optional protobuf_unittest_import.ImportEnum
285 repeated protobuf_unittest_import.ImportEnum
315 optional protobuf_unittest_import.ImportEnum
Dunittest_import_proto3.proto62 enum ImportEnum { enum
Dunittest_import.proto61 enum ImportEnum { enum
Dunittest_proto3.proto102 protobuf_unittest_import.ImportEnum single_import_enum = 23;
131 repeated protobuf_unittest_import.ImportEnum repeated_import_enum = 53;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/
Dunittest.proto101 optional protobuf_unittest_import.ImportEnum optional_import_enum = 23;
139 repeated protobuf_unittest_import.ImportEnum repeated_import_enum = 53;
165 optional protobuf_unittest_import.ImportEnum
221 optional protobuf_unittest_import.ImportEnum
261 repeated protobuf_unittest_import.ImportEnum
291 optional protobuf_unittest_import.ImportEnum
Dunittest_import.proto59 enum ImportEnum { enum
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/more_protos/src/proto/google/protobuf/
Dunittest.proto101 optional protobuf_unittest_import.ImportEnum optional_import_enum = 23;
139 repeated protobuf_unittest_import.ImportEnum repeated_import_enum = 53;
165 optional protobuf_unittest_import.ImportEnum
221 optional protobuf_unittest_import.ImportEnum
261 repeated protobuf_unittest_import.ImportEnum
291 optional protobuf_unittest_import.ImportEnum
Dunittest_import.proto59 enum ImportEnum { enum
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
DGPBDescriptorTests.m76 @"ImportEnum");