Searched refs:entry_count (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/libs/androidfw/
H A DLoadedArsc.cpp145 size_t entry_count = dtohl(type->type->entryCount); local
146 if (entry_idx < entry_count) {
217 const size_t entry_count = dtohl(header->entryCount); local
218 if (entry_count > std::numeric_limits<uint16_t>::max()) {
226 const size_t offsets_length = sizeof(uint32_t) * entry_count;
246 for (size_t i = 0; i < entry_count; i++) {
395 size_t entry_count = dtohl(type->type->entryCount); local
396 for (size_t entry_idx = 0; entry_idx < entry_count; entry_idx++) {
516 // The data portion of this chunk contains entry_count 32bit entries,
519 const size_t entry_count local
[all...]
H A DAssetManager2.cpp491 const size_t entry_count = map_entry_end - map_entry; local
493 malloc(sizeof(ResolvedBag) + (entry_count * sizeof(ResolvedBag::Entry))))};
513 new_bag->entry_count = static_cast<uint32_t>(entry_count);
535 const size_t max_count = parent_bag->entry_count + dtohl(map->count);
541 const ResolvedBag::Entry* const parent_entry_end = parent_entry + parent_bag->entry_count;
610 final_bag->entry_count = static_cast<uint32_t>(actual_count);
748 // Set the entry_count to include this entry. We will populate
750 if (entry_idx + 1 > type->entry_count) {
752 type->entry_count
[all...]
/frameworks/base/libs/androidfw/include/androidfw/
H A DAssetManager2.h65 uint32_t entry_count; member in struct:android::ResolvedBag
350 uint32_t entry_count; member in struct:android::Theme::Type
372 return bag->entries + bag->entry_count;
/frameworks/av/camera/ndk/impl/
H A DACameraMetadata.cpp214 size_t entry_count = mData.entryCount(); local
215 mTags.setCapacity(entry_count);
217 for (size_t i = 0; i < entry_count; i++) {
/frameworks/base/libs/androidfw/tests/
H A DAssetManager2_test.cpp211 ASSERT_EQ(3u, bag->entry_count);
238 ASSERT_GE(bag->entry_count, 2u);
253 ASSERT_EQ(2u, bag_one->entry_count);
267 ASSERT_EQ(6u, bag_two->entry_count);
/frameworks/av/media/libstagefright/
H A DMPEG4Extractor.cpp1063 uint32_t entry_count; local
1064 if (!mDataSource->getUInt32(data_offset + 4, &entry_count)) {
1068 if (entry_count != 1) {
1070 ALOGW("ignoring edit list with %d entries", entry_count);
1365 uint32_t entry_count = U32_AT(&buffer[4]); local
1367 if (entry_count > 1) {
1388 for (uint32_t i = 0; i < entry_count; ++i) {

Completed in 867 milliseconds