Home
last modified time | relevance | path

Searched refs:setField (Results 1 – 25 of 47) sorted by relevance

12

/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPeriodicSync.java18 setField("account", account); in __constructor__()
19 setField("authority", authority); in __constructor__()
20 setField("period", period); in __constructor__()
21 setField("extras", extras); in __constructor__()
25 private void setField(String name, Object obj) throws Exception { in setField() method in ShadowPeriodicSync
/external/protobuf/java/src/test/java/com/google/protobuf/
DWireFormatTest.java278 .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()
281 .setField(UnittestProto.myExtensionInt.getDescriptor(), 23) in testInterleavedFieldsAndExtensions()
282 .setField(UnittestProto.myExtensionString.getDescriptor(), "bar") 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()
319 .setField(UnittestProto.myExtensionInt.getDescriptor(), 23) in testParseMultipleExtensionRangesDynamic()
320 .setField(UnittestProto.myExtensionString.getDescriptor(), "bar") in testParseMultipleExtensionRangesDynamic()
DMessageTest.java172 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()
DTestUtil.java3069 message.setField(f("optional_int32" ), 101 ); in setAllFieldsViaReflection()
3070 message.setField(f("optional_int64" ), 102L); in setAllFieldsViaReflection()
3071 message.setField(f("optional_uint32" ), 103 ); in setAllFieldsViaReflection()
3072 message.setField(f("optional_uint64" ), 104L); in setAllFieldsViaReflection()
3073 message.setField(f("optional_sint32" ), 105 ); in setAllFieldsViaReflection()
3074 message.setField(f("optional_sint64" ), 106L); in setAllFieldsViaReflection()
3075 message.setField(f("optional_fixed32" ), 107 ); in setAllFieldsViaReflection()
3076 message.setField(f("optional_fixed64" ), 108L); in setAllFieldsViaReflection()
3077 message.setField(f("optional_sfixed32"), 109 ); in setAllFieldsViaReflection()
3078 message.setField(f("optional_sfixed64"), 110L); in setAllFieldsViaReflection()
[all …]
DGeneratedMessageTest.java1108 fieldBuilder1.setField(subFieldDescriptor1, 1); in testGetFieldBuilder()
1109 builder1.setField(fieldDescriptor, fieldBuilder1.build()); in testGetFieldBuilder()
1117 foreignFieldBuilder1.setField(subForeignFieldDescriptor1, 2); in testGetFieldBuilder()
1118 builder1.setField(foreignFieldDescriptor, foreignFieldBuilder1.build()); in testGetFieldBuilder()
1126 importFieldBuilder1.setField(subImportFieldDescriptor1, 3); in testGetFieldBuilder()
1127 builder1.setField(importFieldDescriptor, importFieldBuilder1.build()); in testGetFieldBuilder()
1137 fieldBuilder2.setField(subFieldDescriptor2, 1); in testGetFieldBuilder()
1138 builder2.setField(fieldDescriptor, fieldBuilder2.build()); in testGetFieldBuilder()
1146 foreignFieldBuilder2.setField(subForeignFieldDescriptor2, 2); in testGetFieldBuilder()
1147 builder2.setField(foreignFieldDescriptor, foreignFieldBuilder2.build()); in testGetFieldBuilder()
[all …]
DDynamicMessageTest.java257 DynamicMessage.newBuilder(message).setField(uint32Field, 123).build(); in testDynamicMessageCopy()
300 mergedBuilder.setField(mergedField, 123); in testDynamicOneofMessage()
321 builder.setField(repeatedEnumField, enumDescriptor.getValues()); in testSettersForRepeatedEnumField()
DAbstractMessageTest.java139 public Builder setField(Descriptors.FieldDescriptor field, Object value) { in setField() method in AbstractMessageTest.AbstractMessageWrapper.Builder
140 wrappedBuilder.setField(field, value); in setField()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/impl/
DFieldProvider.java24 void setField(int index, Object value); in setField() method
29 void setField(String name, Object value); in setField() method
DFieldProviderTransformer.java97 setField(names); in generate()
191 private void setField(String[] names) throws Exception { in setField() method in FieldProviderTransformer
/external/clang/test/Modules/
Dmodule-private.cpp31 vs.setField(1); // expected-error{{no member named 'setField' in 'VisibleStruct'}} in test_broken()
96 virtual void setField(int f);
/external/protobuf/java/src/main/java/com/google/protobuf/
DMessageReflection.java268 MergeTarget setField(Descriptors.FieldDescriptor field, Object value); in setField() method
389 public MergeTarget setField(Descriptors.FieldDescriptor field, in setField() method in MessageReflection.BuilderAdapter
391 builder.setField(field, value); in setField()
550 public MergeTarget setField(Descriptors.FieldDescriptor field, in setField() method in MessageReflection.ExtensionAdapter
552 extensions.setField(field, value); in setField()
802 target.setField(field, value); in mergeFieldFrom()
912 target.setField(field, value); in mergeMessageSetExtensionFromBytes()
917 target.setField(field, lazyField); in mergeMessageSetExtensionFromBytes()
929 target.setField(field, value); in eagerlyMergeMessageSetExtension()
DAbstractMessage.java297 setField(field, entry.getValue()); in mergeFrom()
299 setField(field, in mergeFrom()
306 setField(field, entry.getValue()); in mergeFrom()
DMessage.java175 Builder setField(Descriptors.FieldDescriptor field, Object value); in setField() method
DFieldSet.java138 clone.setField(descriptor, entry.getValue()); in clone()
143 clone.setField(descriptor, entry.getValue()); in clone()
236 public void setField(final FieldDescriptorType descriptor, in setField() method in FieldSet
DDynamicMessage.java484 public Builder setField(FieldDescriptor field, Object value) {
504 fields.setField(field, value);
DGeneratedMessage.java387 public BuilderType setField(final FieldDescriptor field, in setField() method in GeneratedMessage.Builder
1000 extensions.setField(descriptor, extension.toReflectionType(value)); in setExtension()
1139 public BuilderType setField(final FieldDescriptor field, in setField() method in GeneratedMessage.ExtendableBuilder
1144 extensions.setField(field, value); in setField()
1148 return super.setField(field, value); in setField()
/external/clang/test/Modules/Inputs/
Dmodule_private_right.h12 __module_private__ virtual void setField(int f);
/external/javassist/src/main/javassist/compiler/ast/
DMember.java34 public void setField(CtField f) { field = f; } in setField() method in Member
/external/icu/icu4c/source/i18n/
Dunum.cpp193 fp.setField(pos->field); in unum_formatInt64()
226 fp.setField(pos->field); in unum_formatDouble()
258 fp.setField(pos->field); in unum_formatDecimal()
302 fp.setField(pos->field); in unum_formatDoubleCurrency()
854 fp.setField(pos->field); in unum_formatUFormattable()
Dfpositer.cpp93 fp.setField(data->elementAti(pos++)); in next()
Dudateintervalformat.cpp89 fp.setField(position->field); in udtitvfmt_format()
/external/icu/icu4c/source/i18n/unicode/
Dfieldpos.h213 void setField(int32_t f) { fField = f; } in setField() function
/external/javassist/src/main/javassist/util/proxy/
DProxyFactory.java502 setField(FILTER_SIGNATURE_FIELD, signature); in createClass3()
505 setField(DEFAULT_INTERCEPTOR, handler); in createClass3()
514 private void setField(String fieldName, Object value) { in setField() method in ProxyFactory
674 setField(DEFAULT_INTERCEPTOR, handler); in setHandler()
/external/icu/icu4c/source/test/intltest/
Dtmsgfmt.cpp477 ignore.setField(FieldPosition::DONT_CARE); in testSimpleFormat()
485 ignore.setField(FieldPosition::DONT_CARE); in testSimpleFormat()
516 ignore.setField(FieldPosition::DONT_CARE); in testMsgFormatChoice()
524 ignore.setField(FieldPosition::DONT_CARE); in testMsgFormatChoice()
1031 pos.setField(0); in testSetLocale()
/external/javassist/src/main/javassist/compiler/
DTypeChecker.java806 mem.setField(f); in fieldAccess()
822 mem.setField(f); in fieldAccess()
883 fname.setField(f); in fieldAccess2()

12