Searched refs:indexOfString (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/tools/aapt2/format/binary/ |
D | TableFlattener_test.cpp | 191 auto idx = res_table.getTableStringBlock(0)->indexOfString(foo_str.data(), foo_str.size()); in TEST_F() 197 idx = res_table.getTableStringBlock(0)->indexOfString(bar_path.data(), bar_path.size()); in TEST_F() 660 auto idx = res_table.getTableStringBlock(0)->indexOfString(foo_str.data(), foo_str.size()); in TEST_F() 666 idx = res_table.getTableStringBlock(0)->indexOfString(bar_path.data(), bar_path.size()); in TEST_F() 719 auto foo_idx = res_table.getTableStringBlock(0)->indexOfString(foo_str.data(), foo_str.size()); in TEST_F() 720 auto bar_idx = res_table.getTableStringBlock(0)->indexOfString(bar_str.data(), bar_str.size()); in TEST_F() 733 res_table.getTableStringBlock(0)->indexOfString(bar_path.data(), bar_path.size()); in TEST_F() 796 auto idx = res_table.getTableStringBlock(0)->indexOfString(foo_str.data(), foo_str.size()); in TEST_F() 802 idx = res_table.getTableStringBlock(0)->indexOfString(bar_path.data(), bar_path.size()); in TEST_F() 1018 auto idx = res_table.getTableStringBlock(0)->indexOfString(bar_path.data(), bar_path.size()); in TEST_F()
|
/frameworks/base/cmds/idmap2/tests/ |
D | ResourceMappingTests.cpp | 235 = string_pool.indexOfString(expected_uri.data(), expected_uri.length()).value_or(-1); in TEST() 241 (uint32_t) (string_pool.indexOfString(u"foobar", 6)).value_or(-1))); in TEST()
|
D | IdmapTests.cpp | 304 = string_pool.indexOfString(expected_uri.data(), expected_uri.length()).value_or(-1); in TEST() 316 (uint32_t) (string_pool.indexOfString(u"foobar", 6)).value_or(-1)); in TEST()
|
/frameworks/base/libs/androidfw/ |
D | LoadedArsc.cpp | 379 const base::expected<size_t, NullOrIOError> type_idx = type_string_pool_.indexOfString( in FindEntryByName() 385 const base::expected<size_t, NullOrIOError> key_idx = key_string_pool_.indexOfString( in FindEntryByName()
|
D | ResourceTypes.cpp | 1066 base::expected<size_t, NullOrIOError> ResStringPool::indexOfString(const char16_t* str, in indexOfString() function in android::ResStringPool 3844 packages[i]->typeStrings.indexOfString(type, len); in findType16() 5221 auto ti = group->packages[pi]->typeStrings.indexOfString(targetType, targetTypeLen); in identifierForName() 5251 t->package->keyStrings.indexOfString(name, nameLen); in findEntry()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 547 base::expected<size_t, NullOrIOError> indexOfString(const char16_t* str, size_t strLen) const;
|