Home
last modified time | relevance | path

Searched defs:object (Results 1 – 25 of 53) 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.java164 Object object = readFrom.nextValue(); in JSONObject() local
420 Object object = get(name); in getBoolean() local
441 Object object = opt(name); in optBoolean() local
454 Object object = get(name); in getDouble() local
475 Object object = opt(name); in optDouble() local
488 Object object = get(name); in getInt() local
509 Object object = opt(name); in optInt() local
524 Object object = get(name); in getLong() local
548 Object object = opt(name); in optLong() local
560 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/ojluni/src/main/java/java/security/
DGuardedObject.java53 private Object object; // the object we are guarding field in GuardedObject
66 public GuardedObject(Object object, Guard guard) in GuardedObject()
DGuard.java55 void checkGuard(Object object) throws SecurityException; in checkGuard()
DPermission.java42 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()
/libcore/ojluni/src/main/java/java/time/zone/
DSer.java100 private Object object; field in Ser
114 Ser(byte type, Object object) { in Ser()
140 static void write(Object object, DataOutput out) throws IOException { in write()
144 private static void writeInternal(byte type, Object object, DataOutput out) throws IOException { in writeInternal()
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
DPatternSyntaxExceptionTest.java120 PatternSyntaxException object = new PatternSyntaxException("TESTDESC", "TESTREGEX", 3); in testSerializationCompatibility() local
125 PatternSyntaxException object = new PatternSyntaxException("TESTDESC", "TESTREGEX", 3); in testSerializationSelf() local
/libcore/ojluni/src/main/java/java/time/chrono/
DSer.java112 private Object object; field in Ser
126 Ser(byte type, Object object) { in Ser()
160 … private static void writeInternal(byte type, Object object, ObjectOutput 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/
DSer.java114 private Object object; field in Ser
128 Ser(byte type, Object object) { in Ser()
165 static void writeInternal(byte type, Object object, ObjectOutput out) throws IOException { in writeInternal()
/libcore/ojluni/src/test/java/time/tck/java/time/
DAbstractTCKTest.java90 …protected static void assertSerializable(Object object) throws IOException, ClassNotFoundException… in assertSerializable()
96 …protected static void assertSerializableSame(Object object) throws IOException, ClassNotFoundExcep… in assertSerializableSame()
102 private static Object writeThenRead(Object object) throws IOException, ClassNotFoundException { in writeThenRead()
112 …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/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()
/libcore/ojluni/src/main/native/
Djni_util.c937 JNU_IsInstanceOfByName(JNIEnv *env, jobject object, char* classname) in JNU_IsInstanceOfByName()
972 JNU_MonitorWait(JNIEnv *env, jobject object, jlong timeout) in JNU_MonitorWait()
992 JNU_Notify(JNIEnv *env, jobject object) in JNU_Notify()
1012 JNU_NotifyAll(JNIEnv *env, jobject object) in JNU_NotifyAll()
1051 JNU_PrintClass(JNIEnv *env, char* hdr, jobject object) in JNU_PrintClass()
1066 JNU_ToString(JNIEnv *env, jobject object) in JNU_ToString()
Dio_util.h98 #define WITH_FIELD_PLATFORM_STRING(env, object, id, var) \ argument
/libcore/luni/src/main/java/javax/xml/validation/
DValidatorHandler.java415 …public void setProperty(String name, Object object) throws SAXNotRecognizedException, SAXNotSuppor… in setProperty()

123