Home
last modified time | relevance | path

Searched refs:null (Results 1 – 25 of 2096) sorted by relevance

12345678910>>...84

/libcore/ojluni/src/lambda/java/java/lang/invoke/
DMethodType.java35 return null; in methodType()
40 return null; in methodType()
44 MethodType methodType(Class<?> rtype, Class<?> ptype0, Class<?>... ptypes) { return null; } in methodType()
47 MethodType methodType(Class<?> rtype) { return null; } in methodType()
50 MethodType methodType(Class<?> rtype, Class<?> ptype0) { return null; } in methodType()
53 MethodType methodType(Class<?> rtype, MethodType ptypes) { return null; } in methodType()
56 MethodType genericMethodType(int objectArgCount, boolean finalArray) { return null; } in genericMethodType()
59 MethodType genericMethodType(int objectArgCount) { return null; } in genericMethodType()
61 public MethodType changeParameterType(int num, Class<?> nptype) { return null; } in changeParameterType()
63 public MethodType insertParameterTypes(int num, Class<?>... ptypesToInsert) { return null; } in insertParameterTypes()
[all …]
DMethodHandles.java36 public static Lookup lookup() { return null; } in lookup()
38 public static Lookup publicLookup() { return null; } in publicLookup()
41 reflectAs(Class<T> expected, MethodHandle target) { return null; } in reflectAs()
53 public Class<?> lookupClass() { return null; } in lookupClass()
57 public Lookup in(Class<?> requestedLookupClass) { return null; } in in()
60 …String name, MethodType type) throws NoSuchMethodException, IllegalAccessException { return null; } in findStatic()
62 …String name, MethodType type) throws NoSuchMethodException, IllegalAccessException { return null; } in findVirtual()
64 …ass<?> refc, MethodType type) throws NoSuchMethodException, IllegalAccessException { return null; } in findConstructor()
67 … Class<?> specialCaller) throws NoSuchMethodException, IllegalAccessException { return null; } in findSpecial()
69 …c, String name, Class<?> type) throws NoSuchFieldException, IllegalAccessException { return null; } in findGetter()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DProviderServiceTest.java47 new Provider.Service(null, "type", "algorithm", "className", null, in testService()
48 null); in testService()
53 new Provider.Service(p, null, "algorithm", "className", null, null); in testService()
58 new Provider.Service(p, "type", null, "className", null, null); in testService()
63 new Provider.Service(p, "type", "algorithm", null, null, null); in testService()
69 "className", null, null); in testService()
91 "className", null, null); in testGetAttribute()
93 s.getAttribute(null); in testGetAttribute()
98 if (s.getAttribute("aaa") != null) { in testGetAttribute()
107 s = new Provider.Service(p, "type", "algorithm", "className", null, hm); in testGetAttribute()
[all …]
DKeyStore3Test.java79 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/util/concurrent/
DCompletableFuture.java195 return U.compareAndSwapObject(this, RESULT, null, r); in internalComplete()
222 static final AltResult NIL = new AltResult(null);
226 return U.compareAndSwapObject(this, RESULT, null, in completeNull()
232 return (t == null) ? NIL : t; in encodeValue()
237 return U.compareAndSwapObject(this, RESULT, null, in completeValue()
238 (t == null) ? NIL : t); in completeValue()
252 return U.compareAndSwapObject(this, RESULT, null, in completeThrowable()
280 return U.compareAndSwapObject(this, RESULT, null, in completeThrowable()
290 return (x == null) ? (t == null) ? NIL : t : encodeThrowable(x); in encodeOutcome()
300 (x = ((AltResult)r).ex) != null && in encodeRelay()
[all …]
DLinkedTransferQueue.java466 U.putObject(this, WAITER, null); in forgetContents()
475 return (x == this) || ((x == null) == isData); in isMatched()
482 return !isData && item == null; in isUnmatchedRequest()
493 return d != haveData && (x = item) != this && (x != null) == d; in cannotPrecede()
502 if (x != null && x != this && casItem(x, null)) { in tryMatchData()
571 if (haveData && (e == null)) in xfer()
573 Node s = null; // the node to append, if needed in xfer()
578 for (Node h = head, p = h; p != null;) { // find & match first node in xfer()
581 if (item != p && (item != null) == isData) { // unmatched in xfer()
587 if (head == h && casHead(h, n == null ? q : n)) { in xfer()
[all …]
DConcurrentLinkedDeque.java328 if ((q = p.prev) != null && in linkFirst()
329 (q = (p = q).prev) != null) in linkFirst()
338 if (p.casPrev(null, newNode)) { in linkFirst()
360 if ((q = p.next) != null && in linkLast()
361 (q = (p = q).next) != null) in linkLast()
370 if (p.casNext(null, newNode)) { in linkLast()
396 if (prev == null) { in unlink()
398 } else if (next == null) { in unlink()
426 if (p.item != null) { in unlink()
432 if (q == null) { in unlink()
[all …]
DConcurrentLinkedQueue.java211 head = tail = newNode(null); in ConcurrentLinkedQueue()
224 Node<E> h = null, t = null; in ConcurrentLinkedQueue()
227 if (h == null) in ConcurrentLinkedQueue()
234 if (h == null) in ConcurrentLinkedQueue()
235 h = t = newNode(null); in ConcurrentLinkedQueue()
286 if (q == null) { in offer()
288 if (casNext(p, null, newNode)) { in offer()
316 if (item != null && casItem(p, item, null)) { in poll()
320 updateHead(h, ((q = p.next) != null) ? q : p); in poll()
323 else if ((q = p.next) == null) { in poll()
[all …]
DConcurrentSkipListMap.java363 keySet = null; in initialize()
364 entrySet = null; in initialize()
365 values = null; in initialize()
366 descendingMap = null; in initialize()
367 head = new HeadIndex<K,V>(new Node<K,V>(null, BASE_HEADER, null), in initialize()
368 null, null, 1); in initialize()
409 this.key = null; in Node()
472 if (f == null || f.value != f) // not already marked in helpDelete()
488 return null; in getValidValue()
500 if (v == null || v == this || v == BASE_HEADER) in createSnapshot()
[all …]
DLinkedBlockingDeque.java172 if (e == null) in LinkedBlockingDeque()
195 if (last == null) in linkFirst()
214 if (first == null) in linkLast()
229 if (f == null) in unlinkFirst()
230 return null; in unlinkFirst()
233 f.item = null; in unlinkFirst()
236 if (n == null) in unlinkFirst()
237 last = null; in unlinkFirst()
239 n.prev = null; in unlinkFirst()
251 if (l == null) in unlinkLast()
[all …]
/libcore/ojluni/src/main/java/java/sql/
DBatchUpdateException.java83 …this.updateCounts = (updateCounts == null) ? null : Arrays.copyOf(updateCounts, updateCounts.leng… in BatchUpdateException()
136 this(reason, null, 0, updateCounts); in BatchUpdateException()
159 this(null, null, 0, updateCounts); in BatchUpdateException()
174 this(null, null, 0, null); in BatchUpdateException()
192 this((cause == null ? null : cause.toString()), null, 0, null, cause); in BatchUpdateException()
218 this((cause == null ? null : cause.toString()), null, 0, updateCounts, cause); in BatchUpdateException()
242 this(reason, null, 0, updateCounts, cause); in BatchUpdateException()
295 …this.updateCounts = (updateCounts == null) ? null : Arrays.copyOf(updateCounts, updateCounts.leng… in BatchUpdateException()
329 return (updateCounts == null) ? null : Arrays.copyOf(updateCounts, updateCounts.length); in getUpdateCounts()
/libcore/luni/src/test/java/libcore/java/util/
DMapDefaultMethodTester.java43 m.put(1, null); in test_getOrDefault()
44 assertEquals(null, m.getOrDefault(1, -1.0)); in test_getOrDefault()
49 m.put(null, 1.0); in test_getOrDefault()
50 assertEquals(1.0, m.getOrDefault(null, -1.0)); in test_getOrDefault()
65 m.forEach(null); in test_forEach()
82 m.put(1, null); in test_putIfAbsent()
87 assertNull(m.putIfAbsent(1, null)); in test_putIfAbsent()
92 m.putIfAbsent(1, null); in test_putIfAbsent()
99 m.put(null, 1.0); in test_putIfAbsent()
100 assertEquals(1.0, m.putIfAbsent(null, 5.0)); in test_putIfAbsent()
[all …]
DObjectsTest.java29 assertEquals(0, Objects.compare(null, null, String.CASE_INSENSITIVE_ORDER)); in test_compare()
42 assertTrue(Objects.deepEquals(null, null)); in test_deepEquals()
43 assertFalse(Objects.deepEquals(xs, null)); in test_deepEquals()
44 assertFalse(Objects.deepEquals(null, xs)); in test_deepEquals()
58 assertTrue(Objects.equals(null, null)); in test_equals()
59 assertFalse(Objects.equals(h1, null)); in test_equals()
60 assertFalse(Objects.equals(null, h1)); in test_equals()
67 assertEquals(31, Objects.hash((Object) null)); in test_hash()
68 assertEquals(0, Objects.hash((Object[]) null)); in test_hash()
70 assertEquals(23656287, Objects.hash("hello", "world", null)); in test_hash()
[all …]
/libcore/ojluni/src/main/java/java/security/cert/
DX509CertSelector.java228 if (issuerDN == null) { in setIssuer()
229 issuer = null; in setIssuer()
279 issuer = (issuerDN == null ? null : new X500Principal(issuerDN)); in setIssuer()
319 if (subjectDN == null) { in setSubject()
320 subject = null; in setSubject()
343 subject = (subjectDN == null ? null : new X500Principal(subjectDN)); in setSubject()
382 if (subjectKeyID == null) { in setSubjectKeyIdentifier()
383 this.subjectKeyID = null; in setSubjectKeyIdentifier()
443 if (authorityKeyID == null) { in setAuthorityKeyIdentifier()
444 this.authorityKeyID = null; in setAuthorityKeyIdentifier()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
DAttributesImplTest.java59 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/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DX509ExtendedKeyManagerTest.java45 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/libart/src/main/java/java/lang/
DAndroidHardcodedSystemProperties.java83 { "ICUDebug", null },
86 { "android.icu.text.DecimalFormat.SkipExtendedSeparatorParsing", null },
88 { "android.icu.text.MessagePattern.ApostropheMode", null },
91 { "sun.io.useCanonCaches", null },
92 { "sun.io.useCanonPrefixCache", null },
95 { "http.keepAlive", null },
96 { "http.keepAliveDuration", null },
97 { "http.maxConnections", null },
105 { "javax.net.debug", null },
108 { "com.sun.security.preserveOldDCEncoding", null },
/libcore/ojluni/src/main/java/sun/security/x509/
DX509CertImpl.java129 private byte[] signedCert = null;
130 protected X509CertInfo info = null;
131 protected AlgorithmId algId = null;
132 protected byte[] signature = null;
197 signedCert = null; in X509CertImpl()
215 DerValue der = null; in X509CertImpl()
240 signedCert = null; in X509CertImpl()
255 DerValue der = null; in readRFC1421Cert()
256 String line = null; in readRFC1421Cert()
270 while ((line = certBufferedReader.readLine()) != null) { in readRFC1421Cert()
[all …]
/libcore/luni/src/main/java/javax/xml/transform/dom/
DDOMResult.java51 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/support/src/test/java/org/apache/harmony/security/tests/support/
DTestCertUtils.java112 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/
DIntrinsicTest.java57 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/ojluni/src/main/java/java/util/
DLinkedList.java127 final Node<E> newNode = new Node<>(null, e, f); in linkFirst()
129 if (f == null) in linkFirst()
142 final Node<E> newNode = new Node<>(l, e, null); in linkLast()
144 if (l == null) in linkLast()
160 if (pred == null) in linkBefore()
175 f.item = null; in unlinkFirst()
176 f.next = null; // help GC in unlinkFirst()
178 if (next == null) in unlinkFirst()
179 last = null; in unlinkFirst()
181 next.prev = null; in unlinkFirst()
[all …]
/libcore/ojluni/src/main/java/java/net/
DInetSocketAddress.java80 if (hostname != null) in getHostName()
82 if (addr != null) in getHostName()
84 return null; in getHostName()
88 if (hostname != null) in getHostString()
90 if (addr != null) { in getHostString()
91 if (addr.holder().getHostName() != null) in getHostString()
96 return null; in getHostString()
100 return addr == null; in isUnresolved()
114 if (obj == null || !(obj instanceof InetSocketAddressHolder)) in equals()
118 if (addr != null) in equals()
[all …]
/libcore/luni/src/test/java/libcore/xml/
DXmlPullParserFactoryTest.java35 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/ojluni/src/main/java/java/util/logging/
DLogManager.java175 String cname = null; in AccessController.doPrivileged()
178 if (cname != null) { in AccessController.doPrivileged()
185 if (manager == null) { in AccessController.doPrivileged()
211 return null; in AccessController.doPrivileged()
225 this.setContextClassLoader(null); in Cleaner()
267 if (manager != null) { in getLogManager()
280 if (System.out == null) { in readPrimordialConfiguration()
292 return null; in readPrimordialConfiguration()
316 if (l == null) { in addPropertyChangeListener()
370 if (result == null) { in demandLogger()
[all …]

12345678910>>...84