/external/clang/unittests/AST/ |
ASTTypeTraitsTest.cpp | 38 unsigned Distance = 1; 39 EXPECT_TRUE(DNT<Expr>().isBaseOf(DNT<Expr>(), &Distance)); 40 EXPECT_EQ(0u, Distance); 42 EXPECT_TRUE(DNT<Stmt>().isBaseOf(DNT<IfStmt>(), &Distance)); 43 EXPECT_EQ(1u, Distance); 45 Distance = 3; 46 EXPECT_TRUE(DNT<DeclaratorDecl>().isBaseOf(DNT<ParmVarDecl>(), &Distance)); 47 EXPECT_EQ(2u, Distance);
|
/external/clang/lib/AST/ |
ASTTypeTraits.cpp | 42 bool ASTNodeKind::isBaseOf(ASTNodeKind Other, unsigned *Distance) const { 43 return isBaseOf(KindId, Other.KindId, Distance); 51 unsigned *Distance) { 58 if (Distance) 59 *Distance = Dist;
|
/external/chromium_org/v8/src/x64/ |
macro-assembler-x64.h | 176 Label::Distance condition_met_distance = Label::kFar); 187 Label::Distance distance = Label::kFar) { 188 InNewSpace(object, scratch, not_equal, branch, distance); 196 Label::Distance distance = Label::kFar) { 197 InNewSpace(object, scratch, equal, branch, distance); 205 Label::Distance on_black_distance = Label::kFar); 212 Label::Distance not_data_object_distance); 223 Label::Distance distance) [all...] |
macro-assembler-x64.cc | 255 Label::Distance distance) { 270 j(cc, branch, distance); 286 j(cc, branch, distance); [all...] |
/external/jhead/ |
makernote.c | 138 if (Components > 19 && ImageInfo.Distance <= 0) { 139 // Inidcates the distance the autofocus camera is focused to. 140 // Tends to be less accurate as distance increases. 144 ImageInfo.Distance = (float)temp_dist/100; 146 ImageInfo.Distance = -1 /* infinity */;
|
jhead.h | 107 float Distance;
|
main.c | 664 if (ImageInfo.Distance){ 665 bufLen = addKeyValueDouble(&buf, bufLen, "SubjectDistance", (double)ImageInfo.Distance, "%4.2f");
|
/external/chromium_org/v8/src/ia32/ |
macro-assembler-ia32.h | 88 Label::Distance condition_met_distance = Label::kFar); 95 Label::Distance condition_met_distance = Label::kFar); 106 Label::Distance distance = Label::kFar) { 107 InNewSpace(object, scratch, zero, branch, distance); 115 Label::Distance distance = Label::kFar) { 116 InNewSpace(object, scratch, not_zero, branch, distance); 124 Label::Distance has_color_distance, 132 Label::Distance on_black_distance = Label::kFar) 922 JumpIfNotUniqueNameInstanceType(Operand(reg), not_unique_name, distance); local [all...] |
/external/chromium_org/v8/src/x87/ |
macro-assembler-x87.h | 87 Label::Distance condition_met_distance = Label::kFar); 94 Label::Distance condition_met_distance = Label::kFar); 105 Label::Distance distance = Label::kFar) { 106 InNewSpace(object, scratch, zero, branch, distance); 114 Label::Distance distance = Label::kFar) { 115 InNewSpace(object, scratch, not_zero, branch, distance); 123 Label::Distance has_color_distance, 131 Label::Distance on_black_distance = Label::kFar) 890 JumpIfNotUniqueNameInstanceType(Operand(reg), not_unique_name, distance); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/animation/animatable/ |
AnimatableDoubleTest.cpp | 72 TEST(AnimationAnimatableDoubleTest, Distance) 78 EXPECT_DOUBLE_EQ(3.75, AnimatableValue::distance(first.get(), second.get())); 79 EXPECT_DOUBLE_EQ(0.75, AnimatableValue::distance(second.get(), third.get())); 80 EXPECT_DOUBLE_EQ(4.5, AnimatableValue::distance(third.get(), first.get()));
|
AnimatableColorTest.cpp | 68 TEST(AnimationAnimatableColorTest, Distance) 77 EXPECT_NEAR(13.0 / 255, AnimatableValue::distance(first.get(), second.get()), 0.00000001);
|
/external/chromium_org/third_party/skia/src/effects/gradients/ |
SkTwoPointConicalGradient.h | 71 SkScalar getCenterX1() const { return SkPoint::Distance(fCenter1, fCenter2); }
|
/external/chromium_org/tools/perf/metrics/ |
speedindex.py | 150 total_distance = start_histogram.Distance(final_histogram) 154 if histogram.Distance(final_histogram) == 0: 158 return 1 - histogram.Distance(final_histogram) / total_distance
|
/external/llvm/include/llvm/Analysis/ |
DependenceAnalysis.h | 80 /// Dependence::DVEntry - Each level in the distance/direction vector 82 /// perhaps a distance. 97 const SCEV *Distance; // NULL implies no distance available. 99 PeelLast(false), Splitable(false), Distance(nullptr) { } 155 /// getDistance - Returns the distance (or NULL) associated with a 249 /// getDistance - Returns the distance (or NULL) associated with a 380 /// 3) Distance - The value d of the dependence distance; 386 enum ConstraintKind { Empty, Point, Distance, Line, Any } Kind [all...] |
/external/openfst/src/include/fst/extensions/pdt/ |
expand.h | 327 // shortest-distance information computed using a reverse 448 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 494 // the shortest-distance from '(s, current_stack_id_)' to the final 551 << reverse_shortest_path_->GetShortestPathData().Distance(s); 552 return reverse_shortest_path_->GetShortestPathData().Distance(s); 570 // Returns the shortest distance from the initial state to 's' in 'ofst_'. 572 typename A::Weight PrunedExpand<A>::Distance(StateId s) const { 576 // Sets the shortest distance from the initial state to 's' in 'ofst_' to 'w' [all...] |
shortest-path.h | 51 // 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 113 SearchData() : distance(Weight::Zero()), 118 Weight distance; // Distance to this state from PDT 'start' state member in struct:fst::PdtShortestPathData::SearchData 148 Weight Distance(SearchState s) const { 150 return data->distance; 153 Weight Distance(const ParenSpec &paren) const { 155 return data->distance; [all...] |
/external/llvm/lib/Analysis/ |
DependenceAnalysis.cpp | 249 // Returns the distance (or NULL) associated with a particular level. 252 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)"); 334 // If constraint is a distance, returns D. 337 assert(Kind == Distance && "Kind should be Distance") [all...] |
/external/clang/include/clang/AST/ |
ASTTypeTraits.h | 60 /// \param Distance If non-null, used to return the distance between \c this 62 bool isBaseOf(ASTNodeKind Other, unsigned *Distance = nullptr) const; 101 /// \param Distance If non-null, used to return the distance between \c Base 103 static bool isBaseOf(NodeKindId Base, NodeKindId Derived, unsigned *Distance);
|
/external/chromium_org/third_party/skia/src/effects/ |
SkCornerPathEffect.cpp | 21 SkScalar dist = SkPoint::Distance(a, b);
|
/external/clang/lib/Basic/ |
DiagnosticIDs.cpp | 564 unsigned Distance = i->getName().edit_distance(Group, true, BestDistance); 565 if (Distance == BestDistance) { 566 // Two matches with the same distance, don't prefer one over the other. 568 } else if (Distance < BestDistance) { 571 BestDistance = Distance;
|
/external/chromium_org/chrome/browser/extensions/api/location/ |
location_manager.cc | 52 // A policy that controls sending an update below a distance threshold. 63 Distance(position.latitude, 78 // Calculates the distance between two latitude and longitude points. 79 static double Distance(const double latitude1, 95 // The Haversine Formula determines the great circle distance
|
/external/chromium_org/third_party/skia/src/core/ |
SkPathMeasure.cpp | 84 SkScalar distance, int mint, int maxt, int ptIndex) { 90 distance = this->compute_quad_segs(tmp, distance, mint, halft, ptIndex); 91 distance = this->compute_quad_segs(&tmp[2], distance, halft, maxt, ptIndex); 93 SkScalar d = SkPoint::Distance(pts[0], pts[2]); 94 SkScalar prevD = distance; 95 distance += d; 96 if (distance > prevD) { 98 seg->fDistance = distance; 134 SkScalar distance = 0; local [all...] |
/external/chromium_org/v8/src/ |
assembler.h | 221 enum Distance { 264 void link_to(int pos, Distance distance = kFar) { 265 if (distance == kNear) { [all...] |
/external/chromium_org/third_party/skia/samplecode/ |
SampleDraw.cpp | 342 if (SkPoint::Distance(click->fOrig, click->fCurr) > SkIntToScalar(3)) {
|
/external/chromium_org/third_party/skia/src/utils/ |
SkDashPath.cpp | 165 SkScalar pathLength = SkPoint::Distance(fPts[0], fPts[1]); 269 double distance = 0; local 272 while (distance < length) { 280 lineRec.addSegment(SkDoubleToScalar(distance), 281 SkDoubleToScalar(distance + dlen), 284 meas.getSegment(SkDoubleToScalar(distance), 285 SkDoubleToScalar(distance + dlen), 289 distance += dlen;
|