Home
last modified time | relevance | path

Searched refs:empty (Results 1 – 17 of 17) sorted by relevance

/libcore/luni/src/test/java/libcore/javax/net/ssl/
DKeyManagerFactoryTest.java127 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/
Drealpath.cpp63 while (!left.empty()) { in realpath()
72 if (nextPathComponent.empty()) { in realpath()
111 if (!left.empty()) { in realpath()
Dorg_apache_harmony_xml_ExpatParser.cpp1309 static void ExpatParser_staticInitialize(JNIEnv* env, jobject classObject, jstring empty) { in ExpatParser_staticInitialize() argument
1367 emptyString = (jstring) env->NewGlobalRef(empty); in ExpatParser_staticInitialize()
/libcore/luni/src/test/java/tests/api/org/xml/sax/helpers/
DAttributeListImplTest.java27 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()
DAttributesImplTest.java26 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/luni/src/test/java/tests/api/java/util/
DStackTest.java40 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()
DWeakHashMapTest.java75 WeakHashMap empty = new WeakHashMap(0); in test_ConstructorI() local
76 assertNull("Empty weakhashmap access", empty.get("nothing")); in test_ConstructorI()
77 empty.put("something", "here"); in test_ConstructorI()
78 assertTrue("cannot get element", empty.get("something") == "here"); in test_ConstructorI()
100 WeakHashMap empty = new WeakHashMap(0, 0.75f); in test_ConstructorIF() local
101 assertNull("Empty hashtable access", empty.get("nothing")); in test_ConstructorIF()
102 empty.put("something", "here"); in test_ConstructorIF()
103 assertTrue("cannot get element", empty.get("something") == "here"); in test_ConstructorIF()
DHashMapTest.java78 HashMap empty = new HashMap(0); in test_ConstructorI() local
79 assertNull("Empty hashmap access", empty.get("nothing")); in test_ConstructorI()
80 empty.put("something", "here"); in test_ConstructorI()
81 assertTrue("cannot get element", empty.get("something") == "here"); in test_ConstructorI()
98 HashMap empty = new HashMap(0, 0.75f); in test_ConstructorIF() local
99 assertNull("Empty hashtable access", empty.get("nothing")); in test_ConstructorIF()
100 empty.put("something", "here"); in test_ConstructorIF()
101 assertTrue("cannot get element", empty.get("something") == "here"); in test_ConstructorIF()
DHashtableTest.java74 Hashtable empty = new Hashtable(0); in test_ConstructorI() local
75 assertNull("Empty hashtable access", empty.get("nothing")); in test_ConstructorI()
76 empty.put("something", "here"); in test_ConstructorI()
77 assertTrue("cannot get element", empty.get("something") == "here"); in test_ConstructorI()
95 Hashtable empty = new Hashtable(0, 0.75f); in test_ConstructorIF() local
96 assertNull("Empty hashtable access", empty.get("nothing")); in test_ConstructorIF()
97 empty.put("something", "here"); in test_ConstructorIF()
98 assertTrue("cannot get element", empty.get("something") == "here"); in test_ConstructorIF()
DLinkedHashMapTest.java90 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()
DIdentityHashMapTest.java85 IdentityHashMap empty = new IdentityHashMap(0); in test_ConstructorI() local
86 assertNull("Empty IdentityHashMap access", empty.get("nothing")); in test_ConstructorI()
87 empty.put("something", "here"); in test_ConstructorI()
88 assertTrue("cannot get element", empty.get("something") == "here"); in test_ConstructorI()
/libcore/json/src/main/java/org/json/
DJSONStringer.java174 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/include/
DLocalArray.h59 bool empty() { return mSize == 0; } in empty() function
/libcore/luni/src/test/java/tests/api/org/xml/sax/ext/
DAttributes2ImplTest.java31 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/luni/src/main/java/java/util/
DStack.java40 public boolean empty() { in empty() method in Stack
/libcore/luni/src/test/java/org/apache/harmony/xnet/provider/jsse/
DNativeCryptoTest.java154 byte[] empty = new byte[0]; in test_SSL_CTX_set_session_id_context()
156 NativeCrypto.SSL_CTX_set_session_id_context(NULL, empty); in test_SSL_CTX_set_session_id_context()
166 NativeCrypto.SSL_CTX_set_session_id_context(c, empty); in test_SSL_CTX_set_session_id_context()
/libcore/expectations/
Dknownfailures.txt460 …description: "If no schema is associated: returns empty string where actually null be returned?. T…