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.java167 private DateTimeFormatterBuilder active = this; field in DateTimeFormatterBuilder
633 if (active.valueParserIndex >= 0) { in appendValue()
634 final int activeValueParser = active.valueParserIndex; in appendValue()
637 … NumberPrinterParser basePP = (NumberPrinterParser) active.printerParsers.get(activeValueParser); in appendValue()
644 active.valueParserIndex = activeValueParser; in appendValue()
649 active.valueParserIndex = appendInternal(pp); in appendValue()
652 active.printerParsers.set(activeValueParser, basePP); in appendValue()
655 active.valueParserIndex = appendInternal(pp); in appendValue()
1699 if (active.parent == null) { in parsePattern()
1925 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()