Home
last modified time | relevance | path

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

12

/external/icu/android_icu4j/src/main/java/android/icu/text/
DBidiLine.java157 lineBidi.runCount = -1; in setLine()
286 int runCount = bidi.runCount; in getLogicalRun() local
290 for (int i = 0; i < runCount; i++) { in getLogicalRun()
325 bidi.runCount = 1; in getSingleRun()
374 int firstRun, endRun, limitRun, runCount; in reorderLine() local
385 runCount = bidi.runCount; in reorderLine()
389 --runCount; in reorderLine()
399 while (firstRun < runCount && levels[runs[firstRun].start] < maxLevel) { in reorderLine()
402 if (firstRun >= runCount) { in reorderLine()
407 for (limitRun = firstRun; ++limitRun < runCount && in reorderLine()
[all …]
DBidiWriter.java241 int run, runCount; in writeReordered() local
244 runCount = bidi.countRuns(); in writeReordered()
287 for (run = 0; run < runCount; ++run) { in writeReordered()
304 for (run = 0; run < runCount; ++run) { in writeReordered()
385 for(run = runCount; --run >= 0; ) { in writeReordered()
401 for (run = runCount; --run >= 0; ) { in writeReordered()
DBidi.java1078 int runCount; /* ==-1: runs not set up yet */ field in Bidi
3707 oldRunCount = this.runCount; in setParaRunsOnly()
3725 if (runCount == 1) { in setParaRunsOnly()
3729 System.arraycopy(runs, 0, runsMemory, 0, runCount); in setParaRunsOnly()
3732 runCount += addedRuns; in setParaRunsOnly()
3733 for (i = oldRunCount; i < runCount; i++) { in setParaRunsOnly()
3801 if (runCount > 1) { in setParaRunsOnly()
4018 runCount = 0; in setPara()
4024 runCount = -1; in setPara()
4819 return runCount; in countRuns()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBidiLine.java156 lineBidi.runCount = -1; in setLine()
285 int runCount = bidi.runCount; in getLogicalRun() local
289 for (int i = 0; i < runCount; i++) { in getLogicalRun()
324 bidi.runCount = 1; in getSingleRun()
373 int firstRun, endRun, limitRun, runCount; in reorderLine() local
384 runCount = bidi.runCount; in reorderLine()
388 --runCount; in reorderLine()
398 while (firstRun < runCount && levels[runs[firstRun].start] < maxLevel) { in reorderLine()
401 if (firstRun >= runCount) { in reorderLine()
406 for (limitRun = firstRun; ++limitRun < runCount && in reorderLine()
[all …]
DBidiWriter.java240 int run, runCount; in writeReordered() local
243 runCount = bidi.countRuns(); in writeReordered()
286 for (run = 0; run < runCount; ++run) { in writeReordered()
303 for (run = 0; run < runCount; ++run) { in writeReordered()
384 for(run = runCount; --run >= 0; ) { in writeReordered()
400 for (run = runCount; --run >= 0; ) { in writeReordered()
DBidi.java1102 int runCount; /* ==-1: runs not set up yet */ field in Bidi
3742 oldRunCount = this.runCount; in setParaRunsOnly()
3760 if (runCount == 1) { in setParaRunsOnly()
3764 System.arraycopy(runs, 0, runsMemory, 0, runCount); in setParaRunsOnly()
3767 runCount += addedRuns; in setParaRunsOnly()
3768 for (i = oldRunCount; i < runCount; i++) { in setParaRunsOnly()
3836 if (runCount > 1) { in setParaRunsOnly()
4055 runCount = 0; in setPara()
4061 runCount = -1; in setPara()
4880 return runCount; in countRuns()
[all …]
/external/icu/icu4c/source/common/
Dubidiln.cpp172 pLineBiDi->runCount=-1; in ubidi_setLine()
308 int32_t runCount, visualStart, logicalLimit, logicalFirst, i; in ubidi_getLogicalRun() local
314 runCount=ubidi_countRuns((UBiDi *)pBiDi, &errorCode); in ubidi_getLogicalRun()
324 for(i=0; i<runCount; i++) { in ubidi_getLogicalRun()
359 return pBiDi->runCount; in ubidi_countRuns()
373 RETURN_IF_BAD_RANGE(runIndex, 0, pBiDi->runCount, errorCode, UBIDI_LTR); in ubidi_getVisualRun()
395 pBiDi->runCount=1; in getSingleRun()
440 int32_t firstRun, endRun, limitRun, runCount; in reorderLine() local
456 runCount=pBiDi->runCount; in reorderLine()
460 --runCount; in reorderLine()
[all …]
Dubidiwrt.cpp357 int32_t run, runCount, logicalStart, runLength; in ubidi_writeReordered() local
386 runCount=ubidi_countRuns(pBiDi, pErrorCode); in ubidi_writeReordered()
437 for(run=0; run<runCount; ++run) { in ubidi_writeReordered()
460 for(run=0; run<runCount; ++run) { in ubidi_writeReordered()
564 for(run=runCount; --run>=0;) { in ubidi_writeReordered()
585 for(run=runCount; --run>=0;) { in ubidi_writeReordered()
/external/droiddriver/src/io/appium/droiddriver/helpers/
DBaseDroidDriverTest.java237 for (int runCount = 0; runCount < tolerance; runCount++) { in runTest()
238 if (runCount > 0) { in runTest()
239 Logs.logfmt(Log.INFO, "Running %s round %d of %d attempts", fName, runCount + 1, tolerance); in runTest()
251 if (shouldSkipRemainingTests(exception) || runCount >= tolerance - 1) { in runTest()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DTestBidi.java102 int i, len = bidi.getLength(), logicalIndex = -1, runCount = 0; in doTest() local
108 runCount = bidi.countRuns(); in doTest()
168 runCount = bidi.countRuns(); in doTest()
184 if (--runCount < 0) { in doTest()
190 if (runCount != 0) { in doTest()
210 int runCount, visualIndex, logicalIndex = -1, logicalStart, runLength; in _testReordering() local
246 runCount = bidi.countRuns(); in _testReordering()
249 runCount = 0; in _testReordering()
252 logln("\n---- " + runCount + " runs"); in _testReordering()
255 for (i = 0; i < runCount; ++i) { in _testReordering()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
DTestBidi.java105 int i, len = bidi.getLength(), logicalIndex = -1, runCount = 0; in doTest() local
111 runCount = bidi.countRuns(); in doTest()
171 runCount = bidi.countRuns(); in doTest()
187 if (--runCount < 0) { in doTest()
193 if (runCount != 0) { in doTest()
213 int runCount, visualIndex, logicalIndex = -1, logicalStart, runLength; in _testReordering() local
249 runCount = bidi.countRuns(); in _testReordering()
252 runCount = 0; in _testReordering()
255 logln("\n---- " + runCount + " runs"); in _testReordering()
258 for (i = 0; i < runCount; ++i) { in _testReordering()
/external/skqp/tests/
DGlyphRunTest.cpp47 constexpr int runCount = 2;
57 for (int runNum = 0; runNum < runCount; runNum++) {
77 REPORTER_ASSERT(reporter, runList.size() == runCount);
/external/skia/tests/
DGlyphRunTest.cpp47 constexpr int runCount = 2;
57 for (int runNum = 0; runNum < runCount; runNum++) {
77 REPORTER_ASSERT(reporter, runList.size() == runCount);
/external/junit/src/main/java/junit/textui/
DResultPrinter.java82 …getWriter().println(" (" + result.runCount() + " test" + (result.runCount() == 1 ? "" : "s") + ")"… in printFooter()
87 getWriter().println("Tests run: " + result.runCount() + in printFooter()
/external/icu/icu4c/source/samples/layout/
Dparagraph.cpp52 le_int32 runCount = runArray->getCount(); in findRun() local
54 for (le_int32 run = 0; run < runCount; run += 1) { in findRun()
238 le_int32 runCount = line->countRuns(); in draw() local
248 for (run = 0; run < runCount; run += 1) { in draw()
Dpflow.c79 le_int32 runCount = pl_getFontRunCount(fontRuns); in findFontRun() local
82 for (run = 0; run < runCount; run += 1) { in findFontRun()
330 le_int32 runCount = pl_countLineRuns(line); in pf_draw() local
340 for (run = 0; run < runCount; run += 1) { in pf_draw()
/external/owasp/sanitizer/src/tests/org/owasp/html/
DHtmlSanitizerFuzzerTest.java72 final int runCount = 1000; in testFuzzHtmlParser() local
78 for (int run = runCount; --run >= 0;) { in testFuzzHtmlParser()
142 executor.awaitTermination(runCount * 4, TimeUnit.SECONDS); in testFuzzHtmlParser()
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/
DScheduler.java258 int runCount = 0; in advanceTo() local
261 ++runCount; in advanceTo()
264 return runCount > 0; in advanceTo()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DSerializingExecutorTest.java56 int runCount; in resumable() field in SerializingExecutorTest.CoyExecutor
60 runCount++; in resumable()
61 if (runCount == 1) { in resumable()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DFutureCallbackTest.java51 assertEquals(1, ex.runCount); in testExecutorSuccess()
146 int runCount = 0; field in FutureCallbackTest.CountingSameThreadExecutor
150 runCount++; in execute()
/external/skia/src/core/
DSkRegionPriv.h242 int runCount = SkToInt(runs - this->writable_runs() + 1); in computeRunBounds() local
243 SkASSERT(runCount == fRunCount); in computeRunBounds()
/external/skqp/src/gpu/text/
DGrTextBlobCache.h82 static void BlobGlyphCount(int* glyphCount, int* runCount, const SkTextBlob* blob) { in BlobGlyphCount() argument
84 for (; !itCounter.done(); itCounter.next(), (*runCount)++) { in BlobGlyphCount()
/external/skqp/src/core/
DSkRegionPriv.h242 int runCount = SkToInt(runs - this->writable_runs() + 1); in computeRunBounds() local
243 SkASSERT(runCount == fRunCount); in computeRunBounds()
DSkRegion.cpp1178 static bool validate_run_count(int ySpanCount, int intervalCount, int runCount) { in validate_run_count() argument
1190 return safeMath && sum == runCount; in validate_run_count()
1197 int runCount, in validate_run() argument
1203 if (!validate_run_count(SkToInt(ySpanCount), SkToInt(intervalCount), runCount)) { in validate_run()
1206 SkASSERT(runCount >= 7); // 7==SkRegion::kRectRegionRuns in validate_run()
1208 if (runs[runCount - 1] != SkRegion_kRunTypeSentinel || in validate_run()
1209 runs[runCount - 2] != SkRegion_kRunTypeSentinel) { in validate_run()
1212 const int32_t* const end = runs + runCount; in validate_run()
/external/skia/src/gpu/text/
DGrTextBlobCache.h86 static void BlobGlyphCount(int* glyphCount, int* runCount, const SkTextBlob* blob) { in BlobGlyphCount() argument
88 for (; !itCounter.done(); itCounter.next(), (*runCount)++) { in BlobGlyphCount()

12