Searched refs:untranslatable_sections (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/tools/aapt2/ |
D | ResourceValues.cpp | 244 if (untranslatable_sections.size() != other->untranslatable_sections.size()) { in Equals() 248 auto other_iter = other->untranslatable_sections.begin(); in Equals() 249 for (const UntranslatableSection& this_section : untranslatable_sections) { in Equals() 273 str->untranslatable_sections = untranslatable_sections; in Clone() 300 if (untranslatable_sections.size() != other->untranslatable_sections.size()) { in Equals() 304 auto other_iter = other->untranslatable_sections.begin(); in Equals() 305 for (const UntranslatableSection& this_section : untranslatable_sections) { in Equals() 328 str->untranslatable_sections = untranslatable_sections; in Clone()
|
D | ResourceParser_test.cpp | 98 EXPECT_THAT(str->untranslatable_sections, IsEmpty()); in TEST_F() 142 EXPECT_THAT(str->untranslatable_sections, IsEmpty()); in TEST_F() 159 EXPECT_THAT(str->untranslatable_sections, IsEmpty()); in TEST_F() 175 EXPECT_THAT(str->untranslatable_sections, IsEmpty()); in TEST_F() 183 EXPECT_THAT(str->untranslatable_sections, IsEmpty()); in TEST_F() 191 EXPECT_THAT(str->untranslatable_sections, IsEmpty()); in TEST_F() 198 EXPECT_THAT(str->untranslatable_sections, IsEmpty()); in TEST_F() 208 EXPECT_THAT(str->untranslatable_sections, IsEmpty()); in TEST_F() 252 EXPECT_THAT(str->untranslatable_sections, IsEmpty()); in TEST_F() 272 ASSERT_THAT(str->untranslatable_sections, SizeIs(1)); in TEST_F() [all …]
|
D | ResourceValues.h | 229 std::vector<UntranslatableSection> untranslatable_sections; member 246 std::vector<UntranslatableSection> untranslatable_sections; member
|
D | ResourceUtils.h | 240 std::vector<UntranslatableSection> untranslatable_sections; member
|
D | ResourceParser.cpp | 377 *out_untranslatable_sections = std::move(flattened_string.untranslatable_sections); in FlattenXmlSubtree() 731 std::vector<UntranslatableSection> untranslatable_sections; in ParseXml() local 732 if (!FlattenXmlSubtree(parser, &raw_value, &style_string, &untranslatable_sections)) { in ParseXml() 741 styled_string->untranslatable_sections = std::move(untranslatable_sections); in ParseXml() 769 string->untranslatable_sections = std::move(untranslatable_sections); in ParseXml()
|
D | ResourceUtils.cpp | 963 xml_string_.untranslatable_sections.push_back(section); in StartUntranslatable() 964 return xml_string_.untranslatable_sections.size() - 1; in StartUntranslatable() 971 xml_string_.untranslatable_sections[handle].end = xml_string_.text.size(); in EndUntranslatable()
|
/frameworks/base/tools/aapt2/compile/ |
D | PseudolocaleGenerator.cpp | 79 sorted_untranslatable_sections.reserve(string.untranslatable_sections.size()); in MergeSpans() 80 std::transform(string.untranslatable_sections.begin(), string.untranslatable_sections.end(), in MergeSpans() 252 for (const UntranslatableSection& section : string->untranslatable_sections) { in Visit()
|
D | PseudolocaleGenerator_test.cpp | 163 original_string->untranslatable_sections = {UntranslatableSection{11u, 15u}}; in TEST() 270 styled_string->untranslatable_sections.push_back(UntranslatableSection{6u, 8u}); in TEST() 271 styled_string->untranslatable_sections.push_back(UntranslatableSection{8u, 11u}); in TEST() 274 string->untranslatable_sections.push_back(UntranslatableSection{6u, 11u}); in TEST()
|