Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/
DAbstractExecutorService.java175 int active = 1; in doInvokeAny() local
183 ++active; in doInvokeAny()
185 else if (active == 0) in doInvokeAny()
197 --active; in doInvokeAny()
DForkJoinPool.java2299 for (boolean active = true;;) { in helpQuiescePool()
2306 if (!active) { // re-establish active count in helpQuiescePool()
2307 active = true; in helpQuiescePool()
2317 else if (active) { // decrement active count without queuing in helpQuiescePool()
2320 active = false; in helpQuiescePool()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java170 private DateTimeFormatterBuilder active = this; field in DateTimeFormatterBuilder
642 if (active.valueParserIndex >= 0) { in appendValue()
643 final int activeValueParser = active.valueParserIndex; in appendValue()
646 … NumberPrinterParser basePP = (NumberPrinterParser) active.printerParsers.get(activeValueParser); in appendValue()
653 active.valueParserIndex = activeValueParser; in appendValue()
658 active.valueParserIndex = appendInternal(pp); in appendValue()
661 active.printerParsers.set(activeValueParser, basePP); in appendValue()
664 active.valueParserIndex = appendInternal(pp); in appendValue()
1708 if (active.parent == null) { in parsePattern()
1934 active.padNextWidth = padWidth; in padNext()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadTest.java225 int active = 0; in test_activeCount() local
228 active = Thread.activeCount(); in test_activeCount()
230 assertTrue("Incorrect activeCount for current group: " + active, active > 1); in test_activeCount()