/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | KeyManagerFactoryTest.java | 127 private void test_KeyManagerFactory_getKeyManagers(KeyManagerFactory kmf, boolean empty) in test_KeyManagerFactory_getKeyManagers() argument 135 test_X509KeyManager((X509KeyManager) keyManager, empty, kmf.getAlgorithm()); in test_KeyManagerFactory_getKeyManagers() local 158 private void test_X509KeyManager(X509KeyManager km, boolean empty, String algorithm) in test_X509KeyManager() argument 163 if (empty || keyType == null || keyType.isEmpty()) { in test_X509KeyManager() 169 test_X509KeyManager_alias(km, alias, keyType, false, empty); in test_X509KeyManager() 174 if (empty || keyType == null || keyType.isEmpty()) { in test_X509KeyManager() 180 test_X509KeyManager_alias(km, alias, keyType, false, empty); in test_X509KeyManager() 185 test_X509KeyManager_alias(km, a, null, true, empty); in test_X509KeyManager() 190 test_X509KeyManager_alias(km, alias, keyType, false, empty); in test_X509KeyManager() 194 test_X509KeyManager_alias(km, alias, keyType, false, empty); in test_X509KeyManager() [all …]
|
/libcore/luni/src/main/native/ |
D | canonicalize_path.cpp | 63 while (!left.empty()) { in canonicalize_path() 72 if (nextPathComponent.empty()) { in canonicalize_path() 111 if (!left.empty()) { in canonicalize_path()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/ |
D | AttributeListImplTest.java | 27 private AttributeListImpl empty = new AttributeListImpl(); field in AttributeListImplTest 39 assertEquals(0, empty.getLength()); in testAttributeListImpl() 45 AttributeListImpl ai = new AttributeListImpl(empty); in testAttributeListImplAttributeList() 67 attrs.setAttributeList(empty); in testSetAttributeList() 134 AttributeListImpl ai = new AttributeListImpl(empty); in testGetLength()
|
D | AttributesImplTest.java | 26 private AttributesImpl empty = new AttributesImpl(); field in AttributesImplTest 44 assertEquals(0, empty.getLength()); in testAttributesImpl() 50 AttributesImpl ai = new AttributesImpl(empty); in testAttributesImplAttributes() 68 AttributesImpl ai = new AttributesImpl(empty); in testGetLength() 241 attrs.setAttributes(empty); in testSetAttributes()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | CopyOnWriteArraySetTest.java | 162 CopyOnWriteArraySet empty = new CopyOnWriteArraySet(); in testIsEmpty() local 164 assertTrue(empty.isEmpty()); in testIsEmpty() 173 Collection empty = new CopyOnWriteArraySet(); in testIterator() local 174 assertFalse(empty.iterator().hasNext()); in testIterator() 176 empty.iterator().next(); in testIterator() 250 CopyOnWriteArraySet empty = new CopyOnWriteArraySet(); in testSize() local 253 assertEquals(0, empty.size()); in testSize() 280 Collection empty = new CopyOnWriteArraySet(); in testToArray2() local 284 assertSame(a, empty.toArray(a)); in testToArray2() 288 assertSame(a, empty.toArray(a)); in testToArray2()
|
D | TreeSubMapTest.java | 107 NavigableMap empty = map0(); in testGet() local 108 assertNull(empty.get(one)); in testGet() 115 NavigableMap empty = map0(); in testIsEmpty() local 117 assertTrue(empty.isEmpty()); in testIsEmpty() 204 NavigableMap empty = map0(); 206 empty.putAll(map); 207 assertEquals(5, empty.size()); 208 assertTrue(empty.containsKey(one)); 209 assertTrue(empty.containsKey(two)); 210 assertTrue(empty.containsKey(three)); [all …]
|
D | ConcurrentHashMapTest.java | 211 ConcurrentHashMap empty = new ConcurrentHashMap(); in testGet() local 219 ConcurrentHashMap empty = new ConcurrentHashMap(); in testIsEmpty() local 221 assertTrue(empty.isEmpty()); in testIsEmpty() 333 ConcurrentHashMap empty = new ConcurrentHashMap(); in testPutAll() local 335 empty.putAll(map); in testPutAll() 336 assertEquals(5, empty.size()); in testPutAll() 337 assertTrue(empty.containsKey(one)); in testPutAll() 338 assertTrue(empty.containsKey(two)); in testPutAll() 339 assertTrue(empty.containsKey(three)); in testPutAll() 340 assertTrue(empty.containsKey(four)); in testPutAll() [all …]
|
D | ConcurrentSkipListSubMapTest.java | 109 ConcurrentNavigableMap empty = map0(); in testGet() local 110 assertNull(empty.get(one)); in testGet() 117 ConcurrentNavigableMap empty = map0(); in testIsEmpty() local 119 assertTrue(empty.isEmpty()); in testIsEmpty() 248 ConcurrentNavigableMap empty = map0(); 250 empty.putAll(map); 251 assertEquals(5, empty.size()); 252 assertTrue(empty.containsKey(one)); 253 assertTrue(empty.containsKey(two)); 254 assertTrue(empty.containsKey(three)); [all …]
|
D | CopyOnWriteArrayListTest.java | 230 CopyOnWriteArrayList empty = new CopyOnWriteArrayList(); in testIsEmpty() local 232 assertTrue(empty.isEmpty()); in testIsEmpty() 241 Collection empty = new CopyOnWriteArrayList(); in testIterator() local 242 assertFalse(empty.iterator().hasNext()); in testIterator() 244 empty.iterator().next(); in testIterator() 398 CopyOnWriteArrayList empty = new CopyOnWriteArrayList(); in testSize() local 401 assertEquals(0, empty.size()); in testSize() 428 Collection empty = new CopyOnWriteArrayList(); in testToArray2() local 432 assertSame(a, empty.toArray(a)); in testToArray2() 436 assertSame(a, empty.toArray(a)); in testToArray2()
|
D | TreeMapTest.java | 86 TreeMap empty = new TreeMap(); in testGet() local 87 assertNull(empty.get(one)); in testGet() 94 TreeMap empty = new TreeMap(); in testIsEmpty() local 96 assertTrue(empty.isEmpty()); in testIsEmpty() 316 TreeMap empty = new TreeMap(); 318 empty.putAll(map); 319 assertEquals(5, empty.size()); 320 assertTrue(empty.containsKey(one)); 321 assertTrue(empty.containsKey(two)); 322 assertTrue(empty.containsKey(three)); [all …]
|
D | ConcurrentSkipListMapTest.java | 87 ConcurrentSkipListMap empty = new ConcurrentSkipListMap(); in testGet() local 88 assertNull(empty.get(one)); in testGet() 95 ConcurrentSkipListMap empty = new ConcurrentSkipListMap(); in testIsEmpty() local 97 assertTrue(empty.isEmpty()); in testIsEmpty() 333 ConcurrentSkipListMap empty = new ConcurrentSkipListMap(); 335 empty.putAll(map); 336 assertEquals(5, empty.size()); 337 assertTrue(empty.containsKey(one)); 338 assertTrue(empty.containsKey(two)); 339 assertTrue(empty.containsKey(three)); [all …]
|
D | SynchronousQueueTest.java | 332 Integer[] empty = new Integer[0]; 333 assertTrue(q.containsAll(Arrays.asList(empty))); 345 Integer[] empty = new Integer[0]; 346 assertFalse(q.retainAll(Arrays.asList(empty))); 358 Integer[] empty = new Integer[0]; 359 assertFalse(q.removeAll(Arrays.asList(empty)));
|
D | PriorityQueueTest.java | 248 Integer[] empty = new Integer[0]; in testAddAll5() local 253 assertFalse(q.addAll(Arrays.asList(empty))); in testAddAll5()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | WeakHashMapTest.java | 77 WeakHashMap empty = new WeakHashMap(0); in test_ConstructorI() local 78 assertNull("Empty weakhashmap access", empty.get("nothing")); in test_ConstructorI() 79 empty.put("something", "here"); in test_ConstructorI() 80 assertTrue("cannot get element", empty.get("something") == "here"); in test_ConstructorI() 102 WeakHashMap empty = new WeakHashMap(0, 0.75f); in test_ConstructorIF() local 103 assertNull("Empty hashtable access", empty.get("nothing")); in test_ConstructorIF() 104 empty.put("something", "here"); in test_ConstructorIF() 105 assertTrue("cannot get element", empty.get("something") == "here"); in test_ConstructorIF()
|
D | StackTest.java | 40 assertTrue("New stack answers non-empty", s.empty()); in test_empty() 42 assertTrue("Stack should not be empty but answers empty", !s.empty()); in test_empty() 44 assertTrue("Stack should be empty but answers non-empty", s.empty()); in test_empty() 47 .empty()); in test_empty()
|
D | HashtableTest.java | 71 Hashtable empty = new Hashtable(0); in test_ConstructorI() local 72 assertNull("Empty hashtable access", empty.get("nothing")); in test_ConstructorI() 73 empty.put("something", "here"); in test_ConstructorI() 74 assertTrue("cannot get element", empty.get("something") == "here"); in test_ConstructorI() 85 Hashtable empty = new Hashtable(0, 0.75f); in test_ConstructorIF() local 86 assertNull("Empty hashtable access", empty.get("nothing")); in test_ConstructorIF() 87 empty.put("something", "here"); in test_ConstructorIF() 88 assertTrue("cannot get element", empty.get("something") == "here"); in test_ConstructorIF()
|
D | HashMapTest.java | 123 HashMap empty = new HashMap(0); in test_ConstructorI() local 124 assertNull("Empty hashmap access", empty.get("nothing")); in test_ConstructorI() 125 empty.put("something", "here"); in test_ConstructorI() 126 assertTrue("cannot get element", empty.get("something") == "here"); in test_ConstructorI() 143 HashMap empty = new HashMap(0, 0.75f); in test_ConstructorIF() local 144 assertNull("Empty hashtable access", empty.get("nothing")); in test_ConstructorIF() 145 empty.put("something", "here"); in test_ConstructorIF() 146 assertTrue("cannot get element", empty.get("something") == "here"); in test_ConstructorIF()
|
D | LinkedHashMapTest.java | 90 LinkedHashMap empty = new LinkedHashMap(0); in test_ConstructorI() local 91 assertNull("Empty LinkedHashMap access", empty.get("nothing")); in test_ConstructorI() 92 empty.put("something", "here"); in test_ConstructorI() 93 assertTrue("cannot get element", empty.get("something") == "here"); in test_ConstructorI() 111 LinkedHashMap empty = new LinkedHashMap(0, 0.75f); in test_ConstructorIF() local 112 assertNull("Empty hashtable access", empty.get("nothing")); in test_ConstructorIF() 113 empty.put("something", "here"); in test_ConstructorIF() 114 assertTrue("cannot get element", empty.get("something") == "here"); in test_ConstructorIF()
|
D | IdentityHashMap2Test.java | 80 IdentityHashMap empty = new IdentityHashMap(0); in test_ConstructorI() local 81 assertNull("Empty IdentityHashMap access", empty.get("nothing")); in test_ConstructorI() 82 empty.put("something", "here"); in test_ConstructorI() 83 assertTrue("cannot get element", empty.get("something") == "here"); in test_ConstructorI()
|
D | IdentityHashMapTest.java | 86 IdentityHashMap empty = new IdentityHashMap(0); in test_ConstructorI() local 87 assertNull("Empty IdentityHashMap access", empty.get("nothing")); in test_ConstructorI() 88 empty.put("something", "here"); in test_ConstructorI() 89 assertTrue("cannot get element", empty.get("something") == "here"); in test_ConstructorI()
|
/libcore/json/src/main/java/org/json/ |
D | JSONStringer.java | 174 JSONStringer open(Scope empty, String openBracket) throws JSONException { in open() argument 179 stack.add(empty); in open() 188 JSONStringer close(Scope empty, Scope nonempty, String closeBracket) throws JSONException { in close() argument 190 if (context != nonempty && context != empty) { in close()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/ext/ |
D | Attributes2ImplTest.java | 31 private Attributes2Impl empty = new Attributes2Impl(); field in Attributes2ImplTest 69 attrs.setAttributes(empty); in testSetAttributes() 83 attrs.setAttributes(empty); in testSetAttributes() 190 assertEquals(0, empty.getLength()); in testAttributes2Impl() 208 attrs = new Attributes2Impl(empty); in testAttributes2ImplAttributes()
|
/libcore/include/ |
D | LocalArray.h | 59 bool empty() { return mSize == 0; } in empty() function
|
/libcore/luni/src/main/java/java/util/ |
D | Stack.java | 40 public boolean empty() { in empty() method in Stack
|
/libcore/support/src/test/java/tests/resources/x509/ |
D | create.sh | 94 openssl ca -gencrl -crlhours 70 -keyfile /tmp/cakey.pem -cert /tmp/cacert.pem -out /tmp/crl-empty.p… 95 openssl crl -in /tmp/crl-empty.pem -outform d -out ${DIR}/crl-empty.der 120 …em /tmp/cakey.pem /tmp/crl-rsa.pem /tmp/crl-rsa-dsa.pem /tmp/crl-unsupported.pem /tmp/crl-empty.pem
|