• Home
  • Raw
  • Download

Lines Matching refs:ActionSuggestion

36 void SortByScoreAndType(std::vector<ActionSuggestion>* actions) {  in SortByScoreAndType()
38 [](const ActionSuggestion& a, const ActionSuggestion& b) { in SortByScoreAndType()
107 int CompareAnnotationsOnly(const ActionSuggestion& action, in CompareAnnotationsOnly()
108 const ActionSuggestion& other) { in CompareAnnotationsOnly()
123 bool HaveEquivalentAnnotations(const ActionSuggestion& action, in HaveEquivalentAnnotations()
124 const ActionSuggestion& other) { in HaveEquivalentAnnotations()
129 int Compare(const ActionSuggestion& action, const ActionSuggestion& other) { in Compare()
144 bool IsEquivalentActionSuggestion(const ActionSuggestion& action, in IsEquivalentActionSuggestion()
145 const ActionSuggestion& other) { in IsEquivalentActionSuggestion()
150 bool IsAnyActionEquivalent(const ActionSuggestion& action, in IsAnyActionEquivalent()
151 const std::vector<ActionSuggestion>& actions) { in IsAnyActionEquivalent()
152 for (const ActionSuggestion& other : actions) { in IsAnyActionEquivalent()
169 bool IsConflictingActionSuggestion(const ActionSuggestion& action, in IsConflictingActionSuggestion()
170 const ActionSuggestion& other) { in IsConflictingActionSuggestion()
188 bool IsAnyActionConflicting(const ActionSuggestion& action, in IsAnyActionConflicting()
189 const std::vector<ActionSuggestion>& actions) { in IsAnyActionConflicting()
190 for (const ActionSuggestion& other : actions) { in IsAnyActionConflicting()
247 [](const ActionSuggestion& a, const ActionSuggestion& b) { in RankActions()
254 std::vector<ActionSuggestion> deduplicated_actions; in RankActions()
255 for (const ActionSuggestion& candidate : response->actions) { in RankActions()
267 std::vector<ActionSuggestion> deduplicated_actions; in RankActions()
268 for (const ActionSuggestion& candidate : response->actions) { in RankActions()
280 std::vector<ActionSuggestion> non_smart_reply_actions; in RankActions()
281 for (const ActionSuggestion& action : response->actions) { in RankActions()
292 ActionSuggestion, int, in RankActions()
293 std::function<bool(const ActionSuggestion&, const ActionSuggestion&)>>{ in RankActions()
294 [](const ActionSuggestion& action, const ActionSuggestion& other) { in RankActions()
297 typedef std::vector<ActionSuggestion> ActionSuggestionGroup; in RankActions()
301 for (const ActionSuggestion& action : response->actions) { in RankActions()
318 for (std::vector<ActionSuggestion>& group : groups) { in RankActions()
324 [](const std::vector<ActionSuggestion>& a, in RankActions()
325 const std::vector<ActionSuggestion>& b) { in RankActions()
335 for (const std::vector<ActionSuggestion>& actions : groups) { in RankActions()