Home
last modified time | relevance | path

Searched refs:lr (Results 1 – 14 of 14) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/logging/
DOldLogRecordTest.java28 private LogRecord lr = new LogRecord(Level.CONFIG, MSG); field in OldLogRecordTest
31 long before = lr.getMillis(); in testGetSetTimeCheck()
43 assertSame(lr.getLevel(), Level.CONFIG); in testGetSetLevelNormal()
44 lr.setLevel(Level.ALL); in testGetSetLevelNormal()
45 assertSame(lr.getLevel(), Level.ALL); in testGetSetLevelNormal()
46 lr.setLevel(Level.FINEST); in testGetSetLevelNormal()
47 assertSame(lr.getLevel(), Level.FINEST); in testGetSetLevelNormal()
51 lr.getThreadID(); in testGetSetThreadID_DifferentThread()
70 assertTrue(lr.getThreadID() != thread.lr.getThreadID()); in testGetSetThreadID_DifferentThread()
71 assertTrue(lr.getThreadID() != thread2.lr.getThreadID()); in testGetSetThreadID_DifferentThread()
[all …]
DOldXMLFormatterTest.java31 LogRecord lr = null; field in OldXMLFormatterTest
37 lr = new LogRecord(Level.SEVERE, "pattern"); in setUp()
64 handler.publish(lr); in testGetTail()
DOldFileHandlerTest.java346 LogRecord[] lr, Formatter formatter) throws Exception { in assertFileContent() argument
354 for (int i = 0; i < lr.length; i++) { in assertFileContent()
355 if (null == lr[i] && i < lr.length - 1) { in assertFileContent()
364 sb.append(formatter.format(lr[i])); in assertFileContent()
/libcore/ojluni/src/main/java/java/util/logging/
DLogger.java756 private void doLog(LogRecord lr) { in doLog() argument
757 lr.setLoggerName(name); in doLog()
762 lr.setResourceBundleName(ebname); in doLog()
763 lr.setResourceBundle(bundle); in doLog()
765 log(lr); in doLog()
787 LogRecord lr = new LogRecord(level, msg); in log() local
788 doLog(lr); in log()
809 LogRecord lr = new LogRecord(level, msgSupplier.get()); in log() local
810 doLog(lr); in log()
828 LogRecord lr = new LogRecord(level, msg); in log() local
[all …]
/libcore/ojluni/src/main/java/sun/util/locale/
DLocaleMatcher.java85 for (LanguageRange lr : priorityList) { in filterTags()
86 String range = lr.getRange(); in filterTags()
97 list.add(new LanguageRange(range, lr.getWeight())); in filterTags()
104 list.add(lr); in filterTags()
115 for (LanguageRange lr : priorityList) { in filterBasic()
116 String range = lr.getRange(); in filterBasic()
139 for (LanguageRange lr : priorityList) { in filterExtended()
140 String range = lr.getRange(); in filterExtended()
208 for (LanguageRange lr : priorityList) { in lookupTag()
209 String range = lr.getRange(); in lookupTag()
[all …]
/libcore/ojluni/src/main/java/java/util/
DProperties.java340 private void load0 (LineReader lr) throws IOException { in load0() argument
349 while ((limit = lr.readLine()) >= 0) { in load0()
358 c = lr.lineBuf[keyLen]; in load0()
378 c = lr.lineBuf[valueStart]; in load0()
390 String key = loadConvert(lr.lineBuf, 0, keyLen, convtBuf); in load0()
391 String value = loadConvert(lr.lineBuf, valueStart, limit - valueStart, convtBuf); in load0()
DHashMap.java2202 TreeNode<K,V> l, pp, lr; in rotateRight() local
2204 if ((lr = p.left = l.right) != null) in rotateRight()
2205 lr.parent = p; in rotateRight()
/libcore/luni/src/test/java/libcore/java/lang/
DOldAndroidMathTest.java86 long lr = Double.doubleToLongBits(r); in testAcosD() local
88 assertTrue("Returned incorrect arc cosine", lr == t || (lr + 1) == t in testAcosD()
89 || (lr - 1) == t); in testAcosD()
95 long lr = Double.doubleToLongBits(r); in testAsinD() local
97 assertTrue("Returned incorrect arc sine", lr == t || (lr + 1) == t in testAsinD()
98 || (lr - 1) == t); in testAsinD()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DConcurrentHashMap8Test.java912 long lr = m.reduceKeysToLong(Long.MAX_VALUE, (Long x) -> x.longValue(), 0L, Long::sum); in testReduceKeysToLongSequentially() local
913 assertEquals(lr, (long)SIZE * (SIZE - 1) / 2); in testReduceKeysToLongSequentially()
939 long lr = m.reduceValuesToLong(Long.MAX_VALUE, (Long x) -> x.longValue(), 0L, Long::sum); in testReduceValuesToLongSequentially() local
940 assertEquals(lr, (long)SIZE * (SIZE - 1)); in testReduceValuesToLongSequentially()
966 long lr = m.reduceKeysToLong(1L, (Long x) -> x.longValue(), 0L, Long::sum); in testReduceKeysToLongInParallel() local
967 assertEquals(lr, (long)SIZE * (SIZE - 1) / 2); in testReduceKeysToLongInParallel()
993 long lr = m.reduceValuesToLong(1L, (Long x) -> x.longValue(), 0L, Long::sum); in testReduceValuesToLongInParallel() local
994 assertEquals(lr, (long)SIZE * (SIZE - 1)); in testReduceValuesToLongInParallel()
/libcore/jsr166-tests/src/test/java/jsr166/
DConcurrentHashMap8Test.java887 long lr = m.reduceKeysToLong(Long.MAX_VALUE, (Long x) -> x.longValue(), 0L, Long::sum); in testReduceKeysToLongSequentially() local
888 assertEquals(lr, (long)SIZE * (SIZE - 1) / 2); in testReduceKeysToLongSequentially()
914 long lr = m.reduceValuesToLong(Long.MAX_VALUE, (Long x) -> x.longValue(), 0L, Long::sum); in testReduceValuesToLongSequentially() local
915 assertEquals(lr, (long)SIZE * (SIZE - 1)); in testReduceValuesToLongSequentially()
941 long lr = m.reduceKeysToLong(1L, (Long x) -> x.longValue(), 0L, Long::sum); in testReduceKeysToLongInParallel() local
942 assertEquals(lr, (long)SIZE * (SIZE - 1) / 2); in testReduceKeysToLongInParallel()
968 long lr = m.reduceValuesToLong(1L, (Long x) -> x.longValue(), 0L, Long::sum); in testReduceValuesToLongInParallel() local
969 assertEquals(lr, (long)SIZE * (SIZE - 1)); in testReduceValuesToLongInParallel()
/libcore/ojluni/annotations/hiddenapi/java/util/logging/
DLogger.java116 private void doLog(java.util.logging.LogRecord lr) { in doLog() argument
203 private void doLog(java.util.logging.LogRecord lr, java.lang.String rbname) { in doLog() argument
207 private void doLog(java.util.logging.LogRecord lr, java.util.ResourceBundle rb) { in doLog() argument
/libcore/ojluni/annotations/hiddenapi/java/util/
DProperties.java54 private void load0(java.util.Properties.LineReader lr) throws java.io.IOException { in load0() argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DMathTest.java80 long lr = Double.doubleToLongBits(r); in test_acosD() local
82 assertTrue("Returned incorrect arc cosine", lr == t || (lr + 1) == t in test_acosD()
83 || (lr - 1) == t); in test_acosD()
92 long lr = Double.doubleToLongBits(r); in test_asinD() local
94 assertTrue("Returned incorrect arc sine", lr == t || (lr + 1) == t in test_asinD()
95 || (lr - 1) == t); in test_asinD()
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentHashMap.java3117 TreeNode<K,V> l, pp, lr; in rotateRight() local
3119 if ((lr = p.left = l.right) != null) in rotateRight()
3120 lr.parent = p; in rotateRight()