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

/external/clang/unittests/AST/
H A DASTTypeTraitsTest.cpp38 unsigned Distance = 1; local
39 EXPECT_TRUE(DNT<Expr>().isBaseOf(DNT<Expr>(), &Distance)); local
40 EXPECT_EQ(0u, Distance);
42 EXPECT_TRUE(DNT<Stmt>().isBaseOf(DNT<IfStmt>(), &Distance)); local
43 EXPECT_EQ(1u, Distance);
45 Distance = 3;
46 EXPECT_TRUE(DNT<DeclaratorDecl>().isBaseOf(DNT<ParmVarDecl>(), &Distance)); local
47 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/chromium_org/tools/telemetry/telemetry/core/
H A Dbitmap.py65 def Distance(self, other): member in class:ColorHistogram
/external/chromium_org/chrome/browser/extensions/api/location/
H A Dlocation_manager.cc63 Distance(position.latitude,
79 static double Distance(const double latitude1, function in class:extensions::updatepolicy::DistanceBasedUpdatePolicy
/external/chromium_org/third_party/skia/include/core/
H A DSkPoint.h429 static SkScalar Distance(const SkPoint& a, const SkPoint& b) { function in struct:SkPoint
/external/skia/include/core/
H A DSkPoint.h429 static SkScalar Distance(const SkPoint& a, const SkPoint& b) { function in struct:SkPoint
/external/clang/lib/ASTMatchers/Dynamic/
H A DMarshallers.h168 unsigned Distance; local
169 if (i->isBaseOf(Kind, &Distance)) {
171 *Specificity = 100 - Distance;
/external/clang/lib/Basic/
H A DDiagnosticIDs.cpp564 unsigned Distance = i->getName().edit_distance(Group, true, BestDistance); local
565 if (Distance == BestDistance) {
568 } else if (Distance < BestDistance) {
571 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) { }
380 /// 3) Distance - The value d of the dependence distance;
386 enum ConstraintKind { Empty, Point, Distance, Line, Any } Kind; enumerator in enum:llvm::DependenceAnalysis::Constraint::ConstraintKind
399 /// isDistance - Return true if the constraint is of kind Distance.
400 bool isDistance() const { return Kind == Distance; }
403 /// Since Distance's can also be represented as Lines, we also return
404 /// true if the constraint is of kind Distance.
405 bool isLine() const { return Kind == Line || Kind == Distance; }
444 /// setDistance - Change a constraint to Distance
[all...]
/external/jhead/
H A Djhead.h107 float Distance; member in struct:__anon22666
/external/llvm/utils/FileCheck/
H A DFileCheck.cpp513 unsigned Distance = ComputeMatchDistance(Buffer.substr(i), VariableTable); local
514 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/chromium_org/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/llvm/lib/Support/
H A DCommandLine.cpp256 unsigned Distance = StringRef(Name).edit_distance( local
258 if (!Best || Distance < BestDistance) {
260 BestDistance = Distance;
H A DYAMLParser.cpp386 /// @brief Skip \a Distance UTF-8 code units. Updates \a Cur and \a Column.
387 void skip(uint32_t Distance);
888 void Scanner::skip(uint32_t Distance) { argument
889 Current += Distance;
890 Column += Distance;
/external/pdfium/core/src/fpdfapi/fpdf_render/
H A Dfpdf_render_pattern.cpp500 float Distance() function in struct:Coon_BezierCoeff
558 float Distance() function in struct:Coon_Bezier
560 return x.Distance() + y.Distance();
581 int Distance(Coon_Color& o) function in struct:Coon_Color
605 FX_BOOL bSmall = C1.Distance() < 2 && C2.Distance() < 2 && D1.Distance() < 2 && D2.Distance() < 2;
613 d_bottom = div_colors[3].Distance(div_color
[all...]
/external/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp252 return DV[Level - 1].Distance;
310 assert((Kind == Line || Kind == Distance) &&
311 "Kind should be Line (or Distance)");
319 assert((Kind == Line || Kind == Distance) &&
320 "Kind should be Line (or Distance)");
328 assert((Kind == Line || Kind == Distance) &&
329 "Kind should be Line (or Distance)");
337 assert(Kind == Distance && "Kind should be Distance");
344 assert((Kind == Distance || Kin
597 const SCEV *Distance = getDistance(II); local
599 OS << *Distance; local
1051 APInt Distance = ConstDelta; // these need to be initialized local
1245 APInt Distance = APDelta; // these need to be initialzed local
[all...]
/external/deqp/modules/glshared/
H A DglsBuiltinPrecisionTests.cpp2900 class Distance : public DerivedFunc< class in namespace:deqp::gls::BuiltinPrecisionTests::Functions
2906 typedef typename Distance::Ret Ret;
2907 typedef typename Distance::ArgExprs ArgExprs;
5127 funcs->addFactory(SharedPtr<const CaseFactory>(new TemplateFuncCaseFactory<Distance>()));
/external/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp4249 bool couldPreventStoreLoadForward(unsigned Distance, unsigned TypeByteSize);
4341 bool MemoryDepChecker::couldPreventStoreLoadForward(unsigned Distance, argument
4360 if (Distance % vf && Distance / vf < NumCyclesForStoreLoadThroughMemory) {
4367 DEBUG(dbgs() << "LV: Distance " << Distance <<
4417 DEBUG(dbgs() << "LV: Distance for " << *InstMap[AIdx] << " to "
4470 unsigned Distance = (unsigned) Val.getZExtValue();
4479 if (Distance < 2*TypeByteSize ||
4481 Distance < TypeByteSiz
[all...]

Completed in 463 milliseconds