Home
last modified time | relevance | path

Searched refs:index_ (Results 1 – 16 of 16) sorted by relevance

/system/bt/packet/base/
Diterator.cc27 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 …]
Diterator.h97 size_t index_; variable
/system/bt/gd/packet/
Diterator.cc27 index_ = offset; in Iterator()
43 index_ += offset; in operator +=()
50 index_++; in operator ++()
56 index_++; in operator ++()
69 return index_ - itr.index_; in operator -()
74 index_ -= offset; in operator -=()
82 if (index_ != 0) index_--; in operator --()
89 if (index_ != 0) index_--; in operator --()
97 index_ = itr.index_; in operator =()
104 return index_ == itr.index_; in operator ==()
[all …]
Dbit_inserter.cc27 index_ = offset; in Iterator()
43 index_ += offset; in operator +=()
50 index_++; in operator ++()
56 index_++; in operator ++()
69 return index_ - itr.index_; in operator -()
74 index_ -= offset; in operator -=()
82 if (index_ != 0) index_--; in operator --()
89 if (index_ != 0) index_--; in operator --()
97 index_ = itr.index_; in operator =()
104 return index_ == itr.index_; in operator ==()
[all …]
Diterator.h79 size_t index_; variable
/system/bt/vendor_libs/test_vendor_lib/packets/
Diterator.cc27 index_ = offset; in Iterator()
43 index_ += offset; in operator +=()
50 index_++; in operator ++()
56 index_++; in operator ++()
69 return index_ - itr.index_; in operator -()
74 index_ -= offset; in operator -=()
82 if (index_ != 0) index_--; in operator --()
89 if (index_ != 0) index_--; in operator --()
97 index_ = itr.index_; in operator =()
104 return index_ == itr.index_; in operator ==()
[all …]
Diterator.h80 size_t index_; variable
/system/core/libunwindstack/
DElfInterfaceArm.h38 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/core/libbacktrace/include/backtrace/
DBacktraceMap.h78 iterator(BacktraceMap* map, size_t index) : map_(map), index_(index) {} in iterator()
81 index_++;
85 index_ += increment;
89 index_--;
93 index_ -= decrement;
97 bool operator==(const iterator& rhs) { return this->index_ == rhs.index_; }
98 bool operator!=(const iterator& rhs) { return this->index_ != rhs.index_; }
101 if (index_ >= map_->size()) {
104 backtrace_map_t* map = &map_->maps_[index_];
106 map->load_bias = map_->GetLoadBias(index_);
[all …]
/system/core/libunwindstack/include/unwindstack/
DDwarfSection.h46 iterator(DwarfSection* section, size_t index) : index_(index) { in iterator()
48 if (index_ == static_cast<size_t>(-1)) { in iterator()
49 index_ = fdes_.size(); in iterator()
54 index_++;
58 index_ += increment;
62 index_--;
66 index_ -= decrement;
70 bool operator==(const iterator& rhs) { return this->index_ == rhs.index_; }
71 bool operator!=(const iterator& rhs) { return this->index_ != rhs.index_; }
74 if (index_ > fdes_.size()) return nullptr;
[all …]
/system/nvram/messages/tests/
Dio_test.cpp40 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::__anonb98b6b800111::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::__anonb98b6b800211::TestOutputStreamBuffer
/system/core/libmemunreachable/
DTarjan.h70 : 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/update_engine/payload_generator/
Dtarjan.cc38 index_ = 0; in Execute()
50 (*graph)[vertex].index = index_; in Tarjan()
51 (*graph)[vertex].lowlink = index_; in Tarjan()
52 index_++; in Tarjan()
Dtarjan.h35 TarjanAlgorithm() : index_(0), required_vertex_(0) {} in TarjanAlgorithm()
45 Vertex::Index index_; variable
/system/nvram/hal/tests/
Dnvram_hal_test.cc111 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 __anonb2a945c00111::ScopedNvramSpace
/system/tools/aidl/
Dgenerate_java_binder.cpp52 explicit VariableFactory(const std::string& base) : base_(base), index_(0) {} in VariableFactory()
54 Variable* v = new Variable(type->JavaType(), StringPrintf("%s%d", base_.c_str(), index_)); in Get()
56 index_++; in Get()
65 int index_; member in android::aidl::java::VariableFactory