Searched refs:itr (Results 1 – 12 of 12) sorted by relevance
/system/bt/packet/base/ |
D | iterator.cc | 33 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 …]
|
D | iterator.h | 32 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/ |
D | iterator.cc | 37 auto itr(*this); in operator +() local 39 return itr += offset; in operator +() 56 auto itr(*this); in operator -() local 58 return itr -= offset; in operator -() 62 int Iterator<little_endian>::operator-(Iterator<little_endian>& itr) { in operator -() argument 63 return index_ - itr.index_; in operator -() 81 Iterator<little_endian>& Iterator<little_endian>::operator=(const Iterator<little_endian>& itr) { in operator =() argument 82 if (this == &itr) return *this; in operator =() 83 this->data_ = itr.data_; in operator =() 84 this->begin_ = itr.begin_; in operator =() [all …]
|
D | iterator.h | 35 Iterator(const Iterator& itr) = default; 44 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/tools/sysprop/ |
D | TypeChecker.cpp | 108 auto itr = types.find(prop_name); in CheckPropertyTypes() local 109 if (itr == types.end()) continue; in CheckPropertyTypes() 111 if (!IsCompatible(prop, itr->second)) { in CheckPropertyTypes() 116 err += "In property_contexts: " + itr->second + " (should be '" + in CheckPropertyTypes()
|
D | ApiChecker.cpp | 54 auto itr = props.find(latest_prop.api_name()); in CompareProps() local 56 if (itr != props.end()) { in CompareProps() 57 current_prop = itr->second; in CompareProps()
|
/system/update_engine/cros/ |
D | omaha_request_params.cc | 280 auto itr = dlc_apps_params_.find(app_id); in GetDlcId() local 281 if (itr == dlc_apps_params_.end()) in GetDlcId() 283 *dlc_id = itr->second.name; in GetDlcId() 288 auto itr = dlc_apps_params_.find(app_id); in SetDlcNoUpdate() local 289 if (itr == dlc_apps_params_.end()) in SetDlcNoUpdate() 291 itr->second.updated = false; in SetDlcNoUpdate()
|
D | omaha_request_builder_xml.cc | 310 auto itr = dlc_apps_params.find(app_data.id); in GetApp() local 311 if (itr != dlc_apps_params.end()) { in GetApp() 312 auto dlc_id = itr->second.name; in GetApp()
|
/system/core/libsync/ |
D | sync.c | 53 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/bt/gd/hci/ |
D | hci_layer_test.cc | 762 auto itr = acl_view.GetPayload().begin(); in TEST_F() local 763 ASSERT_EQ(bd_addr, itr.extract<Address>()); in TEST_F() 764 ASSERT_EQ(handle, itr.extract<uint16_t>()); in TEST_F() 818 auto itr = acl_view.GetPayload().begin(); in TEST_F() local 819 ASSERT_EQ(bd_addr, itr.extract<Address>()); in TEST_F() 820 ASSERT_EQ(handle, itr.extract<uint16_t>()); in TEST_F() 821 ASSERT_EQ(received_packets, itr.extract<uint16_t>()); in TEST_F() 845 auto itr = acl_view.GetPayload().begin(); in TEST_F() local 846 ASSERT_EQ(bd_addr, itr.extract<Address>()); in TEST_F() 847 ASSERT_EQ(handle, itr.extract<uint16_t>()); in TEST_F() [all …]
|
/system/core/libsync/tests/ |
D | sync_test.cpp | 42 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/connectivity/wificond/net/ |
D | netlink_manager.cpp | 132 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()
|