Home
last modified time | relevance | path

Searched refs:left_ (Results 1 – 25 of 50) sorted by relevance

12

/external/libchrome/ui/gfx/geometry/
Dinsets_f.h17 constexpr InsetsF() : top_(0.f), left_(0.f), bottom_(0.f), right_(0.f) {} in InsetsF()
19 : top_(all), left_(all), bottom_(all), right_(all) {} in InsetsF()
22 left_(horizontal), in InsetsF()
26 : top_(top), left_(left), bottom_(bottom), right_(right) {} in InsetsF()
29 constexpr float left() const { return left_; } in left()
35 constexpr float width() const { return left_ + right_; } in width()
46 left_ = left; in Set()
52 return top_ == insets.top_ && left_ == insets.left_ &&
62 left_ += insets.left_;
69 left_ -= insets.left_;
[all …]
Dinsets.h26 constexpr Insets() : top_(0), left_(0), bottom_(0), right_(0) {} in Insets()
28 : top_(all), left_(all), bottom_(all), right_(all) {} in Insets()
31 left_(horizontal), in Insets()
35 : top_(top), left_(left), bottom_(bottom), right_(right) {} in Insets()
38 constexpr int left() const { return left_; } in left()
44 constexpr int width() const { return left_ + right_; } in width()
55 left_ = left; in Set()
61 return top_ == insets.top_ && left_ == insets.left_ &&
71 left_ += insets.left_;
78 left_ -= insets.left_;
[all …]
/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/
Dgeom.h89 : left_(0), in BoundingBox()
95 : left_(bounding_box.left_), in BoundingBox()
99 SCHECK(left_ < right_, "Bounds out of whack! %.2f vs %.2f!", left_, right_); in BoundingBox()
107 : left_(left), in BoundingBox()
111 SCHECK(left_ < right_, "Bounds out of whack! %.2f vs %.2f!", left_, right_); in BoundingBox()
116 : left_(MIN(point1.x, point2.x)), in BoundingBox()
122 bounds_array[0] = left_; in CopyToArray()
129 return right_ - left_; in GetWidth()
147 return Point2f((left_ + right_) / 2.0f, in GetCenter()
157 const float new_left = MAX(this->left_, that.left_); in Intersect()
[all …]
Dgl_utils.h29 bounding_box.left_, bounding_box.bottom_, in DrawBox()
30 bounding_box.left_, bounding_box.top_, in DrawBox()
31 bounding_box.left_, bounding_box.top_, in DrawBox()
36 bounding_box.left_, bounding_box.bottom_ in DrawBox()
Dtracked_object.h105 temp_box.left_ -= kBufferSize; in Draw()
112 temp_box.left_ -= -2.0f * kBufferSize; in Draw()
Dtracked_object.cc136 last_known_position_.left_, last_known_position_.top_, in OnDetection()
138 detection_position.left_, detection_position.top_, in OnDetection()
/external/ImageMagick/Magick++/lib/
DGeometry.cpp24 MagickPPExport int Magick::operator == (const Magick::Geometry& left_, in operator ==() argument
27 return((left_.aspect() == right_.aspect()) && in operator ==()
28 (left_.fillArea() == right_.fillArea()) && in operator ==()
29 (left_.greater() == right_.greater()) && in operator ==()
30 (left_.height() == right_.height()) && in operator ==()
31 (left_.isValid() == right_.isValid()) && in operator ==()
32 (left_.less() == right_.less()) && in operator ==()
33 (left_.limitPixels() == right_.limitPixels()) && in operator ==()
34 (left_.percent() == right_.percent()) && in operator ==()
35 (left_.width() == right_.width()) && in operator ==()
[all …]
DColor.cpp20 MagickPPExport int Magick::operator == (const Magick::Color &left_, in operator ==() argument
24 return((left_.isValid() == right_.isValid()) && in operator ==()
25 (fabs(left_.quantumRed()-right_.quantumRed()) < MagickEpsilon) && in operator ==()
26 (fabs(left_.quantumGreen()-right_.quantumGreen()) < MagickEpsilon) && in operator ==()
27 (fabs(left_.quantumBlue()-right_.quantumBlue()) < MagickEpsilon)); in operator ==()
29 return((left_.isValid() == right_.isValid()) && in operator ==()
30 (left_.quantumRed() == right_.quantumRed()) && in operator ==()
31 (left_.quantumGreen() == right_.quantumGreen()) && in operator ==()
32 (left_.quantumBlue() == right_.quantumBlue())); in operator ==()
36 MagickPPExport int Magick::operator != (const Magick::Color &left_, in operator !=() argument
[all …]
DDrawable.cpp22 MagickPPExport int Magick::operator == (const Magick::Coordinate& left_, in operator ==() argument
25 return((left_.x() == right_.x()) && (left_.y() == right_.y())); in operator ==()
28 MagickPPExport int Magick::operator != (const Magick::Coordinate& left_, in operator !=() argument
31 return(!(left_ == right_)); in operator !=()
34 MagickPPExport int Magick::operator > (const Magick::Coordinate& left_, in operator >() argument
37 return (!(left_ < right_) && (left_ != right_)); in operator >()
40 MagickPPExport int Magick::operator < (const Magick::Coordinate& left_, in operator <() argument
44 return((sqrt(left_.x()*left_.x() + left_.y()*left_.y())) < in operator <()
48 MagickPPExport int Magick::operator >= (const Magick::Coordinate& left_, in operator >=() argument
51 return((left_ > right_) || (left_ == right_)); in operator >=()
[all …]
/external/ImageMagick/Magick++/lib/Magick++/
DGeometry.h23 (const Magick::Geometry& left_,const Magick::Geometry& right_);
25 (const Magick::Geometry& left_,const Magick::Geometry& right_);
27 (const Magick::Geometry& left_,const Magick::Geometry& right_);
29 (const Magick::Geometry& left_,const Magick::Geometry& right_);
31 (const Magick::Geometry& left_,const Magick::Geometry& right_);
33 (const Magick::Geometry& left_,const Magick::Geometry& right_);
145 (const Magick::Offset& left_,const Magick::Offset& right_);
147 (const Magick::Offset& left_,const Magick::Offset& right_);
202 (const Magick::Point& left_,const Magick::Point& right_);
204 (const Magick::Point& left_,const Magick::Point& right_);
DColor.h20 (const Magick::Color& left_,const Magick::Color& right_);
22 (const Magick::Color& left_,const Magick::Color& right_);
24 (const Magick::Color& left_,const Magick::Color& right_);
26 (const Magick::Color& left_,const Magick::Color& right_);
28 (const Magick::Color& left_,const Magick::Color& right_);
30 (const Magick::Color& left_,const Magick::Color& right_);
DDrawable.h82 (const Coordinate& left_,const Coordinate& right_);
84 (const Coordinate& left_, const Coordinate& right_);
86 (const Coordinate& left_, const Coordinate& right_);
88 (const Coordinate& left_, const Coordinate& right_);
90 (const Coordinate& left_, const Coordinate& right_);
92 (const Coordinate& left_, const Coordinate& right_);
2441 extern MagickPPExport int operator == ( const PathArcArgs& left_,
2443 extern MagickPPExport int operator != ( const PathArcArgs& left_,
2445 extern MagickPPExport int operator > ( const PathArcArgs& left_,
2447 extern MagickPPExport int operator < ( const PathArcArgs& left_,
[all …]
DImage.h36 (const Magick::Image &left_,const Magick::Image &right_);
38 (const Magick::Image &left_,const Magick::Image &right_);
40 (const Magick::Image &left_,const Magick::Image &right_);
42 (const Magick::Image &left_,const Magick::Image &right_);
44 (const Magick::Image &left_,const Magick::Image &right_);
46 (const Magick::Image &left_,const Magick::Image &right_);
/external/webrtc/modules/desktop_capture/
Ddesktop_geometry.h104 DesktopRect() : left_(0), top_(0), right_(0), bottom_(0) {} in DesktopRect()
106 int32_t left() const { return left_; } in left()
110 int32_t width() const { return right_ - left_; } in width()
113 void set_width(int32_t width) { right_ = left_ + width; } in set_width()
116 DesktopVector top_left() const { return DesktopVector(left_, top_); } in top_left()
119 bool is_empty() const { return left_ >= right_ || top_ >= bottom_; } in is_empty()
122 return left_ == other.left_ && top_ == other.top_ && in equals()
159 : left_(left), top_(top), right_(right), bottom_(bottom) {} in DesktopRect()
161 int32_t left_; variable
Ddesktop_geometry.cc29 left_ = std::max(left(), rect.left()); in IntersectWith()
34 left_ = 0; in IntersectWith()
51 left_ = std::min(left(), rect.left()); in UnionWith()
58 left_ += dx; in Translate()
68 left_ -= left_offset; in Extend()
/external/tensorflow/tensorflow/core/util/
Dincremental_barrier.cc29 : left_(1), done_callback_(std::move(callback)) {} in InternalIncrementalBarrier()
32 DCHECK_GE(left_.load(std::memory_order_relaxed), 0); in operator ()()
34 if (left_.fetch_sub(1, std::memory_order_acq_rel) - 1 == 0) { in operator ()()
43 left_.fetch_add(1, std::memory_order_acq_rel); in Inc()
50 std::atomic<int> left_; member in tensorflow::InternalIncrementalBarrier
/external/icing/icing/index/iterator/
Ddoc-hit-info-iterator-or.cc58 : left_(std::move(left_it)), right_(std::move(right_it)) {} in DocHitInfoIteratorOr()
68 if (left_->Advance().ok()) { in Advance()
69 left_document_id_ = left_->doc_hit_info().document_id(); in Advance()
105 chosen = left_.get(); in Advance()
109 chosen = left_.get(); in Advance()
126 return left_->GetNumBlocksInspected() + right_->GetNumBlocksInspected(); in GetNumBlocksInspected()
130 return left_->GetNumLeafAdvanceCalls() + right_->GetNumLeafAdvanceCalls(); in GetNumLeafAdvanceCalls()
134 return absl_ports::StrCat("(", left_->ToString(), " OR ", right_->ToString(), in ToString()
Ddoc-hit-info-iterator-or.h62 std::unique_ptr<DocHitInfoIterator> left_;
/external/openscreen/cast/streaming/testing/
Dmessage_pipe.h68 left_(left_id_), in MessagePipe()
70 left_.SetOtherEnd(&right_); in MessagePipe()
71 right_.SetOtherEnd(&left_); in MessagePipe()
76 MessagePipeEnd* left() { return &left_; } in left()
82 MessagePipeEnd left_; variable
/external/webp/src/enc/
Dtoken_enc.c49 b->left_ = 0; in VP8TBufferInit()
80 b->left_ = b->page_size_; in TBufferNewPage()
95 if (b->left_ > 0 || TBufferNewPage(b)) { in AddToken()
96 const int slot = --b->left_; in AddToken()
107 if (b->left_ > 0 || TBufferNewPage(b)) { in AddConstantToken()
108 const int slot = --b->left_; in AddConstantToken()
206 const int N = (next == NULL) ? b->left_ : 0; in VP8EmitTokens()
232 const int N = (next == NULL) ? b->left_ : 0; in VP8EstimateTokenSize()
/external/googletest/googlemock/src/
Dgmock-matchers.cc125 left_(graph_->LhsSize(), kUnused), in MaxBipartiteMatchState()
147 GTEST_CHECK_(left_[ilhs] == kUnused) in Compute()
148 << "ilhs: " << ilhs << ", left_[ilhs]: " << left_[ilhs]; in Compute()
154 for (size_t ilhs = 0; ilhs < left_.size(); ++ilhs) { in Compute()
155 size_t irhs = left_[ilhs]; in Compute()
199 left_[ilhs] = irhs; in TryAugment()
219 ::std::vector<size_t> left_;
/external/llvm-project/llvm/utils/unittest/googlemock/src/
Dgmock-matchers.cc202 left_(graph_->LhsSize(), kUnused), in MaxBipartiteMatchState()
225 GTEST_CHECK_(left_[ilhs] == kUnused) in Compute()
226 << "ilhs: " << ilhs << ", left_[ilhs]: " << left_[ilhs]; in Compute()
232 for (size_t ilhs = 0; ilhs < left_.size(); ++ilhs) { in Compute()
233 size_t irhs = left_[ilhs]; in Compute()
279 left_[ilhs] = irhs; in TryAugment()
299 ::std::vector<size_t> left_;
/external/deqp/framework/referencerenderer/
DrrRenderState.hpp228 WindowRectangle (int left_, int bottom_, int width_, int height_) in WindowRectangle()
229 : left (left_) in WindowRectangle()
/external/libaom/libaom/test/
Ddr_prediction_test.cc169 left_ = &left_data_[kOffset]; in DrPredTest()
193 params_.ref_fn(dst_ref_, dst_stride_, bw_, bh_, above_, left_, in Predict()
203 above_, left_, upsample_above_, in Predict()
287 Pixel *left_; member in __anon3b7840660111::DrPredTest
/external/fmtlib/support/
Ddocopt.py117 left_ = left[:pos] + left[pos + 1:]
127 return True, left_, collected + [match]
129 return True, left_, collected
130 return True, left_, collected + [match]

12