Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/packet/base/
Diterator.cc27 index_ = i; in Iterator()
29 log::assert_that(index_ >= packet->packet_start_index_, in Iterator()
31 log::assert_that(index_ <= packet->packet_end_index_, in Iterator()
44 size_t new_offset = index_ + offset; in operator +=()
45 index_ = new_offset > packet_->packet_end_index_ ? packet_->packet_end_index_ in operator +=()
52 index_++; in operator ++()
54 if (index_ > packet_->packet_end_index_) index_ = packet_->packet_end_index_; in operator ++()
60 index_++; in operator ++()
62 if (index_ > packet_->packet_end_index_) index_ = packet_->packet_end_index_; in operator ++()
73 int Iterator::operator-(const Iterator& itr) { return index_ - itr.index_; } in operator -()
[all …]
Diterator.h111 size_t index_; variable
/packages/modules/Bluetooth/system/gd/packet/
Diterator.cc28 index_ = offset; in Iterator()
39 index_ = 0; in Iterator()
53 index_ += offset; in operator +=()
59 index_++; in operator ++()
72 return index_ - itr.index_; in operator -()
77 index_ -= offset; in operator -=()
84 if (index_ != 0) { in operator --()
85 index_--; in operator --()
98 this->index_ = itr.index_; in operator =()
104 return index_ == itr.index_; in operator ==()
[all …]
Diterator.h108 size_t index_; variable
/packages/modules/Bluetooth/system/bta/has/
Dhas_preset.h37 uint8_t index_; variable
49 : properties_(props), index_(index) { in properties_()
55 index_(bluetooth::has::kHasPresetIndexInvalid) {} in HasPreset()
58 decltype(index_) GetIndex() const { return index_; } in GetIndex()
64 log::assert_that(index_ == other.GetIndex(),
68 index_ = other.GetIndex();
75 return (index_ == b.index_) && (properties_ == b.properties_) &&
79 return (index_ != b.index_) || (properties_ != b.properties_) ||
82 bool operator<(const HasPreset& b) const { return index_ < b.index_; }
88 return a.index_ < index; in operator()
[all …]
Dhas_preset.cc38 STREAM_TO_UINT8(preset.index_, value); in FromCharacteristicValue()
53 UINT8_TO_STREAM(pp, index_); in ToCharacteristicValue()
73 UINT8_TO_STREAM(p_out, index_); in Serialize()
103 STREAM_TO_UINT8(preset.index_, p_curr); in Deserialize()
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/
Dcert_self_test.py76 self.index_ = 0