/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | ProviderServiceTest.java | 46 new Provider.Service(null, "type", "algorithm", "className", null, in testService() 47 null); in testService() 52 new Provider.Service(p, null, "algorithm", "className", null, null); in testService() 57 new Provider.Service(p, "type", null, "className", null, null); in testService() 62 new Provider.Service(p, "type", "algorithm", null, null, null); in testService() 68 "className", null, null); in testService() 90 "className", null, null); in testGetAttribute() 92 s.getAttribute(null); in testGetAttribute() 97 if (s.getAttribute("aaa") != null) { in testGetAttribute() 106 s = new Provider.Service(p, "type", "algorithm", "className", null, hm); in testGetAttribute() [all …]
|
D | KeyStore3Test.java | 79 mockKeyStore.load(null); in test_load() 84 mockKeyStore.store(null); in test_store() 91 mockKeyStore.load(null, null); in test_store() 92 mockKeyStore.store(null); in test_store() 96 mockKeyStore.load(null, null); in test_setKeyEntry_null() 98 mockKeyStore.setKeyEntry(null, null, null, null); in test_setKeyEntry_null() 102 mockKeyStore.load(null, null); in test_setKeyEntry_key_is_null() 104 mockKeyStore.setKeyEntry("Alias", null, null, new Certificate[]{certificate}); in test_setKeyEntry_key_is_null() 108 mockKeyStore.load(null, null); in test_setKeyEntry_key_is_private() 111 mockKeyStore.setKeyEntry("Alias", key, null, null); in test_setKeyEntry_key_is_private() [all …]
|
/libcore/luni/src/main/java/java/security/cert/ |
D | X509CertSelector.java | 132 this.issuerName = null; in setIssuer() 133 this.issuerBytes = null; in setIssuer() 158 if (issuerName == null) { in setIssuer() 159 this.issuer = null; in setIssuer() 160 this.issuerName = null; in setIssuer() 161 this.issuerBytes = null; in setIssuer() 167 this.issuerBytes = null; in setIssuer() 182 if (issuer == null) { in getIssuerAsString() 183 return null; in getIssuerAsString() 185 if (issuerName == null) { in getIssuerAsString() [all …]
|
D | TrustAnchor.java | 65 if (trustedCert == null) { in TrustAnchor() 70 if (nameConstraints != null) { in TrustAnchor() 76 this.nameConstraints = null; in TrustAnchor() 78 this.caName = null; in TrustAnchor() 79 this.caPrincipal = null; in TrustAnchor() 80 this.caPublicKey = null; in TrustAnchor() 104 if (caName == null) { in TrustAnchor() 108 if (caPublicKey == null) { in TrustAnchor() 113 if (nameConstraints != null) { in TrustAnchor() 119 this.nameConstraints = null; in TrustAnchor() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | X509ExtendedKeyManagerTest.java | 45 return null; in chooseClientAlias() 53 return null; in chooseServerAlias() 61 return null; in getCertificateChain() 69 return null; in getClientAliases() 77 return null; in getPrivateKey() 85 return null; in getServerAliases() 107 if (km.chooseEngineClientAlias(null, null, null) != null) { in test_chooseEngineClientAlias() 119 if (km.chooseEngineServerAlias(null, null, null) != null) { in test_chooseEngineServerAlias() 134 return null; in chooseClientAlias() 143 return null; in chooseServerAlias() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/ |
D | AttributesImplTest.java | 59 ai = new AttributesImpl(null); in testAttributesImplAttributes() 89 assertEquals(null, multi.getURI(-1)); in testGetURI() 90 assertEquals(null, multi.getURI(5)); in testGetURI() 102 assertEquals(null, multi.getLocalName(-1)); in testGetLocalName() 103 assertEquals(null, multi.getLocalName(5)); in testGetLocalName() 115 assertEquals(null, multi.getQName(-1)); in testGetQName() 116 assertEquals(null, multi.getQName(5)); in testGetQName() 128 assertEquals(null, multi.getType(-1)); in testGetTypeInt() 129 assertEquals(null, multi.getType(5)); in testGetTypeInt() 141 assertEquals(null, multi.getValue(-1)); in testGetValueInt() [all …]
|
/libcore/luni/src/main/java/javax/crypto/ |
D | Mac.java | 117 return getMac(algorithm, null); in getInstance() 142 if (provider == null || provider.isEmpty()) { in getInstance() 146 if (impProvider == null) { in getInstance() 173 if (provider == null) { in getInstance() 181 if (algorithm == null) { in getMac() 185 if (tryAlgorithm(null, provider, algorithm) == null) { in getMac() 186 if (provider == null) { in getMac() 193 return new Mac(null, provider, algorithm); in getMac() 197 if (provider != null) { in tryAlgorithm() 199 if (service == null) { in tryAlgorithm() [all …]
|
D | KeyAgreement.java | 114 return getKeyAgreement(algorithm, null); in getInstance() 138 if (provider == null || provider.isEmpty()) { in getInstance() 142 if (impProvider == null) { in getInstance() 169 if (provider == null) { in getInstance() 177 if (algorithm == null) { in getKeyAgreement() 181 if (tryAlgorithm(null, provider, algorithm) == null) { in getKeyAgreement() 182 if (provider == null) { in getKeyAgreement() 189 return new KeyAgreement(null, provider, algorithm); in getKeyAgreement() 193 if (provider != null) { in tryAlgorithm() 195 if (service == null) { in tryAlgorithm() [all …]
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | LinkedTransferQueue.java | 463 UNSAFE.putObject(this, waiterOffset, null); in forgetContents() 472 return (x == this) || ((x == null) == isData); in isMatched() 479 return !isData && item == null; in isUnmatchedRequest() 490 return d != haveData && (x = item) != this && (x != null) == d; in cannotPrecede() 499 if (x != null && x != this && casItem(x, null)) { in tryMatchData() 576 if (haveData && (e == null)) in xfer() 578 Node s = null; // the node to append, if needed in xfer() 583 for (Node h = head, p = h; p != null;) { // find & match first node in xfer() 586 if (item != p && (item != null) == isData) { // unmatched in xfer() 592 if (head == h && casHead(h, n == null ? q : n)) { in xfer() [all …]
|
D | ConcurrentLinkedQueue.java | 224 head = tail = new Node<E>(null); in ConcurrentLinkedQueue() 237 Node<E> h = null, t = null; in ConcurrentLinkedQueue() 241 if (h == null) in ConcurrentLinkedQueue() 248 if (h == null) in ConcurrentLinkedQueue() 249 h = t = new Node<E>(null); in ConcurrentLinkedQueue() 300 if (q == null) { in offer() 302 if (p.casNext(null, newNode)) { in offer() 330 if (item != null && p.casItem(item, null)) { in poll() 334 updateHead(h, ((q = p.next) != null) ? q : p); in poll() 337 else if ((q = p.next) == null) { in poll() [all …]
|
D | ConcurrentLinkedDeque.java | 331 if ((q = p.prev) != null && in linkFirst() 332 (q = (p = q).prev) != null) in linkFirst() 341 if (p.casPrev(null, newNode)) { in linkFirst() 364 if ((q = p.next) != null && in linkLast() 365 (q = (p = q).next) != null) in linkLast() 374 if (p.casNext(null, newNode)) { in linkLast() 400 if (prev == null) { in unlink() 402 } else if (next == null) { in unlink() 430 if (p.item != null) { in unlink() 436 if (q == null) { in unlink() [all …]
|
D | ConcurrentHashMap.java | 448 (k = (e = (Map.Entry<?,?>)o).getKey()) != null && in equals() 449 (v = e.getValue()) != null && in equals() 459 if (k != null) { in find() 463 ((ek = e.key) == k || (ek != null && k.equals(ek)))) in find() 465 } while ((e = e.next) != null); in find() 467 return null; in find() 517 if ((ts = c.getGenericInterfaces()) != null) { in comparableClassFor() 522 (as = p.getActualTypeArguments()) != null && in comparableClassFor() 528 return null; in comparableClassFor() 537 return (x == null || x.getClass() != kc ? 0 : in compareComparables() [all …]
|
/libcore/luni/src/main/java/java/security/ |
D | Provider.java | 156 if (serviceTable != null) { in clear() 159 if (propertyServiceTable != null) { in clear() 162 if (aliasTable != null) { in clear() 165 if (propertyAliasTable != null) { in clear() 168 changedProperties = null; in clear() 195 if (changedProperties == null) { in myPutAll() 210 if (changedProperties.remove(key) == null) { in myPutAll() 251 return null; in put() 257 if (changedProperties != null && changedProperties.remove(key) == null) { in put() 260 if (changedProperties == null) { in put() [all …]
|
/libcore/luni/src/main/java/java/net/ |
D | URI.java | 215 if (scheme != null) { in URI() 219 if (schemeSpecificPart != null) { in URI() 222 if (fragment != null) { in URI() 237 if (scheme == null && userInfo == null && host == null && path == null in URI() 238 && query == null && fragment == null) { in URI() 243 if (scheme != null && path != null && !path.isEmpty() && path.charAt(0) != '/') { in URI() 248 if (scheme != null) { in URI() 253 if (userInfo != null || host != null || port != -1) { in URI() 257 if (userInfo != null) { in URI() 262 if (host != null) { in URI() [all …]
|
D | InetSocketAddress.java | 41 this.addr = null; in InetSocketAddress() 42 this.hostname = null; in InetSocketAddress() 55 this((InetAddress) null, port); in InetSocketAddress() 73 this.addr = (address == null) ? Inet4Address.ANY : address; in InetSocketAddress() 74 this.hostname = null; in InetSocketAddress() 98 if (hostname == null || port < 0 || port > 65535) { in InetSocketAddress() 102 InetAddress addr = null; in InetSocketAddress() 106 hostname = null; in InetSocketAddress() 153 return (addr != null) ? addr.getHostName() : hostname; in getHostName() 162 return (hostname != null) ? hostname : addr.getHostAddress(); in getHostString() [all …]
|
D | URL.java | 111 if (streamHandlerFactory != null) { in setURLStreamHandlerFactory() 125 this((URL) null, spec, null); in URL() local 137 this(context, spec, null); in URL() 151 if (spec == null) { in URL() 154 if (handler != null) { in URL() 160 int schemeSpecificPartStart = protocol != null ? (protocol.length() + 1) : 0; in URL() 163 if (protocol != null && context != null && !protocol.equals(context.protocol)) { in URL() 164 context = null; in URL() 168 if (context != null) { in URL() 172 if (streamHandler == null) { in URL() [all …]
|
/libcore/luni/src/main/java/java/util/jar/ |
D | JarEntry.java | 59 parentJar = null; in JarEntry() 69 this(entry, null); in JarEntry() 102 if (attributes != null || parentJar == null) { in getAttributes() 106 if (manifest == null) { in getAttributes() 107 return null; in getAttributes() 126 if (parentJar == null) { in getCertificates() 127 return null; in getCertificates() 130 if (jarVerifier == null) { in getCertificates() 131 return null; in getCertificates() 135 if (certChains == null) { in getCertificates() [all …]
|
/libcore/luni/src/main/java/javax/xml/transform/dom/ |
D | DOMResult.java | 51 setNode(null); in DOMResult() 52 setNextSibling(null); in DOMResult() 53 setSystemId(null); in DOMResult() 73 setNextSibling(null); in DOMResult() 74 setSystemId(null); in DOMResult() 93 setNextSibling(null); in DOMResult() 129 if (nextSibling != null) { in DOMResult() 131 if (node == null) { in DOMResult() 143 setSystemId(null); in DOMResult() 178 if (nextSibling != null) { in DOMResult() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | ObjectsTest.java | 28 assertEquals(0, Objects.compare(null, null, String.CASE_INSENSITIVE_ORDER)); in test_compare() 41 assertTrue(Objects.deepEquals(null, null)); in test_deepEquals() 42 assertFalse(Objects.deepEquals(xs, null)); in test_deepEquals() 43 assertFalse(Objects.deepEquals(null, xs)); in test_deepEquals() 57 assertTrue(Objects.equals(null, null)); in test_equals() 58 assertFalse(Objects.equals(h1, null)); in test_equals() 59 assertFalse(Objects.equals(null, h1)); in test_equals() 66 assertEquals(31, Objects.hash((Object) null)); in test_hash() 67 assertEquals(0, Objects.hash((Object[]) null)); in test_hash() 69 assertEquals(23656287, Objects.hash("hello", "world", null)); in test_hash() [all …]
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | TestCertUtils.java | 112 private static Provider provider = null; 129 if (provider == null) { in install_test_x509_factory() 137 if (provider != null) { in uninstall_test_x509_factory() 139 provider = null; in uninstall_test_x509_factory() 215 if( certs == null ) { in toString() 239 if (certs == null) { in writeObject() 314 private String diff = null; 368 if (obj == null || !(obj instanceof TestCertificate)) { in equals() 375 if (this.diff == null) { in equals() 376 return that.diff == null; in equals() [all …]
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | IntrinsicTest.java | 57 Math.class.getMethod("abs", int.class).invoke(null, 1); in testMath_abs() 59 Math.class.getMethod("abs", long.class).invoke(null, 1L); in testMath_abs() 61 Math.class.getMethod("abs", float.class).invoke(null, 1.0f); in testMath_abs() 63 Math.class.getMethod("abs", double.class).invoke(null, 1.0); in testMath_abs() 68 StrictMath.class.getMethod("abs", int.class).invoke(null, 1); in testStrictMath_abs() 70 StrictMath.class.getMethod("abs", long.class).invoke(null, 1L); in testStrictMath_abs() 72 StrictMath.class.getMethod("abs", float.class).invoke(null, 1.0f); in testStrictMath_abs() 74 StrictMath.class.getMethod("abs", double.class).invoke(null, 1.0); in testStrictMath_abs() 79 StrictMath.class.getMethod("min", int.class, int.class).invoke(null, 1, 2); in testStrictMath_min() 84 StrictMath.class.getMethod("max", int.class, int.class).invoke(null, 1, 2); in testStrictMath_max() [all …]
|
/libcore/luni/src/test/java/libcore/xml/ |
D | XmlPullParserFactoryTest.java | 35 XmlPullParserFactory factory = XmlPullParserFactory.newInstance(null, null); in testDefaultNewInstance() 50 TestXmlPullParserFactory tf = new TestXmlPullParserFactory(null, null); in testOverriding_emptyClassList() 90 … new String[] { "libcore.xml.XmlPullParserFactoryTest$XmlParserThatHatesAllFeatures" }, null); in testSetFeature_setsFeatureOnlyIfTrue() 108 if (parserClassList != null) { in TestXmlPullParserFactory() 114 if (serializerClassList != null) { in TestXmlPullParserFactory() 152 return null; in getProperty() 171 return null; in getPrefix() 179 return null; in getNamespace() 183 return null; in getName() 187 return null; in startTag() [all …]
|
/libcore/luni/src/main/java/java/util/logging/ |
D | StreamHandler.java | 64 initProperties("INFO", null, "java.util.logging.SimpleFormatter", null); in StreamHandler() 65 this.os = null; in StreamHandler() 66 this.writer = null; in StreamHandler() 91 this.os = null; in StreamHandler() 92 this.writer = null; in StreamHandler() 109 if (os == null) { in StreamHandler() 112 if (formatter == null) { in StreamHandler() 122 if (getEncoding() == null) { in initializeWriter() 169 if (os == null) { in setOutputStream() 174 this.writer = null; in setOutputStream() [all …]
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
D | ImportNode.java | 80 factory = null; in tearDown() 81 builder = null; in tearDown() 120 assertURIEquals("systemId", null, null, null, "staffNS.dtd", null, in _testImportNode1() 121 null, null, null, system); in _testImportNode1() 151 assertURIEquals("dtdSystemId", null, null, null, "staffNS.dtd", null, in testImportNode2() 152 null, null, null, system); in testImportNode2() 173 assertURIEquals("systemId", null, null, null, "staffNS.dtd", null, in testImportNode3() 174 null, null, null, system); in testImportNode3() 221 assertURIEquals("dtdSystemId", null, null, null, "staffNS.dtd", null, in testImportNode5() 222 null, null, null, system); in testImportNode5() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | PipedReaderTest.java | 85 preader = new PipedReader(null, -1); in test_Constructor_LPipedWriter_I() 92 preader = new PipedReader(null, 0); in test_Constructor_LPipedWriter_I() 124 char[] c = null; in test_close() 139 char[] c = null; in test_connectLjava_io_PipedWriter() 162 char[] c = null; in test_read() 178 char[] c = null; in test_read$CII() 203 PipedReader obj = null; in test_read$CII_ExceptionPriority() 214 PipedReader obj = null; in test_read$CII_ExceptionPriority2() 225 PipedReader obj = null; in test_read$CII_ExceptionPriority3() 238 pr.read(null, -1, 1); in test_read$CII_ExceptionPriority4() [all …]
|