Home | History | Annotate | Download | only in utils

Lines Matching refs:ResTable

68 #define IDMAP_HEADER_SIZE (ResTable::IDMAP_HEADER_SIZE_BYTES / sizeof(uint32_t))
223 if (sizeBytes < ResTable::IDMAP_HEADER_SIZE_BYTES) {
243 const size_t size = (sizeBytes - ResTable::IDMAP_HEADER_SIZE_BYTES) / sizeof(uint32_t);
1370 struct ResTable::Header
1372 Header(ResTable* _owner) : owner(_owner), ownedData(NULL), header(NULL),
1380 ResTable* const owner;
1393 struct ResTable::Type
1406 struct ResTable::Package
1408 Package(ResTable* _owner, const Header* _header, const ResTable_package* _package)
1419 ResTable* const owner;
1435 struct ResTable::PackageGroup
1437 PackageGroup(ResTable* _owner, const String16& _name, uint32_t _id)
1477 ResTable* const owner;
1493 struct ResTable::bag_set
1501 ResTable::Theme::Theme(const ResTable& table)
1507 ResTable::Theme::~Theme()
1517 void ResTable::Theme::free_package(package_info* pi)
1528 ResTable::Theme::package_info* ResTable::Theme::copy_package(package_info* pi)
1548 status_t ResTable::Theme::applyStyle(uint32_t resID, bool force)
1640 status_t ResTable::Theme::setTo(const Theme& other)
1679 ssize_t ResTable::Theme::getAttribute(uint32_t resID, Res_value* outValue,
1733 ssize_t ResTable::Theme::resolveAttributeReference(Res_value* inOutValue,
1753 void ResTable::Theme::dumpToLog() const
1777 ResTable::ResTable()
1782 //LOGI("Creating ResTable %p\n", this);
1785 ResTable::ResTable(const void* data, size_t size, void* cookie, bool copyData)
1792 //LOGI("Creating ResTable %p\n", this);
1795 ResTable::~ResTable()
1797 //LOGI("Destroying ResTable in %p\n", this);
1801 inline ssize_t ResTable::getResourcePackageIndex(uint32_t resID) const
1806 status_t ResTable::add(const void* data, size_t size, void* cookie, bool copyData,
1812 status_t ResTable::add(Asset* asset, void* cookie, bool copyData, const void* idmap)
1823 status_t ResTable::add(ResTable* src)
1847 status_t ResTable::add(const void* data, size_t size, void* cookie,
1870 LOGV("Adding resources to ResTable: data=%p, size=0x%x, cookie=%p, asset=%p, copy=%d "
1886 LOAD_TABLE_NOISY(LOGV("Loading ResTable @%p:\n", header->header));
1912 status_t err = validate_chunk(chunk, sizeof(ResChunk_header), header->dataEnd, "ResTable");
1974 status_t ResTable::getError() const
1979 void ResTable::uninit()
2002 bool ResTable::getResourceName(uint32_t resID, resource_name* outName) const
2057 ssize_t ResTable::getResource(uint32_t resID, Res_value* outValue, bool mayBeBag, uint16_t density,
2226 ssize_t ResTable::resolveReference(Res_value* value, ssize_t blockIndex,
2257 const char16_t* ResTable::valueToString(
2271 ssize_t ResTable::lockBag(uint32_t resID, const bag_entry** outBag) const
2282 void ResTable::unlockBag(const bag_entry* bag) const
2288 void ResTable::lock() const
2293 void ResTable::unlock() const
2298 ssize_t ResTable::getBagLocked(uint32_t resID, const bag_entry** outBag,
2587 void ResTable::setParameters(const ResTable_config* params)
2616 void ResTable::getParameters(ResTable_config* params) const
2642 uint32_t ResTable::identifierForName(const char16_t* name, size_t nameLen,
2833 bool ResTable::expandResourceRef(const uint16_t* refStr, size_t refLen,
2982 bool ResTable::stringToInt(const char16_t* s, size_t len, Res_value* outValue)
3046 bool ResTable::stringToFloat(const char16_t* s, size_t len, Res_value* outValue)
3141 bool ResTable::stringToValue(Res_value* outValue, String16* outString,
3677 bool ResTable::collectString(String16* outString,
3819 size_t ResTable::getBasePackageCount() const
3827 const char16_t* ResTable::getBasePackageName(size_t idx) const
3838 uint32_t ResTable::getBasePackageId(size_t idx) const
3849 size_t ResTable::getTableCount() const
3854 const ResStringPool* ResTable::getTableStringBlock(size_t index) const
3859 void* ResTable::getTableCookie(size_t index) const
3864 void ResTable::getConfigurations(Vector<ResTable_config>* configs) const
3898 void ResTable::getLocales(Vector<String8>* locales) const
3921 ssize_t ResTable::getEntry(
4067 status_t ResTable::parsePackage(const ResTable_package* const pkg,
4315 status_t ResTable::createIdmap(const ResTable& overlay, uint32_t originalCrc, uint32_t overlayCrc,
4433 bool ResTable::getIdmapInfo(const void* idmap, size_t sizeBytes,
4487 String8 ResTable::normalizeForOutput( const char *input )
4518 void ResTable::print_value(const Package* pkg, const Res_value& value) const
4567 void ResTable::print(bool inclValues) const