Home
last modified time | relevance | path

Searched refs:current_index_ (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/ash/wm/
Dwindow_cycle_list.cc17 current_index_(-1) { in WindowCycleList()
24 current_index_ = GetWindowIndex(active_window); in WindowCycleList()
44 if (current_index_ == -1) { in Step()
47 current_index_ = (direction == FORWARD ? 0 : windows_.size() - 1); in Step()
56 current_index_ += (direction == FORWARD ? 1 : -1); in Step()
59 current_index_ = (current_index_ + windows_.size()) % windows_.size(); in Step()
60 DCHECK(windows_[current_index_]); in Step()
62 windows_[current_index_]->Show(); in Step()
63 wm::ActivateWindow(windows_[current_index_]); in Step()
79 if (current_index_ > removed_index) in OnWindowDestroyed()
[all …]
Dwindow_cycle_list.h52 int current_index_; variable
/external/chromium_org/base/win/
Denum_variant.cc17 current_index_(0) { in EnumVariant()
49 unsigned long count = std::min(requested_count, count_ - current_index_); in Next()
51 out_elements[i] = items_[current_index_ + i]; in Next()
52 current_index_ += count; in Next()
60 if (current_index_ + count > count_) in Skip()
61 count = count_ - current_index_; in Skip()
63 current_index_ += count; in Skip()
68 current_index_ = 0; in Reset()
76 other->Skip(current_index_); in Clone()
Denum_variant.h46 unsigned long current_index_; variable
/external/chromium_org/cc/debug/
Dring_buffer.h16 : current_index_(0) { in RingBuffer()
24 return current_index_; in CurrentIndex()
29 return BufferIndex(n) < current_index_; in IsFilledIndex()
46 current_index_++; in SaveToBuffer()
50 current_index_ = 0; in Clear()
97 if (current_index_ < kSize) in Begin()
98 return Iterator(*this, kSize - current_index_); in Begin()
111 return (current_index_ + n) % kSize; in BufferIndex()
115 size_t current_index_; variable
/external/chromium_org/chrome/browser/chromeos/drive/
Dfile_task_executor.cc30 current_index_(0), in FileTaskExecutor()
59 DCHECK_EQ(current_index_, 0); in Execute()
60 current_index_ = paths.size(); in Execute()
115 current_index_--; in OnAppAuthorized()
116 DCHECK_GE(current_index_, 0); in OnAppAuthorized()
117 if (current_index_ == 0) in OnAppAuthorized()
Dfile_task_executor.h48 int current_index_; variable
/external/chromium_org/content/renderer/gpu/
Dcompositor_software_output_device.cc60 : current_index_(-1), in CompositorSoftwareOutputDevice()
115 current_index_ = -1; in Resize()
128 current_index_ = -1; in DiscardBackbuffer()
138 if (current_index_ != size_t(-1)) in BeginPaint()
139 previous = buffers_[current_index_]; in BeginPaint()
140 current_index_ = FindFreeBuffer(current_index_ + 1); in BeginPaint()
141 Buffer* current = buffers_[current_index_]; in BeginPaint()
199 Buffer* buffer = buffers_[current_index_]; in EndPaint()
Dcompositor_software_output_device.h88 size_t current_index_; in NON_EXPORTED_BASE() local
/external/chromium_org/cc/resources/
Dpicture.h91 DCHECK_LT(current_index_, current_pixel_refs_->size());
92 return (*current_pixel_refs_)[current_index_];
96 DCHECK_LT(current_index_, current_pixel_refs_->size());
97 return (*current_pixel_refs_)[current_index_];
102 return current_index_ < current_pixel_refs_->size();
109 unsigned current_index_; variable
Dpicture.cc380 current_index_(0), in PixelRefIterator()
392 current_index_(0) { in PixelRefIterator()
438 ++current_index_; in operator ++()
440 if (current_index_ < current_pixel_refs_->size()) in operator ++()
454 current_index_ = 0; in operator ++()
467 current_index_ = 0; in operator ++()
/external/v8/src/
Ddata-flow.cc56 current_index_++; in Advance()
58 val = target_->data_[current_index_]; in Advance()
59 current_ = current_index_ << 5; in Advance()
Ddata-flow.h48 current_index_(0), in Iterator()
56 bool Done() const { return current_index_ >= target_->data_length_; } in Done()
81 int current_index_; variable
Dlog.cc61 int current_index_; member in v8::internal::SlidingStateWindow
240 : counters_(isolate->counters()), current_index_(0), is_full_(false) { in SlidingStateWindow()
255 DecrementStateCounter(static_cast<StateTag>(buffer_[current_index_])); in AddState()
256 } else if (current_index_ == kBufferSize - 1) { in AddState()
259 buffer_[current_index_] = static_cast<byte>(state); in AddState()
262 current_index_ = (current_index_ + 1) & (kBufferSize - 1); in AddState()
/external/chromium_org/v8/src/
Ddata-flow.cc56 current_index_++; in Advance()
58 val = target_->data_[current_index_]; in Advance()
59 current_ = current_index_ << 5; in Advance()
Djson-stringifier.h178 int current_index_; variable
257 : isolate_(isolate), current_index_(0), is_ascii_(true) { in BasicJsonStringifier()
340 current_index_++, c); in Append_()
343 current_index_++, c); in Append_()
345 if (current_index_ == part_length_) Extend(); in Append_()
705 ASSERT(current_index_ < part_length_); in ShrinkCurrentPart()
707 current_index_); in ShrinkCurrentPart()
721 current_index_ = 0; in Extend()
729 current_index_ = 0; in ChangeEncoding()
768 if (((part_length_ - current_index_) >> 3) > length) { in SerializeString_()
[all …]
Ddata-flow.h48 current_index_(0), in Iterator()
56 bool Done() const { return current_index_ >= target_->data_length_; } in Done()
81 int current_index_; variable
/external/chromium_org/media/base/
Dsinc_resampler_unittest.cc170 current_index_(0) { in SinusoidalLinearChirpSource()
179 for (int i = 0; i < frames; ++i, ++current_index_) { in ProvideInput()
181 if (Frequency(current_index_) > 0.5 * sample_rate_) { in ProvideInput()
185 double t = static_cast<double>(current_index_) / sample_rate_; in ProvideInput()
207 int current_index_; member in media::SinusoidalLinearChirpSource
/external/chromium_org/sandbox/win/src/
Dpolicy_engine_processor.h132 size_t current_index_; member
Dpolicy_engine_processor.cc10 state_.current_index_ = index; in SetInternalState()
/external/chromium_org/content/browser/renderer_host/
Drender_widget_host_impl.cc110 : current_index_(0) { in RenderWidgetHostIteratorImpl()
124 while (current_index_ < hosts_.size() && !host) { in GetNextHost()
125 RenderWidgetHostID id = hosts_[current_index_]; in GetNextHost()
127 ++current_index_; in GetNextHost()
134 size_t current_index_; member in content::__anon45a16c5a0111::RenderWidgetHostIteratorImpl