Home
last modified time | relevance | path

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

12

/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/examples/android/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.h118 top = area->top_; in LoadTexture()
Dintegral_image.h151 return GetCode(bounding_box.left_, bounding_box.top_, in GetCode()
/external/v8/src/heap/
Dstore-buffer-inl.h16 if (top_ + sizeof(Address) * 2 > limit_[current_]) { in InsertDeletionIntoStoreBuffer()
19 *top_ = MarkDeletionAddress(start); in InsertDeletionIntoStoreBuffer()
20 top_++; in InsertDeletionIntoStoreBuffer()
21 *top_ = end; in InsertDeletionIntoStoreBuffer()
22 top_++; in InsertDeletionIntoStoreBuffer()
26 if (top_ + sizeof(Address) > limit_[current_]) { in InsertIntoStoreBuffer()
29 *top_ = slot; in InsertIntoStoreBuffer()
30 top_++; in InsertIntoStoreBuffer()
Dworklist.h275 GlobalPool() : top_(nullptr) {} in GlobalPool()
279 Segment* temp = top_; in Swap()
280 set_top(other.top_); in Swap()
286 segment->set_next(top_); in Push()
292 if (top_ != nullptr) { in Pop()
293 *segment = top_; in Pop()
294 set_top(top_->next()); in Pop()
301 return base::AsAtomicPointer::Relaxed_Load(&top_) == nullptr; in IsEmpty()
306 Segment* current = top_; in Clear()
320 Segment* current = top_; in Update()
[all …]
Dstore-buffer.cc22 : heap_(heap), top_(nullptr), current_(0), mode_(NOT_IN_GC) { in StoreBuffer()
72 top_ = start_[current_]; in SetUp()
78 top_ = nullptr; in TearDown()
139 lazy_top_[current_] = top_; in FlipStoreBuffers()
141 top_ = start_[current_]; in FlipStoreBuffers()
190 lazy_top_[current_] = top_; in MoveAllEntriesToRememberedSet()
192 top_ = start_[current_]; in MoveAllEntriesToRememberedSet()
Dstore-buffer.h51 inline Address* top_address() { return reinterpret_cast<Address*>(&top_); } in top_address()
105 return top_ == start_[current_]; in Empty()
145 Address* top_; variable
Dspaces.h165 top_(nullptr), in FreeListCategory()
172 top_ = nullptr; in Initialize()
216 FreeSpace* top() { return top_; } in top()
217 void set_top(FreeSpace* top) { top_ = top; } in set_top()
237 FreeSpace* top_; variable
1656 LinearAllocationArea() : top_(kNullAddress), limit_(kNullAddress) {} in LinearAllocationArea()
1657 LinearAllocationArea(Address top, Address limit) : top_(top), limit_(limit) {} in LinearAllocationArea()
1666 top_ = top; in set_top()
1670 SLOW_DCHECK(top_ == kNullAddress || (top_ & kHeapObjectTagMask) == 0); in top()
1671 return top_; in top()
[all …]
Dslot-set.h460 : page_start_(page_start), top_(new Chunk(nullptr, kInitialBufferSize)) {} in TypedSlotSet()
631 Chunk* load_top() { return base::AsAtomicPointer::Acquire_Load(&top_); } in load_top()
633 void set_top(Chunk* c) { base::AsAtomicPointer::Release_Store(&top_, c); } in set_top()
636 Chunk* top_; variable
/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/webrtc/webrtc/modules/desktop_capture/
Ddesktop_geometry.h99 DesktopRect() : left_(0), top_(0), right_(0), bottom_(0) {} in DesktopRect()
102 int32_t top() const { return top_; } in top()
106 int32_t height() const { return bottom_ - top_; } in height()
108 DesktopVector top_left() const { return DesktopVector(left_, top_); } in top_left()
111 bool is_empty() const { return left_ >= right_ || top_ >= bottom_; } in is_empty()
114 return left_ == other.left_ && top_ == other.top_ && in equals()
133 : left_(left), top_(top), right_(right), bottom_(bottom) { in DesktopRect()
137 int32_t top_; variable
Ddesktop_geometry.cc29 top_ = std::max(top(), rect.top()); in IntersectWith()
34 top_ = 0; in IntersectWith()
42 top_ += dy; in Translate()
/external/v8/src/
Dallocation-site-scopes.h23 Handle<AllocationSite> top() { return top_; } in top()
36 top_ = site; in InitializeTraversal()
39 current_ = Handle<AllocationSite>::New(*top_, isolate()); in InitializeTraversal()
44 Handle<AllocationSite> top_; variable
Ddeoptimizer.h768 intptr_t GetTop() const { return top_; } in GetTop()
769 void SetTop(intptr_t top) { top_ = top; } in SetTop()
825 intptr_t top_; variable
/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()
/external/v8/src/compiler/
Dmemory-optimizer.h85 Node* top() const { return top_; } in top()
97 Node* const top_; variable
Dmemory-optimizer.cc64 : group_(nullptr), size_(std::numeric_limits<int>::max()), top_(nullptr) {} in AllocationState()
67 : group_(group), size_(std::numeric_limits<int>::max()), top_(nullptr) {} in AllocationState()
71 : group_(group), size_(size), top_(top) {} in AllocationState()

12