/system/bt/packet/base/ |
D | iterator.cc | 27 index_ = i; in Iterator() 29 CHECK_GE(index_, packet->packet_start_index_); in Iterator() 30 CHECK_LE(index_, packet->packet_end_index_); in Iterator() 42 size_t new_offset = index_ + offset; in operator +=() 43 index_ = new_offset > packet_->packet_end_index_ ? packet_->packet_end_index_ in operator +=() 50 index_++; in operator ++() 52 if (index_ > packet_->packet_end_index_) index_ = packet_->packet_end_index_; in operator ++() 58 index_++; in operator ++() 60 if (index_ > packet_->packet_end_index_) index_ = packet_->packet_end_index_; in operator ++() 71 int Iterator::operator-(const Iterator& itr) { return index_ - itr.index_; } in operator -() [all …]
|
D | iterator.h | 97 size_t index_; variable
|
/system/bt/gd/packet/ |
D | iterator.cc | 27 index_ = offset; in Iterator() 44 index_ += offset; in operator +=() 50 index_++; in operator ++() 63 return index_ - itr.index_; in operator -() 68 index_ -= offset; in operator -=() 75 if (index_ != 0) index_--; in operator --() 86 this->index_ = itr.index_; in operator =() 92 return index_ == itr.index_; in operator ==() 102 return index_ < itr.index_; in operator <() 107 return index_ > itr.index_; in operator >() [all …]
|
D | iterator.h | 93 size_t index_; variable
|
/system/unwinding/libunwindstack/ |
D | ElfInterfaceArm.h | 38 iterator(ElfInterfaceArm* interface, size_t index) : interface_(interface), index_(index) { } in iterator() 40 iterator& operator++() { index_++; return *this; } 41 iterator& operator++(int increment) { index_ += increment; return *this; } 42 iterator& operator--() { index_--; return *this; } 43 iterator& operator--(int decrement) { index_ -= decrement; return *this; } 45 bool operator==(const iterator& rhs) { return this->index_ == rhs.index_; } 46 bool operator!=(const iterator& rhs) { return this->index_ != rhs.index_; } 49 uint32_t addr = interface_->addrs_[index_]; 51 if (!interface_->GetPrel31Addr(interface_->start_offset_ + index_ * 8, &addr)) { 54 interface_->addrs_[index_] = addr; [all …]
|
/system/unwinding/libbacktrace/include/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 …]
|
/system/unwinding/libunwindstack/include/unwindstack/ |
D | DwarfSection.h | 48 iterator(DwarfSection* section, size_t index) : index_(index) { in iterator() 50 if (index_ == static_cast<size_t>(-1)) { in iterator() 51 index_ = fdes_.size(); in iterator() 56 index_++; 60 index_ += increment; 64 index_--; 68 index_ -= decrement; 72 bool operator==(const iterator& rhs) { return this->index_ == rhs.index_; } 73 bool operator!=(const iterator& rhs) { return this->index_ != rhs.index_; } 76 if (index_ > fdes_.size()) return nullptr; [all …]
|
/system/nvram/messages/tests/ |
D | io_test.cpp | 40 if (index_ >= (sizeof(kSizes) / sizeof(kSizes[0]))) { in Advance() 45 const size_t size = kSizes[index_] < kMaxSize ? kSizes[index_] : kMaxSize; in Advance() 51 ++index_; in Advance() 59 size_t index_ = 0; member in nvram::__anon0bd7435e0111::TestInputStreamBuffer 200 if (index_ >= (sizeof(kSizes) / sizeof(kSizes[0]))) { in Advance() 208 const size_t size = kSizes[index_] < kMaxSize ? kSizes[index_] : kMaxSize; in Advance() 212 ++index_; in Advance() 220 size_t index_ = 0; member in nvram::__anon0bd7435e0211::TestOutputStreamBuffer
|
/system/memory/libmemunreachable/ |
D | Tarjan.h | 70 : index_(0), stack_(allocator), components_(allocator) {} in TarjanAlgorithm() 78 size_t index_; variable 87 index_ = 0; in Execute() 104 vertex->index = index_; in Tarjan() 105 vertex->lowlink = index_; in Tarjan() 106 index_++; in Tarjan()
|
/system/logging/logd/ |
D | LogReaderThread.cpp | 40 index_(0), in LogReaderThread() 134 if (non_block_ && tail_ && index_ >= count_) { in FilterSecondPass() 154 ++index_; in FilterSecondPass() 156 if (count_ > tail_ && index_ <= (count_ - tail_)) { in FilterSecondPass()
|
D | LogReaderThread.h | 102 unsigned long index_; variable
|
/system/nvram/hal/tests/ |
D | nvram_hal_test.cc | 111 index_(index), in ScopedNvramSpace() 123 device_->CreateSpace(index_, size, control_list, authorization_value_)); in Create() 128 device_->DeleteSpace(index_, authorization_value_)); in Delete() 132 uint32_t index_; member in __anon4e70195e0111::ScopedNvramSpace
|
/system/tools/aidl/ |
D | generate_java_binder.cpp | 51 explicit VariableFactory(const std::string& base) : base_(base), index_(0) {} in VariableFactory() 54 StringPrintf("%s%d", base_.c_str(), index_)); in Get() 56 index_++; in Get() 65 int index_; member in android::aidl::java::VariableFactory
|
/system/bt/gd/cert/ |
D | cert_self_test_lib.py | 74 self.index_ = 0
|