Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/format/binary/
DTableFlattener.cpp420 std::vector<ResourceEntry*> sorted_entries; in CollectAndSortEntries() local
423 sorted_entries.push_back(entry.get()); in CollectAndSortEntries()
425 std::sort(sorted_entries.begin(), sorted_entries.end(), cmp_ids<ResourceEntry>); in CollectAndSortEntries()
426 return sorted_entries; in CollectAndSortEntries()
566 bool FlattenTypeSpec(ResourceTableType* type, std::vector<ResourceEntry*>* sorted_entries, in FlattenTypeSpec() argument
573 if (sorted_entries->empty()) { in FlattenTypeSpec()
581 const size_t num_entries = sorted_entries->back()->id.value() + 1; in FlattenTypeSpec()
589 const size_t actual_num_entries = sorted_entries->size(); in FlattenTypeSpec()
591 ResourceEntry* entry = sorted_entries->at(entryIndex); in FlattenTypeSpec()
630 std::vector<ResourceEntry*> sorted_entries = CollectAndSortEntries(type); in FlattenTypes() local
[all …]
/frameworks/base/tools/aapt2/
DDebug.cpp275 std::vector<const ResourceEntry*> sorted_entries; in PrintTable() local
278 sorted_entries.begin(), sorted_entries.end(), entry.get(), in PrintTable()
288 sorted_entries.insert(iter, entry.get()); in PrintTable()
292 for (const ResourceEntry* entry : sorted_entries) { in PrintTable()