Home
last modified time | relevance | path

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

12345678910>>...98

/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/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.java336 static { TYPE = null; }
356 UnicodeBlock(java.lang.String idName) { super(null); throw new RuntimeException("Stub!"); } in UnicodeBlock()
365 static { AEGEAN_NUMBERS = null; }
368 static { ALCHEMICAL_SYMBOLS = null; }
371 static { ALPHABETIC_PRESENTATION_FORMS = null; }
374 static { ANCIENT_GREEK_MUSICAL_NOTATION = null; }
377 static { ANCIENT_GREEK_NUMBERS = null; }
380 static { ANCIENT_SYMBOLS = null; }
383 static { ARABIC = null; }
386 static { ARABIC_EXTENDED_A = null; }
[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/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/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.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.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/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/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 },
101 { "javax.net.debug", null },
104 { "com.sun.security.preserveOldDCEncoding", null },
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DLinkedTransferQueue.java495 U.putObject(this, WAITER, null); in forgetContents()
504 return (x == this) || ((x == null) == isData); in isMatched()
511 return !isData && item == null; in isUnmatchedRequest()
522 return d != haveData && (x = item) != this && (x != null) == d; in cannotPrecede()
531 if (x != null && x != this && casItem(x, null)) { in tryMatchData()
600 if (haveData && (e == null)) in xfer()
602 Node s = null; // the node to append, if needed in xfer()
607 for (Node h = head, p = h; p != null;) { // find & match first node in xfer()
610 if (item != p && (item != null) == isData) { // unmatched in xfer()
616 if (head == h && casHead(h, n == null ? q : n)) { in xfer()
[all …]
DConcurrentLinkedDeque.java357 if ((q = p.prev) != null && in linkFirst()
358 (q = (p = q).prev) != null) in linkFirst()
367 if (p.casPrev(null, newNode)) { in linkFirst()
389 if ((q = p.next) != null && in linkLast()
390 (q = (p = q).next) != null) in linkLast()
399 if (p.casNext(null, newNode)) { in linkLast()
425 if (prev == null) { in unlink()
427 } else if (next == null) { in unlink()
455 if (p.item != null) { in unlink()
461 if (q == null) { in unlink()
[all …]
DConcurrentLinkedQueue.java240 head = tail = newNode(null); in ConcurrentLinkedQueue()
253 Node<E> h = null, t = null; in ConcurrentLinkedQueue()
256 if (h == null) in ConcurrentLinkedQueue()
263 if (h == null) in ConcurrentLinkedQueue()
264 h = t = newNode(null); in ConcurrentLinkedQueue()
315 if (q == null) { in offer()
317 if (casNext(p, null, newNode)) { in offer()
345 if (item != null && casItem(p, item, null)) { in poll()
349 updateHead(h, ((q = p.next) != null) ? q : p); in poll()
352 else if ((q = p.next) == null) { in poll()
[all …]
/libcore/ojluni/src/main/java/java/util/
DHashMap.java338 return (key == null) ? 0 : (h = key.hashCode()) ^ (h >>> 16); in hash()
350 if ((ts = c.getGenericInterfaces()) != null) { in comparableClassFor()
355 (as = p.getActualTypeArguments()) != null && in comparableClassFor()
361 return null; in comparableClassFor()
370 return (x == null || x.getClass() != kc ? 0 : in compareComparables()
502 if (table == null) { // pre-size in putMapEntries()
556 return (e = getNode(hash(key), key)) == null ? null : e.value; in get()
568 if ((tab = table) != null && (n = tab.length) > 0 && in getNode()
569 (first = tab[(n - 1) & hash]) != null) { in getNode()
571 ((k = first.key) == key || (key != null && key.equals(k)))) in getNode()
[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/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKIsoChronology.java136 return null; in factory_from_TemporalAccessor_noChronology()
145 Chronology.from(null); in factory_from_TemporalAccessor_null()
181 IsoChronology.INSTANCE.date(null); in test_date_TemporalAccessor_null()
223 IsoChronology.INSTANCE.localDateTime(null); in test_localDateTime_TemporalAccessor_null()
275 IsoChronology.INSTANCE.zonedDateTime(null); in test_zonedDateTime_TemporalAccessor_null()
284 {ResolverStyle.STRICT, -1, null, null, null, null}, in data_resolve_yearOfEra()
285 {ResolverStyle.SMART, -1, null, null, null, null}, in data_resolve_yearOfEra()
286 {ResolverStyle.LENIENT, -1, null, null, null, null}, in data_resolve_yearOfEra()
288 {ResolverStyle.STRICT, 0, null, null, ChronoField.ERA, 0}, in data_resolve_yearOfEra()
289 {ResolverStyle.SMART, 0, null, null, ChronoField.ERA, 0}, in data_resolve_yearOfEra()
[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/benchmarks/src/benchmarks/regression/
DNativeMethodBenchmark.java55 n.emptyJniMethod6L(null, null, null, null, null, null); in time_emptyJniMethod6L()
61 NativeTestTarget.emptyJniStaticMethod6L(null, null, null, null, null, null); in time_emptyJniStaticMethod6L()
97 n.emptyJniMethod6L_Fast(null, null, null, null, null, null); in time_emptyJniMethod6L_Fast()
103 NativeTestTarget.emptyJniStaticMethod6L_Fast(null, null, null, null, null, null); in time_emptyJniStaticMethod6L_Fast()
/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 …]
/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/ojluni/annotations/hiddenapi/sun/security/util/
DSecurityConstants.java39 ALL_PERMISSION = null;
45 CHECK_MEMBER_ACCESS_PERMISSION = null;
51 CREATE_ACC_PERMISSION = null;
58 CREATE_CLASSLOADER_PERMISSION = null;
75 GET_CLASSLOADER_PERMISSION = null;
81 GET_COMBINER_PERMISSION = null;
87 GET_COOKIEHANDLER_PERMISSION = null;
93 GET_PD_PERMISSION = null;
99 GET_POLICY_PERMISSION = null;
105 GET_PROXYSELECTOR_PERMISSION = null;
[all …]

12345678910>>...98