/external/skia/src/core/ |
D | SkPathMeasure.cpp | 108 SkScalar distance, int mint, int maxt, int ptIndex) { in compute_quad_segs() argument 114 distance = this->compute_quad_segs(tmp, distance, mint, halft, ptIndex); in compute_quad_segs() 115 distance = this->compute_quad_segs(&tmp[2], distance, halft, maxt, ptIndex); in compute_quad_segs() 120 distance += d; in compute_quad_segs() 122 seg->fDistance = distance; in compute_quad_segs() 128 return distance; in compute_quad_segs() 132 SkScalar distance, int mint, int maxt, int ptIndex) { in compute_cubic_segs() argument 138 distance = this->compute_cubic_segs(tmp, distance, mint, halft, ptIndex); in compute_cubic_segs() 139 distance = this->compute_cubic_segs(&tmp[3], distance, halft, maxt, ptIndex); in compute_cubic_segs() 144 distance += d; in compute_cubic_segs() [all …]
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
D | shortest-path.h | 63 vector<typename Arc::Weight> *distance, in SingleShortestPath() argument 85 distance->clear(); in SingleShortestPath() 95 while (distance->size() < source) { in SingleShortestPath() 96 distance->push_back(Weight::Zero()); in SingleShortestPath() 101 distance->push_back(Weight::One()); in SingleShortestPath() 111 Weight sd = (*distance)[s]; in SingleShortestPath() 116 while (distance->size() <= arc.nextstate) { in SingleShortestPath() 117 distance->push_back(Weight::Zero()); in SingleShortestPath() 123 Weight &nd = (*distance)[arc.nextstate]; in SingleShortestPath() 145 (*distance)[source] = Weight::One(); in SingleShortestPath() [all …]
|
D | shortest-distance.h | 62 vector<Weight> *distance, in ShortestDistanceState() argument 65 : fst_(fst.Copy()), distance_(distance), state_queue_(opts.state_queue), in ShortestDistanceState() 201 vector<typename Arc::Weight> *distance, in ShortestDistance() argument 205 sd_state(fst, distance, opts, false); in ShortestDistance() 231 vector<typename Arc::Weight> *distance, 238 AutoQueue<StateId> state_queue(fst, distance, arc_filter); 241 ShortestDistance(fst, distance, opts); 254 distance->clear(); 255 while (distance->size() < rdistance.size() - 1) 256 distance->push_back(rdistance[distance->size() + 1].Reverse());
|
D | push.h | 42 vector<typename Arc::Weight> distance; in Push() local 43 ShortestDistance(*fst, &distance, type == REWEIGHT_TO_INITIAL); in Push() 44 Reweight(fst, distance, type); in Push()
|
D | rmepsilon.h | 63 vector<Weight> *distance, in RmEpsilonState() argument 65 : fst_(fst), distance_(distance), sd_state_(fst_, distance, opts, true) { in RmEpsilonState() 203 vector<typename Arc::Weight> *distance, in RmEpsilon() argument 244 rmeps_state(*fst, distance, opts); in RmEpsilon() 293 vector<Weight> distance; variable 294 AutoQueue<StateId> state_queue(*fst, &distance, EpsilonArcFilter<Arc>()); 298 RmEpsilon(fst, &distance, opts);
|
/external/skia/include/core/ |
D | SkPathMeasure.h | 51 bool getPosTan(SkScalar distance, SkPoint* position, SkVector* tangent); 63 … bool getMatrix(SkScalar distance, SkMatrix* matrix, MatrixFlags flags = kGetPosAndTan_MatrixFlag); 106 SkScalar compute_quad_segs(const SkPoint pts[3], SkScalar distance, 108 SkScalar compute_cubic_segs(const SkPoint pts[3], SkScalar distance, 110 const Segment* distanceToSegment(SkScalar distance, SkScalar* t);
|
/external/skia/src/effects/ |
D | Sk1DPathEffect.cpp | 26 SkScalar distance = this->begin(length); in filterPath() local 27 while (distance < length) in filterPath() 29 SkScalar delta = this->next(dst, distance, meas); in filterPath() 32 distance += delta; in filterPath() 180 SkScalar SkPath1DPathEffect::next(SkPath* dst, SkScalar distance, SkPathMeasure& meas) in next() argument 186 meas.getPosTan(distance, &pos, NULL); in next() 193 meas.getMatrix(distance, &matrix); in next() 198 morphpath(dst, fPath, meas, distance); in next()
|
D | SkDiscretePathEffect.cpp | 59 SkScalar distance = 0; in filterPath() local 64 distance += delta/2; in filterPath() 66 meas.getPosTan(distance, &p, &v); in filterPath() 71 distance += delta; in filterPath() 72 meas.getPosTan(distance, &p, &v); in filterPath()
|
D | SkDashPathEffect.cpp | 110 SkScalar distance = 0; in filterPath() local 113 while (distance < length) in filterPath() 120 meas.getSegment(distance, distance + dlen, dst, true); in filterPath() 122 distance += dlen; in filterPath()
|
/external/webkit/SunSpider/tests/ |
D | access-nbody.js | 96 var dx, dy, dz, distance, mag; 107 distance = Math.sqrt(dx*dx + dy*dy + dz*dz); 108 mag = dt / (distance * distance * distance); 129 var dx, dy, dz, distance; 147 distance = Math.sqrt(dx*dx + dy*dy + dz*dz); 148 e -= (bodyi.mass * bodyj.mass) / distance;
|
/external/webkit/WebCore/platform/graphics/ |
D | PathTraversalState.cpp | 162 float distance = distanceLine(m_current, m_start); in closeSubpath() local 164 return distance; in closeSubpath() 175 float distance = distanceLine(m_current, point); in lineTo() local 177 return distance; in lineTo() 182 …float distance = curveLength<QuadraticBezier>(*this, QuadraticBezier(m_current, newControl, newEnd… in quadraticBezierTo() local 190 return distance; in quadraticBezierTo() 195 …float distance = curveLength<CubicBezier>(*this, CubicBezier(m_current, newControl1, newControl2, … in cubicBezierTo() local 203 return distance; in cubicBezierTo()
|
/external/freetype/src/truetype/ |
D | ttinterp.c | 1552 FT_F26Dot6 distance ) in Direct_Move() argument 1565 zone->cur[point].x += TT_MULDIV( distance, in Direct_Move() 1576 zone->cur[point].y += TT_MULDIV( distance, in Direct_Move() 1605 FT_F26Dot6 distance ) in Direct_Move_Orig() argument 1617 zone->org[point].x += TT_MULDIV( distance, in Direct_Move_Orig() 1624 zone->org[point].y += TT_MULDIV( distance, in Direct_Move_Orig() 1643 FT_F26Dot6 distance ) in Direct_Move_X() argument 1647 zone->cur[point].x += distance; in Direct_Move_X() 1655 FT_F26Dot6 distance ) in Direct_Move_Y() argument 1659 zone->cur[point].y += distance; in Direct_Move_Y() [all …]
|
D | ttinterp.h | 70 (*TT_Round_Func)( EXEC_OP_ FT_F26Dot6 distance, 77 FT_F26Dot6 distance );
|
/external/webkit/WebKitTools/DumpRenderTree/cg/ |
D | ImageDiffCG.cpp | 120 float distance = sqrtf(red * red + green * green + blue * blue + alpha * alpha) / 2.0f; in createDifferenceImage() local 122 *diff++ = (unsigned char)(distance * 255.0f); in createDifferenceImage() 124 if (distance >= 1.0f / 255.0f) { in createDifferenceImage() 126 sum += distance; in createDifferenceImage() 127 if (distance > maxDistance) in createDifferenceImage() 128 maxDistance = distance; in createDifferenceImage()
|
/external/webkit/WebKit/android/nav/ |
D | SelectText.cpp | 110 int distance = dx * dx + dy * dy; in onIRect() local 112 if (distance < 500 || abs(distance - mDistance) < 500) in onIRect() 113 DBG_NAV_LOGD("distance=%d mDistance=%d", distance, mDistance); in onIRect() 115 if (mDistance > distance) { in onIRect() 116 mDistance = distance; in onIRect()
|
D | CachedFrame.cpp | 273 int distance = testData.mDistance + testData.mSideDistance; in compare() 275 if (distance > best) { in compare() 279 else if (distance < best) in compare() 397 int distance = dx * dx + dy * dy; in findBestAt() local 398 if ((!*inside && testInside) || *best > distance) { in findBestAt() 399 *best = distance; in findBestAt() 460 int distance = dx * dx + dy * dy; in findBestHitAt() local 461 if (*best <= distance) in findBestHitAt() 463 *best = distance; in findBestHitAt() 518 int distance; in findClosest() local [all …]
|
/external/webkit/WebCore/platform/image-decoders/zlib/ |
D | deflate.h | 315 # define _tr_tally_dist(s, distance, length, flush) \ argument 317 ush dist = (distance); \ 327 # define _tr_tally_dist(s, distance, length, flush) \ argument 328 flush = _tr_tally(s, distance, length)
|
/external/zlib/ |
D | deflate.h | 315 # define _tr_tally_dist(s, distance, length, flush) \ argument 317 ush dist = (distance); \ 327 # define _tr_tally_dist(s, distance, length, flush) \ argument 328 flush = _tr_tally(s, distance, length)
|
/external/qemu/distrib/zlib-1.2.3/ |
D | deflate.h | 315 # define _tr_tally_dist(s, distance, length, flush) \ argument 317 ush dist = (distance); \ 327 # define _tr_tally_dist(s, distance, length, flush) \ argument 328 flush = _tr_tally(s, distance, length)
|
/external/webkit/WebCore/page/ |
D | History.cpp | 70 void History::go(int distance) in go() argument 74 m_frame->loader()->scheduleHistoryNavigation(distance); in go()
|
/external/skia/include/effects/ |
D | Sk1DPathEffect.h | 41 virtual SkScalar next(SkPath* dst, SkScalar distance, SkPathMeasure&) = 0; 74 virtual SkScalar next(SkPath* dst, SkScalar distance, SkPathMeasure&);
|
/external/freetype/src/base/ |
D | ftapi.c | 65 FT_Long distance ) in FT_Skip_Stream() argument 67 return FT_Stream_Skip( stream, distance ); in FT_Skip_Stream()
|
/external/webkit/WebCore/svg/ |
D | SVGPathElement.h | 67 FloatPoint getPointAtLength(float distance); 68 unsigned long getPathSegAtLength(float distance);
|
/external/webkit/WebCore/platform/graphics/cairo/ |
D | GraphicsContextCairo.cpp | 256 …int distance = (isVerticalLine ? (point2.y() - point1.y()) : (point2.x() - point1.x())) - 2*static… in drawLine() local 257 int remainder = distance%patWidth; in drawLine() 258 int coverage = distance-remainder; in drawLine() 371 int distance; in strokeArc() local 373 distance = static_cast<int>((M_PI * hRadius) / 2.0); in strokeArc() 375 … distance = static_cast<int>((M_PI * sqrtf((hRadius * hRadius + vRadius * vRadius) / 2.0)) / 2.0); in strokeArc() 377 int remainder = distance % patWidth; in strokeArc() 378 int coverage = distance - remainder; in strokeArc()
|
/external/webkit/WebCore/bridge/qt/ |
D | qt_runtime.cpp | 141 …oQVariant(ExecState* exec, JSValuePtr value, QMetaType::Type hint, int *distance, HashSet<JSObject… in convertValueToQVariant() argument 157 if (distance) in convertValueToQVariant() 158 *distance = -1; in convertValueToQVariant() 207 if (distance) in convertValueToQVariant() 208 *distance = -1; in convertValueToQVariant() 291 if (distance) in convertValueToQVariant() 292 *distance = 1; in convertValueToQVariant() 707 if (distance) in convertValueToQVariant() 708 *distance = 1; in convertValueToQVariant() 717 … ret = convertValueToQVariant(exec, value, QMetaType::Void, distance, visitedObjects); in convertValueToQVariant() [all …]
|