Home
last modified time | relevance | path

Searched refs:Iterator (Results 1 – 25 of 35) sorted by relevance

12

/system/bt/packet/base/
Diterator.cc25 Iterator::Iterator(std::shared_ptr<const Packet> packet, size_t i) { in Iterator() function in bluetooth::Iterator
33 Iterator::Iterator(const Iterator& itr) { *this = itr; } in Iterator() function in bluetooth::Iterator
35 Iterator Iterator::operator+(size_t offset) { in operator +()
41 Iterator& Iterator::operator+=(size_t offset) { in operator +=()
48 Iterator Iterator::operator++(int) { in operator ++()
57 Iterator& Iterator::operator++() { in operator ++()
65 Iterator Iterator::operator-(size_t offset) { in operator -()
71 int Iterator::operator-(const Iterator& itr) { return index_ - itr.index_; } in operator -()
73 Iterator& Iterator::operator-=(size_t offset) { in operator -=()
81 Iterator Iterator::operator--(int) { in operator --()
[all …]
Diterator.h28 class Iterator
31 Iterator(std::shared_ptr<const Packet> packet, size_t i);
32 Iterator(const Iterator& itr);
36 Iterator operator+(size_t offset);
37 Iterator& operator+=(size_t offset);
38 Iterator operator++(int);
39 Iterator& operator++();
41 Iterator operator-(size_t offset);
42 int operator-(const Iterator& itr);
43 Iterator& operator-=(size_t offset);
[all …]
Dpacket.cc28 Iterator Packet::begin() const { in begin()
29 return Iterator(shared_from_this(), packet_start_index_); in begin()
32 Iterator Packet::end() const { in end()
33 return Iterator(shared_from_this(), packet_end_index_); in end()
Dpacket.h30 friend class Iterator; variable
51 class Iterator begin() const;
52 class Iterator end() const;
/system/bt/gd/packet/
Diterator.cc25 Iterator<little_endian>::Iterator(std::forward_list<View> data, size_t offset) { in Iterator() function in bluetooth::packet::Iterator
35 Iterator<little_endian> Iterator<little_endian>::operator+(int offset) { in operator +()
42 Iterator<little_endian>& Iterator<little_endian>::operator+=(int offset) { in operator +=()
48 Iterator<little_endian> Iterator<little_endian>::operator++(int) { in operator ++()
55 Iterator<little_endian>& Iterator<little_endian>::operator++() { in operator ++()
61 Iterator<little_endian> Iterator<little_endian>::operator-(int offset) { in operator -()
68 int Iterator<little_endian>::operator-(Iterator<little_endian>& itr) { in operator -()
73 Iterator<little_endian>& Iterator<little_endian>::operator-=(int offset) { in operator -=()
80 Iterator<little_endian> Iterator<little_endian>::operator--(int) { in operator --()
88 Iterator<little_endian>& Iterator<little_endian>::operator--() { in operator --()
[all …]
Dbit_inserter.cc25 Iterator<little_endian>::Iterator(std::forward_list<View> data, size_t offset) { in Iterator() function in bluetooth::packet::Iterator
35 Iterator<little_endian> Iterator<little_endian>::operator+(int offset) { in operator +()
42 Iterator<little_endian>& Iterator<little_endian>::operator+=(int offset) { in operator +=()
48 Iterator<little_endian> Iterator<little_endian>::operator++(int) { in operator ++()
55 Iterator<little_endian>& Iterator<little_endian>::operator++() { in operator ++()
61 Iterator<little_endian> Iterator<little_endian>::operator-(int offset) { in operator -()
68 int Iterator<little_endian>::operator-(Iterator<little_endian>& itr) { in operator -()
73 Iterator<little_endian>& Iterator<little_endian>::operator-=(int offset) { in operator -=()
80 Iterator<little_endian> Iterator<little_endian>::operator--(int) { in operator --()
88 Iterator<little_endian>& Iterator<little_endian>::operator--() { in operator --()
[all …]
Diterator.h29 class Iterator : public std::iterator<std::random_access_iterator_tag, uint8_t> {
31 Iterator(std::forward_list<View> data, size_t offset);
32 Iterator(const Iterator& itr) = default;
33 virtual ~Iterator() = default;
36 Iterator operator+(int offset);
37 Iterator& operator+=(int offset);
38 Iterator operator++(int);
39 Iterator& operator++();
41 Iterator operator-(int offset);
42 int operator-(Iterator& itr);
[all …]
Dpacket_view.cc39 Iterator<little_endian> PacketView<little_endian>::begin() const { in begin()
40 return Iterator<little_endian>(this->fragments_, 0); in begin()
44 Iterator<little_endian> PacketView<little_endian>::end() const { in end()
45 return Iterator<little_endian>(this->fragments_, size()); in end()
Dpacket_view.h41 virtual Iterator<little_endian> begin() const;
43 virtual Iterator<little_endian> end() const;
/system/bt/vendor_libs/test_vendor_lib/packets/
Diterator.cc25 Iterator<little_endian>::Iterator(std::forward_list<View> data, size_t offset) { in Iterator() function in test_vendor_lib::packets::Iterator
35 Iterator<little_endian> Iterator<little_endian>::operator+(int offset) { in operator +()
42 Iterator<little_endian>& Iterator<little_endian>::operator+=(int offset) { in operator +=()
48 Iterator<little_endian> Iterator<little_endian>::operator++(int) { in operator ++()
55 Iterator<little_endian>& Iterator<little_endian>::operator++() { in operator ++()
61 Iterator<little_endian> Iterator<little_endian>::operator-(int offset) { in operator -()
68 int Iterator<little_endian>::operator-(Iterator<little_endian>& itr) { in operator -()
73 Iterator<little_endian>& Iterator<little_endian>::operator-=(int offset) { in operator -=()
80 Iterator<little_endian> Iterator<little_endian>::operator--(int) { in operator --()
88 Iterator<little_endian>& Iterator<little_endian>::operator--() { in operator --()
[all …]
Diterator.h30 class Iterator : public std::iterator<std::random_access_iterator_tag, uint8_t> {
32 Iterator(std::forward_list<View> data, size_t offset);
33 Iterator(const Iterator& itr) = default;
34 virtual ~Iterator() = default;
37 Iterator operator+(int offset);
38 Iterator& operator+=(int offset);
39 Iterator operator++(int);
40 Iterator& operator++();
42 Iterator operator-(int offset);
43 int operator-(Iterator& itr);
[all …]
Dpacket_view.cc39 Iterator<little_endian> PacketView<little_endian>::begin() const { in begin()
40 return Iterator<little_endian>(this->fragments_, 0); in begin()
44 Iterator<little_endian> PacketView<little_endian>::end() const { in end()
45 return Iterator<little_endian>(this->fragments_, size()); in end()
Dpacket_view.h38 virtual Iterator<little_endian> begin() const;
40 virtual Iterator<little_endian> end() const;
/system/bt/vendor_libs/test_vendor_lib/test/
Diterator_test.cc63 Iterator general_case = packet->get_begin(); in TEST_F()
72 Iterator bounds_test = packet->get_end(); in TEST_F()
81 Iterator dereference_test = packet->get_end(); in TEST_F()
87 Iterator plus_eq = packet->get_begin(); in TEST_F()
96 Iterator plus_plus = packet->get_begin(); in TEST_F()
105 Iterator plus_plus = packet->get_begin(); in TEST_F()
114 Iterator plus = packet->get_begin(); in TEST_F()
123 Iterator minus_eq = packet->get_end(); in TEST_F()
133 Iterator minus_minus = packet->get_end(); in TEST_F()
142 Iterator minus_minus = packet->get_end(); in TEST_F()
[all …]
/system/bt/packet/tests/base/
Diterator_test.cc53 ASSERT_DEATH(Iterator(packet, 0), "index_ >= packet->packet_start_index_"); in TEST_F()
54 ASSERT_DEATH(Iterator(packet, test_l2cap_data.size()), in TEST_F()
60 Iterator general_case = packet->begin(); in TEST_F()
70 Iterator general_case = packet->begin(); in TEST_F()
91 Iterator bounds_test = packet->end(); in TEST_P()
104 Iterator bounds_test = packet->end(); in TEST_P()
117 Iterator dereference_test = packet->end(); in TEST_P()
126 Iterator plus_eq = packet->begin(); in TEST_P()
139 Iterator plus_plus = packet->begin(); in TEST_P()
149 Iterator plus_plus = packet->begin(); in TEST_P()
[all …]
/system/extras/perfprofd/
Dquipper_helper.h25 template<typename Iterator, typename Predicate>
28 using value_type = typename std::iterator_traits<Iterator>::value_type;
29 using difference_type = typename std::iterator_traits<Iterator>::difference_type;
30 using reference = typename std::iterator_traits<Iterator>::reference;
31 using pointer = typename std::iterator_traits<Iterator>::pointer;
33 FilteredIterator(const Iterator& begin, const Iterator& end, const Predicate& pred) in FilteredIterator()
69 Iterator iter_;
70 Iterator end_;
/system/bt/profile/sdp/common/
Ddata_element_reader.h39 DataElementReader(Iterator begin, Iterator end) : it_(begin), end_(end){}; in DataElementReader()
60 Iterator it_;
61 Iterator end_;
/system/core/libutils/
DLruCache_test.cpp355 LruCache<int, int>::Iterator it(cache); in TEST_F()
370 LruCache<int, int>::Iterator it(cache); in TEST_F()
383 LruCache<int, int>::Iterator it(cache); in TEST_F()
397 LruCache<int, int>::Iterator it(cache); in TEST_F()
413 LruCache<int, int>::Iterator it(cache); in TEST_F()
429 LruCache<int, int>::Iterator it(cache); in TEST_F()
445 LruCache<int, int>::Iterator it(cache); in TEST_F()
/system/bt/vendor_libs/test_vendor_lib/packets/link_layer/
Dencrypt_connection_view.h38 Iterator<true> GetKey() { in GetKey()
Dresponse_view.h43 Iterator<true> GetResponseData() { in GetResponseData()
Dcommand_view.h43 Iterator<true> GetData() { in GetData()
Dle_advertisement_view.h46 Iterator<true> GetData() { in GetData()
Dinquiry_response_view.h61 Iterator<true> GetExtendedData() { in GetExtendedData()
/system/libhidl/libhidlcache/
DMemoryDealer.cpp68 using Iterator = std::list<chunk_t*>::iterator; typedef in android::hardware::SimpleBestFitAllocator
158 Iterator free_chunk_p = mList.end(); in alloc()
159 for (Iterator p = mList.begin(); p != mList.end(); p++) { in alloc()
207 for (Iterator pos = mList.begin(); pos != mList.end(); pos++) { in dealloc()
/system/keymaster/ng/include/
Dauthorization_set.h197 template <typename Iterator>
198 void append(Iterator begin, Iterator end) { in append()

12