Home
last modified time | relevance | path

Searched refs:top_ (Results 1 – 22 of 22) sorted by relevance

/external/libchrome/base/metrics/
Dstatistics_recorder.cc37 StatisticsRecorder* StatisticsRecorder::top_ = nullptr; member in base::StatisticsRecorder
55 DCHECK_EQ(this, top_); in ~StatisticsRecorder()
56 top_ = previous_; in ~StatisticsRecorder()
62 if (top_) in EnsureGlobalRecorderWhileLocked()
68 DCHECK_EQ(p, top_); in EnsureGlobalRecorderWhileLocked()
76 top_->providers_.push_back(provider); in RegisterHistogramProvider()
88 HistogramBase*& registered = top_->histograms_[name]; in RegisterOrDeleteDuplicate()
97 const auto callback_iterator = top_->callbacks_.find(name); in RegisterOrDeleteDuplicate()
98 if (callback_iterator != top_->callbacks_.end()) { in RegisterOrDeleteDuplicate()
127 const BucketRanges* const registered = *top_->ranges_.insert(ranges).first; in RegisterOrDeleteDuplicateRanges()
[all …]
Dstatistics_recorder.h292 static StatisticsRecorder* top_; variable
Dstatistics_recorder_unittest.cc91 delete StatisticsRecorder::top_; in UninitializeStatisticsRecorder()
92 DCHECK(!StatisticsRecorder::top_); in UninitializeStatisticsRecorder()
95 bool HasGlobalRecorder() { return StatisticsRecorder::top_ != nullptr; } in HasGlobalRecorder()
/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()
21 : top_(vertical), in InsetsF()
26 : top_(top), left_(left), bottom_(bottom), right_(right) {} in InsetsF()
28 constexpr float top() const { return top_; } in top()
39 constexpr float height() const { return top_ + bottom_; } in height()
45 top_ = top; in Set()
52 return top_ == insets.top_ && left_ == insets.left_ &&
61 top_ += insets.top_;
68 top_ -= insets.top_;
[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()
30 : top_(vertical), in Insets()
35 : top_(top), left_(left), bottom_(bottom), right_(right) {} in Insets()
37 constexpr int top() const { return top_; } in top()
48 constexpr int height() const { return top_ + bottom_; } in height()
54 top_ = top; in Set()
61 return top_ == insets.top_ && left_ == insets.left_ &&
70 top_ += insets.top_;
77 top_ -= insets.top_;
[all …]
/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/
Dgeom.h90 top_(0), in BoundingBox()
96 top_(bounding_box.top_), in BoundingBox()
100 SCHECK(top_ < bottom_, "Bounds out of whack! %.2f vs %.2f!", top_, bottom_); in BoundingBox()
108 top_(top), in BoundingBox()
112 SCHECK(top_ < bottom_, "Bounds out of whack! %.2f vs %.2f!", top_, bottom_); in BoundingBox()
117 top_(MIN(point1.y, point2.y)), in BoundingBox()
123 bounds_array[1] = top_; in CopyToArray()
133 return bottom_ - top_; in GetHeight()
148 (top_ + bottom_) / 2.0f); in GetCenter()
164 const float new_top = MAX(this->top_, that.top_); in Intersect()
[all …]
Dgl_utils.h30 bounding_box.left_, bounding_box.top_, in DrawBox()
31 bounding_box.left_, bounding_box.top_, in DrawBox()
32 bounding_box.right_, bounding_box.top_, in DrawBox()
33 bounding_box.right_, bounding_box.top_, in DrawBox()
Dtracked_object.h106 temp_box.top_ -= kBufferSize; in Draw()
113 temp_box.top_ -= -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()
Dsprite.h116 top = area->top_; in LoadTexture()
Dintegral_image.h151 return GetCode(bounding_box.left_, bounding_box.top_, in GetCode()
Dflow_cache.h144 const float y_in = valid_box.top_ + in GetMedianFlow()
Dimage_utils.h212 y_index * y_dist_between_samples + area_to_copy.top_; in CopyArea()
Dkeypoint_detector.cc317 box.top_ + box.GetHeight() * (j + 0.5f) / kNumToAddAsCandidates); in AddExtraCandidatesForBoxes()
Dobject_tracker.cc456 float y1 = box.top_; in AddQuadrants()
/external/libgav1/libgav1/src/
Dresidual_buffer_pool.cc54 while (top_ != nullptr) { in ~ResidualBufferStack()
55 ResidualBuffer* top = top_; in ~ResidualBufferStack()
56 top_ = top_->next_; in ~ResidualBufferStack()
62 buffer->next_ = top_; in Push()
63 top_ = buffer.release(); in Push()
69 if (top_ != nullptr) { in Pop()
70 top.reset(top_); in Pop()
71 top_ = top_->next_; in Pop()
79 std::swap(top_, other->top_); in Swap()
Dresidual_buffer_pool.h108 ResidualBuffer* top_ = nullptr;
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dcall_stack.hpp38 next_(call_stack<Key, Value>::top_) in context()
41 call_stack<Key, Value>::top_ = this; in context()
48 next_(call_stack<Key, Value>::top_) in context()
50 call_stack<Key, Value>::top_ = this; in context()
56 call_stack<Key, Value>::top_ = next_; in ~context()
91 context* elem = top_; in contains()
104 context* elem = top_; in top()
110 static tss_ptr<context> top_; member in asio::detail::call_stack
115 call_stack<Key, Value>::top_; member in asio::detail::call_stack<Key, Value>
/external/libgav1/libgav1/src/utils/
Dstack.h35 ++top_; in Push()
36 assert(top_ < capacity); in Push()
37 elements_[top_] = std::move(value); in Push()
43 assert(top_ >= 0); in Pop()
44 return std::move(elements_[top_--]); in Pop()
48 bool Empty() const { return top_ < 0; } in Empty()
54 int top_ = -1; variable
/external/webrtc/modules/desktop_capture/
Ddesktop_geometry.h104 DesktopRect() : left_(0), top_(0), right_(0), bottom_(0) {} in DesktopRect()
107 int32_t top() const { return top_; } in top()
111 int32_t height() const { return bottom_ - top_; } in height()
114 void set_height(int32_t height) { bottom_ = top_ + height; } in set_height()
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()
162 int32_t top_; variable
Ddesktop_geometry.cc30 top_ = std::max(top(), rect.top()); in IntersectWith()
35 top_ = 0; in IntersectWith()
52 top_ = std::min(top(), rect.top()); in UnionWith()
59 top_ += dy; in Translate()
69 top_ -= top_offset; in Extend()
/external/webp/src/utils/
Dquant_levels_dec_utils.c61 uint16_t* top_; member
85 const uint16_t* const top = p->top_; in VFilter()
98 p->top_ = p->cur_; in VFilter()
232 p->top_ = p->end_ - width; in InitParams()
233 memset(p->top_, 0, width * sizeof(*p->top_)); in InitParams()