Lines Matching defs:entry
31 * Based on the dominator tree, we can remove a value of an entry if:
33 * 1. The configuration for the entry's value is dominated by a configuration
34 * with an equivalent entry value.
35 * 2. All compatible configurations for the entry (those not in conflict and
36 * unrelated by domination with the configuration for the entry's value) have
37 * an equivalent entry value.
43 explicit DominatedKeyValueRemover(IAaptContext* context, ResourceEntry* entry)
44 : context_(context), entry_(entry) {}
60 // Compare compatible configs for this entry and ensure the values are
93 static void DedupeEntry(IAaptContext* context, ResourceEntry* entry) {
94 DominatorTree tree(entry->values);
95 DominatedKeyValueRemover remover(context, entry);
99 entry->values.erase(
101 entry->values.begin(), entry->values.end(),
105 entry->values.end());
113 for (auto& entry : type->entries) {
114 DedupeEntry(context, entry.get());