Searched refs:pred (Results 1 – 5 of 5) sorted by relevance
/system/security/keystore/ |
D | auth_token_table.cpp | 61 typename Container::iterator find_if(Container& container, Predicate pred) { in find_if() argument 62 return std::find_if(container.begin(), container.end(), pred); in find_if() 66 typename Container::iterator remove_if(Container& container, Predicate pred) { in remove_if() argument 67 return std::remove_if(container.begin(), container.end(), pred); in remove_if()
|
/system/media/camera/docs/ |
D | metadata_model.py | 64 def find_all(self, pred): argument 75 if pred(self): 82 for j in i.find_all(pred): 85 def find_first(self, pred): argument 95 for i in self.find_all(pred): 100 def find_parent_first(self, pred): argument 110 for i in self.find_parents(pred): 115 def find_parents(self, pred): argument 129 if pred(parent):
|
/system/core/adb/ |
D | jdwp_service.cpp | 173 auto pred = [this](const auto& proc) { return proc.get() == this; }; in RemoveFromList() local 174 _jdwp_list.remove_if(pred); in RemoveFromList() 554 auto pred = [s](const auto& tracker) { return tracker.get() == s; }; in jdwp_tracker_close() local 555 _jdwp_trackers.erase(std::remove_if(_jdwp_trackers.begin(), _jdwp_trackers.end(), pred), in jdwp_tracker_close()
|
D | adb_listeners.cpp | 172 auto pred = [](const std::unique_ptr<alistener>& listener) { in close_smartsockets() local 175 listener_list.erase(std::remove_if(listener_list.begin(), listener_list.end(), pred)); in close_smartsockets()
|
D | transport.cpp | 904 auto pred = alphanumeric ? [](const char c) { return !isalnum(c); } in sanitize() local 906 std::replace_if(str.begin(), str.end(), pred, '_'); in sanitize()
|