/external/skia/src/core/ |
D | SkRegion.cpp | 33 static SkRegion::RunType* skip_intervals(const SkRegion::RunType runs[]) { 34 int intervals = runs[-1]; 37 SkASSERT(runs[0] < runs[1]); 38 SkASSERT(runs[1] < SkRegion::kRunTypeSentinel); 41 SkASSERT(SkRegion::kRunTypeSentinel == runs[0]); 44 runs += intervals * 2 + 1; 45 return const_cast<SkRegion::RunType*>(runs); 48 bool SkRegion::RunsAreARect(const SkRegion::RunType runs[], int count, in RunsAreARect() argument 50 assert_sentinel(runs[0], false); // top in RunsAreARect() 54 assert_sentinel(runs[1], false); // bottom in RunsAreARect() [all …]
|
D | SkRegionPriv.h | 25 static int compute_intervalcount(const SkRegion::RunType runs[]) { in compute_intervalcount() argument 26 const SkRegion::RunType* curr = runs; in compute_intervalcount() 32 return SkToInt((curr - runs) >> 1); in compute_intervalcount() 123 static SkRegion::RunType* SkipEntireScanline(const SkRegion::RunType runs[]) { in SkipEntireScanline() 125 SkASSERT(runs[0] < SkRegion::kRunTypeSentinel); in SkipEntireScanline() 127 const int intervals = runs[1]; in SkipEntireScanline() 128 SkASSERT(runs[2 + intervals * 2] == SkRegion::kRunTypeSentinel); in SkipEntireScanline() 131 int n = compute_intervalcount(&runs[2]); in SkipEntireScanline() 137 runs += 1 + 1 + intervals * 2 + 1; in SkipEntireScanline() 138 return const_cast<SkRegion::RunType*>(runs); in SkipEntireScanline() [all …]
|
D | SkAntiRun.h | 55 int16_t* runs = fRuns + offsetX; in add() local 61 SkAlphaRuns::Break(runs, alpha, x, 1); in add() 71 runs += x + 1; in add() 78 SkAlphaRuns::Break(runs, alpha, x, middleCount); in add() 80 runs += x; in add() 84 int n = runs[0]; in add() 87 runs += n; in add() 95 SkAlphaRuns::Break(runs, alpha, x, 1); in add() 116 static void Break(int16_t runs[], uint8_t alpha[], int x, int count) { 122 int16_t* next_runs = runs + x; [all …]
|
D | SkAlphaRuns.cpp | 31 const int16_t* runs = fRuns; in assertValid() local 34 while (*runs) { in assertValid() 36 alpha += *runs; in assertValid() 37 runs += *runs; in assertValid() 42 const int16_t* runs = fRuns; in dump() local 46 while (*runs) { in dump() 47 int n = *runs; in dump() 54 runs += n; in dump() 63 const int16_t* runs = fRuns; in validate() local 65 while (*runs) { in validate() [all …]
|
D | SkBlitter.h | 35 const int16_t runs[]); 60 int16_t runs[3]; in blitAntiH2() local 63 runs[0] = 1; in blitAntiH2() 64 runs[1] = 1; in blitAntiH2() 65 runs[2] = 0; in blitAntiH2() 68 this->blitAntiH(x, y, aa, runs); in blitAntiH2() 73 int16_t runs[2]; in blitAntiV2() local 76 runs[0] = 1; in blitAntiV2() 77 runs[1] = 0; in blitAntiV2() 79 this->blitAntiH(x, y, aa, runs); in blitAntiV2() [all …]
|
D | SkBlitter.cpp | 46 const int16_t runs[]) { in blitAntiH() argument 54 int16_t runs[2]; in blitV() local 55 runs[0] = 1; in blitV() 56 runs[1] = 0; in blitV() 59 this->blitAntiH(x, y++, &alpha, runs); in blitV() 192 int16_t* runs = runStorage.get(); in blitMask() local 195 sk_memset16((uint16_t*)runs, 1, width); in blitMask() 196 runs[width] = 0; in blitMask() 201 this->blitAntiH(clip.fLeft, y, aa, runs); in blitMask() 249 const int16_t runs[]) {} in blitAntiH() argument [all …]
|
D | SkBlitter_RGB16.cpp | 67 const int16_t* runs) override; 94 void blitAntiH(int x, int y, const SkAlpha* antialias, const int16_t* runs) override; 108 void blitAntiH(int x, int y, const SkAlpha* antialias, const int16_t* runs) override; 122 const int16_t* runs) override; 144 const int16_t* runs) override; 232 const int16_t* SK_RESTRICT runs) { in blitAntiH() argument 236 int count = runs[0]; in blitAntiH() 241 runs += count; in blitAntiH() 293 const int16_t* SK_RESTRICT runs) { in blitAntiH() argument 304 int count = runs[0]; in blitAntiH() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | BidiLine.java | 132 lineBidi.runs = new BidiRun[0]; in setLine() 285 iRun = bidi.runs[0]; in getLogicalRun() 288 iRun = bidi.runs[i]; in getLogicalRun() 304 int start = bidi.runs[runIndex].start; in getVisualRun() 306 byte level = bidi.runs[runIndex].level; in getVisualRun() 310 bidi.runs[runIndex].limit - in getVisualRun() 311 bidi.runs[runIndex - 1].limit; in getVisualRun() 313 limit = start + bidi.runs[0].limit; in getVisualRun() 321 bidi.runs = bidi.simpleRuns; in getSingleRun() 325 bidi.runs[0] = new BidiRun(0, bidi.length, level); in getSingleRun() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | BidiLine.java | 133 lineBidi.runs = new BidiRun[0]; in setLine() 286 iRun = bidi.runs[0]; in getLogicalRun() 289 iRun = bidi.runs[i]; in getLogicalRun() 305 int start = bidi.runs[runIndex].start; in getVisualRun() 307 byte level = bidi.runs[runIndex].level; in getVisualRun() 311 bidi.runs[runIndex].limit - in getVisualRun() 312 bidi.runs[runIndex - 1].limit; in getVisualRun() 314 limit = start + bidi.runs[0].limit; in getVisualRun() 322 bidi.runs = bidi.simpleRuns; in getSingleRun() 326 bidi.runs[0] = new BidiRun(0, bidi.length, level); in getSingleRun() [all …]
|
/external/icu/icu4c/source/common/ |
D | ubidiln.c | 153 pLineBiDi->runs=NULL; in ubidi_setLine() 320 iRun=pBiDi->runs[0]; in ubidi_getLogicalRun() 323 iRun = pBiDi->runs[i]; in ubidi_getLogicalRun() 373 start=pBiDi->runs[runIndex].logicalStart; in ubidi_getVisualRun() 379 *pLength=pBiDi->runs[runIndex].visualLimit- in ubidi_getVisualRun() 380 pBiDi->runs[runIndex-1].visualLimit; in ubidi_getVisualRun() 382 *pLength=pBiDi->runs[0].visualLimit; in ubidi_getVisualRun() 392 pBiDi->runs=pBiDi->simpleRuns; in getSingleRun() 396 pBiDi->runs[0].logicalStart=MAKE_INDEX_ODD_PAIR(0, level); in getSingleRun() 397 pBiDi->runs[0].visualLimit=pBiDi->length; in getSingleRun() [all …]
|
/external/autotest/client/site_tests/kernel_LTP/ |
D | ltp-diff.py | 38 runs = {} 41 runs[i] = {} 54 runs[i][testname] = status 59 return (runs, testnames) 63 def compare_results(runs): argument 74 for i in range(len(runs)): 75 print " Run[%d]: %d" % (i, len(runs[i].keys())) 82 for i in range(1,len(runs)): 85 if not runs[i].has_key(testname): 86 runs[i][testname] = "null" [all …]
|
/external/autotest/client/tests/ltp/ |
D | ltp-diff.py | 35 runs = {} 38 runs[i] = {} 51 runs[i][testname] = status 56 return (runs, testnames) 60 def compare_results(runs): argument 69 for i in range(len(runs)): 70 print " Run[%d]: %d" % (i, len(runs[i].keys())) 77 for i in range(1,len(runs)): 80 if not runs[i].has_key(testname): 81 runs[i][testname] = "null" [all …]
|
/external/llvm/lib/Fuzzer/test/ |
D | fuzzer-traces.test | 2 Done1000000: Done 1000000 runs in 4 RUN: not LLVMFuzzer-SimpleCmpTest -use_traces=1 -seed=1 -runs=1000001 2>&1 | FileCheck %s 6 RUN: not LLVMFuzzer-MemcmpTest -use_traces=1 -seed=4294967295 -runs=100000 2>&1 | FileCheck %s 7 RUN: LLVMFuzzer-MemcmpTest -seed=4294967295 -runs=1000000 2>&1 | FileCheck %s --… 9 RUN: not LLVMFuzzer-StrncmpTest -use_traces=1 -seed=1 -runs=100000 2>&1 | FileCheck %s 10 RUN: LLVMFuzzer-StrncmpTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-pr… 12 RUN: not LLVMFuzzer-StrcmpTest -use_traces=1 -seed=1 -runs=200000 2>&1 | FileCheck %s 13 RUN: LLVMFuzzer-StrcmpTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-pre… 15 RUN: not LLVMFuzzer-SwitchTest -use_traces=1 -seed=1 -runs=1000002 2>&1 | FileCheck %s 16 RUN: LLVMFuzzer-SwitchTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-pre… [all …]
|
D | fuzzer-dfsan.test | 9 RUN: not LLVMFuzzer-SimpleCmpTest-DFSan -use_traces=1 -seed=1 -runs=1000000 -timeout=5 2>&1 | FileC… 10 RUN: LLVMFuzzer-SimpleCmpTest-DFSan -use_traces=1 -seed=1 -runs=100 -timeout=5 -verbosity=3 2>&1 | … 12 RUN: not LLVMFuzzer-MemcmpTest-DFSan -use_traces=1 -seed=1 -runs=10000 -timeout=5 2>&1 | FileCheck … 13 RUN: LLVMFuzzer-MemcmpTest-DFSan -use_traces=1 -seed=1 -runs=2 -timeout=5 -verbosity=3 2>&1 | FileC… 15 RUN: not LLVMFuzzer-StrncmpTest-DFSan -use_traces=1 -seed=1 -runs=10000 -timeout=5 2>&1 | FileCheck… 16 RUN: LLVMFuzzer-StrncmpTest-DFSan -use_traces=1 -seed=1 -runs=2 -timeout=5 -verbosity=3 2>&1 | File… 18 RUN: not LLVMFuzzer-StrcmpTest-DFSan -use_traces=1 -seed=1 -runs=10000 -timeout=5 2>&1 | FileCheck … 19 RUN: LLVMFuzzer-StrcmpTest-DFSan -use_traces=1 -seed=1 -runs=2 -timeout=5 -verbosity=3 2>&1… 21 RUN: not LLVMFuzzer-SwitchTest-DFSan -use_traces=1 -seed=1 -runs=100000 -timeout=5 2>&… 22 RUN: LLVMFuzzer-SwitchTest-DFSan -use_traces=1 -seed=1 -runs=2 -timeout=5 -verbosity=3 2>&1…
|
D | fuzzer.test | 2 Done1000000: Done 1000000 runs in 9 MaxTotalTime: Done {{.*}} runs in {{.}} second(s) 23 RUN: LLVMFuzzer-CallerCalleeTest -use_indir_calls=0 -cross_over=0 -max_len=6 -seed=1 -runs=100… 28 RUN: not LLVMFuzzer-SimpleDictionaryTest -dict=%S/dict1.txt -seed=1 -runs=1000003 2>&1 | FileCheck… 29 RUN: LLVMFuzzer-SimpleDictionaryTest -seed=1 -runs=1000000 2>&1 | FileCheck…
|
/external/aac/libAACdec/src/arm/ |
D | block_arm.cpp | 112 int runs = band_offset; in CBlock_ScaleSpectralData_func1() local 114 runs = band_offset - runs; /* is always a multiple of 4 */ in CBlock_ScaleSpectralData_func1() 133 } while ((runs = runs-4) != 0); in CBlock_ScaleSpectralData_func1() 137 pSpectrum+= runs; in CBlock_ScaleSpectralData_func1()
|
/external/opencv/cvaux/src/ |
D | cvprewarp.cpp | 90 int *runs, /* result runs */ in icvFindRunsInOneImage() argument 111 runs[run_index++] = 0; in icvFindRunsInOneImage() 112 runs[run_index++] = curr_color; in icvFindRunsInOneImage() 124 runs[run_index++] = index; in icvFindRunsInOneImage() 125 runs[run_index++] = color; in icvFindRunsInOneImage() 133 runs[run_index++] = index; in icvFindRunsInOneImage()
|
/external/srtp/crypto/math/ |
D | stat.c | 82 uint16_t runs[6] = { 0, 0, 0, 0, 0, 0 }; in stat_test_runs() local 143 runs[state-1]++; /* increment run count */ in stat_test_runs() 171 debug_print(mod_stat, " runs[]: %d", runs[i]); in stat_test_runs() 178 if ( (runs[i] < lo_value[i] ) || (runs[i] > hi_value[i]) in stat_test_runs() 207 uint16_t runs[6] = { 0, 0, 0, 0, 0, 0 }; in stat_test_rand_source() local 289 runs[state-1]++; /* increment run count */ in stat_test_rand_source() 343 if ((runs[i] < lo_value[i] ) || (runs[i] > hi_value[i]) in stat_test_rand_source()
|
/external/autotest/tko/ |
D | nightly.py | 50 runs = {} # platform --> list of test runs 64 runs.setdefault(platform, []).append(testrunx) 65 return runs 81 runs = {} 85 runs.setdefault(antag, []).append(testrunx) 87 twoway_runs[kernel] = runs 91 def collect_raw_scores(runs, metric): argument 95 for platform in runs: 96 vals = perf.get_metric_at_point(runs[platform], metric) 130 runs = twoway_runs[kernel].get(test2, []) [all …]
|
/external/v8/test/cctest/compiler/ |
D | test-basic-block-profiler.cc | 101 uint32_t runs[] = {0, 1, 500, 10000}; in TEST() local 102 for (size_t i = 0; i < arraysize(runs); i++) { in TEST() 104 CHECK_EQ(1, m.Call(static_cast<int>(runs[i]))); in TEST() 105 uint32_t expected[] = {1, runs[i] + 1, runs[i], 1}; in TEST()
|
/external/opencv3/modules/core/perf/ |
D | perf_mat.cpp | 21 int runs = (size.width <= 640) ? 15 : 5; in PERF_TEST_P() local 22 TEST_CYCLE_MULTIRUN(runs) in PERF_TEST_P() 42 int runs = (size.width <= 640) ? 15 : 5; in PERF_TEST_P() local 43 TEST_CYCLE_MULTIRUN(runs) in PERF_TEST_P()
|
/external/opencv3/modules/imgproc/perf/ |
D | perf_threshold.cpp | 35 int runs = (sz.width <= 640) ? 40 : 1; in PERF_TEST_P() local 36 TEST_CYCLE_MULTIRUN(runs) threshold(src, dst, thresh, maxval, threshType); in PERF_TEST_P() 54 int runs = 15; in PERF_TEST_P() local 55 TEST_CYCLE_MULTIRUN(runs) threshold(src, dst, 0, maxval, THRESH_BINARY|THRESH_OTSU); in PERF_TEST_P()
|
/external/libyuv/files/unit_test/ |
D | rotate_argb_test.cc | 22 libyuv::RotationMode mode, int runs) { in ARGBTestRotate() argument 59 for (i = 0; i < runs; ++i) { in ARGBTestRotate() 64 c_time = (get_time() - c_time) / runs; in ARGBTestRotate() 68 for (i = 0; i < runs; ++i) { in ARGBTestRotate() 73 opt_time = (get_time() - opt_time) / runs; in ARGBTestRotate()
|
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/ |
D | wait_for.pass.cpp | 36 int runs = 0; variable 51 if (runs == 0) in f() 61 ++runs; in f()
|
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvar/ |
D | wait_for_pred.pass.cpp | 43 int runs = 0; variable 56 if (runs == 0) in f() 66 ++runs; in f()
|