Home
last modified time | relevance | path

Searched refs:active (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/test/java/lang/StringBuffer/
DSetLength.java41 StringBuffer active = new StringBuffer(); in main() local
42 active.append("first one"); in main()
43 String a = active.toString(); in main()
44 active.setLength(0); in main()
45 active.append("second"); in main()
46 String b = active.toString(); in main()
47 active.setLength(0); in main()
/libcore/ojluni/src/main/java/java/util/concurrent/
DAbstractExecutorService.java180 int active = 1; in doInvokeAny() local
188 ++active; in doInvokeAny()
190 else if (active == 0) in doInvokeAny()
202 --active; in doInvokeAny()
DForkJoinPool.java1787 active = (int)(c >> RC_SHIFT),
1807 else if (active > minActive) { // reduce parallelism
2021 for (boolean active = true, locals = true;;) {
2041 if (!active) { // increment before taking
2042 active = true;
2067 if (!active)
2073 if (active) { // decrement
2074 active = false;
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java177 private DateTimeFormatterBuilder active = this; field in DateTimeFormatterBuilder
654 if (active.valueParserIndex >= 0) { in appendValue()
655 final int activeValueParser = active.valueParserIndex; in appendValue()
658 … NumberPrinterParser basePP = (NumberPrinterParser) active.printerParsers.get(activeValueParser); in appendValue()
665 active.valueParserIndex = activeValueParser; in appendValue()
670 active.valueParserIndex = appendInternal(pp); in appendValue()
673 active.printerParsers.set(activeValueParser, basePP); in appendValue()
676 active.valueParserIndex = appendInternal(pp); in appendValue()
1938 if (active.parent == null) { in parsePattern()
2177 active.padNextWidth = padWidth; in padNext()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadTest.java226 int active = 0; in test_activeCount() local
229 active = Thread.activeCount(); in test_activeCount()
231 assertTrue("Incorrect activeCount for current group: " + active, active > 1); in test_activeCount()
/libcore/ojluni/src/test/java/util/Scanner/
Dinput.txt149 # active interfaces on the system. See the man page for details.