/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | MessageTest.java | 173 builder.setField(descriptor.findFieldByName("a"), 1); in testRequiredDynamic() 175 builder.setField(descriptor.findFieldByName("b"), 1); in testRequiredDynamic() 177 builder.setField(descriptor.findFieldByName("c"), 1); in testRequiredDynamic() 187 builder.setField(descriptor.findFieldByName("optional_message"), in testRequiredDynamicForeign() 191 builder.setField(descriptor.findFieldByName("optional_message"), in testRequiredDynamicForeign() 195 builder.addRepeatedField(descriptor.findFieldByName("repeated_message"), in testRequiredDynamicForeign() 199 builder.setRepeatedField(descriptor.findFieldByName("repeated_message"), 0, in testRequiredDynamicForeign() 326 .findFieldByName("repeated_foreign_message")) instanceof List<?>); in testDynamicRepeatedMessageNull() 328 .findFieldByName("repeated_foreign_message")), 0); in testDynamicRepeatedMessageNull() 350 .findFieldByName("repeated_foreign_message")) instanceof List<?>); in testDynamicRepeatedMessageNotNull() [all …]
|
D | DescriptorsTest.java | 170 assertEquals(field, messageType.findFieldByName("optional_int32")); in testDescriptor() 171 assertNull(messageType.findFieldByName("no_such_field")); in testDescriptor() 197 messageType.findFieldByName("optional_int32"); in testFieldDescriptor() 199 messageType.findFieldByName("optional_nested_enum"); in testFieldDescriptor() 201 messageType.findFieldByName("optional_foreign_message"); in testFieldDescriptor() 203 messageType.findFieldByName("optional_cord"); in testFieldDescriptor() 262 TestRequired.getDescriptor().findFieldByName("a"); in testFieldDescriptorLabel() 264 TestAllTypes.getDescriptor().findFieldByName("optional_int32"); in testFieldDescriptorLabel() 266 TestAllTypes.getDescriptor().findFieldByName("repeated_int32"); in testFieldDescriptorLabel() 278 assertFalse(d.findFieldByName("optional_int32").hasDefaultValue()); in testFieldDescriptorDefault() [all …]
|
D | GeneratedMessageTest.java | 631 MessageWithNoOuter.getDescriptor().findFieldByName("foreign_enum"); in testMultipleFilesOption() 830 descriptor.findFieldByName("optional_nested_message"); in testGetFieldBuilder() 832 descriptor.findFieldByName("optional_foreign_message"); in testGetFieldBuilder() 834 descriptor.findFieldByName("optional_import_message"); in testGetFieldBuilder() 842 fieldBuilder1.getDescriptorForType().findFieldByName("bb"); in testGetFieldBuilder() 851 foreignFieldBuilder1.getDescriptorForType().findFieldByName("c"); in testGetFieldBuilder() 860 importFieldBuilder1.getDescriptorForType().findFieldByName("d"); in testGetFieldBuilder() 871 fieldBuilder2.getDescriptorForType().findFieldByName("bb"); in testGetFieldBuilder() 880 foreignFieldBuilder2.getDescriptorForType().findFieldByName("c"); in testGetFieldBuilder() 889 importFieldBuilder2.getDescriptorForType().findFieldByName("d"); in testGetFieldBuilder() [all …]
|
D | WireFormatTest.java | 212 .setField(descriptor.findFieldByName("my_int"), 1L) in testInterleavedFieldsAndExtensions() 213 .setField(descriptor.findFieldByName("my_string"), "foo") in testInterleavedFieldsAndExtensions() 214 .setField(descriptor.findFieldByName("my_float"), 1.0F) in testInterleavedFieldsAndExtensions() 250 .setField(descriptor.findFieldByName("my_int"), 1L) in testParseMultipleExtensionRangesDynamic() 251 .setField(descriptor.findFieldByName("my_string"), "foo") in testParseMultipleExtensionRangesDynamic() 252 .setField(descriptor.findFieldByName("my_float"), 1.0F) in testParseMultipleExtensionRangesDynamic()
|
D | UnknownFieldSetTest.java | 60 Descriptors.FieldDescriptor field = descriptor.findFieldByName(name); in getField() 131 TestAllTypes.OptionalGroup.getDescriptor().findFieldByName("a"); in testGroup() 272 TestAllTypes.getDescriptor().findFieldByName("optional_nested_enum"); in testParseUnknownEnumValue() 274 TestAllTypes.getDescriptor().findFieldByName("repeated_nested_enum"); in testParseUnknownEnumValue()
|
D | TextFormatTest.java | 208 OneString.getDescriptor().findFieldByName("data"); in testPrintField() 214 TestAllTypes.getDescriptor().findFieldByName("optional_nested_message"); in testPrintField() 492 TestAllTypes.getDescriptor().findFieldByName(fieldName), in assertPrintFieldValue()
|
D | TestUtil.java | 1968 this.nestedB = nestedMessage .findFieldByName("bb"); in ReflectionTester() 1969 this.foreignC = foreignMessage.findFieldByName("c"); in ReflectionTester() 1970 this.importD = importMessage .findFieldByName("d"); in ReflectionTester() 1971 this.importE = publicImportMessage.findFieldByName("e"); in ReflectionTester() 1982 this.groupA = optionalGroup.findFieldByName("a"); in ReflectionTester() 1983 this.repeatedGroupA = repeatedGroup.findFieldByName("a"); in ReflectionTester() 2008 result = baseDescriptor.findFieldByName(name); in f()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | MessageTest.java | 172 builder.setField(descriptor.findFieldByName("a"), 1); in testRequiredDynamic() 174 builder.setField(descriptor.findFieldByName("b"), 1); in testRequiredDynamic() 176 builder.setField(descriptor.findFieldByName("c"), 1); in testRequiredDynamic() 186 builder.setField(descriptor.findFieldByName("optional_message"), in testRequiredDynamicForeign() 190 builder.setField(descriptor.findFieldByName("optional_message"), in testRequiredDynamicForeign() 194 builder.addRepeatedField(descriptor.findFieldByName("repeated_message"), in testRequiredDynamicForeign() 198 builder.setRepeatedField(descriptor.findFieldByName("repeated_message"), 0, in testRequiredDynamicForeign() 325 .findFieldByName("repeated_foreign_message")) instanceof List<?>); in testDynamicRepeatedMessageNull() 327 .findFieldByName("repeated_foreign_message")), 0); in testDynamicRepeatedMessageNull() 349 .findFieldByName("repeated_foreign_message")) instanceof List<?>); in testDynamicRepeatedMessageNotNull() [all …]
|
D | TextFormatParseInfoTreeTest.java | 46 DESCRIPTOR.findFieldByName("optional_int32"); 48 DESCRIPTOR.findFieldByName("optional_boolean"); 50 DESCRIPTOR.findFieldByName("repeated_int32"); 52 DESCRIPTOR.findFieldByName("optional_nested_message"); 54 DESCRIPTOR.findFieldByName("repeated_nested_message"); 56 TestAllTypes.NestedMessage.getDescriptor().findFieldByName("bb");
|
D | DescriptorsTest.java | 171 assertEquals(field, messageType.findFieldByName("optional_int32")); in testDescriptor() 172 assertNull(messageType.findFieldByName("no_such_field")); in testDescriptor() 198 messageType.findFieldByName("optional_int32"); in testFieldDescriptor() 200 messageType.findFieldByName("optional_nested_enum"); in testFieldDescriptor() 202 messageType.findFieldByName("optional_foreign_message"); in testFieldDescriptor() 204 messageType.findFieldByName("optional_cord"); in testFieldDescriptor() 263 TestRequired.getDescriptor().findFieldByName("a"); in testFieldDescriptorLabel() 265 TestAllTypes.getDescriptor().findFieldByName("optional_int32"); in testFieldDescriptorLabel() 267 TestAllTypes.getDescriptor().findFieldByName("repeated_int32"); in testFieldDescriptorLabel() 278 FieldDescriptor requiredField = TestRequired.getDescriptor().findFieldByName("a"); in testFieldDescriptorJsonName() [all …]
|
D | GeneratedMessageTest.java | 545 TestAllTypes.getDescriptor().findFieldByName("oneof_bytes"); in testReflectionGetOneof() 558 TestAllTypes.getDescriptor().findFieldByName("oneof_bytes"); in testReflectionClearOneof() 807 MessageWithNoOuter.getDescriptor().findFieldByName("foreign_enum"); in testMultipleFilesOption() 1107 descriptor.findFieldByName("optional_nested_message"); in testGetFieldBuilder() 1109 descriptor.findFieldByName("optional_foreign_message"); in testGetFieldBuilder() 1111 descriptor.findFieldByName("optional_import_message"); in testGetFieldBuilder() 1119 fieldBuilder1.getDescriptorForType().findFieldByName("bb"); in testGetFieldBuilder() 1128 foreignFieldBuilder1.getDescriptorForType().findFieldByName("c"); in testGetFieldBuilder() 1137 importFieldBuilder1.getDescriptorForType().findFieldByName("d"); in testGetFieldBuilder() 1148 fieldBuilder2.getDescriptorForType().findFieldByName("bb"); in testGetFieldBuilder() [all …]
|
D | UnknownEnumValueTest.java | 130 FieldDescriptor optionalNestedEnumField = descriptor.findFieldByName("optional_nested_enum"); in testUnknownEnumValueInReflectionApi() 131 FieldDescriptor repeatedNestedEnumField = descriptor.findFieldByName("repeated_nested_enum"); in testUnknownEnumValueInReflectionApi() 132 FieldDescriptor packedNestedEnumField = descriptor.findFieldByName("packed_nested_enum"); in testUnknownEnumValueInReflectionApi() 180 FieldDescriptor optionalNestedEnumField = descriptor.findFieldByName("optional_nested_enum"); in testUnknownEnumValueWithDynamicMessage() 181 FieldDescriptor repeatedNestedEnumField = descriptor.findFieldByName("repeated_nested_enum"); in testUnknownEnumValueWithDynamicMessage() 182 FieldDescriptor packedNestedEnumField = descriptor.findFieldByName("packed_nested_enum"); in testUnknownEnumValueWithDynamicMessage()
|
D | FieldPresenceTest.java | 218 FieldDescriptor optionalInt32Field = descriptor.findFieldByName("optional_int32"); in testFieldPresenceByReflection() 219 FieldDescriptor optionalStringField = descriptor.findFieldByName("optional_string"); in testFieldPresenceByReflection() 220 FieldDescriptor optionalBytesField = descriptor.findFieldByName("optional_bytes"); in testFieldPresenceByReflection() 221 FieldDescriptor optionalNestedEnumField = descriptor.findFieldByName("optional_nested_enum"); in testFieldPresenceByReflection() 260 FieldDescriptor optionalInt32Field = descriptor.findFieldByName("optional_int32"); in testFieldPresenceDynamicMessage() 261 FieldDescriptor optionalStringField = descriptor.findFieldByName("optional_string"); in testFieldPresenceDynamicMessage() 262 FieldDescriptor optionalBytesField = descriptor.findFieldByName("optional_bytes"); in testFieldPresenceDynamicMessage() 263 FieldDescriptor optionalNestedEnumField = descriptor.findFieldByName("optional_nested_enum"); in testFieldPresenceDynamicMessage()
|
D | TextFormatTest.java | 229 OneString.getDescriptor().findFieldByName("data"); in testPrintField() 235 TestAllTypes.getDescriptor().findFieldByName("optional_nested_message"); in testPrintField() 832 TestAllTypes.getDescriptor().findFieldByName(fieldName), in assertPrintFieldValue() 850 OneString.getDescriptor().findFieldByName("data"); in testShortDebugString_field() 856 TestAllTypes.getDescriptor().findFieldByName("optional_nested_message"); in testShortDebugString_field() 1087 FieldDescriptor nestedField = descriptor.findFieldByName("optional_nested_message"); in testParseInfoTreeBuilding() 1093 nestedField = descriptor.findFieldByName("repeated_nested_message"); in testParseInfoTreeBuilding() 1116 List<TextFormatParseLocation> locs = tree.getLocations(descriptor.findFieldByName(fieldName)); in assertLocation()
|
D | WireFormatTest.java | 278 .setField(descriptor.findFieldByName("my_int"), 1L) in testInterleavedFieldsAndExtensions() 279 .setField(descriptor.findFieldByName("my_string"), "foo") in testInterleavedFieldsAndExtensions() 280 .setField(descriptor.findFieldByName("my_float"), 1.0F) in testInterleavedFieldsAndExtensions() 316 .setField(descriptor.findFieldByName("my_int"), 1L) in testParseMultipleExtensionRangesDynamic() 317 .setField(descriptor.findFieldByName("my_string"), "foo") in testParseMultipleExtensionRangesDynamic() 318 .setField(descriptor.findFieldByName("my_float"), 1.0F) in testParseMultipleExtensionRangesDynamic()
|
D | UnknownFieldSetTest.java | 63 Descriptors.FieldDescriptor field = descriptor.findFieldByName(name); in getField() 134 TestAllTypes.OptionalGroup.getDescriptor().findFieldByName("a"); in testGroup() 282 TestAllTypes.getDescriptor().findFieldByName("optional_nested_enum"); in testParseUnknownEnumValue() 284 TestAllTypes.getDescriptor().findFieldByName("repeated_nested_enum"); in testParseUnknownEnumValue() 580 TestAllTypes.getDescriptor().findFieldByName("optional_nested_enum"); in testParseUnknownEnumValueLite() 582 TestAllTypes.getDescriptor().findFieldByName("repeated_nested_enum"); in testParseUnknownEnumValueLite()
|
D | DynamicMessageTest.java | 251 TestAllTypes.getDescriptor().findFieldByName("oneof_bytes"); in testDynamicMessageCopy() 253 TestAllTypes.getDescriptor().findFieldByName("oneof_uint32"); in testDynamicMessageCopy() 318 TestAllTypes.getDescriptor().findFieldByName( in testSettersForRepeatedEnumField()
|
D | MapForProto2Test.java | 622 return TestMap.getDescriptor().findFieldByName(name); in f() 626 FieldDescriptor field = mapEntry.getDescriptorForType().findFieldByName(name); in getFieldValue() 632 FieldDescriptor field = mapEntry.getDescriptorForType().findFieldByName(name); in setFieldValue() 658 FieldDescriptor field = builder.getDescriptorForType().findFieldByName(name); in newMapEntry() 660 FieldDescriptor keyField = entryBuilder.getDescriptorForType().findFieldByName("key"); in newMapEntry() 661 FieldDescriptor valueField = entryBuilder.getDescriptorForType().findFieldByName("value"); in newMapEntry() 672 FieldDescriptor field = builder.getDescriptorForType().findFieldByName(name); in setMapValues() 1142 message.getDescriptorForType().findFieldByName("map_field"), 0); in testMapInitializationOrder()
|
D | MapTest.java | 733 return TestMap.getDescriptor().findFieldByName(name); in f() 737 FieldDescriptor field = mapEntry.getDescriptorForType().findFieldByName(name); in getFieldValue() 743 FieldDescriptor field = mapEntry.getDescriptorForType().findFieldByName(name); in setFieldValue() 769 FieldDescriptor field = builder.getDescriptorForType().findFieldByName(name); in newMapEntry() 771 FieldDescriptor keyField = entryBuilder.getDescriptorForType().findFieldByName("key"); in newMapEntry() 772 FieldDescriptor valueField = entryBuilder.getDescriptorForType().findFieldByName("value"); in newMapEntry() 783 FieldDescriptor field = builder.getDescriptorForType().findFieldByName(name); in setMapValues() 971 FieldDescriptor field = descriptor.findFieldByName("int32_to_enum_field"); in testUnknownEnumValuesInReflectionApi()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/ |
D | JsonFormat.java | 633 FieldDescriptor typeUrlField = descriptor.findFieldByName("type_url"); in printAny() 634 FieldDescriptor valueField = descriptor.findFieldByName("value"); in printAny() 673 FieldDescriptor valueField = descriptor.findFieldByName("value"); in printWrapper() 711 FieldDescriptor field = descriptor.findFieldByName("fields"); in printStruct() 741 FieldDescriptor field = descriptor.findFieldByName("values"); in printListValue() 825 FieldDescriptor keyField = type.findFieldByName("key"); in printMapFieldValue() 826 FieldDescriptor valueField = type.findFieldByName("value"); in printMapFieldValue() 1207 FieldDescriptor typeUrlField = descriptor.findFieldByName("type_url"); in mergeAny() 1208 FieldDescriptor valueField = descriptor.findFieldByName("value"); in mergeAny() 1275 FieldDescriptor field = descriptor.findFieldByName("fields"); in mergeStruct() [all …]
|
D | FieldMaskTree.java | 224 FieldDescriptor field = descriptor.findFieldByName(entry.getKey()); in merge()
|
D | FieldMaskUtil.java | 222 FieldDescriptor field = descriptor.findFieldByName(name); in isValid()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | AbstractMessage.java | 199 Descriptors.FieldDescriptor key = descriptor.findFieldByName("key"); in convertMapEntryListToMap() 200 Descriptors.FieldDescriptor value = descriptor.findFieldByName("value"); in convertMapEntryListToMap()
|
D | TextFormat.java | 1487 field = type.findFieldByName(name); in mergeField() 1496 field = type.findFieldByName(lowerName); in mergeField()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyMessage.java | 439 …Descriptors.FieldDescriptor ret = this.descriptor.findFieldByName(Utils.escapeIdentifier(nameStr)); in findField() 447 return this.descriptor.findFieldByName(Utils.escapeIdentifier(nameStr)) != null; in hasField()
|