Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DAssetManager2.cpp540 const ResolvedBag::Entry* parent_entry = parent_bag->entries; in GetBag() local
541 const ResolvedBag::Entry* const parent_entry_end = parent_entry + parent_bag->entry_count; in GetBag()
544 while (map_entry != map_entry_end && parent_entry != parent_entry_end) { in GetBag()
553 if (child_key <= parent_entry->key) { in GetBag()
564 memcpy(new_entry, parent_entry, sizeof(*new_entry)); in GetBag()
567 if (child_key >= parent_entry->key) { in GetBag()
569 ++parent_entry; in GetBag()
594 if (parent_entry != parent_entry_end) { in GetBag()
596 const size_t num_entries_to_copy = parent_entry_end - parent_entry; in GetBag()
597 memcpy(new_entry, parent_entry, num_entries_to_copy * sizeof(*new_entry)); in GetBag()