Home
last modified time | relevance | path

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

12345678910>>...116

/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeFormatters.java121 DateTimeFormatter.ISO_DATE.format((TemporalAccessor) null); in test_format_nullTemporalAccessor()
143 DateTimeFormatter.ofPattern(null); in test_pattern_String_null()
163 DateTimeFormatter.ofPattern(null, Locale.UK); in test_pattern_StringLocale_nullPattern()
168 DateTimeFormatter.ofPattern("yyyy", null); in test_pattern_StringLocale_nullLocale()
177 assertEquals(DateTimeFormatter.ofLocalizedDate(FormatStyle.FULL).getZone(), null); in test_ofLocalizedDate_basics() local
184 assertEquals(DateTimeFormatter.ofLocalizedTime(FormatStyle.FULL).getZone(), null); in test_ofLocalizedTime_basics() local
191 assertEquals(DateTimeFormatter.ofLocalizedDateTime(FormatStyle.FULL).getZone(), null); in test_ofLocalizedDateTime1_basics() local
198 …quals(DateTimeFormatter.ofLocalizedDateTime(FormatStyle.FULL, FormatStyle.MEDIUM).getZone(), null); in test_ofLocalizedDateTime2_basics() local
208 {2008, null, null, null, null, null, DateTimeException.class}, in provider_sample_isoLocalDate()
209 {null, 6, null, null, null, null, DateTimeException.class}, in provider_sample_isoLocalDate()
[all …]
/libcore/ojluni/annotations/flagged_api/java/lang/
DCharacter.annotated.java351 static { TYPE = null; }
371 UnicodeBlock() { super(null); throw new RuntimeException("Stub!"); } in UnicodeBlock()
380 static { ADLAM = null; }
383 static { AEGEAN_NUMBERS = null; }
386 static { AHOM = null; }
389 static { ALCHEMICAL_SYMBOLS = null; }
392 static { ALPHABETIC_PRESENTATION_FORMS = null; }
395 static { ANATOLIAN_HIEROGLYPHS = null; }
398 static { ANCIENT_GREEK_MUSICAL_NOTATION = null; }
401 static { ANCIENT_GREEK_NUMBERS = null; }
[all …]
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestUnicodeExtension.java119 {Locale.JAPAN, null, null, ISO, null, in localizedBy()
123 {Locale.JAPAN, JAPANESE, null, ISO, null, in localizedBy()
132 {JCAL, null, null, JAPANESE, null, in localizedBy()
135 {JCAL, HIJRAH, null, JAPANESE, null, in localizedBy()
138 {HCAL, JAPANESE, null, HIJRAH, null, in localizedBy()
143 {JPTYO, null, null, ISO, ASIATOKYO, in localizedBy()
146 {JPTYO, null, AMLA, ISO, ASIATOKYO, in localizedBy()
150 {Locale.forLanguageTag("en-US-u-tz-jpzzz"), null, null, ISO, null, in localizedBy()
153 {Locale.forLanguageTag("en-US-u-tz-jpzzz"), null, AMLA, ISO, AMLA, in localizedBy()
157 {RG_GB, null, null, ISO, null, in localizedBy()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/lang/
DCharacter.java592 TYPE = null;
651 super(null); in UnicodeBlock()
656 super(null); in UnicodeBlock()
661 super(null); in UnicodeBlock()
666 super(null); in UnicodeBlock()
685 AEGEAN_NUMBERS = null;
691 ALCHEMICAL_SYMBOLS = null;
697 ALPHABETIC_PRESENTATION_FORMS = null;
703 ANCIENT_GREEK_MUSICAL_NOTATION = null;
709 ANCIENT_GREEK_NUMBERS = null;
[all …]
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DCharacter.annotated.java340 static { TYPE = null; }
360 UnicodeBlock(java.lang.String idName) { super(null); throw new RuntimeException("Stub!"); } in UnicodeBlock()
369 static { AEGEAN_NUMBERS = null; }
372 static { ALCHEMICAL_SYMBOLS = null; }
375 static { ALPHABETIC_PRESENTATION_FORMS = null; }
378 static { ANCIENT_GREEK_MUSICAL_NOTATION = null; }
381 static { ANCIENT_GREEK_NUMBERS = null; }
384 static { ANCIENT_SYMBOLS = null; }
387 static { ARABIC = null; }
390 static { ARABIC_EXTENDED_A = null; }
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DCompletableFuture.java245 return RESULT.compareAndSet(this, null, r); in internalComplete()
268 static final AltResult NIL = new AltResult(null);
272 return RESULT.compareAndSet(this, null, NIL); in completeNull()
277 return (t == null) ? NIL : t; in encodeValue()
282 return RESULT.compareAndSet(this, null, (t == null) ? NIL : t); in completeValue()
296 return RESULT.compareAndSet(this, null, encodeThrowable(x)); in completeThrowable()
323 return RESULT.compareAndSet(this, null, encodeThrowable(x, r)); in completeThrowable()
332 return (x == null) ? (t == null) ? NIL : t : encodeThrowable(x); in encodeOutcome()
342 && (x = ((AltResult)r).ex) != null in encodeRelay()
353 return RESULT.compareAndSet(this, null, encodeRelay(r)); in completeRelay()
[all …]
DConcurrentSkipListMap.java393 return (c != null) ? c.compare(x, y) : ((Comparable)x).compareTo(y); in cpr()
402 return ((h = head) == null) ? null : h.node; in baseHead()
415 if (b != null && n != null) { in unlinkNode()
418 if ((f = n.next) != null && f.key == null) { in unlinkNode()
423 new Node<K,V>(null, null, f))) { in unlinkNode()
439 do {} while ((a = adder) == null && in addCount()
440 !ADDER.compareAndSet(this, null, a = new LongAdder())); in addCount()
449 do {} while ((a = adder) == null && in getAdderCount()
450 !ADDER.compareAndSet(this, null, a = new LongAdder())); in getAdderCount()
468 if ((q = head) == null || key == null) in findPredecessor()
[all …]
DLinkedTransferQueue.java402 isData = (item != null); in Node()
442 return isData == (item == null); in isMatched()
461 return d != haveData && d != (item == null); in cannotPrecede()
465 return (isData == (item == null)) || in isReleasable()
526 if (pred != null) in tryCasSuccessor()
548 if (q == null) { in skipDeadNodes()
554 && (pred == null || !pred.isMatched())) in skipDeadNodes()
568 if ((q = p.next) == null) break; in skipDeadNodesNearHead()
595 if (haveData && (e == null)) in xfer()
598 restart: for (Node s = null, t = null, h = null;;) { in xfer()
[all …]
DConcurrentLinkedDeque.java320 if ((q = p.prev) != null && in linkFirst()
321 (q = (p = q).prev) != null) in linkFirst()
330 if (PREV.compareAndSet(p, null, newNode)) { in linkFirst()
352 if ((q = p.next) != null && in linkLast()
353 (q = (p = q).next) != null) in linkLast()
362 if (NEXT.compareAndSet(p, null, newNode)) { in linkLast()
388 if (prev == null) { in unlink()
390 } else if (next == null) { in unlink()
418 if (p.item != null) { in unlink()
424 if (q == null) { in unlink()
[all …]
DConcurrentLinkedQueue.java258 Node<E> h = null, t = null; in ConcurrentLinkedQueue()
261 if (h == null) in ConcurrentLinkedQueue()
266 if (h == null) in ConcurrentLinkedQueue()
315 if (pred != null) in tryCasSuccessor()
337 if (q == null) { in skipDeadNodes()
343 && (pred == null || ITEM.get(pred) != null)) in skipDeadNodes()
359 if (q == null) { in offer()
361 if (NEXT.compareAndSet(p, null, newNode)) { in offer()
387 if ((item = p.item) != null && p.casItem(item, null)) { in poll()
391 updateHead(h, ((q = p.next) != null) ? q : p); in poll()
[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.java53 mockKeyStore.load(null); in test_load()
58 mockKeyStore.store(null); in test_store()
65 mockKeyStore.load(null, null); in test_store()
66 mockKeyStore.store(null); in test_store()
70 mockKeyStore.load(null, null); in test_setKeyEntry_null()
72 mockKeyStore.setKeyEntry(null, null, null, null); in test_setKeyEntry_null()
76 mockKeyStore.load(null, null); in test_setKeyEntry_key_is_null()
78 mockKeyStore.setKeyEntry("Alias", null, null, new Certificate[]{certificate}); in test_setKeyEntry_key_is_null()
82 mockKeyStore.load(null, null); in test_setKeyEntry_key_is_private()
85 mockKeyStore.setKeyEntry("Alias", key, null, null); in test_setKeyEntry_key_is_private()
[all …]
/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/ojluni/src/main/java/java/security/cert/
DX509CertSelector.java227 if (issuerDN == null) { in setIssuer()
228 issuer = null; in setIssuer()
278 issuer = (issuerDN == null ? null : new X500Principal(issuerDN)); in setIssuer()
318 if (subjectDN == null) { in setSubject()
319 subject = null; in setSubject()
342 subject = (subjectDN == null ? null : new X500Principal(subjectDN)); in setSubject()
381 if (subjectKeyID == null) { in setSubjectKeyIdentifier()
382 this.subjectKeyID = null; in setSubjectKeyIdentifier()
442 if (authorityKeyID == null) { in setAuthorityKeyIdentifier()
443 this.authorityKeyID = null; in setAuthorityKeyIdentifier()
[all …]
/libcore/luni/src/test/java/libcore/java/util/
DLibcoreIoDerivedBase64Test.java89 assertEquals(null, decodeToString("aGVsbG8sIHdvc")); in testDecode_truncated()
95 assertEquals(null, decodeToString(" aGVsbG8sIHdvcmxk")); in testDecode_extraChars()
96 assertEquals(null, decodeToString("aGV sbG8sIHdvcmxk")); in testDecode_extraChars()
97 assertEquals(null, decodeToString("aGVsbG8sIHdvcmxk ")); in testDecode_extraChars()
98 assertEquals(null, decodeToString("*aGVsbG8sIHdvcmxk")); in testDecode_extraChars()
99 assertEquals(null, decodeToString("aGV*sbG8sIHdvcmxk")); in testDecode_extraChars()
100 assertEquals(null, decodeToString("aGVsbG8sIHdvcmxk*")); in testDecode_extraChars()
101 assertEquals(null, decodeToString("\r\naGVsbG8sIHdvcmxk")); in testDecode_extraChars()
102 assertEquals(null, decodeToString("aGV\r\nsbG8sIHdvcmxk")); in testDecode_extraChars()
103 assertEquals(null, decodeToString("aGVsbG8sIHdvcmxk\r\n")); in testDecode_extraChars()
[all …]
DObjectsTest.java134 assertEquals(0, Objects.compare(null, null, String.CASE_INSENSITIVE_ORDER)); in test_compare()
147 assertTrue(Objects.deepEquals(null, null)); in test_deepEquals()
148 assertFalse(Objects.deepEquals(xs, null)); in test_deepEquals()
149 assertFalse(Objects.deepEquals(null, xs)); in test_deepEquals()
163 assertTrue(Objects.equals(null, null)); in test_equals()
164 assertFalse(Objects.equals(h1, null)); in test_equals()
165 assertFalse(Objects.equals(null, h1)); in test_equals()
172 assertEquals(31, Objects.hash((Object) null)); in test_hash()
173 assertEquals(0, Objects.hash((Object[]) null)); in test_hash()
175 assertEquals(23656287, Objects.hash("hello", "world", null)); in test_hash()
[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/luni/src/test/java/libcore/java/security/
DPolicyTest.java45 assertNull(Policy.getInstance(null, null)); in testGetInstance_alwaysReturnNull()
46 assertNull(Policy.getInstance(null, null, (String) null)); in testGetInstance_alwaysReturnNull()
47 assertNull(Policy.getInstance(null, null, (Provider) null)); in testGetInstance_alwaysReturnNull()
52 assertNull(Policy.getInstance(null, null)); in testGetInstance_alwaysReturnNull()
53 assertNull(Policy.getInstance(null, null, (String) null)); in testGetInstance_alwaysReturnNull()
54 assertNull(Policy.getInstance(null, null, (Provider) null)); in testGetInstance_alwaysReturnNull()
64 assertNull(p.getPermissions((CodeSource) null)); in testGetPermissions()
65 assertNull(p.getPermissions((ProtectionDomain) null)); in testGetPermissions()
80 assertTrue(p.implies(null, null)); in testImplies()
/libcore/ojluni/src/main/java/java/util/
DHashMap.java337 return (key == null) ? 0 : (h = key.hashCode()) ^ (h >>> 16); in hash()
349 if ((ts = c.getGenericInterfaces()) != null) { in comparableClassFor()
354 (as = p.getActualTypeArguments()) != null && in comparableClassFor()
360 return null; in comparableClassFor()
369 return (x == null || x.getClass() != kc ? 0 : in compareComparables()
504 if (table == null) { // pre-size in putMapEntries()
563 return (e = getNode(key)) == null ? null : e.value; in get()
574 if ((tab = table) != null && (n = tab.length) > 0 && in getNode()
575 (first = tab[(n - 1) & (hash = hash(key))]) != null) { in getNode()
577 ((k = first.key) == key || (key != null && key.equals(k)))) in getNode()
[all …]
/libcore/ojluni/src/main/java/sun/security/x509/
DX509CertImpl.java122 private byte[] signedCert = null;
123 protected X509CertInfo info = null;
124 protected AlgorithmId algId = null;
125 protected byte[] signature = null;
190 signedCert = null; in X509CertImpl()
308 signedCert = null; in X509CertImpl()
327 signedCert = null; in X509CertImpl()
341 if (signedCert == null) in encode()
360 if (signedCert == null) in derEncode()
383 if (signedCert == null) { in getEncodedInternal()
[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/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/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/ojluni/annotations/hiddenapi/sun/security/x509/
DPKIXExtensions.java41 AuthInfoAccess_Id = null;
53 AuthorityKey_Id = null;
65 BasicConstraints_Id = null;
77 CRLDistributionPoints_Id = null;
89 CRLNumber_Id = null;
102 CertificateIssuer_Id = null;
114 CertificatePolicies_Id = null;
126 DeltaCRLIndicator_Id = null;
138 ExtendedKeyUsage_Id = null;
150 FreshestCRL_Id = null;
[all …]

12345678910>>...116