/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/ |
D | IntervalSet.java | 56 protected List<Interval> intervals; field in IntervalSet 60 intervals = new ArrayList<Interval>(2); // most sets are 1 or 2 elements in IntervalSet() 63 public IntervalSet(List<Interval> intervals) { in IntervalSet() argument 64 this.intervals = intervals; in IntervalSet() 107 for (ListIterator iter = intervals.listIterator(); iter.hasNext();) { in add() 139 intervals.add(addition); in add() 198 int n = other.intervals.size(); in addAll() 200 Interval I = (Interval) other.intervals.get(i); in addAll() 227 int n = intervals.size(); in complement() 231 Interval first = (Interval)intervals.get(0); in complement() [all …]
|
/external/autotest/site_utils/ |
D | host_history_utils.py | 139 intervals = input['intervals'] 171 len(intervals) >1): 180 num_entries_found = len(intervals) 186 for entry in intervals: 351 intervals = results_group_by_host.get(host, None) 356 if not intervals: 357 intervals = get_intervals_for_host(t_start, t_end, host) 358 hosts_intervals[host] = intervals 387 for hostname,intervals in hosts_intervals.items(): 391 'intervals': intervals}) [all …]
|
/external/libgdx/gdx/src/com/badlogic/gdx/maps/tiled/tiles/ |
D | AnimatedTiledMapTile.java | 116 public void setAnimationIntervals (int[] intervals) { in setAnimationIntervals() argument 117 if (intervals.length == animationIntervals.length) { in setAnimationIntervals() 118 this.animationIntervals = intervals; in setAnimationIntervals() 121 for (int i = 0; i < intervals.length; i++) { in setAnimationIntervals() 122 loopDuration += intervals[i]; in setAnimationIntervals() 126 throw new GdxRuntimeException("Cannot set " + intervals.length in setAnimationIntervals() 165 public AnimatedTiledMapTile (IntArray intervals, Array<StaticTiledMapTile> frameTiles) { in AnimatedTiledMapTile() argument 169 this.animationIntervals = intervals.toArray(); in AnimatedTiledMapTile() 172 for (int i = 0; i < intervals.size; ++i) { in AnimatedTiledMapTile() 174 this.loopDuration += intervals.get(i); in AnimatedTiledMapTile()
|
/external/skia/src/core/ |
D | SkRegionPriv.h | 127 const int intervals = runs[1]; in SkipEntireScanline() local 128 SkASSERT(runs[2 + intervals * 2] == SkRegion::kRunTypeSentinel); in SkipEntireScanline() 132 SkASSERT(n == intervals); in SkipEntireScanline() 137 runs += 1 + 1 + intervals * 2 + 1; in SkipEntireScanline() 185 const int intervals = *runs++; in computeRunBounds() local 186 SkASSERT(intervals >= 0); in computeRunBounds() 187 SkASSERT(intervals < SkRegion::kRunTypeSentinel); in computeRunBounds() 189 if (intervals > 0) { in computeRunBounds() 193 SkASSERT(n == intervals); in computeRunBounds() 202 runs += intervals * 2; in computeRunBounds() [all …]
|
/external/openfst/src/include/fst/ |
D | interval-set.h | 98 const vector<Interval> *intervals = iset.Intervals(); in Union() local 99 for (typename vector<Interval>::const_iterator it = intervals->begin(); in Union() 100 it != intervals->end(); ++it) in Union() 275 const vector<Interval> *intervals = iset.Intervals(); in Overlaps() local 277 typename vector<Interval>::const_iterator it2 = intervals->begin(); in Overlaps() 279 while (it1 != intervals_.end() && it2 != intervals->end()) { in Overlaps() 295 const vector<Interval> *intervals = iset.Intervals(); in StrictlyOverlaps() local 297 typename vector<Interval>::const_iterator it2 = intervals->begin(); in StrictlyOverlaps() 302 while (it1 != intervals_.end() && it2 != intervals->end()) { in StrictlyOverlaps() 331 if (it2 != intervals->end()) in StrictlyOverlaps() [all …]
|
D | state-reachable.h | 73 vector<Interval> *intervals = (*isets_)[s].Intervals(); in InitState() local 87 intervals->push_back(Interval(index, index + 1)); in InitState() 89 intervals->push_back(Interval(index_, index_ + 1)); in InitState() 114 vector<Interval> *intervals = (*isets_)[s].Intervals(); in FinishState() local 115 (*intervals)[0].end = index_; // Update tree interval end in FinishState()
|
/external/skia/tests/ |
D | DashPathEffectTest.cpp | 18 SkScalar intervals[] = { 1.76934361e+36f, 2.80259693e-45f }; // Values from bug. in DEF_TEST() local 21 SkAutoTUnref<SkPathEffect> dash(SkDashPathEffect::Create(intervals, count, phase)); in DEF_TEST() 34 const SkScalar intervals[] = { 1.0f, 1.0f }; in DEF_TEST() local 36 SkAutoTUnref<SkPathEffect> dash(SkDashPathEffect::Create(intervals, count, 0.0f)); in DEF_TEST() 97 SkScalar intervals[2] = { 1, 1 }; in DEF_TEST() local 98 SkAutoTUnref<SkPathEffect> dash(SkDashPathEffect::Create(intervals, 2, 0)); in DEF_TEST()
|
/external/skia/tools/lua/ |
D | scrape_dashing_full.lua | 71 increment(dashInterval_count, #de.intervals) 72 if 2 == #de.intervals then 73 if 1 == de.intervals[1] and 1 == de.intervals[2] then 75 elseif 0 == de.intervals[1] then
|
/external/skia/src/utils/ |
D | SkDashPath.cpp | 16 static SkScalar find_first_interval(const SkScalar intervals[], SkScalar phase, in find_first_interval() argument 19 if (phase > intervals[i]) { in find_first_interval() 20 phase -= intervals[i]; in find_first_interval() 23 return intervals[i] - phase; in find_first_interval() 31 return intervals[0]; in find_first_interval() 34 void SkDashPath::CalcDashParameters(SkScalar phase, const SkScalar intervals[], int32_t count, in CalcDashParameters() argument 39 len += intervals[i]; in CalcDashParameters() 70 *initialDashLength = find_first_interval(intervals, phase, in CalcDashParameters() 232 const SkScalar* intervals = aIntervals; in FilterDashPath() local 303 dlen = intervals[index]; in FilterDashPath()
|
/external/skia/gm/ |
D | dashcubics.cpp | 18 SkScalar intervals[2], SkPaint::Join join) { in flower() 19 SkPathEffect* pe = SkDashPathEffect::Create(intervals, 2, 0); in flower() 57 SkScalar intervals[] = { 5 + (x ? 0 : 0.0001f + 0.0001f), 10 }; variable 58 flower(canvas, path, intervals, y ? SkPaint::kDefault_Join : SkPaint::kRound_Join);
|
D | bug530095.cpp | 21 SkScalar intervals[] = {700, 700 }; variable 22 int intervalCount = (int) SK_ARRAY_COUNT(intervals); 23 paint.setPathEffect(SkDashPathEffect::Create(intervals, intervalCount, -40))->unref(); 37 paint.setPathEffect(SkDashPathEffect::Create(intervals, intervalCount, 0))->unref();
|
D | dashing.cpp | 19 const SkScalar intervals[] = { in drawline() local 24 p.setPathEffect(SkDashPathEffect::Create(intervals, 2, phase))->unref(); in drawline() 169 const int* intervals = &gIntervals[1]; in onDraw() local 172 int count = *intervals++; in onDraw() 174 vals[i] = SkIntToScalar(*intervals++); in onDraw() 223 SkScalar intervals[2] = { dashLength, dashLength }; in drawDashedLines() local 225 p.setPathEffect(SkDashPathEffect::Create(intervals, 2, phase))->unref(); in drawDashedLines() 500 const SkScalar intervals[] = { 1, 1 }; variable 501 p.setPathEffect(SkDashPathEffect::Create(intervals, SK_ARRAY_COUNT(intervals), 0))->unref(); 511 const SkScalar intervals[] = { 2, 2 }; variable [all …]
|
D | pathcontourstart.cpp | 23 SkSTArray<100, SkScalar> intervals; in ContourStartGM() local 25 intervals.push_back(len); in ContourStartGM() 26 intervals.push_back(len); in ContourStartGM() 30 SkDashPathEffect::Create(intervals.begin(), intervals.count(), 0)); in ContourStartGM()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/ |
D | ctor_iterator.pass.cpp | 30 std::vector<double> iv = d.intervals(); in main() 44 std::vector<double> iv = d.intervals(); in main() 58 std::vector<double> iv = d.intervals(); in main() 72 std::vector<double> iv = d.intervals(); in main() 88 std::vector<double> iv = d.intervals(); in main()
|
D | param_ctor_iterator.pass.cpp | 30 std::vector<double> iv = pa.intervals(); in main() 45 std::vector<double> iv = pa.intervals(); in main() 60 std::vector<double> iv = pa.intervals(); in main() 75 std::vector<double> iv = pa.intervals(); in main() 92 std::vector<double> iv = pa.intervals(); in main()
|
D | ctor_init_func.pass.cpp | 34 std::vector<double> iv = d.intervals(); in main() 46 std::vector<double> iv = d.intervals(); in main() 58 std::vector<double> iv = d.intervals(); in main() 70 std::vector<double> iv = d.intervals(); in main()
|
D | param_ctor_init_func.pass.cpp | 32 std::vector<double> iv = pa.intervals(); in main() 45 std::vector<double> iv = pa.intervals(); in main() 58 std::vector<double> iv = pa.intervals(); in main() 71 std::vector<double> iv = pa.intervals(); in main()
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/ |
D | ctor_iterator.pass.cpp | 30 std::vector<double> iv = d.intervals(); in main() 43 std::vector<double> iv = d.intervals(); in main() 56 std::vector<double> iv = d.intervals(); in main() 69 std::vector<double> iv = d.intervals(); in main() 84 std::vector<double> iv = d.intervals(); in main()
|
D | param_ctor_iterator.pass.cpp | 30 std::vector<double> iv = pa.intervals(); in main() 44 std::vector<double> iv = pa.intervals(); in main() 58 std::vector<double> iv = pa.intervals(); in main() 72 std::vector<double> iv = pa.intervals(); in main() 88 std::vector<double> iv = pa.intervals(); in main()
|
D | ctor_init_func.pass.cpp | 34 std::vector<double> iv = d.intervals(); in main() 45 std::vector<double> iv = d.intervals(); in main() 56 std::vector<double> iv = d.intervals(); in main() 67 std::vector<double> iv = d.intervals(); in main()
|
D | param_ctor_init_func.pass.cpp | 32 std::vector<double> iv = pa.intervals(); in main() 44 std::vector<double> iv = pa.intervals(); in main() 56 std::vector<double> iv = pa.intervals(); in main() 68 std::vector<double> iv = pa.intervals(); in main()
|
/external/skia/src/animator/ |
D | SkDrawDash.cpp | 16 SK_MEMBER_ARRAY(intervals, Float), 31 int count = intervals.count(); in getPathEffect() 34 return SkDashPathEffect::Create(intervals.begin(), count, phase); in getPathEffect()
|
/external/skia/src/gpu/effects/ |
D | GrDashingEffect.cpp | 51 const SkScalar* intervals = strokeInfo.getDashIntervals(); in CanDrawDashLine() local 52 if (0 == intervals[0] && 0 == intervals[1]) { in CanDrawDashLine() 58 if (SkPaint::kRound_Cap == cap && intervals[0] != 0.f) { in CanDrawDashLine() 124 static SkScalar calc_start_adjustment(const SkScalar intervals[2], SkScalar phase) { in calc_start_adjustment() 125 SkASSERT(phase < intervals[0] + intervals[1]); in calc_start_adjustment() 126 if (phase >= intervals[0] && phase != 0) { in calc_start_adjustment() 127 SkScalar srcIntervalLen = intervals[0] + intervals[1]; in calc_start_adjustment() 133 static SkScalar calc_end_adjustment(const SkScalar intervals[2], const SkPoint pts[2], in calc_end_adjustment() 138 SkScalar srcIntervalLen = intervals[0] + intervals[1]; in calc_end_adjustment() 148 if (*endingInt > intervals[0]) { in calc_end_adjustment() [all …]
|
/external/skia/src/effects/ |
D | SkDashPathEffect.cpp | 15 SkDashPathEffect::SkDashPathEffect(const SkScalar intervals[], int count, SkScalar phase) in SkDashPathEffect() argument 20 SkASSERT(intervals); in SkDashPathEffect() 26 SkASSERT(intervals[i] >= 0); in SkDashPathEffect() 27 fIntervals[i] = intervals[i]; in SkDashPathEffect() 367 SkAutoSTArray<32, SkScalar> intervals(count); in CreateProc() local 368 if (buffer.readScalarArray(intervals.get(), count)) { in CreateProc() 369 return Create(intervals.get(), SkToInt(count), phase); in CreateProc() 390 SkPathEffect* SkDashPathEffect::Create(const SkScalar intervals[], int count, SkScalar phase) { in Create() argument 395 if (intervals[i] < 0) { in Create() 399 return new SkDashPathEffect(intervals, count, phase); in Create()
|
/external/skia/src/gpu/ |
D | GrStrokeInfo.cpp | 12 bool all_dash_intervals_zero(const SkScalar* intervals, int count) { in all_dash_intervals_zero() argument 14 if (intervals[i] != 0) { in all_dash_intervals_zero() 85 const SkScalar* intervals = this->getDashIntervals(); in asUniqueKeyFragment() local 87 memcpy(&data[i], intervals, intervalByteCnt); in asUniqueKeyFragment()
|