Home
last modified time | relevance | path

Searched refs:pred (Results 1 – 2 of 2) sorted by relevance

/system/security/keystore/
Dauth_token_table.cpp33 typename Container::iterator find_if(Container& container, Predicate pred) { in find_if() argument
34 return std::find_if(container.begin(), container.end(), pred); in find_if()
38 typename Container::iterator remove_if(Container& container, Predicate pred) { in remove_if() argument
39 return std::remove_if(container.begin(), container.end(), pred); in remove_if()
/system/media/camera/docs/
Dmetadata_model.py64 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):