Home
last modified time | relevance | path

Searched refs:old (Results 1 – 19 of 19) sorted by relevance

/libcore/ojluni/src/main/native/
DConsole_md.c57 jboolean old; in Java_java_io_Console_echo() local
63 old = (tio.c_lflag & ECHO); in Java_java_io_Console_echo()
72 return old; in Java_java_io_Console_echo()
DUnixFileSystem_md.c345 jobjectArray rv, old; in Java_java_io_UnixFileSystem_list0() local
369 old = rv; in Java_java_io_UnixFileSystem_list0()
372 if (JNU_CopyObjectArray(env, rv, old, len) < 0) goto error; in Java_java_io_UnixFileSystem_list0()
373 (*env)->DeleteLocalRef(env, old); in Java_java_io_UnixFileSystem_list0()
387 old = rv; in Java_java_io_UnixFileSystem_list0()
392 if (JNU_CopyObjectArray(env, rv, old, len) < 0) { in Java_java_io_UnixFileSystem_list0()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKLocalizedPrinterParser.java147 DateFormat old = DateFormat.getDateInstance(dateStyleOld, locale); in test_date_print() local
149 String text = old.format(oldDate); in test_date_print()
159 DateFormat old = DateFormat.getDateInstance(dateStyleOld, locale); in test_date_parse() local
161 String text = old.format(oldDate); in test_date_parse()
200 DateFormat old = DateFormat.getTimeInstance(timeStyleOld, locale); in test_time_print() local
202 String text = old.format(oldDate); in test_time_print()
216 DateFormat old = DateFormat.getTimeInstance(timeStyleOld, locale); in test_time_parse() local
218 String text = old.format(oldDate); in test_time_parse()
/libcore/luni/src/main/java/libcore/reflect/
DAnnotationFactory.java143 AnnotationMember[] old = elements; in readObject() local
144 List<AnnotationMember> merged = new ArrayList<AnnotationMember>(defs.length + old.length); in readObject()
145 nextOld: for (AnnotationMember el1 : old) { in readObject()
154 for (AnnotationMember val : old) { in readObject()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeParseContext.java365 Long old = currentParsed().fieldValues.put(field, value); in setParsedField() local
366 return (old != null && old.longValue() != value) ? ~errorPos : successPos; in setParsedField()
DParsed.java331 Long old = fieldValues.put(changeField, changeValue); in updateCheckConflict() local
332 if (old != null && old.longValue() != changeValue.longValue()) { in updateCheckConflict()
333 throw new DateTimeException("Conflict found: " + changeField + " " + old + in updateCheckConflict()
DDateTimeFormatterBuilder.java5010 DateTimeFormatter old = FORMATTER_CACHE.putIfAbsent(key, formatter); in formatter() local
5011 if (old != null) { in formatter()
5012 formatter = old; in formatter()
/libcore/ojluni/src/main/java/java/time/zone/
DZoneRulesProvider.java322 ZoneRulesProvider old = ZONES.putIfAbsent(zoneId, provider); in registerProvider0() local
323 if (old != null) { in registerProvider0()
/libcore/ojluni/src/main/java/java/util/
DHashMap.java1205 Node<K,V> old = null; in computeIfAbsent() local
1211 old = (t = (TreeNode<K,V>)first).getTreeNode(hash, key); in computeIfAbsent()
1217 old = e; in computeIfAbsent()
1224 if (old != null && (oldValue = old.value) != null) { in computeIfAbsent()
1225 afterNodeAccess(old); in computeIfAbsent()
1234 } else if (old != null) { in computeIfAbsent()
1235 old.value = v; in computeIfAbsent()
1236 afterNodeAccess(old); in computeIfAbsent()
1305 Node<K,V> old = null; in compute() local
1311 old = (t = (TreeNode<K,V>)first).getTreeNode(hash, key); in compute()
[all …]
DHashtable.java427 for (HashtableEntry<K,V> old = (HashtableEntry<K,V>)oldMap[i] ; old != null ; ) { in rehash()
428 HashtableEntry<K,V> e = old; in rehash()
429 old = old.next; in rehash()
488 V old = entry.value; in put() local
490 return old; in put()
939 V old = entry.value; in putIfAbsent() local
940 if (old == null) { in putIfAbsent()
943 return old; in putIfAbsent()
/libcore/mmodules/intracoreapi/
DAndroid.bp80 // with old JDKs.
120 // with old JDKs.
/libcore/ojluni/src/main/java/java/time/chrono/
DAbstractChronology.java644 Long old = fieldValues.get(field); // check first for better error message in addFieldValue() local
645 if (old != null && old.longValue() != value) { in addFieldValue()
646 …throw new DateTimeException("Conflict found: " + field + " " + old + " differs from " + field + " … in addFieldValue()
/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKZoneRules.java124 ZonedDateTime old = createZDT(1800, 1, 1, ZoneOffset.UTC); in test_London_preTimeZones() local
125 Instant instant = old.toInstant(); in test_London_preTimeZones()
128 checkOffset(test, old.toLocalDateTime(), offset, 1); in test_London_preTimeZones()
524 ZonedDateTime old = createZDT(1800, 1, 1, ZoneOffset.UTC); in test_Paris_preTimeZones() local
525 Instant instant = old.toInstant(); in test_Paris_preTimeZones()
528 checkOffset(test, old.toLocalDateTime(), offset, 1); in test_Paris_preTimeZones()
718 ZonedDateTime old = createZDT(1800, 1, 1, ZoneOffset.UTC); in test_NewYork_preTimeZones() local
719 Instant instant = old.toInstant(); in test_NewYork_preTimeZones()
722 checkOffset(test, old.toLocalDateTime(), offset, 1); in test_NewYork_preTimeZones()
/libcore/luni/src/test/resources/keystore/
DREADME.md29 Very old format, but still the default generated by openssl 1.x.
/libcore/toolchainapi/
DAndroid.bp56 // Use -target 8 so that it works with old JDKs.
/libcore/luni/src/test/java/libcore/java/net/
DOldURLTest.java131 URLStreamHandlerFactory old = (URLStreamHandlerFactory) streamHandlerFactoryField.get(null); in testSetURLStreamHandlerFactory() local
146 streamHandlerFactoryField.set(null, old); in testSetURLStreamHandlerFactory()
/libcore/
DJavaLibrary.bp480 // with old JDKs.
501 // with old JDKs.
528 // with old JDKs.
1191 // with old JDKs.
1213 // with old JDKs.
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DProviderTest.java395 String old = p2.getProperty("MessageDigest.ASH-1"); in testService2() local
/libcore/ojluni/src/main/
DLICENSE1192 the old characters. For example, if the string "the <b>bold</b>