/third_party/gn/src/base/containers/ |
D | circular_deque.h | 138 circular_deque_const_iterator() : parent_deque_(nullptr), index_(0) { in circular_deque_const_iterator() 147 parent_deque_->CheckValidIndex(index_); 148 return parent_deque_->buffer_[index_]; 152 parent_deque_->CheckValidIndex(index_); 153 return &parent_deque_->buffer_[index_]; 211 return lhs.index_ == rhs.index_; 240 : parent_deque_(parent), index_(index) { in circular_deque_const_iterator() 249 if (index_ >= parent_deque_->begin_) in OffsetFromBegin() 250 return index_ - parent_deque_->begin_; // On the same side as begin. in OffsetFromBegin() 251 return parent_deque_->buffer_.capacity() - parent_deque_->begin_ + index_; in OffsetFromBegin() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
D | cord_rep_ring_reader.h | 41 CordRepRing::index_type index() const { return index_; } in index() 45 CordRep* node() const { return ring_->entry_child(index_); } in node() 61 return ring_->entry_end_offset(index_); in consumed() 79 index_ = ring_->head(); in Reset() 80 return ring_->entry_data(index_); in Reset() 88 index_ = ring_->advance(index_); in Next() 89 return ring_->entry_data(index_); in Next() 100 size_t current = ring_->entry_end_offset(index_); in Seek() 101 CordRepRing::index_type hint = (offset >= current) ? index_ : ring_->head(); in Seek() 103 index_ = head.index; in Seek() [all …]
|
D | cord_rep_btree_navigator.h | 146 uint8_t index_[CordRepBtree::kMaxHeight]; variable 159 return node_[0]->Edge(index_[0]); in Current() 179 index_[height] = static_cast<uint8_t>(index); in Init() 184 index_[height] = static_cast<uint8_t>(index); in Init() 196 index_[height] = static_cast<uint8_t>(index.index); in Seek() 201 index_[height] = static_cast<uint8_t>(index.index); in Seek() 217 return index_[0] == edge->back() ? NextUp() : edge->Edge(++index_[0]); in Next() 222 return index_[0] == edge->begin() ? PreviousUp() : edge->Edge(--index_[0]); in Previous() 226 assert(index_[0] == node_[0]->back()); in NextUp() 233 index = index_[height] + 1; in NextUp() [all …]
|
D | cord_rep_btree_navigator.cc | 68 size_t index = index_[0]; in Skip() 82 index = index_[height]; in Skip() 91 index_[height] = index; in Skip() 102 index_[0] = index; in Skip() 109 size_t index = index_[0]; in Read() 127 index_[height] = index; in Read() 140 index = index_[height]; in Read() 155 index_[height] = index; in Read() 179 index_[0] = index; in Read()
|
/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/containers/ |
D | mru_cache.h | 97 typename KeyIndex::iterator index_iter = index_.find(key); in Put() 98 if (index_iter != index_.end()) in Put() 112 index_.emplace(key, ordering_.begin()); in Put() 121 typename KeyIndex::iterator index_iter = index_.find(key); in Get() 122 if (index_iter == index_.end()) in Get() 135 typename KeyIndex::const_iterator index_iter = index_.find(key); in Peek() 136 if (index_iter == index_.end()) in Peek() 143 typename KeyIndex::const_iterator index_iter = index_.find(key); in Peek() 144 if (index_iter == index_.end()) in Peek() 153 index_.swap(other.index_); in Swap() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/containers/ |
D | mru_cache.h | 97 typename KeyIndex::iterator index_iter = index_.find(key); in Put() 98 if (index_iter != index_.end()) in Put() 112 index_.emplace(key, ordering_.begin()); in Put() 121 typename KeyIndex::iterator index_iter = index_.find(key); in Get() 122 if (index_iter == index_.end()) in Get() 135 typename KeyIndex::const_iterator index_iter = index_.find(key); in Peek() 136 if (index_iter == index_.end()) in Peek() 143 typename KeyIndex::const_iterator index_iter = index_.find(key); in Peek() 144 if (index_iter == index_.end()) in Peek() 153 index_.swap(other.index_); in Swap() [all …]
|
/third_party/mesa3d/include/android_stub/backtrace/ |
D | BacktraceMap.h | 76 iterator(BacktraceMap* map, size_t index) : map_(map), index_(index) {} in iterator() 79 index_++; 83 index_ += increment; 87 index_--; 91 index_ -= decrement; 95 bool operator==(const iterator& rhs) { return this->index_ == rhs.index_; } 96 bool operator!=(const iterator& rhs) { return this->index_ != rhs.index_; } 99 if (index_ >= map_->size()) { 102 backtrace_map_t* map = &map_->maps_[index_]; 104 map->load_bias = map_->GetLoadBias(index_); [all …]
|
/third_party/gn/src/base/json/ |
D | json_parser.cc | 59 index_(0), in JSONParser() 73 index_ = 0; in Parse() 167 if (static_cast<size_t>(index_) + count > input_.length()) in PeekChars() 171 return std::string_view(input_.data() + index_, count); in PeekChars() 184 index_ += count; in ConsumeChars() 196 CHECK_LE(static_cast<size_t>(index_), input_.length()); in pos() 197 return input_.data() + index_; in pos() 250 index_last_line_ = index_; in EatWhitespaceAndComments() 252 if (!(c == '\n' && index_ > 0 && input_[index_ - 1] == '\r')) { in EatWhitespaceAndComments() 455 static_cast<int32_t>(input_.length()), &index_, in ConsumeStringRaw() [all …]
|
/third_party/node/src/ |
D | aliased_buffer.h | 113 : aliased_buffer_(aliased_buffer), index_(index) {} in Reference() 117 index_(that.index_) { in Reference() 121 aliased_buffer_->SetValue(index_, val); 130 return aliased_buffer_->GetValue(index_); in NativeT() 134 const NativeT current = aliased_buffer_->GetValue(index_); 135 aliased_buffer_->SetValue(index_, current + val); 144 const NativeT current = aliased_buffer_->GetValue(index_); 145 aliased_buffer_->SetValue(index_, current - val); 151 size_t index_; variable
|
/third_party/spirv-tools/source/reduce/ |
D | reduction_pass.cpp | 47 if (index_ >= opportunities.size()) { in TryApplyReduction() 52 index_ = 0; in TryApplyReduction() 57 for (uint32_t i = index_; in TryApplyReduction() 58 i < std::min(index_ + granularity_, (uint32_t)opportunities.size()); in TryApplyReduction() 81 index_ += granularity_; in NotifyInteresting()
|
D | reduction_pass.h | 42 index_(0), in ReductionPass() 79 uint32_t index_; variable
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/ |
D | reduction_pass.cpp | 47 if (index_ >= opportunities.size()) { in TryApplyReduction() 52 index_ = 0; in TryApplyReduction() 57 for (uint32_t i = index_; in TryApplyReduction() 58 i < std::min(index_ + granularity_, (uint32_t)opportunities.size()); in TryApplyReduction() 81 index_ += granularity_; in NotifyInteresting()
|
D | reduction_pass.h | 42 index_(0), in ReductionPass() 79 uint32_t index_; variable
|
/third_party/skia/third_party/externals/spirv-tools/source/reduce/ |
D | reduction_pass.cpp | 47 if (index_ >= opportunities.size()) { in TryApplyReduction() 52 index_ = 0; in TryApplyReduction() 57 for (uint32_t i = index_; in TryApplyReduction() 58 i < std::min(index_ + granularity_, (uint32_t)opportunities.size()); in TryApplyReduction() 81 index_ += granularity_; in NotifyInteresting()
|
D | reduction_pass.h | 42 index_(0), in ReductionPass() 79 uint32_t index_; variable
|
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/ |
D | elf_mem_image.cc | 304 : index_(index), image_(image) { in SymbolIterator() 316 return this->image_ == rhs.image_ && this->index_ == rhs.index_; in operator ==() 344 index_ += increment; in Update() 345 if (index_ >= image->GetNumSymbols()) { in Update() 346 index_ = image->GetNumSymbols(); in Update() 349 const ElfW(Sym) *symbol = image->GetDynsym(index_); in Update() 350 const ElfW(Versym) *version_symbol = image->GetVersym(index_); in Update()
|
/third_party/jsoncpp/src/lib_json/ |
D | json_value.cpp | 236 Value::CZString::CZString(ArrayIndex index) : cstr_(nullptr), index_(index) {} in CZString() 263 : cstr_(other.cstr_), index_(other.index_) { in CZString() 279 std::swap(index_, other.index_); in swap() 284 index_ = other.index_; in operator =() 290 index_ = other.index_; in operator =() 297 return index_ < other.index_; in operator <() 314 return index_ == other.index_; in operator ==() 326 ArrayIndex Value::CZString::index() const { return index_; } in index() 1504 : index_(index), kind_(kindIndex) {} in PathArgument() 1577 if (!node->isArray() || !node->isValidIndex(arg.index_)) { in resolve() [all …]
|
/third_party/gn/src/base/win/ |
D | registry.h | 177 int Index() const { return index_; } in Index() 191 int index_; variable 229 int Index() const { return index_; } in Index() 243 int index_; variable
|
D | registry.cc | 475 index_ = count - 1; in Initialize() 498 return key_ != NULL && index_ >= 0; in Valid() 502 --index_; in operator ++() 513 key_, index_, ToWCharT(WriteInto(&name_, name_size)), &name_size, NULL, in Read() 529 key_, index_, ToWCharT(WriteInto(&name_, name_size)), &name_size, in Read() 575 return key_ != NULL && index_ >= 0; in Valid() 579 --index_; in operator ++() 587 LONG r = ::RegEnumKeyEx(key_, index_, ToWCharT(name_), &ncount, NULL, NULL, in Read() 614 index_ = count - 1; in Initialize()
|
/third_party/protobuf/src/google/protobuf/ |
D | descriptor_database.cc | 352 return index_.AddFile(*file, file); in AddAndOwn() 357 return MaybeCopy(index_.FindFile(filename), output); in FindFileByName() 362 return MaybeCopy(index_.FindSymbol(symbol_name), output); in FindFileContainingSymbol() 368 return MaybeCopy(index_.FindExtension(containing_type, field_number), output); in FindFileContainingExtension() 373 return index_.FindAllExtensionNumbers(extendee_type, output); in FindAllExtensionNumbers() 379 index_.FindAllFileNames(output); in FindAllFileNames() 559 return index_->AddFile(*file, in Add() 578 return MaybeParse(index_->FindFile(filename), output); in FindFileByName() 583 return MaybeParse(index_->FindSymbol(symbol_name), output); in FindFileContainingSymbol() 588 auto encoded_file = index_->FindSymbol(symbol_name); in FindNameOfFileContainingSymbol() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/types/internal/ |
D | variant.h | 580 self.index_ = absl::variant_npos; 585 self.index_ = i; 594 self.index_ = other.index(); 611 if (ABSL_PREDICT_FALSE(self.index_ != I)) { 624 if (left->index_ == NewIndex) { 655 if (left->index_ == NewIndex) { 727 self->index_ = NewIndex; 1047 : state_(EmplaceTag<0>()), index_(0) {} 1051 : state_(tag, absl::forward<P>(args)...), index_(I) {} 1054 : state_(NoopConstructorTag()), index_(variant_npos) {} [all …]
|
/third_party/protobuf/src/google/protobuf/compiler/ |
D | scc.h | 65 explicit SCCAnalyzer() : index_(0) {} in SCCAnalyzer() 81 int index_; variable 97 result.index = result.lowlink = index_++; in DFS()
|
/third_party/gn/src/gn/ |
D | rust_project_writer_helpers.h | 44 index_(index), in Crate() 81 CrateIndex index() { return index_; }; in index() 115 CrateIndex index_; variable
|
/third_party/mesa3d/src/gtest/include/gtest/internal/ |
D | gtest-death-test-internal.h | 272 : file_(a_file), line_(a_line), index_(an_index), in InternalRunDeathTestFlag() 282 int index() const { return index_; } in index() 288 int index_; variable
|
/third_party/googletest/googletest/include/gtest/internal/ |
D | gtest-death-test-internal.h | 272 : file_(a_file), line_(a_line), index_(an_index), in InternalRunDeathTestFlag() 282 int index() const { return index_; } in index() 288 int index_; variable
|