Home
last modified time | relevance | path

Searched refs:old (Results 1 – 16 of 16) 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.c312 jobjectArray rv, old; in Java_java_io_UnixFileSystem_list0() local
348 old = rv; in Java_java_io_UnixFileSystem_list0()
351 if (JNU_CopyObjectArray(env, rv, old, len) < 0) goto error; in Java_java_io_UnixFileSystem_list0()
352 (*env)->DeleteLocalRef(env, old); in Java_java_io_UnixFileSystem_list0()
368 old = rv; in Java_java_io_UnixFileSystem_list0()
373 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.java145 DateFormat old = DateFormat.getDateInstance(dateStyleOld, locale); in test_date_print() local
147 String text = old.format(oldDate); in test_date_print()
157 DateFormat old = DateFormat.getDateInstance(dateStyleOld, locale); in test_date_parse() local
159 String text = old.format(oldDate); in test_date_parse()
198 DateFormat old = DateFormat.getTimeInstance(timeStyleOld, locale); in test_time_print() local
200 String text = old.format(oldDate); in test_time_print()
210 DateFormat old = DateFormat.getTimeInstance(timeStyleOld, locale); in test_time_parse() local
212 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.java318 Long old = fieldValues.put(changeField, changeValue); in updateCheckConflict() local
319 if (old != null && old.longValue() != changeValue.longValue()) { in updateCheckConflict()
320 throw new DateTimeException("Conflict found: " + changeField + " " + old + in updateCheckConflict()
DDateTimeFormatterBuilder.java4491 DateTimeFormatter old = FORMATTER_CACHE.putIfAbsent(key, formatter); in formatter() local
4492 if (old != null) { in formatter()
4493 formatter = old; in formatter()
/libcore/ojluni/src/main/java/java/time/zone/
DZoneRulesProvider.java264 ZoneRulesProvider old = ZONES.putIfAbsent(zoneId, provider); in registerProvider0() local
265 if (old != null) { in registerProvider0()
/libcore/ojluni/src/main/java/java/util/
DHashMap.java1105 Node<K,V> old = null; in computeIfAbsent() local
1111 old = (t = (TreeNode<K,V>)first).getTreeNode(hash, key); in computeIfAbsent()
1117 old = e; in computeIfAbsent()
1124 if (old != null && (oldValue = old.value) != null) { in computeIfAbsent()
1125 afterNodeAccess(old); in computeIfAbsent()
1132 } else if (old != null) { in computeIfAbsent()
1133 old.value = v; in computeIfAbsent()
1134 afterNodeAccess(old); in computeIfAbsent()
1179 Node<K,V> old = null; in compute() local
1185 old = (t = (TreeNode<K,V>)first).getTreeNode(hash, key); in compute()
[all …]
DHashtable.java410 for (HashtableEntry<K,V> old = (HashtableEntry<K,V>)oldMap[i] ; old != null ; ) { in rehash()
411 HashtableEntry<K,V> e = old; in rehash()
412 old = old.next; in rehash()
472 V old = entry.value; in put() local
474 return old; in put()
923 V old = entry.value; in putIfAbsent() local
924 if (old == null) { in putIfAbsent()
927 return old; in putIfAbsent()
/libcore/ojluni/src/main/java/java/time/chrono/
DAbstractChronology.java674 Long old = fieldValues.get(field); // check first for better error message in addFieldValue() local
675 if (old != null && old.longValue() != value) { in addFieldValue()
676 …throw new DateTimeException("Conflict found: " + field + " " + old + " differs from " + field + " … in addFieldValue()
/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKZoneRules.java122 ZonedDateTime old = createZDT(1800, 1, 1, ZoneOffset.UTC); in test_London_preTimeZones() local
123 Instant instant = old.toInstant(); in test_London_preTimeZones()
126 checkOffset(test, old.toLocalDateTime(), offset, 1); in test_London_preTimeZones()
504 ZonedDateTime old = createZDT(1800, 1, 1, ZoneOffset.UTC); in test_Paris_preTimeZones() local
505 Instant instant = old.toInstant(); in test_Paris_preTimeZones()
508 checkOffset(test, old.toLocalDateTime(), offset, 1); in test_Paris_preTimeZones()
687 ZonedDateTime old = createZDT(1800, 1, 1, ZoneOffset.UTC); in test_NewYork_preTimeZones() local
688 Instant instant = old.toInstant(); in test_NewYork_preTimeZones()
691 checkOffset(test, old.toLocalDateTime(), offset, 1); in test_NewYork_preTimeZones()
/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/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DProviderTest.java401 String old = p2.getProperty("MessageDigest.ASH-1"); in testService2() local
/libcore/
DJavaLibrary.bp408 // with old JDKs.
/libcore/ojluni/
DNOTICE1470 the old characters. For example, if the string "the <b>bold</b>