Home
last modified time | relevance | path

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

123

/libcore/json/src/test/java/org/json/
DJSONObjectTest.java41 JSONObject object = new JSONObject(); in testEmptyObject() local
119 JSONObject object = new JSONObject(); in testGet() local
143 JSONObject object = new JSONObject(); in testPut() local
161 JSONObject object = new JSONObject(); in testPutNullRemoves() local
174 JSONObject object = new JSONObject(); in testPutOpt() local
185 JSONObject object = new JSONObject(); in testPutOptUnsupportedNumbers() local
204 JSONObject object = new JSONObject(); in testRemove() local
214 JSONObject object = new JSONObject(); in testBooleans() local
252 JSONObject object = new JSONObject(); in testCoerceStringToBoolean() local
264 JSONObject object = new JSONObject(); in testNumbers() local
[all …]
DJSONArrayTest.java333 JSONObject object = values.toJSONObject(keys); in testToJSONObject() local
352 JSONObject object = values.toJSONObject(keys); in testToJSONObjectWithNulls() local
364 JSONObject object = values.toJSONObject(keys); in testToJSONObjectMoreNamesThanValues() local
375 JSONObject object = values.toJSONObject(keys); in testToJSONObjectMoreValuesThanNames() local
385 JSONObject object = values.toJSONObject(keys); in testToJSONObjectNullKey() local
443 JSONArray object = new JSONArray(new JSONTokener("[false]")); in testTokenerConstructor() local
475 JSONArray object = new JSONArray("[false]"); in testStringConstructor() local
DParsingTest.java224 private JSONObject object(Object... keyValuePairs) throws JSONException { in object() method in ParsingTest
257 JSONObject object = (JSONObject) input; in canonicalize() local
DJSONStringerTest.java241 JSONObject object = new JSONObject(); in testJSONObjectAsValue() local
327 JSONObject object = new JSONObject(); in testMaxDepthWithObjectValue() local
/libcore/json/src/main/java/org/json/
DJSONArray.java92 Object object = readFrom.nextValue(); in JSONArray() local
327 Object object = get(index); in getBoolean() local
348 Object object = opt(index); in optBoolean() local
361 Object object = get(index); in getDouble() local
382 Object object = opt(index); in optDouble() local
395 Object object = get(index); in getInt() local
416 Object object = opt(index); in optInt() local
429 Object object = get(index); in getLong() local
450 Object object = opt(index); in optLong() local
462 Object object = get(index); in getString() local
[all …]
DJSONObject.java159 Object object = readFrom.nextValue(); in JSONObject() local
413 Object object = get(name); in getBoolean() local
434 Object object = opt(name); in optBoolean() local
447 Object object = get(name); in getDouble() local
468 Object object = opt(name); in optDouble() local
481 Object object = get(name); in getInt() local
502 Object object = opt(name); in optInt() local
517 Object object = get(name); in getLong() local
541 Object object = opt(name); in optLong() local
553 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/util/
DSerializationTester.java82 private static byte[] serialize(Object object) throws IOException { in serialize()
98 public static Object reserialize(Object object) throws IOException, ClassNotFoundException { in reserialize()
102 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/support/src/test/java/org/apache/harmony/security/tests/support/
DMyGuard.java33 public void checkGuard(Object object) { in checkGuard()
/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/luni/src/main/java/javax/xml/validation/
DValidatorHandler.java415 …public void setProperty(String name, Object object) throws SAXNotRecognizedException, SAXNotSuppor… in setProperty()
/libcore/ojluni/src/main/native/
Dio_util.h98 #define WITH_FIELD_PLATFORM_STRING(env, object, id, var) \ argument

123