/frameworks/base/libs/androidfw/ |
D | Idmap.cpp | 97 base::expected<StringPiece16, NullOrIOError> OverlayStringPool::stringAt(size_t idx) const { in stringAt() function in android::OverlayStringPool 100 return idmap_string_pool_->stringAt(idx - offset); in stringAt() 103 return ResStringPool::stringAt(idx); in stringAt()
|
D | Util.cpp | 204 if (auto str = pool.stringAt(idx); str.ok()) { in GetString16()
|
D | ResourceTypes.cpp | 799 base::expected<StringPiece16, NullOrIOError> ResStringPool::stringAt(size_t idx) const in stringAt() function in android::ResStringPool 1028 const base::expected<StringPiece16, NullOrIOError> str16 = stringAt(idx); in string8ObjectAt() 1171 const base::expected<StringPiece16, NullOrIOError> s = stringAt(mid); in indexOfString() 1205 const base::expected<StringPiece16, NullOrIOError> s = stringAt(i); in indexOfString() 1304 return id >= 0 ? UnpackOptionalString(mTree.mStrings.stringAt(id), outLen) : NULL; in getComment() 1323 return id >= 0 ? UnpackOptionalString(mTree.mStrings.stringAt(id), outLen) : NULL; in getText() 1347 return id >= 0 ? UnpackOptionalString(mTree.mStrings.stringAt(id), outLen) : NULL; in getNamespacePrefix() 1362 return id >= 0 ? UnpackOptionalString(mTree.mStrings.stringAt(id), outLen) : NULL; in getNamespaceUri() 1379 return id >= 0 ? UnpackOptionalString(mTree.mStrings.stringAt(id), outLen) : NULL; in getElementNamespace() 1396 return id >= 0 ? UnpackOptionalString(mTree.mStrings.stringAt(id), outLen) : NULL; in getElementName() [all …]
|
D | LoadedArsc.cpp | 334 const auto type_name16 = type_string_pool_.stringAt(type_idx); in CollectConfigurations()
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | PrettyPrintVisitor.cpp | 103 auto str = string_pool.stringAt(value.data_value - string_pool_offset); in visit()
|
/frameworks/base/core/jni/ |
D | android_util_StringBlock.cpp | 82 auto str = osb->stringAt(idx); in android_content_StringBlock_nativeGetString()
|
D | android_util_AssetManager.cpp | 789 auto str_utf16 = pool->stringAt(attr_value.data); in NativeGetResourceStringArray()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | Idmap.h | 51 base::expected<StringPiece16, NullOrIOError> stringAt(size_t idx) const override;
|
D | ResourceTypes.h | 531 inline base::expected<StringPiece16, NullOrIOError> stringAt(const ResStringPool_ref& ref) const { in stringAt() function 532 return stringAt(ref.index); in stringAt() 534 virtual base::expected<StringPiece16, NullOrIOError> stringAt(size_t idx) const;
|
/frameworks/base/libs/androidfw/tests/ |
D | StringPool_test.cpp | 226 auto str = test.stringAt(0); in TEST() 281 EXPECT_TRUE(test.stringAt(4).has_value() || test.string8At(4).has_value()); in TEST()
|
D | ResTable_test.cpp | 423 auto target_str16 = pool->stringAt(val.data); in TEST() 449 ASSERT_FALSE(invalid_pool->stringAt(invalid_val.data).has_value()); in TEST()
|
D | LoadedArsc_test.cpp | 157 auto type_name16 = package->GetTypeStringPool()->stringAt(type_spec->type_spec->id - 1); in TEST()
|
/frameworks/base/tools/aapt/ |
D | StringPool.cpp | 57 uniqueStrings.add(UnpackOptionalString(pool->stringAt(i), &len)); in printStringPool()
|
D | Resource.cpp | 505 str = pool->stringAt(value.data, &len); in validateAttr() 525 if ((str = UnpackOptionalString(pool->stringAt(value.data), &len)) == NULL) { in validateAttr()
|
D | ResourceTable.cpp | 3062 String16 typeName(UnpackOptionalString(p->getTypeStrings().stringAt(ti), &len)); in flatten() 4165 mappings->add(String16(UnpackOptionalString(strings->stringAt(i), &len)), i); in setStrings()
|
/frameworks/base/tools/aapt2/ |
D | Debug.cpp | 447 uniqueStrings.add(UnpackOptionalString(pool->stringAt(i), &len)); in DumpResStringPool()
|