/external/smali/smalidea/src/test/java/org/jf/smalidea/ |
D | SmaliFieldTest.java | 74 PsiField field = smaliClass.findFieldByName("myField", true); in testBasicField() 78 field = smaliClass.findFieldByName("nonExistantField", true); in testBasicField() 80 field = smaliClass.findFieldByName("nonExistantField", false); in testBasicField() 106 PsiField field = smaliClass.findFieldByName("myField", true); in testSmaliSuperField() 110 field = smaliClass.findFieldByName("myField", false); in testSmaliSuperField() 114 field = smaliClass.findFieldByName("baseField", false); in testSmaliSuperField() 117 field = smaliClass.findFieldByName("baseField", true); in testSmaliSuperField() 121 field = smaliClass.findFieldByName("nonExistantField", true); in testSmaliSuperField() 123 field = smaliClass.findFieldByName("nonExistantField", false); in testSmaliSuperField() 148 PsiField field = smaliClass.findFieldByName("myField", true); in testJavaSuperField() [all …]
|
D | FieldRenameTest.java | 42 PsiField field = testClass.findFieldByName(oldFieldName, false); in doRename()
|
D | SmaliAnnotationTest.java | 125 PsiField field = smaliClass.findFieldByName("myField", false); in testFieldAnnotation()
|
/external/protobuf/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 | TextFormatTest.java | 229 OneString.getDescriptor().findFieldByName("data"); in testPrintField() 235 TestAllTypes.getDescriptor().findFieldByName("optional_nested_message"); in testPrintField() 831 TestAllTypes.getDescriptor().findFieldByName(fieldName), in assertPrintFieldValue() 849 OneString.getDescriptor().findFieldByName("data"); in testShortDebugString_field() 855 TestAllTypes.getDescriptor().findFieldByName("optional_nested_message"); in testShortDebugString_field() 1086 FieldDescriptor nestedField = descriptor.findFieldByName("optional_nested_message"); in testParseInfoTreeBuilding() 1092 nestedField = descriptor.findFieldByName("repeated_nested_message"); in testParseInfoTreeBuilding() 1115 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 | FieldPresenceTest.java | 196 FieldDescriptor optionalInt32Field = descriptor.findFieldByName("optional_int32"); in testFieldPresenceByReflection() 197 FieldDescriptor optionalStringField = descriptor.findFieldByName("optional_string"); in testFieldPresenceByReflection() 198 FieldDescriptor optionalBytesField = descriptor.findFieldByName("optional_bytes"); in testFieldPresenceByReflection() 199 FieldDescriptor optionalNestedEnumField = descriptor.findFieldByName("optional_nested_enum"); in testFieldPresenceByReflection()
|
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 | MapForProto2Test.java | 398 return TestMap.getDescriptor().findFieldByName(name); in f() 402 FieldDescriptor field = mapEntry.getDescriptorForType().findFieldByName(name); in getFieldValue() 408 FieldDescriptor field = mapEntry.getDescriptorForType().findFieldByName(name); in setFieldValue() 434 FieldDescriptor field = builder.getDescriptorForType().findFieldByName(name); in newMapEntry() 436 FieldDescriptor keyField = entryBuilder.getDescriptorForType().findFieldByName("key"); in newMapEntry() 437 FieldDescriptor valueField = entryBuilder.getDescriptorForType().findFieldByName("value"); in newMapEntry() 448 FieldDescriptor field = builder.getDescriptorForType().findFieldByName(name); in setMapValues() 666 message.getDescriptorForType().findFieldByName("map_field"), 0); in testMapInitializationOrder()
|
D | MapTest.java | 491 return TestMap.getDescriptor().findFieldByName(name); in f() 495 FieldDescriptor field = mapEntry.getDescriptorForType().findFieldByName(name); in getFieldValue() 501 FieldDescriptor field = mapEntry.getDescriptorForType().findFieldByName(name); in setFieldValue() 527 FieldDescriptor field = builder.getDescriptorForType().findFieldByName(name); in newMapEntry() 529 FieldDescriptor keyField = entryBuilder.getDescriptorForType().findFieldByName("key"); in newMapEntry() 530 FieldDescriptor valueField = entryBuilder.getDescriptorForType().findFieldByName("value"); in newMapEntry() 541 FieldDescriptor field = builder.getDescriptorForType().findFieldByName(name); in setMapValues() 729 FieldDescriptor field = descriptor.findFieldByName("int32_to_enum_field"); in testUnknownEnumValuesInReflectionApi()
|
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 | TestUtil.java | 2727 this.nestedB = nestedMessage .findFieldByName("bb"); in ReflectionTester() 2728 this.foreignC = foreignMessage.findFieldByName("c"); in ReflectionTester() 2729 this.importD = importMessage .findFieldByName("d"); in ReflectionTester() 2730 this.importE = publicImportMessage.findFieldByName("e"); in ReflectionTester() 2741 this.groupA = optionalGroup.findFieldByName("a"); in ReflectionTester() 2742 this.repeatedGroupA = repeatedGroup.findFieldByName("a"); in ReflectionTester() 2767 result = baseDescriptor.findFieldByName(name); in f()
|
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
D | JsonFormat.java | 561 FieldDescriptor typeUrlField = descriptor.findFieldByName("type_url"); in printAny() 562 FieldDescriptor valueField = descriptor.findFieldByName("value"); in printAny() 601 FieldDescriptor valueField = descriptor.findFieldByName("value"); in printWrapper() 640 FieldDescriptor field = descriptor.findFieldByName("fields"); in printStruct() 670 FieldDescriptor field = descriptor.findFieldByName("values"); in printListValue() 758 FieldDescriptor keyField = type.findFieldByName("key"); in printMapFieldValue() 759 FieldDescriptor valueField = type.findFieldByName("value"); in printMapFieldValue() 1146 FieldDescriptor typeUrlField = descriptor.findFieldByName("type_url"); in mergeAny() 1147 FieldDescriptor valueField = descriptor.findFieldByName("value"); in mergeAny() 1219 FieldDescriptor field = descriptor.findFieldByName("fields"); in mergeStruct() [all …]
|
D | FieldMaskUtil.java | 192 FieldDescriptor field = descriptor.findFieldByName(name); in isValid()
|
D | FieldMaskTree.java | 218 FieldDescriptor field = descriptor.findFieldByName(entry.getKey()); in merge()
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/ |
D | SmaliFieldReference.java | 123 return containingClass.findFieldByName(memberName.getText(), true); in resolve()
|
D | SmaliClass.java | 219 @Nullable @Override public PsiField findFieldByName(@NonNls String name, boolean checkBases) { in findFieldByName() method in SmaliClass 220 return PsiClassImplUtil.findFieldByName(this, name, checkBases); in findFieldByName()
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | AbstractMessage.java | 171 Descriptors.FieldDescriptor key = descriptor.findFieldByName("key"); in convertMapEntryListToMap() 172 Descriptors.FieldDescriptor value = descriptor.findFieldByName("value"); in convertMapEntryListToMap()
|
D | TextFormat.java | 1454 field = type.findFieldByName(name); in mergeField() 1463 field = type.findFieldByName(lowerName); in mergeField()
|
D | Descriptors.java | 709 public FieldDescriptor findFieldByName(final String name) { in findFieldByName() method in Descriptors.Descriptor
|
/external/protobuf/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()
|