Home
last modified time | relevance | path

Searched refs:u16len (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/libs/androidfw/
DResourceTypes.cpp814 const base::expected<size_t, IOError> u16len = decodeLength(&str); in stringAt() local
815 if (UNLIKELY(!u16len.has_value())) { in stringAt()
816 return base::unexpected(u16len.error()); in stringAt()
819 if ((uint32_t)(str+*u16len-strings) < mStringPoolSize) { in stringAt()
821 const auto nullAddress = str + (*u16len); in stringAt()
831 if (UNLIKELY(!str.verify(*u16len + 1U))) { in stringAt()
836 *u16len); in stringAt()
839 (int)idx, (int)(str+*u16len-strings), (int)mStringPoolSize); in stringAt()
845 base::expected<size_t, IOError> u16len = decodeLength(&u8str); in stringAt() local
846 if (UNLIKELY(!u16len.has_value())) { in stringAt()
[all …]