Home
last modified time | relevance | path

Searched defs:object (Results 1 – 25 of 55) sorted by relevance

123

/libcore/json/src/test/java/libcore/org/json/
DJSONObjectTest.java46 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 …]
DJSONArrayTest.java338 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
DParsingTest.java229 private JSONObject object(Object... keyValuePairs) throws JSONException { in object() method in ParsingTest
262 JSONObject object = (JSONObject) input; in canonicalize() local
DJSONStringerTest.java246 JSONObject object = new JSONObject(); in testJSONObjectAsValue() local
332 JSONObject object = new JSONObject(); in testMaxDepthWithObjectValue() local
/libcore/json/src/main/java/org/json/
DJSONArray.java94 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 …]
DJSONObject.java168 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/
DOldObjectInputStreamGetFieldTest.java71 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
DObjectOutputStreamTest.java81 CallsCloseInWriteObjectMethod object = new CallsCloseInWriteObjectMethod(hello); in testCloseInWriteObject() local
97 private Serializable roundTrip(Object object) in roundTrip()
/libcore/luni/src/main/native/
DScopedBytes.h32 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/
DGuardedObject.java54 private Object object; // the object we are guarding field in GuardedObject
67 public GuardedObject(Object object, Guard guard) in GuardedObject()
DGuard.java56 void checkGuard(Object object) throws SecurityException; in checkGuard()
DPermission.java41 public void checkGuard(Object object) throws SecurityException { } in checkGuard()
/libcore/luni/src/test/java/libcore/libcore/util/
DSerializationTester.java84 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()
DZoneInfoTest.java47 Object object = ois.readObject(); in testReadSerialized() local
/libcore/ojluni/src/main/java/java/time/zone/
DSer.java101 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/
DSerializationTest.java269 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/
DSer.java114 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/
DPatternSyntaxExceptionTest.java121 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/
DSer.java116 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/
DAbstractTCKTest.java111 …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/
DParseExceptionTest.java57 Object object = ois.readObject(); in test_serialize() local
DSupport_Format.java37 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/
DCollationKeyICU.java43 public boolean equals(Object object) { in equals()
/libcore/luni/src/test/java/libcore/java/util/stream/
DStreamTest.java51 String object = "string"; in streamOfSingleObject() local
/libcore/support/src/test/java/tests/support/
DSupport_Format.java36 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()

123