/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/ |
D | BindingsTest.java | 106 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/ |
D | DfpDec.java | 99 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 …]
|
D | DfpMath.java | 280 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/ |
D | StatusSummary.java | 21 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/ |
D | SparseFieldMatrix.java | 80 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()
|
D | Array2DRowFieldMatrix.java | 145 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 …]
|
/external/r8/src/test/java/com/android/tools/r8/utils/ |
D | DexInspector.java | 679 public abstract DexEncodedField getField(); in getField() method in DexInspector.FieldSubject 720 public DexEncodedField getField() { in getField() method in DexInspector.AbsentFieldSubject 778 public DexEncodedField getField() { in getField() method in DexInspector.FoundFieldSubject 1002 return ((Iget) instruction).getField(); in accessedField() 1005 return ((IgetBoolean) instruction).getField(); in accessedField() 1008 return ((IgetByte) instruction).getField(); in accessedField() 1011 return ((IgetShort) instruction).getField(); in accessedField() 1014 return ((IgetChar) instruction).getField(); in accessedField() 1017 return ((IgetWide) instruction).getField(); in accessedField() 1020 return ((IgetObject) instruction).getField(); in accessedField() [all …]
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | UnknownFieldSetTest.java | 62 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 …]
|
D | TestUtil.java | 3036 ((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 …]
|
/external/autotest/frontend/client/src/autotest/afe/ |
D | TestSelector.java | 96 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/ |
D | FieldMaskTree.java | 240 (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/r8/src/test/examples/staticfield/ |
D | StaticField.java | 38 System.out.print(StaticField.class.getField("fieldA").get(value)); in main() 39 System.out.print(StaticField.class.getField("fieldB").get(value)); in main() 40 System.out.println(StaticField.class.getField("fieldC").get(value)); in main()
|
/external/r8/src/main/java/com/android/tools/r8/code/ |
D | IputBoolean.java | 40 registry.registerInstanceFieldWrite(getField()); in registerUse() 44 public DexField getField() { in getField() method in IputBoolean 50 builder.addInstancePut(MemberType.BOOLEAN, A, B, getField()); in buildIR()
|
D | SputBoolean.java | 41 registry.registerStaticFieldWrite(getField()); in registerUse() 45 public DexField getField() { in getField() method in SputBoolean 51 builder.addStaticPut(BOOLEAN, AA, getField()); in buildIR()
|
D | SputChar.java | 40 registry.registerStaticFieldWrite(getField()); in registerUse() 44 public DexField getField() { in getField() method in SputChar 50 builder.addStaticPut(MemberType.CHAR, AA, getField()); in buildIR()
|
D | IputWide.java | 40 registry.registerInstanceFieldWrite(getField()); in registerUse() 44 public DexField getField() { in getField() method in IputWide 50 builder.addInstancePut(MemberType.WIDE, A, B, getField()); in buildIR()
|
D | SputByte.java | 40 registry.registerStaticFieldWrite(getField()); in registerUse() 44 public DexField getField() { in getField() method in SputByte 50 builder.addStaticPut(MemberType.BYTE, AA, getField()); in buildIR()
|
D | IputShort.java | 40 registry.registerInstanceFieldWrite(getField()); in registerUse() 44 public DexField getField() { in getField() method in IputShort 50 builder.addInstancePut(MemberType.SHORT, A, B, getField()); in buildIR()
|
D | IgetChar.java | 40 registry.registerInstanceFieldRead(getField()); in registerUse() 43 public DexField getField() { in getField() method in IgetChar 49 builder.addInstanceGet(MemberType.CHAR, A, B, getField()); in buildIR()
|
D | IputByte.java | 40 registry.registerInstanceFieldWrite(getField()); in registerUse() 44 public DexField getField() { in getField() method in IputByte 50 builder.addInstancePut(MemberType.BYTE, A, B, getField()); in buildIR()
|
D | SgetBoolean.java | 40 registry.registerStaticFieldRead(getField()); in registerUse() 44 public DexField getField() { in getField() method in SgetBoolean 50 builder.addStaticGet(MemberType.BOOLEAN, AA, getField()); in buildIR()
|
D | SputWide.java | 40 registry.registerStaticFieldWrite(getField()); in registerUse() 44 public DexField getField() { in getField() method in SputWide 50 builder.addStaticPut(MemberType.WIDE, AA, getField()); in buildIR()
|
D | IgetWide.java | 39 public DexField getField() { in getField() method in IgetWide 45 registry.registerInstanceFieldRead(getField()); in registerUse() 50 builder.addInstanceGet(MemberType.WIDE, A, B, getField()); in buildIR()
|
D | SputShort.java | 40 registry.registerStaticFieldWrite(getField()); in registerUse() 44 public DexField getField() { in getField() method in SputShort 50 builder.addStaticPut(MemberType.SHORT, AA, getField()); in buildIR()
|
D | Sput.java | 40 registry.registerStaticFieldWrite(getField()); in registerUse() 44 public DexField getField() { in getField() method in Sput 50 builder.addStaticPut(MemberType.SINGLE, AA, getField()); in buildIR()
|