Home
last modified time | relevance | path

Searched refs:itr (Results 1 – 12 of 12) sorted by relevance

/system/bt/packet/base/
Diterator.cc33 Iterator::Iterator(const Iterator& itr) { *this = itr; } in Iterator() argument
36 auto itr(*this); in operator +() local
38 return itr += offset; in operator +()
49 auto itr(*this); in operator ++() local
54 return itr; in operator ++()
66 auto itr(*this); in operator -() local
68 return itr -= offset; in operator -()
71 int Iterator::operator-(const Iterator& itr) { return index_ - itr.index_; } in operator -() argument
82 auto itr(*this); in operator --() local
85 return itr; in operator --()
[all …]
Diterator.h32 Iterator(const Iterator& itr);
42 int operator-(const Iterator& itr);
47 Iterator& operator=(const Iterator& itr);
49 bool operator!=(const Iterator& itr) const;
50 bool operator==(const Iterator& itr) const;
52 bool operator<(const Iterator& itr) const;
53 bool operator>(const Iterator& itr) const;
55 bool operator<=(const Iterator& itr) const;
56 bool operator>=(const Iterator& itr) const;
/system/bt/gd/packet/
Diterator.cc36 auto itr(*this); in operator +() local
38 return itr += offset; in operator +()
49 auto itr(*this); in operator ++() local
51 return itr; in operator ++()
62 auto itr(*this); in operator -() local
64 return itr -= offset; in operator -()
68 int Iterator<little_endian>::operator-(Iterator<little_endian>& itr) { in operator -() argument
69 return index_ - itr.index_; in operator -()
81 auto itr(*this); in operator --() local
84 return itr; in operator --()
[all …]
Dbit_inserter.cc36 auto itr(*this); in operator +() local
38 return itr += offset; in operator +()
49 auto itr(*this); in operator ++() local
51 return itr; in operator ++()
62 auto itr(*this); in operator -() local
64 return itr -= offset; in operator -()
68 int Iterator<little_endian>::operator-(Iterator<little_endian>& itr) { in operator -() argument
69 return index_ - itr.index_; in operator -()
81 auto itr(*this); in operator --() local
84 return itr; in operator --()
[all …]
Diterator.h32 Iterator(const Iterator& itr) = default;
42 int operator-(Iterator& itr);
47 Iterator& operator=(const Iterator& itr);
49 bool operator!=(const Iterator& itr) const;
50 bool operator==(const Iterator& itr) const;
52 bool operator<(const Iterator& itr) const;
53 bool operator>(const Iterator& itr) const;
55 bool operator<=(const Iterator& itr) const;
56 bool operator>=(const Iterator& itr) const;
/system/bt/vendor_libs/test_vendor_lib/packets/
Diterator.cc36 auto itr(*this); in operator +() local
38 return itr += offset; in operator +()
49 auto itr(*this); in operator ++() local
51 return itr; in operator ++()
62 auto itr(*this); in operator -() local
64 return itr -= offset; in operator -()
68 int Iterator<little_endian>::operator-(Iterator<little_endian>& itr) { in operator -() argument
69 return index_ - itr.index_; in operator -()
81 auto itr(*this); in operator --() local
84 return itr; in operator --()
[all …]
Diterator.h33 Iterator(const Iterator& itr) = default;
43 int operator-(Iterator& itr);
48 Iterator& operator=(const Iterator& itr);
50 bool operator!=(const Iterator& itr) const;
51 bool operator==(const Iterator& itr) const;
53 bool operator<(const Iterator& itr) const;
54 bool operator>(const Iterator& itr) const;
56 bool operator<=(const Iterator& itr) const;
57 bool operator>=(const Iterator& itr) const;
/system/core/libsync/
Dsync.c53 struct sync_pt_info* sync_pt_info(struct sync_fence_info_data* info, struct sync_pt_info* itr);
388 struct sync_pt_info *itr) in sync_pt_info() argument
390 if (itr == NULL) in sync_pt_info()
391 itr = (struct sync_pt_info *) info->pt_info; in sync_pt_info()
393 itr = (struct sync_pt_info *) ((__u8 *)itr + itr->len); in sync_pt_info()
395 if ((__u8 *)itr - (__u8 *)info >= (int)info->len) in sync_pt_info()
398 return itr; in sync_pt_info()
/system/core/libsync/tests/
Dsync_test.cpp42 struct sync_pt_info* sync_pt_info(struct sync_fence_info_data* info, struct sync_pt_info* itr);
180 for (auto itr = ++begin(sources); itr != end(sources); ++itr) { in SyncFence() local
181 temp = SyncFence(*itr, temp); in SyncFence()
652 auto itr = fenceMap.find(timelineOffset); in TEST_P() local
653 if (itr == end(fenceMap)) { in TEST_P()
657 int oldSyncPoint = itr->second; in TEST_P()
658 fenceMap.erase(itr); in TEST_P()
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dphy_layer_factory.cc55 std::back_insert_iterator<std::vector<uint8_t>> itr(*serialized_packet); in Send() local
57 packet->Serialize(itr); in Send()
/system/connectivity/wificond/net/
Dnetlink_manager.cpp132 auto itr = message_handlers_.find(sequence_number); in ReceivePacketAndRunHandler() local
134 if (itr == message_handlers_.end()) { in ReceivePacketAndRunHandler()
143 message_handlers_.erase(itr); in ReceivePacketAndRunHandler()
148 message_handlers_.erase(itr); in ReceivePacketAndRunHandler()
162 itr->second(std::move(packet)); in ReceivePacketAndRunHandler()
165 message_handlers_.erase(itr); in ReceivePacketAndRunHandler()
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dlink_layer_controller.cc457 auto itr = advertisement.GetData(); in IncomingLeAdvertisementPacket() local
458 size_t ad_size = itr.NumBytesRemaining(); in IncomingLeAdvertisementPacket()
460 ad.push_back(itr.extract<uint8_t>()); in IncomingLeAdvertisementPacket()
540 auto itr = scan_response.GetData(); in IncomingLeScanResponsePacket() local
541 size_t scan_size = itr.NumBytesRemaining(); in IncomingLeScanResponsePacket()
543 ad.push_back(itr.extract<uint8_t>()); in IncomingLeScanResponsePacket()