Searched defs:Distance (Results 1 - 18 of 18) sorted by relevance

/external/clang/unittests/AST/
H A DASTTypeTraitsTest.cpp44 unsigned Distance = 1; local
45 EXPECT_TRUE(DNT<Expr>().isBaseOf(DNT<Expr>(), &Distance)); local
46 EXPECT_EQ(0u, Distance);
48 EXPECT_TRUE(DNT<Stmt>().isBaseOf(DNT<IfStmt>(), &Distance)); local
49 EXPECT_EQ(1u, Distance);
51 Distance = 3;
52 EXPECT_TRUE(DNT<DeclaratorDecl>().isBaseOf(DNT<ParmVarDecl>(), &Distance)); local
53 EXPECT_EQ(2u, Distance);
/external/clang/lib/AST/
H A DASTTypeTraits.cpp42 bool ASTNodeKind::isBaseOf(ASTNodeKind Other, unsigned *Distance) const {
43 return isBaseOf(KindId, Other.KindId, Distance);
51 unsigned *Distance) {
58 if (Distance)
59 *Distance = Dist;
50 isBaseOf(NodeKindId Base, NodeKindId Derived, unsigned *Distance) argument
/external/clang/lib/ASTMatchers/Dynamic/
H A DVariantValue.cpp43 unsigned Distance; local
44 if (!MatcherKind.isBaseOf(To.MatcherKind, &Distance))
48 *Specificity = 100 - Distance;
/external/skia/include/core/
H A DSkPoint.h448 static SkScalar Distance(const SkPoint& a, const SkPoint& b) { function in struct:SkPoint
/external/clang/lib/Basic/
H A DDiagnosticIDs.cpp582 unsigned Distance = i->getName().edit_distance(Group, true, BestDistance); local
583 if (Distance > BestDistance)
591 if (Distance == BestDistance) {
594 } else if (Distance < BestDistance) {
597 BestDistance = Distance;
/external/llvm/include/llvm/Analysis/
H A DDependenceAnalysis.h97 const SCEV *Distance; // NULL implies no distance available. member in struct:llvm::Dependence::DVEntry
99 PeelLast(false), Splitable(false), Distance(nullptr) { }
377 /// 3) Distance - The value d of the dependence distance;
383 enum ConstraintKind { Empty, Point, Distance, Line, Any } Kind; enumerator in enum:llvm::DependenceAnalysis::Constraint::ConstraintKind
396 /// isDistance - Return true if the constraint is of kind Distance.
397 bool isDistance() const { return Kind == Distance; }
400 /// Since Distance's can also be represented as Lines, we also return
401 /// true if the constraint is of kind Distance.
402 bool isLine() const { return Kind == Line || Kind == Distance; }
441 /// setDistance - Change a constraint to Distance
[all...]
/external/jhead/
H A Djhead.h107 float Distance; member in struct:__anon6458
/external/llvm/lib/Analysis/
H A DLoopAccessAnalysis.cpp631 bool MemoryDepChecker::couldPreventStoreLoadForward(unsigned Distance, argument
651 if (Distance % vf && Distance / vf < NumCyclesForStoreLoadThroughMemory) {
658 DEBUG(dbgs() << "LAA: Distance " << Distance <<
715 DEBUG(dbgs() << "LAA: Distance for " << *InstMap[AIdx] << " to "
768 unsigned Distance = (unsigned) Val.getZExtValue(); local
779 if (Distance < 2*TypeByteSize ||
781 Distance < TypeByteSize * ForcedUnroll * ForcedFactor) {
788 MaxSafeDepDistBytes = Distance < MaxSafeDepDistByte
[all...]
H A DDependenceAnalysis.cpp251 return DV[Level - 1].Distance;
309 assert((Kind == Line || Kind == Distance) &&
310 "Kind should be Line (or Distance)");
318 assert((Kind == Line || Kind == Distance) &&
319 "Kind should be Line (or Distance)");
327 assert((Kind == Line || Kind == Distance) &&
328 "Kind should be Line (or Distance)");
336 assert(Kind == Distance && "Kind should be Distance");
343 assert((Kind == Distance || Kin
596 const SCEV *Distance = getDistance(II); local
598 OS << *Distance; local
1069 APInt Distance = ConstDelta; // these need to be initialized local
1263 APInt Distance = APDelta; // these need to be initialzed local
[all...]
/external/llvm/utils/FileCheck/
H A DFileCheck.cpp526 unsigned Distance = ComputeMatchDistance(Buffer.substr(i), VariableTable); local
527 double Quality = Distance + (NumLinesForward / 100.);
/external/openfst/src/include/fst/extensions/pdt/
H A Dexpand.h448 Weight Distance(StateId s) const;
471 vector<Weight> distance_; // Distance from initial state in efst_/ofst
472 vector<Weight> fdistance_; // Distance to final states in efst_/ofst
551 << reverse_shortest_path_->GetShortestPathData().Distance(s);
552 return reverse_shortest_path_->GetShortestPathData().Distance(s);
572 typename A::Weight PrunedExpand<A>::Distance(StateId s) const { function in class:fst::PrunedExpand
627 // updates 'Distance(arc.nextstate)' with new estimate;
632 Weight nd = Times(Distance(s), arc.weight);
633 if (less_(nd, Distance(arc.nextstate))) {
639 VLOG(2) << "Relax: " << s << ", d[s] = " << Distance(
[all...]
H A Dshortest-path.h51 // tree info 'Distance()', Parent(), and ArcParent() information keyed
57 // (b) the Distance() is from this 'start' state to the search state.
62 // (a) the Distance() is from the Parent() 'start' state to the
118 Weight distance; // Distance to this state from PDT 'start' state
148 Weight Distance(SearchState s) const { function in class:fst::PdtShortestPathData
153 Weight Distance(const ParenSpec &paren) const { function in class:fst::PdtShortestPathData
555 Weight w = Times(sp_data_.Distance(s),
575 Weight w = Times(sp_data_.Distance(s), arc.weight);
602 Weight pdist = sp_data_.Distance(paren);
606 Weight dist = sp_data_.Distance(
[all...]
/external/llvm/lib/Support/
H A DCommandLine.cpp308 unsigned Distance = StringRef(Name).edit_distance( local
310 if (!Best || Distance < BestDistance) {
312 BestDistance = Distance;
H A DYAMLParser.cpp389 /// @brief Skip \a Distance UTF-8 code units. Updates \a Cur and \a Column.
390 void skip(uint32_t Distance);
885 void Scanner::skip(uint32_t Distance) { argument
886 Current += Distance;
887 Column += Distance;
/external/llvm/lib/Transforms/Scalar/
H A DLoopInterchange.cpp133 const SCEV *Distance = D->getDistance(II); local
135 dyn_cast_or_null<SCEVConstant>(Distance);
/external/pdfium/core/src/fpdfapi/fpdf_render/
H A Dfpdf_render_pattern.cpp499 float Distance() function in struct:Coon_BezierCoeff
557 float Distance() function in struct:Coon_Bezier
559 return x.Distance() + y.Distance();
580 int Distance(Coon_Color& o) function in struct:Coon_Color
604 FX_BOOL bSmall = C1.Distance() < 2 && C2.Distance() < 2 && D1.Distance() < 2 && D2.Distance() < 2;
612 d_bottom = div_colors[3].Distance(div_color
[all...]
/external/v8/src/
H A Dassembler.h221 enum Distance { enum in class:v8::internal::BASE_EMBEDDED
264 void link_to(int pos, Distance distance = kFar) {
/external/deqp/modules/glshared/
H A DglsBuiltinPrecisionTests.cpp2979 class Distance : public DerivedFunc< class in namespace:deqp::gls::BuiltinPrecisionTests::Functions
2985 typedef typename Distance::Ret Ret;
2986 typedef typename Distance::ArgExprs ArgExprs;
5222 funcs->addFactory(SharedPtr<const CaseFactory>(new TemplateFuncCaseFactory<Distance>()));

Completed in 1164 milliseconds