/libcore/luni/src/main/java/java/util/ |
D | AbstractQueue.java | 49 public boolean add(E o) { in add() argument 50 if (null == o) { in add() 53 if (offer(o)) { in add() 95 E o = poll(); in remove() local 96 if (null == o) { in remove() 99 return o; in remove() 110 E o = peek(); in element() local 111 if (null == o) { in element() 114 return o; in element() 122 E o; in clear() local [all …]
|
D | Stack.java | 106 public synchronized int search(Object o) { in search() argument 109 if (o != null) { in search() 111 if (o.equals(dumpArray[i])) { in search()
|
D | PriorityQueue.java | 187 public boolean offer(E o) { in offer() argument 188 if (null == o) { in offer() 192 elements[size] = o; in offer() 243 public boolean remove(Object o) { in remove() argument 244 if (o == null) { in remove() 248 if (o.equals(elements[targetIndex])) { in remove() 269 public boolean add(E o) { in add() argument 270 return offer(o); in add()
|
D | Deque.java | 204 boolean removeFirstOccurrence(Object o); in removeFirstOccurrence() argument 220 boolean removeLastOccurrence(Object o); in removeLastOccurrence() argument
|
/libcore/luni/src/main/java/org/apache/harmony/text/ |
D | BidiRun.java | 49 public boolean equals(Object o) { in equals() argument 50 return o == null || o.getClass() != BidiRun.class ? false in equals() 51 : this.start == ((BidiRun) o).start in equals() 52 && this.limit == ((BidiRun) o).limit in equals() 53 && this.level == ((BidiRun) o).level; in equals()
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | CopyOnWriteArraySet.java | 118 public boolean contains(Object o) { in contains() argument 119 return al.contains(o); in contains() 208 public boolean remove(Object o) { in remove() argument 209 return al.remove(o); in remove() 331 public boolean equals(Object o) { in equals() argument 332 if (o == this) in equals() 334 if (!(o instanceof Set)) in equals() 336 Set<?> set = (Set<?>)(o); in equals()
|
D | CopyOnWriteArrayList.java | 192 E o = (E) it.next(); in addAllAbsent() local 193 if (indexOf(o) < 0 && indexOf(o, toAdd, 0, i) == -1) { in addAllAbsent() 194 toAdd[i++] = o; in addAllAbsent() 256 public boolean contains(Object o) { in contains() argument 257 return indexOf(o) >= 0; in contains() 265 public boolean equals(Object o) { in equals() argument 266 if (o == this) { in equals() 269 if (!(o instanceof List)) { in equals() 272 List l = (List) o; in equals() 322 public int indexOf(Object o) { in indexOf() argument [all …]
|
D | BlockingDeque.java | 380 boolean removeFirstOccurrence(Object o); in removeFirstOccurrence() argument 396 boolean removeLastOccurrence(Object o); in removeLastOccurrence() argument 571 boolean remove(Object o); in remove() argument 584 public boolean contains(Object o); in contains() argument
|
D | ConcurrentSkipListSet.java | 193 public boolean contains(Object o) { in contains() argument 194 return m.containsKey(o); in contains() 229 public boolean remove(Object o) { in remove() argument 230 return m.remove(o, Boolean.TRUE); in remove() 273 public boolean equals(Object o) { in equals() argument 275 if (o == this) in equals() 277 if (!(o instanceof Set)) in equals() 279 Collection<?> c = (Collection<?>) o; in equals()
|
D | ConcurrentLinkedDeque.java | 445 Node<E> o = null, p = next; in unlinkFirst() local 461 o.lazySetNext(o); in unlinkFirst() 462 o.lazySetPrev(prevTerminator()); in unlinkFirst() 471 o = p; in unlinkFirst() 482 Node<E> o = null, p = prev; in unlinkLast() local 498 o.lazySetPrev(o); in unlinkLast() 499 o.lazySetNext(nextTerminator()); in unlinkLast() 508 o = p; in unlinkLast() 872 public boolean removeFirstOccurrence(Object o) { in removeFirstOccurrence() argument 873 checkNotNull(o); in removeFirstOccurrence() [all …]
|
/libcore/luni/src/main/java/java/lang/reflect/ |
D | Field.java | 850 private native Object getField(Object o, Class<?> declaringClass, Class<?> type, int slot, in getField() argument 853 private native double getDField(Object o, Class<?> declaringClass, Class<?> type, int slot, in getDField() argument 856 private native int getIField(Object o, Class<?> declaringClass, Class<?> type, int slot, in getIField() argument 859 private native long getJField(Object o, Class<?> declaringClass, Class<?> type, int slot, in getJField() argument 862 private native boolean getZField(Object o, Class<?> declaringClass, Class<?> type, int slot, in getZField() argument 865 private native float getFField(Object o, Class<?> declaringClass, Class<?> type, int slot, in getFField() argument 868 private native char getCField(Object o, Class<?> declaringClass, Class<?> type, int slot, in getCField() argument 871 private native short getSField(Object o, Class<?> declaringClass, Class<?> type, int slot, in getSField() argument 874 private native byte getBField(Object o, Class<?> declaringClass, Class<?> type, int slot, in getBField() argument 877 private native void setField(Object o, Class<?> declaringClass, Class<?> type, int slot, in setField() argument [all …]
|
/libcore/luni/src/main/java/javax/security/auth/ |
D | Subject.java | 570 for (SST o : s) { in SecureSet() 571 verifyElement(o); in SecureSet() 572 if (trust || !elements.contains(o)) { in SecureSet() 573 elements.add(o); in SecureSet() 579 private void verifyElement(Object o) { in verifyElement() argument 581 if (o == null) { in verifyElement() 584 if (permission == _PRINCIPALS && !(Principal.class.isAssignableFrom(o.getClass()))) { in verifyElement() 594 public boolean add(SST o) { in add() argument 596 verifyElement(o); in add() 601 if (!elements.contains(o)) { in add() [all …]
|
/libcore/luni/src/main/java/org/apache/harmony/security/utils/ |
D | ObjectIdentifier.java | 130 public boolean equals(Object o) { in equals() argument 131 if (this == o) { in equals() 134 if (o == null || this.getClass() != o.getClass()) { in equals() 137 return Arrays.equals(oid, ((ObjectIdentifier) o).oid); in equals()
|
/libcore/luni/src/main/java/java/lang/ |
D | Object.java | 164 private native Object internalClone(Cloneable o); in internalClone() argument 189 public boolean equals(Object o) { in equals() argument 190 return this == o; in equals()
|
D | Boolean.java | 104 public boolean equals(Object o) { in equals() argument 105 return (o == this) in equals() 106 || ((o instanceof Boolean) && (value == ((Boolean) o).value)); in equals()
|
/libcore/luni/src/test/java/tests/api/java/util/ |
D | AbstractSequentialListTest.java | 83 public void add(Object o) { in add() argument 114 public void set(Object o) { in set() argument 121 public void add(E o) { in add() argument 122 if (o.equals(wrongElement)) throw new IllegalArgumentException(); in add() 123 if (o == null) throw new NullPointerException(); in add() 153 public void set(E o) { in set() argument 344 public void add(Object o) { in test_getI() 374 public void set(Object o) { in test_getI() 479 public void add(Object o) { in test_removeI() 510 public void set(Object o) { in test_removeI() [all …]
|
D | AbstractQueueTest.java | 80 public boolean offer(E o) { in offer() argument 81 if (null == o) { in offer() 89 elements[size++] = o; in offer() 142 Object o = new Object(); in test_addLE_Full() local 145 queue.add(o); in test_addLE_Full() 149 queue.add(o); in test_addLE_Full() 166 Object o = new Object(); in test_addLE() local 169 queue.add(o); in test_addLE()
|
/libcore/luni/src/test/java/org/apache/harmony/nio/tests/java/nio/ |
D | ByteOrderTest.java | 53 ByteOrder o = ByteOrder.nativeOrder(); in testNativeOrder() local 54 assertTrue(o == ByteOrder.BIG_ENDIAN || o == ByteOrder.LITTLE_ENDIAN); in testNativeOrder()
|
/libcore/luni/src/main/java/org/apache/xml/serializer/ |
D | NamespaceMappings.java | 396 public Object push(Object o) { in push() argument 405 m_stack[top] = o; in push() 406 return o; in push() 410 Object o; in pop() local 412 o = m_stack[top]; in pop() 417 o = null; in pop() 418 return o; in pop() 422 Object o; in peek() local 424 o = m_stack[top]; in peek() 427 o = null; in peek() [all …]
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
D | ObjectIdentifier.java | 87 public boolean equals(Object o) { in equals() argument 88 if (this == o) { in equals() 91 if (o == null || this.getClass() != o.getClass()) { in equals() 94 return Arrays.equals(oid, ((ObjectIdentifier) o).oid); in equals()
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
D | ProtocolVersion.java | 150 public boolean equals(Object o) { in equals() argument 151 if (o instanceof ProtocolVersion in equals() 152 && this.version[0] == ((ProtocolVersion) o).version[0] in equals() 153 && this.version[1] == ((ProtocolVersion) o).version[1]) { in equals()
|
/libcore/luni/src/main/java/java/security/ |
D | Provider.java | 478 Object o = null; in getService() local 480 o = serviceTable.get(type, alg); in getService() 482 if (o == null && aliasTable != null) { in getService() 483 o = aliasTable.get(type, alg); in getService() 485 if (o == null) { in getService() 488 if (o == null && propertyServiceTable != null) { in getService() 489 o = propertyServiceTable.get(type, alg); in getService() 491 if (o == null && propertyAliasTable != null) { in getService() 492 o = propertyAliasTable.get(type, alg); in getService() 495 if (o != null) { in getService() [all …]
|
/libcore/luni/src/main/java/org/apache/harmony/luni/lang/reflect/ |
D | ImplForWildcard.java | 44 public boolean equals(Object o) { in equals() argument 45 if(!(o instanceof WildcardType)) { in equals() 48 WildcardType that = (WildcardType) o; in equals()
|
/libcore/luni/src/main/java/java/security/spec/ |
D | ECFieldF2m.java | 183 ECFieldF2m o = (ECFieldF2m)obj; in equals() local 185 if (this.m == o.m) { in equals() 188 if (o.rp == null) { in equals() 196 return Arrays.equals(this.ks, o.ks); in equals()
|
/libcore/luni/src/main/java/java/text/ |
D | RuleBasedBreakIterator.java | 168 public boolean equals(Object o) { in equals() argument 169 if (!(o instanceof RuleBasedBreakIterator)) { in equals() 172 return wrapped.equals(((RuleBasedBreakIterator) o).wrapped); in equals()
|