Home
last modified time | relevance | path

Searched refs:runCount (Results 1 – 3 of 3) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DFutureTaskTest.java65 int savedRunCount = pf.runCount(); in checkIsDone()
68 assertEquals(savedRunCount, pf.runCount()); in checkIsDone()
101 int savedRunCount = pf.runCount(); in checkIsRunning()
104 assertEquals(savedRunCount, pf.runCount()); in checkIsRunning()
170 private final AtomicInteger runCount; field in FutureTaskTest.PublicFutureTask
175 public int runCount() { return runCount.get(); } in runCount() method in FutureTaskTest.PublicFutureTask
188 final AtomicInteger runCount) { in PublicFutureTask() argument
191 runCount.getAndIncrement(); in PublicFutureTask()
194 this.runCount = runCount; in PublicFutureTask()
200 final AtomicInteger runCount) { in PublicFutureTask() argument
[all …]
/libcore/ojluni/src/main/java/java/text/
DAttributedString.java62 int runCount; // actual number of runs, <= runArraySize field in AttributedString
385 if (runCount == 0) { in addAttributes()
404 if (runCount == 0) { in addAttributeImpl()
424 runCount = 1; // assume initial run starting at index 0 in createRunAttributeDataVectors()
445 return runCount; in ensureRunBreak()
450 while (runIndex < runCount && runStarts[runIndex] < offset) { in ensureRunBreak()
455 if (runIndex < runCount && runStarts[runIndex] == offset) { in ensureRunBreak()
461 if (runCount == runArraySize) { in ensureRunBreak()
494 runCount++; in ensureRunBreak()
495 for (int i = runCount - 1; i > runIndex; i--) { in ensureRunBreak()
[all …]
DBidi.java285 int runCount = bidiBase.countRuns(); in getRunCount() local
286 return (runCount == 0 ? 1 : runCount); in getRunCount()