Home
last modified time | relevance | path

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

/third_party/node/deps/v8/src/interpreter/
Dbytecode-array-random-iterator.h28 ++current_index_;
33 --current_index_;
39 current_index_ += offset;
45 current_index_ -= offset;
50 int current_index() const { return current_index_; } in current_index()
55 current_index_ = index; in GoToIndex()
59 current_index_ = 0; in GoToStart()
63 current_index_ = size() - 1; in GoToEnd()
71 int current_index_; variable
Dbytecode-array-random-iterator.cc31 return current_index_ >= 0 && in IsValid()
32 static_cast<size_t>(current_index_) < offsets_.size(); in IsValid()
37 SetOffset(offsets_[current_index_]); in UpdateOffsetFromIndex()
/third_party/gn/src/gn/
Ddeps_iterator.cc9 DepsIterator::DepsIterator() : current_index_(0) { in DepsIterator()
18 : current_index_(0) { in DepsIterator()
35 current_index_++; in operator ++()
36 if (current_index_ >= vect_stack_[0]->size()) { in operator ++()
42 current_index_ = 0; in operator ++()
Ddeps_iterator.h39 return current_index_ != other.current_index_ ||
47 DCHECK_LT(current_index_, vect_stack_[0]->size());
48 return (*vect_stack_[0])[current_index_];
54 size_t current_index_; variable
/third_party/node/deps/v8/src/strings/
Dstring-builder-inl.h142 .SeqOneByteStringSetChars(current_index_, chars, length); in AppendCStringLiteral()
143 current_index_ += length; in AppendCStringLiteral()
144 if (current_index_ == part_length_) Extend(); in AppendCStringLiteral()
176 return part_length_ - current_index_ > length; in CurrentPartCanFit()
286 builder->current_index_, no_gc), in NoExtendBuilder()
292 builder_->current_index_ += NoExtend<DestChar>::written(); in ~NoExtendBuilder()
327 DCHECK(current_index_ < part_length_); in ShrinkCurrentPart()
329 Handle<SeqString>::cast(current_part()), current_index_)); in ShrinkCurrentPart()
344 int current_index_; variable
355 .SeqOneByteStringSet(current_index_++, c); in Append()
[all …]
Dstring-builder.cc237 current_index_(0) { in IncrementalStringBuilder()
246 return accumulator_->length() + current_index_; in Length()
250 return current_index_ < part_length_; in HasValidCurrentIndex()
267 DCHECK_EQ(current_index_, current_part()->length()); in Extend()
280 current_index_ = 0; in Extend()
313 String::WriteToFlat(*string, part->GetChars(no_gc) + current_index_, 0, in AppendStringByCopy()
316 current_index_ += string->length(); in AppendStringByCopy()
317 DCHECK(current_index_ <= part_length_); in AppendStringByCopy()
318 if (current_index_ == part_length_) Extend(); in AppendStringByCopy()
/third_party/node/deps/v8/src/utils/
Dbit-vector.h32 current_index_++;
35 current_value_ = target_->data_.ptr_[current_index_];
36 current_ = current_index_ << kDataBitShift;
58 return current_index_ != other.current_index_;
71 current_index_(0), in Iterator()
78 current_index_(target->data_length_), in Iterator()
83 bool Done() const { return current_index_ >= target_->data_length_; } in Done()
87 int current_index_; variable
/third_party/node/deps/v8/src/baseline/
Dbytecode-offset-iterator.h55 inline bool done() const { return current_index_ >= data_length_; } in done()
78 return base::VLQDecodeUnsigned(data_start_address_, &current_index_); in ReadPosition()
84 int current_index_; variable
Dbytecode-offset-iterator.cc18 current_index_(0), in BytecodeOffsetIterator()
31 current_index_(0), in BytecodeOffsetIterator()
/third_party/node/deps/v8/src/heap/cppgc/
Dgc-info-table.h66 GCInfoIndex NumberOfGCInfos() const { return current_index_; } in NumberOfGCInfos()
87 GCInfoIndex current_index_ = kMinIndex; variable
Dgc-info-table.cc142 if (current_index_ == limit_) { in RegisterNewGCInfo()
146 GCInfoIndex new_index = current_index_++; in RegisterNewGCInfo()