Searched refs:name_in (Results 1 – 2 of 2) sorted by relevance
61 std::optional<ResourceName> ToResourceName(const android::ResTable::resource_name& name_in) { in ToResourceName() argument64 if (!name_in.package) { in ToResourceName()68 name_out.package = android::util::Utf16ToUtf8(StringPiece16(name_in.package, name_in.packageLen)); in ToResourceName()71 ToResourceNamedType(name_in.type, name_in.name8, name_in.typeLen); in ToResourceName()77 if (name_in.name) { in ToResourceName()78 name_out.entry = android::util::Utf16ToUtf8(StringPiece16(name_in.name, name_in.nameLen)); in ToResourceName()79 } else if (name_in.name8) { in ToResourceName()80 name_out.entry.assign(name_in.name8, name_in.nameLen); in ToResourceName()87 std::optional<ResourceName> ToResourceName(const android::AssetManager2::ResourceName& name_in) { in ToResourceName() argument89 if (!name_in.package) { in ToResourceName()[all …]
82 std::optional<ResourceName> ToResourceName(const android::AssetManager2::ResourceName& name_in);