Home
last modified time | relevance | path

Searched refs:IdentifierIterator (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/broadcastradio/common/utilsaidl/include/broadcastradio-utils-aidl/
DUtils.h45 class IdentifierIterator final
48 using ptrType = typename std::iterator_traits<IdentifierIterator>::pointer;
49 using refType = typename std::iterator_traits<IdentifierIterator>::reference;
50 using diffType = typename std::iterator_traits<IdentifierIterator>::difference_type;
53 explicit IdentifierIterator(const ProgramSelector& sel);
55 const IdentifierIterator operator++(int);
56 IdentifierIterator& operator++();
59 IdentifierIterator operator+(diffType v) const { return IdentifierIterator(mSel, mPos + v); }
60 bool operator==(const IdentifierIterator& rhs) const;
61 inline bool operator!=(const IdentifierIterator& rhs) const { return !operator==(rhs); };
[all …]
/hardware/interfaces/broadcastradio/common/utils2x/include/broadcastradio-utils-2x/
DUtils.h42 class IdentifierIterator
45 using traits = std::iterator_traits<IdentifierIterator>;
51 explicit IdentifierIterator(const V2_0::ProgramSelector& sel);
53 IdentifierIterator operator++(int);
54 IdentifierIterator& operator++();
57 IdentifierIterator operator+(diff_type v) const { return IdentifierIterator(mSel, mPos + v); }
58 bool operator==(const IdentifierIterator& rhs) const;
59 inline bool operator!=(const IdentifierIterator& rhs) const { return !operator==(rhs); };
62 explicit IdentifierIterator(const V2_0::ProgramSelector& sel, size_t pos);
157 utils::IdentifierIterator begin(const ProgramSelector& sel);
[all …]
/hardware/interfaces/broadcastradio/common/utils2x/
DUtils.cpp48 IdentifierIterator::IdentifierIterator(const V2_0::ProgramSelector& sel) in IdentifierIterator() function in android::hardware::broadcastradio::utils::IdentifierIterator
49 : IdentifierIterator(sel, 0) {} in IdentifierIterator()
51 IdentifierIterator::IdentifierIterator(const V2_0::ProgramSelector& sel, size_t pos) in IdentifierIterator() function in android::hardware::broadcastradio::utils::IdentifierIterator
54 IdentifierIterator IdentifierIterator::operator++(int) { in operator ++()
60 IdentifierIterator& IdentifierIterator::operator++() { in operator ++()
65 IdentifierIterator::ref_type IdentifierIterator::operator*() const { in operator *()
73 bool IdentifierIterator::operator==(const IdentifierIterator& rhs) const { in operator ==()
421 utils::IdentifierIterator begin(const ProgramSelector& sel) { in begin()
422 return utils::IdentifierIterator(sel); in begin()
425 utils::IdentifierIterator end(const ProgramSelector& sel) { in end()
[all …]
/hardware/interfaces/broadcastradio/common/utilsaidl/src/
DUtils.cpp68 IdentifierIterator::IdentifierIterator(const ProgramSelector& sel) : IdentifierIterator(sel, 0) {} in IdentifierIterator() function in aidl::android::hardware::broadcastradio::utils::IdentifierIterator
70 IdentifierIterator::IdentifierIterator(const ProgramSelector& sel, size_t pos) in IdentifierIterator() function in aidl::android::hardware::broadcastradio::utils::IdentifierIterator
73 const IdentifierIterator IdentifierIterator::operator++(int) { in operator ++()
74 IdentifierIterator i = *this; in operator ++()
79 IdentifierIterator& IdentifierIterator::operator++() { in operator ++()
84 IdentifierIterator::refType IdentifierIterator::operator*() const { in operator *()
94 bool IdentifierIterator::operator==(const IdentifierIterator& rhs) const { in operator ==()
689 utils::IdentifierIterator begin(const ProgramSelector& sel) { in begin()
690 return utils::IdentifierIterator(sel); in begin()
693 utils::IdentifierIterator end(const ProgramSelector& sel) { in end()
[all …]
/hardware/interfaces/broadcastradio/common/utilsaidl/test/
DBroadcastRadioUtilsTest.cpp92 utils::IdentifierIterator it = begin(sel); in TEST()
94 utils::IdentifierIterator selEnd = end(sel); in TEST()
106 utils::IdentifierIterator it = begin(sel); in TEST()
107 utils::IdentifierIterator selEnd = end(sel); in TEST()
123 utils::IdentifierIterator it1 = begin(sel); in TEST()
124 utils::IdentifierIterator it2 = it1; in TEST()
134 utils::IdentifierIterator it = begin(sel); in TEST()
135 utils::IdentifierIterator selEnd = end(sel); in TEST()
144 utils::IdentifierIterator it1 = begin(sel1); in TEST()
145 utils::IdentifierIterator it2 = begin(sel2); in TEST()
[all …]