Lines Matching refs:resource_name
79 std::string ToFormattedResourceString(AssetManager2::ResourceName* resource_name) { in ToFormattedResourceString() argument
81 if (resource_name->package != nullptr) { in ToFormattedResourceString()
82 result.append(resource_name->package, resource_name->package_len); in ToFormattedResourceString()
85 if (resource_name->type != nullptr || resource_name->type16 != nullptr) { in ToFormattedResourceString()
90 if (resource_name->type != nullptr) { in ToFormattedResourceString()
91 result.append(resource_name->type, resource_name->type_len); in ToFormattedResourceString()
93 result += util::Utf16ToUtf8(StringPiece16(resource_name->type16, resource_name->type_len)); in ToFormattedResourceString()
97 if (resource_name->entry != nullptr || resource_name->entry16 != nullptr) { in ToFormattedResourceString()
102 if (resource_name->entry != nullptr) { in ToFormattedResourceString()
103 result.append(resource_name->entry, resource_name->entry_len); in ToFormattedResourceString()
105 result += util::Utf16ToUtf8(StringPiece16(resource_name->entry16, resource_name->entry_len)); in ToFormattedResourceString()