Home
last modified time | relevance | path

Searched refs:ResStringPool (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/core/jni/
Dandroid_util_StringBlock.cpp50 ResStringPool* osb = new ResStringPool(b+off, len, true); in android_content_StringBlock_nativeCreate()
65 ResStringPool* osb = reinterpret_cast<ResStringPool*>(token); in android_content_StringBlock_nativeGetSize()
77 ResStringPool* osb = reinterpret_cast<ResStringPool*>(token); in android_content_StringBlock_nativeGetString()
101 ResStringPool* osb = reinterpret_cast<ResStringPool*>(token); in android_content_StringBlock_nativeGetStyle()
144 ResStringPool* osb = reinterpret_cast<ResStringPool*>(token); in android_content_StringBlock_nativeDestroy()
/frameworks/base/libs/androidfw/include/androidfw/
DLoadedArsc.h173 inline const ResStringPool* GetTypeStringPool() const { in GetTypeStringPool()
178 inline const ResStringPool* GetKeyStringPool() const { in GetKeyStringPool()
276 ResStringPool type_string_pool_;
277 ResStringPool key_string_pool_;
312 inline const ResStringPool* GetStringPool() const { in GetStringPool()
332 std::unique_ptr<ResStringPool> global_string_pool_ = util::make_unique<ResStringPool>();
DIdmap.h40 class OverlayStringPool : public ResStringPool {
50 const ResStringPool* idmap_string_pool_;
188 const std::unique_ptr<ResStringPool> string_pool_;
204 ResStringPool* string_pool);
DAssetManager2.h58 ResStringPool* key_pool;
59 ResStringPool* type_pool;
117 const ResStringPool* GetStringPoolForCookie(ApkAssetsCookie cookie) const;
DResourceTypes.h492 class ResStringPool
495 ResStringPool();
496 ResStringPool(const void* data, size_t size, bool copyData=false);
497 virtual ~ResStringPool();
559 StringPoolRef(const ResStringPool* pool, uint32_t index);
565 const ResStringPool* mPool = nullptr;
725 const ResStringPool& getStrings() const;
839 ResStringPool mStrings;
2124 const ResStringPool* getTableStringBlock(size_t index) const;
/frameworks/base/libs/androidfw/
DIdmap.cpp61 if (idmap_string_pool_ != nullptr && idx >= ResStringPool::size() && idx >= offset) { in stringAt()
65 return ResStringPool::stringAt(idx, outLen); in stringAt()
70 if (idmap_string_pool_ != nullptr && idx >= ResStringPool::size() && idx >= offset) { in string8At()
74 return ResStringPool::string8At(idx, outLen); in string8At()
78 return ResStringPool::size() + (idmap_string_pool_ != nullptr ? idmap_string_pool_->size() : 0U); in size()
202 ResStringPool* string_pool) in LoadedIdmap()
273 auto idmap_string_pool = util::make_unique<ResStringPool>(); in Load()
DResourceTypes.cpp422 ResStringPool::ResStringPool() in ResStringPool() function in android::ResStringPool
427 ResStringPool::ResStringPool(const void* data, size_t size, bool copyData) in ResStringPool() function in android::ResStringPool
433 ResStringPool::~ResStringPool() in ~ResStringPool()
438 void ResStringPool::setToEmpty() in setToEmpty()
454 status_t ResStringPool::setTo(const void* data, size_t size, bool copyData) in setTo()
649 status_t ResStringPool::getError() const in getError()
654 void ResStringPool::uninit() in uninit()
717 const char16_t* ResStringPool::stringAt(size_t idx, size_t* u16len) const in stringAt()
822 const char* ResStringPool::string8At(size_t idx, size_t* outLen) const in string8At()
863 const char* ResStringPool::stringDecodeAt(size_t idx, const uint8_t* str, in stringDecodeAt()
[all …]
/frameworks/base/tools/aapt2/format/binary/
DBinaryResourceParser.h103 android::ResStringPool value_pool_;
107 android::ResStringPool type_pool_;
111 android::ResStringPool key_pool_;
/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.h36 const android::ResStringPool& src_pool,
42 const android::ResStringPool& src_pool,
DProtoDeserialize.cpp31 using ::android::ResStringPool;
360 static void DeserializeSourceFromPb(const pb::Source& pb_source, const ResStringPool& src_pool, in DeserializeSourceFromPb()
379 const android::ResStringPool& src_pool, in DeserializeOverlayableItemFromPb()
421 static bool DeserializePackageFromPb(const pb::Package& pb_package, const ResStringPool& src_pool, in DeserializePackageFromPb()
544 ResStringPool source_pool; in DeserializeTableFromPb()
662 static void DeserializeItemMetaDataFromPb(const T& pb_item, const android::ResStringPool& src_pool, in DeserializeItemMetaDataFromPb()
691 const android::ResStringPool& src_pool, in DeserializeValueFromPb()
820 const android::ResStringPool& src_pool, in DeserializeItemFromPb()
/frameworks/base/tools/aapt2/
DStringPool_test.cpp210 ResStringPool test; in TEST()
224 ResStringPool test; in TEST()
269 ResStringPool test; in TEST()
319 ResStringPool test; in TEST()
341 ResStringPool test; in TEST()
DDebug.h41 static void DumpResStringPool(const android::ResStringPool* pool, text::Printer* printer);
DResourceUtils.h232 const android::ResStringPool& src_pool,
/frameworks/base/libs/androidfw/tests/
DCommonHelpers.h37 std::string GetStringFromPool(const ResStringPool* pool, uint32_t idx);
DCommonHelpers.cpp60 std::string GetStringFromPool(const ResStringPool* pool, uint32_t idx) { in GetStringFromPool()
DTestHelpers.cpp71 const ResStringPool* pool = table.getTableStringBlock(block); in IsStringEqual()
DResTable_test.cpp440 const ResStringPool* pool = table.getTableStringBlock(block); in TEST()
469 const ResStringPool* invalid_pool = invalid_table.getTableStringBlock(invalid_block); in TEST()
DIdmap_test.cpp68 const ResStringPool* string_pool = assets[cookie]->GetLoadedArsc()->GetStringPool(); in GetStringFromApkAssets()
/frameworks/base/tools/aapt/
DResourceTable.h545 const ResStringPool& getTypeStrings() const { return mTypeStrings; } in getTypeStrings()
550 const ResStringPool& getKeyStrings() const { return mKeyStrings; } in getKeyStrings()
564 ResStringPool* strings,
573 ResStringPool mTypeStrings;
574 ResStringPool mKeyStrings;
DStringPool.h31 void printStringPool(const ResStringPool* pool);
/frameworks/base/tools/aapt2/util/
DUtil.h145 android::StringPiece16 GetString16(const android::ResStringPool& pool, size_t idx);
150 std::string GetString(const android::ResStringPool& pool, size_t idx);
DUtil.cpp533 StringPiece16 GetString16(const android::ResStringPool& pool, size_t idx) { in GetString16()
542 std::string GetString(const android::ResStringPool& pool, size_t idx) { in GetString()
/frameworks/base/cmds/idmap2/idmap2/
DLookup.cpp51 using android::ResStringPool;
101 const ResStringPool* pool = am->GetStringPoolForCookie(cookie); in PrintValue()
/frameworks/base/cmds/idmap2/libidmap2/
DPrettyPrintVisitor.cpp63 const ResStringPool string_pool(data.GetStringPoolData(), in visit()
/frameworks/base/cmds/idmap2/include/idmap2/
DXmlParser.h134 inline const ResStringPool& get_strings() const { in get_strings()

12