Home
last modified time | relevance | path

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

12345

/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
/libcore/libart/src/main/java/java/lang/reflect/
DField.java278 public Object get(Object object) throws IllegalAccessException, IllegalArgumentException { in get()
282 private native Object get(Object object, boolean accessible) in get()
308 public boolean getBoolean(Object object) throws IllegalAccessException, in getBoolean()
313 private native boolean getBoolean(Object object, boolean accessible) in getBoolean()
339 public byte getByte(Object object) throws IllegalAccessException, IllegalArgumentException { in getByte()
343 private native byte getByte(Object object, boolean accessible) in getByte()
369 public char getChar(Object object) throws IllegalAccessException, IllegalArgumentException { in getChar()
373 private native char getChar(Object object, boolean accessible) in getChar()
399 public double getDouble(Object object) throws IllegalAccessException, IllegalArgumentException { in getDouble()
403 private native double getDouble(Object object, boolean accessible) in getDouble()
[all …]
/libcore/luni/src/main/java/java/util/
DList.java50 public void add(int location, E object); in add()
66 public boolean add(E object); in add()
128 public boolean contains(Object object); in contains()
153 public boolean equals(Object object); in equals()
183 public int indexOf(Object object); in indexOf()
212 public int lastIndexOf(Object object); in lastIndexOf()
261 public boolean remove(Object object); in remove()
306 public E set(int location, E object); in set()
DCollection.java83 public boolean add(E object); in add()
137 public boolean contains(Object object); in contains()
171 public boolean equals(Object object); in equals()
220 public boolean remove(Object object); in remove()
DSet.java42 public boolean add(E object); in add()
78 public boolean contains(Object object); in contains()
102 public boolean equals(Object object); in equals()
141 public boolean remove(Object object); in remove()
DAbstractList.java97 public void add(E object) { in add()
140 public void set(E object) { in set()
185 public void add(E object) { in add()
231 public void set(E object) { in set()
244 public void add(int location, E object) { in add()
345 public E set(int location, E object) { in set()
403 public void add(int location, E object) { in add()
424 public boolean add(E object) { in add()
425 add(size(), object); in add() local
481 public boolean equals(Object object) { in equals()
[all …]
DVector.java139 public void add(int location, E object) { in add()
151 public synchronized boolean add(E object) { in add()
220 public synchronized void addElement(E object) { in addElement()
281 public boolean contains(Object object) { in contains()
389 public synchronized boolean equals(Object object) { in equals()
522 public int indexOf(Object object) { in indexOf()
543 public synchronized int indexOf(Object object, int location) { in indexOf()
576 public synchronized void insertElementAt(E object, int location) { in insertElementAt()
639 public synchronized int lastIndexOf(Object object) { in lastIndexOf()
660 public synchronized int lastIndexOf(Object object, int location) { in lastIndexOf()
[all …]
DLinkedList.java67 LinkIterator(LinkedList<ET> object, int location) { in LinkIterator()
89 public void add(ET object) { in add()
171 public void set(ET object) { in set()
278 public void add(int location, E object) { in add()
309 public boolean add(E object) { in add()
313 private boolean addLastImpl(E object) { in addLastImpl()
412 public void addFirst(E object) { in addFirst()
416 private boolean addFirstImpl(E object) { in addFirstImpl()
432 public void addLast(E object) { in addLast()
484 public boolean contains(Object object) { in contains()
[all …]
DListIterator.java40 void add(E object); in add()
131 void set(E object); in set()
DCollections.java64 CopiesList(int length, E object) { in CopiesList()
72 @Override public boolean contains(Object object) { in contains()
93 @Override public boolean contains(Object object) { in contains()
114 @Override public boolean contains(Object object) { in contains()
227 SingletonSet(E object) { in SingletonSet()
231 @Override public boolean contains(Object object) { in contains()
267 SingletonList(E object) { in SingletonList()
271 @Override public boolean contains(Object object) { in contains()
DMap.java48 public boolean equals(Object object); in equals()
81 public V setValue(V object); in setValue()
134 public boolean equals(Object object); in equals()
DAbstractCollection.java39 public boolean add(E object) { in add()
126 public boolean contains(Object object) { in contains()
224 public boolean remove(Object object) { in remove()
DHashSet.java94 public boolean add(E object) { in add()
137 public boolean contains(Object object) { in contains()
172 public boolean remove(Object object) { in remove()
DIdentityHashMap.java99 public boolean equals(Object object) { in equals()
122 public V setValue(V object) { in setValue()
219 public boolean remove(Object object) { in remove()
228 public boolean contains(Object object) { in contains()
/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
/libcore/luni/src/main/java/java/security/
DGuardedObject.java31 private final Object object; field in GuardedObject
45 public GuardedObject(Object object, Guard guard) { in GuardedObject()
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
DPatternSyntaxExceptionTest.java118 PatternSyntaxException object = new PatternSyntaxException("TESTDESC", "TESTREGEX", 3); in testSerializationCompatibility() local
123 PatternSyntaxException object = new PatternSyntaxException("TESTDESC", "TESTREGEX", 3); in testSerializationSelf() local
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/
DASN1TypeCollection.java69 protected final void setDefault(Object object, int index) { in setDefault()
85 protected void getValues(Object object, Object[] values) { in getValues()
/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.java144 public int indexOf(E object, int from) { in indexOf()
149 public int indexOf(Object object) { in indexOf()
160 public int lastIndexOf(E object, int to) { in lastIndexOf()
165 public int lastIndexOf(Object object) { in lastIndexOf()
330 public synchronized boolean addIfAbsent(E object) { in addIfAbsent()
525 @Override public int indexOf(Object object) { in indexOf()
533 @Override public int lastIndexOf(Object object) { in lastIndexOf()
541 @Override public boolean contains(Object object) { in contains()
579 @Override public void add(int index, E object) { in add()
588 @Override public boolean add(E object) { in add()
[all …]
/libcore/luni/src/main/java/java/nio/
DSelectorImpl.java204 private void setPollFd(int i, FileDescriptor fd, int events, Object object) { in setPollFd()
343 public boolean equals(Object object) { in equals()
352 public boolean add(E object) { in add()
364 public boolean contains(Object object) { in contains()
380 public boolean remove(Object object) { in remove()

12345