Home
last modified time | relevance | path

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

12

/libcore/json/src/test/java/org/json/
DJSONObjectTest.java40 JSONObject object = new JSONObject(); in testEmptyObject() local
118 JSONObject object = new JSONObject(); in testGet() local
142 JSONObject object = new JSONObject(); in testPut() local
160 JSONObject object = new JSONObject(); in testPutNullRemoves() local
173 JSONObject object = new JSONObject(); in testPutOpt() local
184 JSONObject object = new JSONObject(); in testPutOptUnsupportedNumbers() local
203 JSONObject object = new JSONObject(); in testRemove() local
213 JSONObject object = new JSONObject(); in testBooleans() local
251 JSONObject object = new JSONObject(); in testCoerceStringToBoolean() local
263 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/ojluni/src/main/java/java/lang/reflect/
DField.java317 public native Object get(Object object) in get()
342 public native boolean getBoolean(Object object) in getBoolean()
367 public native byte getByte(Object object) in getByte()
394 public native char getChar(Object object) in getChar()
421 public native short getShort(Object object) in getShort()
448 public native int getInt(Object object) in getInt()
475 public native long getLong(Object object) in getLong()
502 public native float getFloat(Object object) in getFloat()
529 public native double getDouble(Object object) in getDouble()
598 public native void set(Object object, Object value) in set()
[all …]
/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.java156 Object object = readFrom.nextValue(); in JSONObject() local
410 Object object = get(name); in getBoolean() local
431 Object object = opt(name); in optBoolean() local
444 Object object = get(name); in getDouble() local
465 Object object = opt(name); in optDouble() local
478 Object object = get(name); in getInt() local
499 Object object = opt(name); in optInt() local
514 Object object = get(name); in getLong() local
538 Object object = opt(name); in optLong() local
550 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.java36 public void checkGuard(Object object) throws SecurityException { } in checkGuard()
/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/support/src/test/java/org/apache/harmony/testframework/serialization/
DSerializationTest.java269 public static SerializableAssert defineComparator(TestCase test, Object object) in defineComparator()
303 public static void verifyGolden(TestCase test, Object object) throws Exception { in verifyGolden()
319 public static void verifyGolden(TestCase 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/luni/src/test/java/libcore/util/
DSerializationTester.java82 private static byte[] serialize(Object object) throws IOException { in serialize()
114 public static Object reserialize(Object object) throws IOException, ClassNotFoundException { in reserialize()
118 public static String serializeHex(Object object) throws IOException { in serializeHex()
/libcore/luni/src/main/java/java/util/concurrent/
DCopyOnWriteArrayList.java148 public int indexOf(E object, int from) { in indexOf()
153 public int indexOf(Object object) { in indexOf()
164 public int lastIndexOf(E object, int to) { in lastIndexOf()
169 public int lastIndexOf(Object object) { in lastIndexOf()
334 public synchronized boolean addIfAbsent(E object) { in addIfAbsent()
572 @Override public int indexOf(Object object) { in indexOf()
580 @Override public int lastIndexOf(Object object) { in lastIndexOf()
588 @Override public boolean contains(Object object) { in contains()
626 @Override public void add(int index, E object) { in add()
635 @Override public boolean add(E object) { in add()
[all …]
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DMyGuard.java33 public void checkGuard(Object object) { in checkGuard()
/libcore/luni/src/main/java/libcore/icu/
DCollationKeyICU.java43 public boolean equals(Object object) { in equals()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
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/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()
DValidator.java406 …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
Djni_util.c935 JNU_IsInstanceOfByName(JNIEnv *env, jobject object, char* classname) in JNU_IsInstanceOfByName()
970 JNU_MonitorWait(JNIEnv *env, jobject object, jlong timeout) in JNU_MonitorWait()
990 JNU_Notify(JNIEnv *env, jobject object) in JNU_Notify()
1010 JNU_NotifyAll(JNIEnv *env, jobject object) in JNU_NotifyAll()
1049 JNU_PrintClass(JNIEnv *env, char* hdr, jobject object) in JNU_PrintClass()
1064 JNU_ToString(JNIEnv *env, jobject object) in JNU_ToString()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DProxyTest.java299 public TestProxyHandler(Object object) { in TestProxyHandler()
303 public Object invoke(Object object, Method method, Object[] args) in invoke()

12