/libcore/json/src/test/java/libcore/org/json/ |
D | JSONObjectTest.java | 46 JSONObject object = new JSONObject(); in testEmptyObject() local 124 JSONObject object = new JSONObject(); in testGet() local 148 JSONObject object = new JSONObject(); in testPut() local 166 JSONObject object = new JSONObject(); in testPutNullRemoves() local 179 JSONObject object = new JSONObject(); in testPutOpt() local 190 JSONObject object = new JSONObject(); in testPutOptUnsupportedNumbers() local 209 JSONObject object = new JSONObject(); in testRemove() local 219 JSONObject object = new JSONObject(); in testBooleans() local 257 JSONObject object = new JSONObject(); in testCoerceStringToBoolean() local 269 JSONObject object = new JSONObject(); in testNumbers() local [all …]
|
D | JSONArrayTest.java | 338 JSONObject object = values.toJSONObject(keys); in testToJSONObject() local 357 JSONObject object = values.toJSONObject(keys); in testToJSONObjectWithNulls() local 369 JSONObject object = values.toJSONObject(keys); in testToJSONObjectMoreNamesThanValues() local 380 JSONObject object = values.toJSONObject(keys); in testToJSONObjectMoreValuesThanNames() local 390 JSONObject object = values.toJSONObject(keys); in testToJSONObjectNullKey() local 448 JSONArray object = new JSONArray(new JSONTokener("[false]")); in testTokenerConstructor() local 480 JSONArray object = new JSONArray("[false]"); in testStringConstructor() local
|
D | ParsingTest.java | 229 private JSONObject object(Object... keyValuePairs) throws JSONException { in object() method in ParsingTest 262 JSONObject object = (JSONObject) input; in canonicalize() local
|
D | JSONStringerTest.java | 246 JSONObject object = new JSONObject(); in testJSONObjectAsValue() local 332 JSONObject object = new JSONObject(); in testMaxDepthWithObjectValue() local
|
/libcore/json/src/main/java/org/json/ |
D | JSONArray.java | 94 Object object = readFrom.nextValue(); in JSONArray() local 329 Object object = get(index); in getBoolean() local 350 Object object = opt(index); in optBoolean() local 363 Object object = get(index); in getDouble() local 384 Object object = opt(index); in optDouble() local 397 Object object = get(index); in getInt() local 418 Object object = opt(index); in optInt() local 431 Object object = get(index); in getLong() local 452 Object object = opt(index); in optLong() local 464 Object object = get(index); in getString() local [all …]
|
D | JSONObject.java | 168 Object object = readFrom.nextValue(); in JSONObject() local 419 Object object = get(name); in getBoolean() local 440 Object object = opt(name); in optBoolean() local 453 Object object = get(name); in getDouble() local 474 Object object = opt(name); in optDouble() local 487 Object object = get(name); in getInt() local 508 Object object = opt(name); in optInt() local 523 Object object = get(name); in getLong() local 547 Object object = opt(name); in optLong() local 559 Object object = get(name); in getString() local [all …]
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldObjectInputStreamGetFieldTest.java | 71 Support_GetPutFields object = (Support_GetPutFields) ois.readObject(); in test_get() local 99 Support_GetPutFields object = (Support_GetPutFields) ois.readObject(); in test_defaultedLjava_lang_String() local 123 Support_GetPutFields object = (Support_GetPutFields) ois.readObject(); in test_getException() local 239 Support_GetPutFields object = (Support_GetPutFields) ois.readObject(); in test_getObjectStreamClass() local
|
D | ObjectOutputStreamTest.java | 81 CallsCloseInWriteObjectMethod object = new CallsCloseInWriteObjectMethod(hello); in testCloseInWriteObject() local 97 private Serializable roundTrip(Object object) in roundTrip()
|
/libcore/luni/src/main/native/ |
D | ScopedBytes.h | 32 ScopedBytes(JNIEnv* env, jobject object) in ScopedBytes() 72 ScopedBytesRO(JNIEnv* env, jobject object) : ScopedBytes<true>(env, object) {} in ScopedBytesRO() 80 ScopedBytesRW(JNIEnv* env, jobject object) : ScopedBytes<false>(env, object) {} in ScopedBytesRW()
|
/libcore/ojluni/src/main/java/java/security/ |
D | GuardedObject.java | 54 private Object object; // the object we are guarding field in GuardedObject 67 public GuardedObject(Object object, Guard guard) in GuardedObject()
|
D | Guard.java | 56 void checkGuard(Object object) throws SecurityException; in checkGuard()
|
D | Permission.java | 41 public void checkGuard(Object object) throws SecurityException { } in checkGuard()
|
/libcore/luni/src/test/java/libcore/libcore/util/ |
D | SerializationTester.java | 84 public static byte[] serialize(Object object) throws IOException { in serialize() 100 public static Object reserialize(Object object) throws IOException, ClassNotFoundException { in reserialize() 104 public static String serializeHex(Object object) throws IOException { in serializeHex()
|
D | ZoneInfoTest.java | 47 Object object = ois.readObject(); in testReadSerialized() local
|
/libcore/ojluni/src/main/java/java/time/zone/ |
D | Ser.java | 101 private Serializable object; field in Ser 115 Ser(byte type, Serializable object) { in Ser() 141 static void write(Object object, DataOutput out) throws IOException { in write() 145 private static void writeInternal(byte type, Object object, DataOutput out) throws IOException { in writeInternal()
|
/libcore/support/src/test/java/org/apache/harmony/testframework/serialization/ |
D | SerializationTest.java | 269 public static SerializableAssert defineComparator(Object test, Object object) in defineComparator() 303 public static void verifyGolden(Object test, Object object) throws Exception { in verifyGolden() 319 public static void verifyGolden(Object test, Object object, SerializableAssert comparator) in verifyGolden() 373 public static void verifySelf(Object object) throws Exception { in verifySelf() 386 public static void verifySelf(Object object, SerializableAssert comparator) throws Exception { in verifySelf() 447 public static void createGoldenFile(String root, TestCase test, Object object) in createGoldenFile()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | Ser.java | 114 private Serializable object; field in Ser 128 Ser(byte type, Serializable object) { in Ser() 162 … private static void writeInternal(byte type, Object object, ObjectOutput out) throws IOException { in writeInternal()
|
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
D | PatternSyntaxExceptionTest.java | 121 PatternSyntaxException object = new PatternSyntaxException("TESTDESC", "TESTREGEX", 3); in testSerializationCompatibility() local 126 PatternSyntaxException object = new PatternSyntaxException("TESTDESC", "TESTREGEX", 3); in testSerializationSelf() local
|
/libcore/ojluni/src/main/java/java/time/ |
D | Ser.java | 116 private Serializable object; field in Ser 130 Ser(byte type, Serializable object) { in Ser() 167 static void writeInternal(byte type, Object object, ObjectOutput out) throws IOException { in writeInternal()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | AbstractTCKTest.java | 111 …protected static void assertSerializable(Object object) throws IOException, ClassNotFoundException… in assertSerializable() 117 …protected static void assertSerializableSame(Object object) throws IOException, ClassNotFoundExcep… in assertSerializableSame() 123 private static Object writeThenRead(Object object) throws IOException, ClassNotFoundException { in writeThenRead() 133 …protected static void assertSerializedBySer(Object object, byte[] expectedBytes, byte[]... matches… in assertSerializedBySer()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | ParseExceptionTest.java | 57 Object object = ois.readObject(); in test_serialize() local
|
D | Support_Format.java | 37 protected void t_FormatWithField(int count, Format format, Object object, in t_FormatWithField() 58 …protected void t_Format(int count, Object object, Format format, Vector<FieldContainer> expectedRe… in t_Format()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | CollationKeyICU.java | 43 public boolean equals(Object object) { in equals()
|
/libcore/luni/src/test/java/libcore/java/util/stream/ |
D | StreamTest.java | 51 String object = "string"; in streamOfSingleObject() local
|
/libcore/support/src/test/java/tests/support/ |
D | Support_Format.java | 36 protected void t_FormatWithField(int count, Format format, Object object, in t_FormatWithField() 59 protected void t_Format(int count, Object object, Format format, in t_Format()
|