Searched refs:ResTable_type (Results 1 – 14 of 14) 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 | 58 void AddType(const ResTable_type* type) { in AddType() 64 using ElementType = const ResTable_type*; in Build() 81 std::vector<const ResTable_type*> types_; 91 static bool VerifyResTableType(const ResTable_type* header) { in VerifyResTableType() 125 static bool VerifyResTableEntry(const ResTable_type* type, uint32_t entry_offset) { in VerifyResTableEntry() 236 const ResTable_entry* LoadedPackage::GetEntry(const ResTable_type* type_chunk, in GetEntry() 239 if (entry_offset == ResTable_type::NO_ENTRY) { in GetEntry() 245 uint32_t LoadedPackage::GetEntryOffset(const ResTable_type* type_chunk, uint16_t entry_index) { in GetEntryOffset() 253 if (type_chunk->flags & ResTable_type::FLAG_SPARSE) { in GetEntryOffset() 267 return ResTable_type::NO_ENTRY; in GetEntryOffset() [all …]
|
D | ResourceTypes.cpp | 3475 const ResTable_type* type; 3494 Vector<const ResTable_type*> configs; 4804 std::shared_ptr<Vector<const ResTable_type*>> newFilteredConfigs = in setParameters() 4805 std::make_shared<Vector<const ResTable_type*>>(); in setParameters() 6198 const ResTable_type* config = type->configs[m]; in forEachConfiguration() 6383 const ResTable_type* bestType = NULL; in getEntry() 6384 uint32_t bestOffset = ResTable_type::NO_ENTRY; in getEntry() 6432 const Vector<const ResTable_type*>* candidateConfigs = &typeSpec->configs; in getEntry() 6434 std::shared_ptr<Vector<const ResTable_type*>> filteredConfigs; in getEntry() 6457 const ResTable_type* const thisType = candidateConfigs->itemAt(c); in getEntry() [all …]
|
D | AssetManager2.cpp | 611 const ResTable_type* best_type = nullptr; in FindEntryInternal() 671 const ResTable_type* type = filtered_group.types[i]; in FindEntryInternal() 673 if (offset == ResTable_type::NO_ENTRY) { in FindEntryInternal() 730 if (offset == ResTable_type::NO_ENTRY) { in FindEntryInternal()
|
/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 | 69 const ResTable_type* type = type_spec->types[0]; in TEST() 93 const ResTable_type* type = type_spec->types[0]; in TEST() 364 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 | 60 const ResTable_type* types[0]; 166 static const ResTable_entry* GetEntry(const ResTable_type* type_chunk, uint16_t entry_index); 168 static uint32_t GetEntryOffset(const ResTable_type* type_chunk, uint16_t entry_index); 170 static const ResTable_entry* GetEntryFromOffset(const ResTable_type* type_chunk, uint32_t offset);
|
D | ResourceTypes.h | 1394 struct ResTable_type struct 1431 sizeof(ResTable_type) - sizeof(ResTable_config) + sizeof(ResTable_config::size); 1435 static_assert(sizeof(ResTable_type) == offsetof(ResTable_type, config) + sizeof(ResTable_config), 2189 Vector<std::shared_ptr<Vector<const ResTable_type*>>> filteredConfigs;
|
D | AssetManager2.h | 293 std::vector<const ResTable_type*> types;
|
/frameworks/base/tools/aapt2/format/binary/ |
D | TableFlattener.cpp | 351 ResTable_type* type_header = type_writer.StartChunk<ResTable_type>(RES_TABLE_TYPE_TYPE); in FlattenConfig() 389 type_header->flags |= ResTable_type::FLAG_SPARSE; in FlattenConfig() 393 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 | 287 TypeVariant typeVariant((const ResTable_type*) type_chunk); in TEST_F()
|
/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()
|