/libcore/luni/src/test/java/libcore/java/io/ |
D | OldObjectInputStreamGetFieldTest.java | 100 ObjectInputStream.GetField fields = object.getField; in test_defaultedLjava_lang_String() local 103 fields.defaulted("noField"); in test_defaultedLjava_lang_String() 108 fields.defaulted("longValue")); in test_defaultedLjava_lang_String() 114 fields = defaultedObject.getField; in test_defaultedLjava_lang_String() 117 fields.defaulted("longValue")); in test_defaultedLjava_lang_String() 124 ObjectInputStream.GetField fields = object.getField; in test_getException() local 128 fields.get("noValue", false); in test_getException() 134 fields.get("noValue", (byte) 0); in test_getException() 140 fields.get("noValue", (char) 0); in test_getException() 146 fields.get("noValue", 0.0); in test_getException() [all …]
|
D | SerializationTest.java | 37 ObjectStreamField[] fields = osc.getFields(); in testSerializeFieldMadeTransient() local 38 assertEquals(1, fields.length); in testSerializeFieldMadeTransient() 39 assertEquals("nonTransientInt", fields[0].getName()); in testSerializeFieldMadeTransient() 40 assertEquals(int.class, fields[0].getType()); in testSerializeFieldMadeTransient() 61 ObjectStreamField[] fields = osc.getFields(); in testSerializeFieldMadeStatic() local 62 assertEquals(0, fields.length); in testSerializeFieldMadeStatic()
|
D | OldObjectOutputStreamTest.java | 53 ObjectInputStream.GetField fields = ois.readFields(); in readObject() local 54 aField1 = (String) fields.get("aField1", "Zap"); in readObject() 61 ObjectOutputStream.PutField fields = oos.putFields(); in writeObject() local 62 fields.put("aField1", aField1); in writeObject()
|
/libcore/ojluni/src/main/java/java/text/ |
D | DecimalFormatSymbols.java | 773 ObjectOutputStream.PutField fields = stream.putFields(); in writeObject() local 774 fields.put("currencySymbol", currencySymbol); in writeObject() 775 fields.put("decimalSeparator", getDecimalSeparator()); in writeObject() 776 fields.put("digit", getDigit()); in writeObject() 777 fields.put("exponential", exponentialSeparator.charAt(0)); in writeObject() 778 fields.put("exponentialSeparator", exponentialSeparator); in writeObject() 779 fields.put("groupingSeparator", getGroupingSeparator()); in writeObject() 780 fields.put("infinity", infinity); in writeObject() 781 fields.put("intlCurrencySymbol", intlCurrencySymbol); in writeObject() 782 fields.put("monetarySeparator", getMonetaryDecimalSeparator()); in writeObject() [all …]
|
D | DecimalFormat.java | 1458 ObjectOutputStream.PutField fields = stream.putFields(); in writeObject() local 1459 fields.put("positivePrefix", icuDecimalFormat.getPositivePrefix()); in writeObject() 1460 fields.put("positiveSuffix", icuDecimalFormat.getPositiveSuffix()); in writeObject() 1461 fields.put("negativePrefix", icuDecimalFormat.getNegativePrefix()); in writeObject() 1462 fields.put("negativeSuffix", icuDecimalFormat.getNegativeSuffix()); in writeObject() 1463 fields.put("posPrefixPattern", (String) null); in writeObject() 1464 fields.put("posSuffixPattern", (String) null); in writeObject() 1465 fields.put("negPrefixPattern", (String) null); in writeObject() 1466 fields.put("negSuffixPattern", (String) null); in writeObject() 1467 fields.put("multiplier", icuDecimalFormat.getMultiplier()); in writeObject() [all …]
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectStreamClass.java | 161 private ObjectStreamField[] fields; field in ObjectStreamClass 461 fields = NO_FIELDS; in ObjectStreamClass() 465 fields = NO_FIELDS; in ObjectStreamClass() 471 fields = getSerialFields(cl); in ObjectStreamClass() 476 fields = NO_FIELDS; in ObjectStreamClass() 502 fields = NO_FIELDS; in ObjectStreamClass() 506 fieldRefl = getReflector(fields, this); in ObjectStreamClass() 519 for (int i = 0; i < fields.length; i++) { in ObjectStreamClass() 520 if (fields[i].getField() == null) { in ObjectStreamClass() 548 fields = NO_FIELDS; in initProxy() [all …]
|
D | ObjectOutputStream.java | 1572 ObjectStreamField[] fields = desc.getFields(false); in defaultWriteFields() local 1574 int numPrimFields = fields.length - objVals.length; in defaultWriteFields() 1580 fields[numPrimFields + i].getName() + "\", type: \"" + in defaultWriteFields() 1581 fields[numPrimFields + i].getType() + "\")"); in defaultWriteFields() 1585 fields[numPrimFields + i].isUnshared()); in defaultWriteFields() 1716 ObjectStreamField[] fields = desc.getFields(false); in write() local 1717 int numPrimFields = fields.length - objVals.length; in write() 1720 if (fields[numPrimFields + i].isUnshared()) { in write() 1733 ObjectStreamField[] fields = desc.getFields(false); in writeFields() local 1734 int numPrimFields = fields.length - objVals.length; in writeFields() [all …]
|
/libcore/luni/src/main/java/libcore/net/http/ |
D | ResponseUtils.java | 65 String[] fields = contentTypeHeader.split(";"); in parseContentTypeParameters() local 66 if (fields.length > 1) { in parseContentTypeParameters() 69 for (int i = 1; i < fields.length; ++i) { in parseContentTypeParameters() 70 final String parameter = fields[i]; in parseContentTypeParameters()
|
/libcore/ojluni/src/main/java/java/security/ |
D | SignedObject.java | 253 java.io.ObjectInputStream.GetField fields = s.readFields(); in readObject() local 254 content = ((byte[])fields.get("content", null)).clone(); in readObject() 255 signature = ((byte[])fields.get("signature", null)).clone(); in readObject() 256 thealgorithm = (String)fields.get("thealgorithm", null); in readObject()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Calendar.java | 752 protected int fields[]; field in Calendar 957 fields = new int[FIELD_COUNT]; in Calendar() 1158 return fields[field]; in internalGet() 1175 fields[field] = value; in internalSet() 1301 for (int i = 0; i < fields.length; ) { in clear() 1302 stamp[i] = fields[i] = 0; // UNSET == 0 in clear() 1332 fields[field] = 0; in clear() 1499 if (field < 0 || field >= fields.length || in checkDisplayNameParams() 1573 for (int i = 0; i < fields.length; i++) { in getSetStateFields() 1596 for (int i = 0; i < fields.length; i++) { in setFieldsComputed() [all …]
|
D | Random.java | 1188 ObjectInputStream.GetField fields = s.readFields(); in readObject() local 1192 long seedVal = fields.get("seed", -1L); in readObject() 1197 nextNextGaussian = fields.get("nextNextGaussian", 0.0); in readObject() 1198 haveNextNextGaussian = fields.get("haveNextNextGaussian", false); in readObject() 1208 ObjectOutputStream.PutField fields = s.putFields(); in writeObject() local 1211 fields.put("seed", seed.get()); in writeObject() 1212 fields.put("nextNextGaussian", nextNextGaussian); in writeObject() 1213 fields.put("haveNextNextGaussian", haveNextNextGaussian); in writeObject()
|
D | Locale.java | 2134 ObjectOutputStream.PutField fields = out.putFields(); in writeObject() local 2135 fields.put("language", baseLocale.getLanguage()); in writeObject() 2136 fields.put("script", baseLocale.getScript()); in writeObject() 2137 fields.put("country", baseLocale.getRegion()); in writeObject() 2138 fields.put("variant", baseLocale.getVariant()); in writeObject() 2139 fields.put("extensions", localeExtensions == null ? "" : localeExtensions.getID()); in writeObject() 2140 fields.put("hashcode", -1); // place holder just for backward support in writeObject() 2153 ObjectInputStream.GetField fields = in.readFields(); in readObject() local 2154 String language = (String)fields.get("language", ""); in readObject() 2155 String script = (String)fields.get("script", ""); in readObject() [all …]
|
D | BitSet.java | 1125 ObjectOutputStream.PutField fields = s.putFields(); in writeObject() local 1126 fields.put("bits", words); in writeObject() 1137 ObjectInputStream.GetField fields = s.readFields(); in readObject() local 1138 words = (long[]) fields.get("bits", null); in readObject()
|
D | Vector.java | 1069 final java.io.ObjectOutputStream.PutField fields = s.putFields(); in writeObject() local 1072 fields.put("capacityIncrement", capacityIncrement); in writeObject() 1073 fields.put("elementCount", elementCount); in writeObject() 1076 fields.put("elementData", data); in writeObject()
|
/libcore/ojluni/src/main/java/java/beans/ |
D | PropertyChangeSupport.java | 442 ObjectOutputStream.PutField fields = s.putFields(); in writeObject() local 443 fields.put("children", children); in writeObject() 444 fields.put("source", this.source); in writeObject() 445 fields.put("propertyChangeSupportSerializedDataVersion", 2); in writeObject() 461 ObjectInputStream.GetField fields = s.readFields(); in readObject() local 463 …ertyChangeSupport> children = (Hashtable<String, PropertyChangeSupport>) fields.get("children", nu… in readObject() 464 this.source = fields.get("source", null); in readObject() 465 fields.get("propertyChangeSupportSerializedDataVersion", 2); in readObject()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | StringBuffer.java | 588 java.io.ObjectOutputStream.PutField fields = s.putFields(); in writeObject() local 589 fields.put("value", value); in writeObject() 590 fields.put("count", count); in writeObject() 591 fields.put("shared", false); in writeObject() 601 java.io.ObjectInputStream.GetField fields = s.readFields(); in readObject() local 602 value = (char[])fields.get("value", null); in readObject() 603 count = fields.get("count", 0); in readObject()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | FieldTest.java | 430 Field fields[] = { objectField, byteField, shortField, charField, in testProtectedFieldAccess() local 440 for (int j = i; j < fields.length; j++) { in testProtectedFieldAccess() 441 Field field = fields[j]; in testProtectedFieldAccess() 461 Field field = fields[j]; in testProtectedFieldAccess() 477 for (int j = 0; j < fields.length; j++) { in testProtectedFieldAccess() 478 Field listedField = fields[j]; in testProtectedFieldAccess() 499 fields = newFields; in testProtectedFieldAccess() 505 Field field = fields[j]; in testProtectedFieldAccess() 523 for (int j = i + 1; j < fields.length; j++) { in testProtectedFieldAccess() 524 Field field = fields[j]; in testProtectedFieldAccess() [all …]
|
/libcore/ojluni/src/main/java/javax/security/auth/ |
D | Subject.java | 1287 ObjectOutputStream.PutField fields = oos.putFields(); 1288 fields.put("this$0", subject); 1289 fields.put("elements", elements); 1290 fields.put("which", which); 1297 ObjectInputStream.GetField fields = ois.readFields(); 1298 subject = (Subject) fields.get("this$0", null); 1299 elements = (LinkedList<E>) fields.get("elements", null); 1300 which = fields.get("which", 0);
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ReflectionTest.java | 264 Field[] fields = ExtendsImplementsDefinesMember.class.getFields(); in testGetFieldsViaExtendsThenImplements() local 265 assertTrue(names(fields).contains("field")); in testGetFieldsViaExtendsThenImplements() 269 Field[] fields = ImplementsExtendsDefinesMember.class.getFields(); in testGetFieldsViaImplementsThenExtends() local 270 assertTrue(names(fields).contains("field")); in testGetFieldsViaImplementsThenExtends() 299 Field[] fields = ExtendsAndImplementsDefinesMember.class.getFields(); in testGetFieldsContainsNoDuplicates() local 300 assertEquals(1, count(names(fields), "field")); in testGetFieldsContainsNoDuplicates()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldSocketImplFactoryTest.java | 65 Field [] fields = Socket.class.getDeclaredFields(); in setUp() local 67 for (Field field : fields) { in setUp()
|
D | OldDatagramSocketImplFactoryTest.java | 84 Field [] fields = DatagramSocket.class.getDeclaredFields(); in setUp() local 86 for (Field field : fields) { in setUp()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest2.java | 114 ObjectInputStream.GetField fields = in.readFields(); in readObject() local 115 anInstanceVar = Integer.parseInt((String) fields.get( in readObject() 121 ObjectOutputStream.PutField fields = out.putFields(); in writeObject() local 122 fields.put(SIMULATED_FIELD_NAME, Integer.toString(anInstanceVar)); in writeObject() 144 ObjectInputStream.GetField fields = in.readFields(); in readObject() local 165 ObjectInputStream.GetField fields = in.readFields(); in readObject() local 170 ObjectOutputStream.PutField fields = out.putFields(); in writeObject() local 192 ObjectOutputStream.PutField fields = stream.putFields(); in writeObject() local 193 fields.put("field1", 1); in writeObject() 194 fields.put("field2", 2); in writeObject() [all …]
|
D | ObjectOutputStreamTest.java | 69 ObjectInputStream.GetField fields = ois.readFields(); in readObject() local 70 aField1 = (String) fields.get("aField1", "Zap"); in readObject() 77 ObjectOutputStream.PutField fields = oos.putFields(); in writeObject() local 78 fields.put("aField1", aField1); in writeObject() 401 ObjectInputStream.GetField fields = in.readFields(); in readObject() local 402 anInstanceVar = Integer.parseInt((String) fields.get( in readObject() 408 ObjectOutputStream.PutField fields = out.putFields(); in writeObject() local 409 fields.put(SIMULATED_FIELD_NAME, Integer.toString(anInstanceVar)); in writeObject()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | CalendarTest.java | 573 int[] fields = new int[count]; in test_clear() local 576 fields[0] = Calendar.YEAR; in test_clear() 577 fields[1] = Calendar.MONTH; in test_clear() 578 fields[2] = Calendar.DATE; in test_clear() 579 fields[3] = Calendar.HOUR_OF_DAY; in test_clear() 580 fields[4] = Calendar.MINUTE; in test_clear() 581 fields[5] = Calendar.SECOND; in test_clear() 593 for (int i = 0; i < fields.length; i++) { in test_clear() 594 int index = fields[i]; in test_clear() 616 for (int i = 0; i < fields.length; i++) { in test_clear() [all …]
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | ThreadLocalRandom.java | 954 java.io.ObjectOutputStream.PutField fields = s.putFields(); in writeObject() local 955 fields.put("rnd", U.getLong(Thread.currentThread(), SEED)); in writeObject() 956 fields.put("initialized", true); in writeObject()
|