/frameworks/base/tools/aapt2/tools/ |
D | extract_unicode_properties.py | 16 def __init__(self, first_char, last_char, prop_type): argument 18 self.last_char = last_char 25 if self.last_char + 1 == other.first_char and self.prop_type == other.prop_type: 26 self.last_char = other.last_char 36 "{", self.first_char, self.last_char, ' | '.join(types), "}") 48 last_char = (int(last_char_str, 16) if last_char_str else start_char) + 1 50 for char in range(start_char, last_char):
|
/frameworks/base/tools/aapt2/compile/ |
D | PseudolocaleGenerator_test.cpp | 41 EXPECT_EQ(std::u16string(u"Hello worl").size(), new_string->value->spans[0].last_char); in TEST() 45 EXPECT_EQ(std::u16string(u"Hel").size(), new_string->value->spans[1].last_char); in TEST() 49 EXPECT_EQ(std::u16string(u"Hello w").size(), new_string->value->spans[2].last_char); in TEST() 61 EXPECT_EQ(std::u16string(u"[Ĥéļļö ŵöŕļð").size(), new_string->value->spans[0].last_char); in TEST() 64 EXPECT_EQ(std::u16string(u"[Ĥéļļö ŵöŕļ").size(), new_string->value->spans[1].last_char); in TEST() 67 EXPECT_EQ(std::u16string(u"[Ĥéļ").size(), new_string->value->spans[2].last_char); in TEST() 70 EXPECT_EQ(std::u16string(u"[Ĥéļļö ŵ").size(), new_string->value->spans[3].last_char); in TEST() 88 EXPECT_EQ(std::u16string(u"[ɓöļ").size(), new_string->value->spans[0].last_char); in TEST() 92 EXPECT_EQ(std::u16string(u"[ɓöļ").size(), new_string->value->spans[1].last_char); in TEST() 110 EXPECT_EQ(std::u16string(u"[ɓ").size(), new_string->value->spans[0].last_char); in TEST() [all …]
|
D | PseudolocaleGenerator.cpp | 42 uint32_t last_char; member 50 } else if (left.last_char < right.last_char) { in operator <() 57 return UnifiedSpan{*span.name, span.first_char, span.last_char}; in SpanToUnifiedSpan() 150 if (parent_span == nullptr || parent_span->last_char > span->first_char) { in PseudolocalizeStyledString() 180 const StringPiece16 substr = text.substr(cursor, parent_span->last_char - cursor + 1); in PseudolocalizeStyledString() 192 parent_span->last_char = new_cursor - 1; in PseudolocalizeStyledString() 211 localized.spans.push_back(Span{std::move(span.tag.value()), span.first_char, span.last_char}); in PseudolocalizeStyledString()
|
/frameworks/base/tools/aapt2/text/ |
D | Unicode.cpp | 38 char32_t last_char; member 46 return a.last_char < codepoint; in CompareCharacterProperties()
|
/frameworks/compile/mclinker/lib/Support/ |
D | Path.cpp | 134 StringType::value_type last_char = m_PathName[m_PathName.size() - 1]; in m_append_separator_if_needed() local 135 if (!m_PathName.empty() && !is_separator(last_char)) { in m_append_separator_if_needed()
|
/frameworks/base/tools/aapt2/ |
D | StringPool.h | 38 uint32_t last_char; member 139 uint32_t last_char; member
|
D | StringPool.cpp | 136 if (span.first_char != rhs_span.first_char || span.last_char != rhs_span.last_char || in operator ==() 214 entry->spans.emplace_back(Span{MakeRef(span.name), span.first_char, span.last_char}); in MakeRef() 229 entry->spans.emplace_back(Span{MakeRef(*span.name), span.first_char, span.last_char}); in MakeRef() 480 span->lastChar = util::HostToDevice32(s.last_char); in Flatten()
|
D | ResourceParser_test.cpp | 146 EXPECT_THAT(str->value->spans[0].last_char, Eq(30u)); in TEST_F() 150 EXPECT_THAT(str->value->spans[1].last_char, Eq(30u)); in TEST_F() 213 EXPECT_THAT(str->value->spans[0].last_char, Eq(21u)); in TEST_F() 217 EXPECT_THAT(str->value->spans[1].last_char, Eq(13u)); in TEST_F() 294 EXPECT_THAT(str->value->spans[0].last_char, Eq(14u)); in TEST_F()
|
D | ResourceUtils.cpp | 941 span.first_char = span.last_char = utf16_len_; in StartSpan() 953 xml_string_.spans[handle].last_char = utf16_len_ - 1u; in EndSpan()
|
D | StringPool_test.cpp | 171 EXPECT_THAT(span.last_char, Eq(6u)); in TEST()
|
D | ResourceValues.cpp | 335 *out << " " << *span.name << ":" << span.first_char << "," << span.last_char; in Print()
|
D | Resources.proto | 327 uint32 last_char = 3; field
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize.cpp | 478 pb_span->set_last_char(span.last_char); in Visit()
|
D | ProtoSerialize_test.cpp | 160 EXPECT_THAT(actual_styled_str->value->spans[0].last_char, Eq(4u)); in TEST()
|
D | ProtoDeserialize.cpp | 915 style_str.spans.push_back(Span{pb_span.tag(), pb_span.first_char(), pb_span.last_char()}); in DeserializeItemFromPb()
|