Searched refs:ResTable_entry (Results 1 - 12 of 12) sorted by relevance
/frameworks/base/tools/aapt2/format/binary/ |
H A D | ResourceTypeExtensions.h | 26 android::ResTable_entry entry;
|
H A D | BinaryResourceParser.cpp | 350 const ResTable_entry* entry = *it; 361 if (entry->flags & ResTable_entry::FLAG_COMPLEX) { 384 if ((entry->flags & ResTable_entry::FLAG_PUBLIC) != 0 || 386 if (entry->flags & ResTable_entry::FLAG_PUBLIC) { 508 attr->SetWeak((util::DeviceToHost16(map->flags) & ResTable_entry::FLAG_WEAK) != 0);
|
H A D | TableFlattener.cpp | 281 std::is_same<ResTable_entry, T>::value || std::is_same<ResTable_entry_ext, T>::value, 282 "T must be ResTable_entry or ResTable_entry_ext"); 285 ResTable_entry* out_entry = (ResTable_entry*)result; 287 out_entry->flags |= ResTable_entry::FLAG_PUBLIC; 291 out_entry->flags |= ResTable_entry::FLAG_WEAK; 295 out_entry->flags |= ResTable_entry::FLAG_COMPLEX; 306 WriteEntry<ResTable_entry, true>(entry, buffer);
|
/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | TypeWrappers.h | 50 const ResTable_entry* operator->() const { 59 const ResTable_entry* operator*() const;
|
H A D | LoadedArsc.h | 94 static const ResTable_entry* GetEntry(const ResTable_type* type_chunk, uint16_t entry_index); 98 static const ResTable_entry* GetEntryFromOffset(const ResTable_type* type_chunk, uint32_t offset);
|
H A D | ResourceTypes.h | 390 * This is a reference to a unique entry (a ResTable_entry structure) 1416 // Offset from header where ResTable_entry data starts. 1458 struct ResTable_entry struct 1482 * Extended form of a ResTable_entry for map entries, defining a parent map 1485 struct ResTable_map_entry : public ResTable_entry
|
/frameworks/base/libs/androidfw/ |
H A D | TypeWrappers.cpp | 51 const ResTable_entry* TypeVariant::iterator::operator*() const { 89 const ResTable_entry* entry = reinterpret_cast<const ResTable_entry*>(
|
H A D | LoadedArsc.cpp | 145 if (entry_offset > chunk_size - sizeof(ResTable_entry)) { 147 << " is too large. No room for ResTable_entry."; 151 const ResTable_entry* entry = reinterpret_cast<const ResTable_entry*>( 156 LOG(ERROR) << "ResTable_entry size " << entry_size << " at offset " << entry_offset 162 LOG(ERROR) << "ResTable_entry size " << entry_size << " at offset " << entry_offset 170 LOG(ERROR) << "No room for Res_value after ResTable_entry at offset " << entry_offset 206 const ResTable_entry* LoadedPackage::GetEntry(const ResTable_type* type_chunk, 256 const ResTable_entry* LoadedPackage::GetEntryFromOffset(const ResTable_type* type_chunk, 261 return reinterpret_cast<const ResTable_entry*>(reinterpret_cas [all...] |
H A D | AssetManager2.cpp | 42 // If the size of the entry is > sizeof(ResTable_entry), it can be cast to 44 const ResTable_entry* entry; 443 const ResTable_entry* best_entry = LoadedPackage::GetEntryFromOffset(best_type, best_offset); 517 if (dtohs(entry.entry->flags) & ResTable_entry::FLAG_COMPLEX) { 594 (dtohs(entry.entry->flags) & ResTable_entry::FLAG_COMPLEX) == 0) {
|
H A D | ResourceTypes.cpp | 3457 const ResTable_entry* entry; 4362 if ((dtohs(entry.entry->flags) & ResTable_entry::FLAG_COMPLEX) != 0) { 5006 const ResTable_entry* entry = *iter; 6518 if (bestOffset > (dtohl(bestType->header.size)-sizeof(ResTable_entry))) { 6519 ALOGW("ResTable_entry at 0x%x is beyond type chunk data 0x%x", 6524 ALOGW("ResTable_entry at 0x%x is not on an integer boundary", bestOffset); 6528 const ResTable_entry* const entry = reinterpret_cast<const ResTable_entry*>( 6531 ALOGW("ResTable_entry size 0x%x is too small", dtohs(entry->size)); 6775 && dtohl(type->entriesStart) > (typeSize-sizeof(ResTable_entry))) { [all...] |
/frameworks/base/libs/androidfw/tests/ |
H A D | TypeWrappers_test.cpp | 38 ResTable_entry e1; 51 ResTable_entry e2;
|
/frameworks/base/tools/aapt/ |
H A D | ResourceTable.cpp | 3756 ResTable_entry header; 3770 fprintf(stderr, "ERROR: out of memory creating ResTable_entry\n"); 3810 fprintf(stderr, "ERROR: out of memory creating ResTable_entry\n");
|
Completed in 179 milliseconds