Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/packet/base/
Diterator.cc28 index_ = i; in Iterator()
30 CHECK_GE(index_, packet->packet_start_index_); in Iterator()
31 CHECK_LE(index_, packet->packet_end_index_); in Iterator()
43 size_t new_offset = index_ + offset; in operator +=()
44 index_ = new_offset > packet_->packet_end_index_ ? packet_->packet_end_index_ in operator +=()
51 index_++; in operator ++()
53 if (index_ > packet_->packet_end_index_) index_ = packet_->packet_end_index_; in operator ++()
59 index_++; in operator ++()
61 if (index_ > packet_->packet_end_index_) index_ = packet_->packet_end_index_; in operator ++()
72 int Iterator::operator-(const Iterator& itr) { return index_ - itr.index_; } in operator -()
[all …]
Diterator.h97 size_t index_; variable
/packages/modules/Bluetooth/system/gd/packet/
Diterator.cc27 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 …]
Diterator.h93 size_t index_; variable
/packages/modules/Bluetooth/system/bta/has/
Dhas_preset.h36 uint8_t index_; variable
48 : properties_(props), index_(index) { in properties_()
54 index_(bluetooth::has::kHasPresetIndexInvalid) {} in HasPreset()
57 decltype(index_) GetIndex() const { return index_; } in GetIndex()
63 LOG_ASSERT(index_ == other.GetIndex())
67 index_ = other.GetIndex();
74 return (index_ == b.index_) && (properties_ == b.properties_) &&
78 return (index_ != b.index_) || (properties_ != b.properties_) ||
81 bool operator<(const HasPreset& b) const { return index_ < b.index_; }
87 return a.index_ < index; in operator()
[all …]
Dhas_preset.cc32 STREAM_TO_UINT8(preset.index_, value); in FromCharacteristicValue()
47 UINT8_TO_STREAM(pp, index_); in ToCharacteristicValue()
68 UINT8_TO_STREAM(p_out, index_); in Serialize()
99 STREAM_TO_UINT8(preset.index_, p_curr); in Deserialize()
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/
Dcert_self_test.py77 self.index_ = 0