Searched refs:ResTable_type (Results 1 – 15 of 15) sorted by relevance
/frameworks/base/libs/androidfw/ |
D | TypeWrappers.cpp | 23 TypeVariant::TypeVariant(const ResTable_type* data) : data(data), mLength(dtohl(data->entryCount)) { in TypeVariant() 24 if (data->flags & ResTable_type::FLAG_SPARSE) { in TypeVariant() 52 const ResTable_type* type = mTypeVariant->data; in operator *() 68 if (type->flags & ResTable_type::FLAG_SPARSE) { in operator *() 80 if (entryOffset == ResTable_type::NO_ENTRY) { in operator *()
|
D | LoadedArsc.cpp | 59 void AddType(const ResTable_type* type) { in AddType() 65 using ElementType = const ResTable_type*; in Build() 84 std::vector<const ResTable_type*> types_; 94 static bool VerifyResTableType(const ResTable_type* header) { in VerifyResTableType() 128 static bool VerifyResTableEntry(const ResTable_type* type, uint32_t entry_offset) { in VerifyResTableEntry() 239 const ResTable_entry* LoadedPackage::GetEntry(const ResTable_type* type_chunk, in GetEntry() 242 if (entry_offset == ResTable_type::NO_ENTRY) { in GetEntry() 248 uint32_t LoadedPackage::GetEntryOffset(const ResTable_type* type_chunk, uint16_t entry_index) { in GetEntryOffset() 256 if (type_chunk->flags & ResTable_type::FLAG_SPARSE) { in GetEntryOffset() 270 return ResTable_type::NO_ENTRY; in GetEntryOffset() [all …]
|
D | ResourceTypes.cpp | 3472 const ResTable_type* type; 3491 Vector<const ResTable_type*> configs; 4801 std::shared_ptr<Vector<const ResTable_type*>> newFilteredConfigs = in setParameters() 4802 std::make_shared<Vector<const ResTable_type*>>(); in setParameters() 6195 const ResTable_type* config = type->configs[m]; in forEachConfiguration() 6380 const ResTable_type* bestType = NULL; in getEntry() 6381 uint32_t bestOffset = ResTable_type::NO_ENTRY; in getEntry() 6429 const Vector<const ResTable_type*>* candidateConfigs = &typeSpec->configs; in getEntry() 6431 std::shared_ptr<Vector<const ResTable_type*>> filteredConfigs; in getEntry() 6454 const ResTable_type* const thisType = candidateConfigs->itemAt(c); in getEntry() [all …]
|
D | AssetManager2.cpp | 409 const ResTable_type* best_type = nullptr; in FindEntry() 470 const ResTable_type* type = filtered_group.types[i]; in FindEntry() 472 if (offset == ResTable_type::NO_ENTRY) { in FindEntry() 518 if (offset == ResTable_type::NO_ENTRY) { in FindEntry()
|
/frameworks/base/libs/androidfw/tests/ |
D | TypeWrappers_test.cpp | 26 ResTable_type t; in createTypeData() 48 offsets[1] = ResTable_type::NO_ENTRY; in createTypeData() 79 ResTable_type* data = (ResTable_type*) createTypeData(); in TEST()
|
D | LoadedArsc_test.cpp | 66 const ResTable_type* type = type_spec->types[0]; in TEST() 90 const ResTable_type* type = type_spec->types[0]; in TEST()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | TypeWrappers.h | 26 explicit TypeVariant(const ResTable_type* data); 77 const ResTable_type* data;
|
D | LoadedArsc.h | 64 const ResTable_type* types[0]; 151 static const ResTable_entry* GetEntry(const ResTable_type* type_chunk, uint16_t entry_index); 153 static uint32_t GetEntryOffset(const ResTable_type* type_chunk, uint16_t entry_index); 155 static const ResTable_entry* GetEntryFromOffset(const ResTable_type* type_chunk, uint32_t offset);
|
D | ResourceTypes.h | 1390 struct ResTable_type struct 1427 sizeof(ResTable_type) - sizeof(ResTable_config) + sizeof(ResTable_config::size); 1431 static_assert(sizeof(ResTable_type) == offsetof(ResTable_type, config) + sizeof(ResTable_config), 2099 Vector<std::shared_ptr<Vector<const ResTable_type*>>> filteredConfigs;
|
D | AssetManager2.h | 321 std::vector<const ResTable_type*> types;
|
/frameworks/base/tools/aapt2/format/binary/ |
D | TableFlattener.cpp | 338 ResTable_type* type_header = type_writer.StartChunk<ResTable_type>(RES_TABLE_TYPE_TYPE); in FlattenConfig() 376 type_header->flags |= ResTable_type::FLAG_SPARSE; in FlattenConfig() 380 if (offsets[i] != ResTable_type::NO_ENTRY) { in FlattenConfig()
|
D | BinaryResourceParser.cpp | 340 const ResTable_type* type = ConvertTo<ResTable_type, kResTableTypeMinSize>(chunk); in ParseType()
|
D | TableFlattener_test.cpp | 285 TypeVariant typeVariant((const ResTable_type*) type_chunk); in TEST_F()
|
/frameworks/base/cmds/idmap/ |
D | inspect.cpp | 287 if (data32 != ResTable_type::NO_ENTRY) { in parse_data()
|
/frameworks/base/tools/aapt/ |
D | ResourceTable.cpp | 3152 const size_t typeSize = sizeof(ResTable_type) + sizeof(uint32_t)*N; in flatten() 3189 ResTable_type* tHeader = (ResTable_type*) in flatten() 3240 + typeStart + sizeof(ResTable_type)); in flatten() 3251 index[ei] = htodl(ResTable_type::NO_ENTRY); in flatten() 3256 tHeader = (ResTable_type*) in flatten()
|