Searched refs:setField (Results 1 - 25 of 81) sorted by relevance

1234

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowPeriodicSync.java18 setField("account", account);
19 setField("authority", authority);
20 setField("period", period);
21 setField("extras", extras);
25 private void setField(String name, Object obj) throws Exception { method in class:ShadowPeriodicSync
/external/clang/test/Modules/Inputs/
H A Dmodule_private_right.h12 __module_private__ virtual void setField(int f);
/external/javassist/src/main/javassist/compiler/ast/
H A DMember.java34 public void setField(CtField f) { field = f; } method in class:Member
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/filter/
H A DTerminalMockCandidateFilter.java14 import static org.mockito.internal.util.reflection.FieldSetter.setField;
36 setField(injectee, candidateFieldToBeInjected,matchingMock);
/external/mockito/src/main/java/org/mockito/internal/util/reflection/
H A DFieldSetter.java13 public static void setField(Object target, Field field,Object value) { method in class:FieldSetter
H A DInstanceField.java9 import static org.mockito.internal.util.reflection.FieldSetter.setField;
53 setField(instance, field,value);
H A DFieldInitializer.java11 import static org.mockito.internal.util.reflection.FieldSetter.setField;
196 setField(testClass, field,newFieldInstance);
270 setField(testClass, field,newFieldInstance);
/external/clang/test/Modules/
H A Dmodule-private.cpp27 vs.setField(1); // expected-error{{no member named 'setField' in 'VisibleStruct'}}
92 virtual void setField(int f);
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/
H A DSpyOnInjectedFieldsHandler.java18 import static org.mockito.internal.util.reflection.FieldSetter.setField;
47 setField(fieldOwner, field, mock);
/external/protobuf/java/core/src/test/java/com/google/protobuf/
H A DMessageTest.java172 builder.setField(descriptor.findFieldByName("a"), 1);
174 builder.setField(descriptor.findFieldByName("b"), 1);
176 builder.setField(descriptor.findFieldByName("c"), 1);
186 builder.setField(descriptor.findFieldByName("optional_message"),
190 builder.setField(descriptor.findFieldByName("optional_message"),
H A DWireFormatTest.java278 .setField(descriptor.findFieldByName("my_int"), 1L)
279 .setField(descriptor.findFieldByName("my_string"), "foo")
280 .setField(descriptor.findFieldByName("my_float"), 1.0F)
281 .setField(UnittestProto.myExtensionInt.getDescriptor(), 23)
282 .setField(UnittestProto.myExtensionString.getDescriptor(), "bar")
316 .setField(descriptor.findFieldByName("my_int"), 1L)
317 .setField(descriptor.findFieldByName("my_string"), "foo")
318 .setField(descriptor.findFieldByName("my_float"), 1.0F)
319 .setField(UnittestProto.myExtensionInt.getDescriptor(), 23)
320 .setField(UnittestProt
[all...]
H A DUnknownEnumValueTest.java136 builder.setField(optionalNestedEnumField,
167 builder.setField(optionalNestedEnumField, unknown6543);
188 builder.setField(optionalNestedEnumField,
217 builder.setField(optionalNestedEnumField,
226 builder.setField(optionalNestedEnumField,
H A DTestUtil.java2802 message.setField(f("optional_int32" ), 101 );
2803 message.setField(f("optional_int64" ), 102L);
2804 message.setField(f("optional_uint32" ), 103 );
2805 message.setField(f("optional_uint64" ), 104L);
2806 message.setField(f("optional_sint32" ), 105 );
2807 message.setField(f("optional_sint64" ), 106L);
2808 message.setField(f("optional_fixed32" ), 107 );
2809 message.setField(f("optional_fixed64" ), 108L);
2810 message.setField(f("optional_sfixed32"), 109 );
2811 message.setField(
[all...]
H A DGeneratedMessageTest.java1120 fieldBuilder1.setField(subFieldDescriptor1, 1);
1121 builder1.setField(fieldDescriptor, fieldBuilder1.build());
1129 foreignFieldBuilder1.setField(subForeignFieldDescriptor1, 2);
1130 builder1.setField(foreignFieldDescriptor, foreignFieldBuilder1.build());
1138 importFieldBuilder1.setField(subImportFieldDescriptor1, 3);
1139 builder1.setField(importFieldDescriptor, importFieldBuilder1.build());
1149 fieldBuilder2.setField(subFieldDescriptor2, 1);
1150 builder2.setField(fieldDescriptor, fieldBuilder2.build());
1158 foreignFieldBuilder2.setField(subForeignFieldDescriptor2, 2);
1159 builder2.setField(foreignFieldDescripto
[all...]
/external/mockito/src/main/java/org/mockito/internal/configuration/
H A DIndependentAnnotationEngine.java18 import static org.mockito.internal.util.reflection.FieldSetter.setField;
67 setField(testInstance, field,mock);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DDataDrivenNumberFormatTestUtility.java191 if (!setField(columnNames.get(i), columnValues.get(i))) {
239 return setField(parts.get(1), parts.get(2));
242 private boolean setField(String name, String value) { method in class:DataDrivenNumberFormatTestUtility
244 tuple.setField(name, Utility.unescape(value));
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DDataDrivenNumberFormatTestUtility.java190 if (!setField(columnNames.get(i), columnValues.get(i))) {
238 return setField(parts.get(1), parts.get(2));
241 private boolean setField(String name, String value) { method in class:DataDrivenNumberFormatTestUtility
243 tuple.setField(name, Utility.unescape(value));
/external/icu/icu4c/source/i18n/
H A Dfpositer.cpp98 fp.setField(data->elementAti(pos++));
H A Dudateintervalformat.cpp91 fp.setField(position->field);
/external/icu/icu4c/source/i18n/unicode/
H A Dfieldpos.h216 void setField(int32_t f) { fField = f; } function in class:FieldPosition
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
H A DFieldMaskTree.java247 destination.setField(field, source.getField(field));
259 destination.setField(field, source.getField(field));
268 destination.setField(field, source.getField(field));
/external/protobuf/java/core/src/main/java/com/google/protobuf/
H A DMessage.java164 * field. Messages built with this can then be passed to setField(),
211 Builder setField(Descriptors.FieldDescriptor field, Object value); method in interface:Message.Builder
H A DMessageReflection.java271 MergeTarget setField(Descriptors.FieldDescriptor field, Object value); method in interface:MessageReflection.MergeTarget
394 public MergeTarget setField(Descriptors.FieldDescriptor field, Object value) { method in class:MessageReflection.BuilderAdapter
395 builder.setField(field, value);
581 public MergeTarget setField(Descriptors.FieldDescriptor field, Object value) { method in class:MessageReflection.ExtensionAdapter
582 extensions.setField(field, value);
864 target.setField(field, value);
974 target.setField(field, value);
979 target.setField(field, lazyField);
991 target.setField(field, value);
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
H A DByteBuddyCrossClassLoaderSerializationSupport.java25 import static org.mockito.internal.util.reflection.FieldSetter.setField;
310 setField(descInstance, classNameField,proxyClass.getCanonicalName());
/external/protobuf/js/
H A Dmessage.js747 jspb.Message.setField = function(msg, fieldNumber, value) {
771 jspb.Message.setField(msg, currentCase, undefined);
773 jspb.Message.setField(msg, fieldNumber, value);
803 jspb.Message.setField(msg, fieldNumber, undefined);
808 // NB: We know the value is unique, so we can call jspb.Message.setField
811 jspb.Message.setField(msg, oneofField, oneofValue);
884 jspb.Message.setField(msg, fieldNumber, data);
922 jspb.Message.setField(msg, fieldNumber, data);

Completed in 1207 milliseconds

1234