Home
last modified time | relevance | path

Searched refs:getField (Results 1 – 25 of 258) sorted by relevance

1234567891011

/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/
DBindingsTest.java106 checkConstantField(SampleServiceConstants.class.getField("TWELVE"), byte.class, (byte) 12); in testConstants()
107 checkConstantField(InterfaceConstants.class.getField("LONG"), long.class, 4405L); in testConstants()
116 checkConstantField(Color.class.getField("RED"), int.class, 0); in testEnums()
117 checkConstantField(Color.class.getField("BLACK"), int.class, 1); in testEnums()
119 checkConstantField(Enum.class.getField("VALUE"), int.class, 0); in testEnums()
121 checkConstantField(Shape.class.getField("RECTANGLE"), int.class, 1); in testEnums()
122 checkConstantField(Shape.class.getField("CIRCLE"), int.class, 2); in testEnums()
123 checkConstantField(Shape.class.getField("TRIANGLE"), int.class, 3); in testEnums()
138 checkField(DefaultsTest.class.getField("a0"), byte.class, test, (byte) -12); in testStructDefaults()
139 checkField(DefaultsTest.class.getField("a1"), byte.class, test, (byte) 12); in testStructDefaults()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
DDfpDec.java99 return new DfpDec(getField()); in newInstance()
105 return new DfpDec(getField(), x); in newInstance()
111 return new DfpDec(getField(), x); in newInstance()
117 return new DfpDec(getField(), x); in newInstance()
123 return new DfpDec(getField(), x); in newInstance()
131 if (getField().getRadixDigits() != d.getField().getRadixDigits()) { in newInstance()
132 getField().setIEEEFlagsBits(DfpField.FLAG_INVALID); in newInstance()
145 return new DfpDec(getField(), s); in newInstance()
151 return new DfpDec(getField(), sign, nans); in newInstance()
216 switch (getField().getRoundingMode()) { in round()
[all …]
DDfpMath.java280 final Dfp einta = splitPow(a.getField().getESplit(), ia); in exp()
326 a.getField().setIEEEFlagsBits(DfpField.FLAG_INVALID); in log()
364 spy = splitMult(a.getField().getLn2Split(), spx); in log()
371 spy = splitMult(a.getField().getLn5Split(), spx); in log()
508 if (x.getField().getRadixDigits() != y.getField().getRadixDigits()) { in pow()
509 x.getField().setIEEEFlagsBits(DfpField.FLAG_INVALID); in pow()
529 x.getField().setIEEEFlagsBits(DfpField.FLAG_INVALID); in pow()
537 x.getField().setIEEEFlagsBits(DfpField.FLAG_INVALID); in pow()
593 x.getField().setIEEEFlagsBits(DfpField.FLAG_INVALID); in pow()
627 x.getField().setIEEEFlagsBits(DfpField.FLAG_INVALID); in pow()
[all …]
/external/autotest/frontend/client/src/autotest/common/
DStatusSummary.java21 summary.passed = getField(group, passCountField); in getStatusSummary()
22 summary.complete = getField(group, completeCountField); in getStatusSummary()
23 summary.incomplete = getField(group, incompleteCountField); in getStatusSummary()
24 summary.total = getField(group, groupCountField); in getStatusSummary()
33 private static int getField(JSONObject group, String field) { in getField() method in StatusSummary
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DSparseFieldMatrix.java80 super(other.getField(), other.getRowDimension(), other.getColumnDimension()); in SparseFieldMatrix()
91 super(other.getField(), other.getRowDimension(), other.getColumnDimension()); in SparseFieldMatrix()
94 entries = new OpenIntToFieldHashMap<T>(getField()); in SparseFieldMatrix()
110 if (getField().getZero().equals(value)) { in addToEntry()
128 return new SparseFieldMatrix<T>(getField(), rowDimension, columnDimension); in createMatrix()
159 if (getField().getZero().equals(value)) { in multiplyEntry()
173 if (getField().getZero().equals(value)) { in setEntry()
DArray2DRowFieldMatrix.java145 data = buildArray(getField(), nRows, 1); in Array2DRowFieldMatrix()
155 return new Array2DRowFieldMatrix<T>(getField(), rowDimension, columnDimension); in createMatrix()
190 final T[][] outData = buildArray(getField(), rowCount, columnCount); in add()
230 final T[][] outData = buildArray(getField(), rowCount, columnCount); in subtract()
271 final T[][] outData = buildArray(getField(), nRows, nCols); in multiply()
276 T sum = getField().getZero(); in multiply()
329 data = buildArray(getField(), subMatrix.length, nCols); in setSubMatrix()
413 final T[] out = buildArray(getField(), nRows); in operate()
416 T sum = getField().getZero(); in operate()
437 final T[] out = buildArray(getField(), nCols); in preMultiply()
[all …]
DArrayFieldVector.java76 this(preset.getField(), size); in ArrayFieldVector()
95 field = d[0].getField(); in ArrayFieldVector()
141 field = d[0].getField(); in ArrayFieldVector()
175 field = d[0].getField(); in ArrayFieldVector()
185 field = v.getField(); in ArrayFieldVector()
197 field = v.getField(); in ArrayFieldVector()
207 field = v.getField(); in ArrayFieldVector()
217 field = v1.getField(); in ArrayFieldVector()
229 field = v1.getField(); in ArrayFieldVector()
241 field = v2.getField(); in ArrayFieldVector()
[all …]
DBlockFieldMatrix.java164 blocks = buildArray(getField(), blockRows * blockColumns, -1); in BlockFieldMatrix()
306 return new BlockFieldMatrix<T>(getField(), rowDimension, columnDimension); in createMatrix()
314 BlockFieldMatrix<T> copied = new BlockFieldMatrix<T>(getField(), rows, columns); in copy()
336 final BlockFieldMatrix<T> out = new BlockFieldMatrix<T>(getField(), rows, columns); in add()
382 final BlockFieldMatrix<T> out = new BlockFieldMatrix<T>(getField(), rows, columns); in add()
409 final BlockFieldMatrix<T> out = new BlockFieldMatrix<T>(getField(), rows, columns); in subtract()
455 final BlockFieldMatrix<T> out = new BlockFieldMatrix<T>(getField(), rows, columns); in subtract()
476 final BlockFieldMatrix<T> out = new BlockFieldMatrix<T>(getField(), rows, columns); in scalarAdd()
496 final BlockFieldMatrix<T> out = new BlockFieldMatrix<T>(getField(), rows, columns); in scalarMultiply()
522 … final BlockFieldMatrix<T> out = new BlockFieldMatrix<T>(getField(), rows, m.getColumnDimension()); in multiply()
[all …]
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DUnknownFieldSetTest.java62 UnknownFieldSet.Field getField(String name) { in getField() method in UnknownFieldSetTest
65 return unknownFields.getField(field.getNumber()); in getField()
105 UnknownFieldSet.Field field = getField("optional_int32"); in testVarint()
112 UnknownFieldSet.Field field = getField("optional_fixed32"); in testFixed32()
119 UnknownFieldSet.Field field = getField("optional_fixed64"); in testFixed64()
126 UnknownFieldSet.Field field = getField("optional_bytes"); in testLengthDelimited()
137 UnknownFieldSet.Field field = getField("optionalgroup"); in testGroup()
145 group.getField(nestedFieldDescriptor.getNumber()); in testGroup()
235 destination.getUnknownFields().getField(123456); in testParseKnownAndUnknown()
314 .getField(singularField.getNumber()) in testParseUnknownEnumValue()
[all …]
DTestUtil.java3036 ((Message)message.getField(f("optionalgroup"))).hasField(groupA)); in assertAllFieldsSetViaReflection()
3038 ((Message)message.getField(f("optional_nested_message"))) in assertAllFieldsSetViaReflection()
3041 ((Message)message.getField(f("optional_foreign_message"))) in assertAllFieldsSetViaReflection()
3044 ((Message)message.getField(f("optional_import_message"))) in assertAllFieldsSetViaReflection()
3054 Assert.assertEquals(101 , message.getField(f("optional_int32" ))); in assertAllFieldsSetViaReflection()
3055 Assert.assertEquals(102L , message.getField(f("optional_int64" ))); in assertAllFieldsSetViaReflection()
3056 Assert.assertEquals(103 , message.getField(f("optional_uint32" ))); in assertAllFieldsSetViaReflection()
3057 Assert.assertEquals(104L , message.getField(f("optional_uint64" ))); in assertAllFieldsSetViaReflection()
3058 Assert.assertEquals(105 , message.getField(f("optional_sint32" ))); in assertAllFieldsSetViaReflection()
3059 Assert.assertEquals(106L , message.getField(f("optional_sint64" ))); in assertAllFieldsSetViaReflection()
[all …]
DDynamicMessageTest.java260 assertEquals(123, copy2.getField(uint32Field)); in testDynamicMessageCopy()
279 derived.getUnknownFields().getField(unknownFieldNum).getVarintList()); in testToBuilder()
291 FieldDescriptor field = oneof.getField(3); in testDynamicOneofMessage()
299 FieldDescriptor mergedField = oneof.getField(0); in testDynamicOneofMessage()
324 enumDescriptor.getValues(), message.getField(repeatedEnumField)); in testSettersForRepeatedEnumField()
/external/autotest/frontend/client/src/autotest/afe/
DTestSelector.java96 appendTextField("Written by", getField("author")); in TestInfoBuilder()
97 appendTextField("Type", getField("test_type")); in TestInfoBuilder()
98 appendTextField("Synchronization count", getField("sync_count")); in TestInfoBuilder()
102 builder.append("<br>" + getField("description")); in TestInfoBuilder()
106 builder.append("<b>" + getField("name") + "</b> "); in writeTitleLine()
108 getField("test_class") + " / " + getField("test_category") + in writeTitleLine()
113 String time = getField("test_time"); in writeTime()
131 private String getField(String field) { in getField() method in TestSelector.TestInfoBuilder
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DFieldMaskTree.java240 (Message) source.getField(field), in merge()
247 destination.setField(field, source.getField(field)); in merge()
249 for (Object element : (List) source.getField(field)) { in merge()
259 destination.setField(field, source.getField(field)); in merge()
263 destination.getFieldBuilder(field).mergeFrom((Message) source.getField(field)); in merge()
268 destination.setField(field, source.getField(field)); in merge()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DGeneratedMessage.java145 final List<?> value = (List<?>) getField(field); in getAllFieldsMutable()
159 result.put(field, getField(field)); in getAllFieldsMutable()
178 List<Message> messageList = (List<Message>) getField(field); in isInitialized()
185 if (hasField(field) && !((Message) getField(field)).isInitialized()) { in isInitialized()
228 return internalGetFieldAccessorTable().getField(field).has(this); in hasField()
232 public Object getField(final FieldDescriptor field) { in getField() method in GeneratedMessage
233 return internalGetFieldAccessorTable().getField(field).get(this); in getField()
245 return internalGetFieldAccessorTable().getField(field).getRaw(this); in getFieldRaw()
250 return internalGetFieldAccessorTable().getField(field) in getRepeatedFieldCount()
256 return internalGetFieldAccessorTable().getField(field) in getRepeatedField()
[all …]
DMessageReflection.java61 fields.put(field, message.getField(field)); in writeMessageTo()
254 public Object getField(Descriptors.FieldDescriptor field); in getField() method
384 public Object getField(Descriptors.FieldDescriptor field) { in getField() method in MessageReflection.BuilderAdapter
385 return builder.getField(field); in getField()
467 Message originalMessage = (Message) getField(field); in parseGroup()
491 Message originalMessage = (Message) getField(field); in parseMessage()
515 Message originalMessage = (Message) getField(field); in parseMessageFromBytes()
571 public Object getField(Descriptors.FieldDescriptor field) { in getField() method in MessageReflection.ExtensionAdapter
572 return extensions.getField(field); in getField()
649 Message originalMessage = (Message) getField(field); in parseGroup()
[all …]
/external/pdfium/testing/resources/javascript/
Dfield.in96 var field = this.getField("MyField");
98 var sub_a = this.getField("MyField.Sub_A");
100 var nonesuch = this.getField("MyField.nonesuch");
108 var subs = this.getField("MyField").getArray();
/external/mockito/src/main/java/org/mockito/internal/junit/util/
DJUnitFailureHacker.java56 Field f = getField(clazz, field); in getFieldFromHierarchy()
59 f = getField(clazz, field); in getFieldFromHierarchy()
70 private static Field getField(Class<?> clazz, String field) { in getField() method in JUnitFailureHacker
/external/icu/icu4c/source/i18n/
Dfphdlimp.cpp50 if (pos.getField() == id) { in addAttribute()
58 if (delta != 0 && pos.getField() != FieldPosition::DONT_CARE && pos.getBeginIndex() != -1) { in shiftLast()
66 return pos.getField() != FieldPosition::DONT_CARE; in isRecording()
/external/pdfium/testing/resources/
Dbug_507316.in31 t = this.getField('txtName1');
32 t2 = this.getField('txtName2');
115 this.getField('txtName2').value='B';
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMessage.java136 return getField(context, fieldDescriptor); in index()
191 IRubyObject thisVal = getField(context, fdef); in eq()
192 IRubyObject thatVal = message.getField(context, fdef); in eq()
262 …s.put(fieldDescriptor, wrapField(context, fieldDescriptor, this.builder.getField(fieldDescriptor))… in dup()
353 IRubyObject value = getField(context, fdef); in toHash()
409 copy.fields.put(fdef, wrapField(context, fdef, this.builder.getField(fdef))); in deepCopy()
592 …protected IRubyObject getField(ThreadContext context, Descriptors.FieldDescriptor fieldDescriptor)… in getField() method in RubyMessage
602 IRubyObject value = wrapField(context, oneofCase, builder.getField(oneofCase)); in getField()
621 …map.indexSet(context, kvMessage.getField(context, keyField), kvMessage.getField(context, valueFiel… in getField()
635 … IRubyObject value = wrapField(context, fieldDescriptor, this.builder.getField(fieldDescriptor)); in getField()
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowContentProviderResult.java16 Field field = realResult.getClass().getField("uri"); in __constructor__()
22 Field field = realResult.getClass().getField("count"); in __constructor__()
/external/icu/icu4c/source/test/intltest/
Dpptest.cpp111 if (fp.getField() == 7) { in TestFieldPosition()
118 if (fpc.getField() == 7) { in TestFieldPosition()
125 if ( fph.getField() != 3) in TestFieldPosition()
/external/deqp/framework/platform/android/
DtcuAndroidUtil.cpp300 FieldType getField (JNIEnv* env, jobject obj, const char* fieldName) in getField() function
448 metrics.density = getField<float> (env, *nativeMetrics, "density"); in getDisplayMetrics()
449 metrics.densityDpi = getField<int> (env, *nativeMetrics, "densityDpi"); in getDisplayMetrics()
450 metrics.scaledDensity = getField<float> (env, *nativeMetrics, "scaledDensity"); in getDisplayMetrics()
451 metrics.widthPixels = getField<int> (env, *nativeMetrics, "widthPixels"); in getDisplayMetrics()
452 metrics.heightPixels = getField<int> (env, *nativeMetrics, "heightPixels"); in getDisplayMetrics()
453 metrics.xdpi = getField<float> (env, *nativeMetrics, "xdpi"); in getDisplayMetrics()
454 metrics.ydpi = getField<float> (env, *nativeMetrics, "ydpi"); in getDisplayMetrics()
/external/autotest/frontend/client/src/autotest/common/table/
DJSONObjectComparator.java20 String key0 = arg0.get(sortSpec.getField()).toString().toLowerCase(); in compare()
21 String key1 = arg1.get(sortSpec.getField()).toString().toLowerCase(); in compare()
/external/junit/src/main/java/org/junit/runners/model/
DFrameworkField.java27 return getField().getName(); in getName()
51 public Field getField() { in getField() method in FrameworkField

1234567891011