Searched refs:type_str (Results 1 – 4 of 4) sorted by relevance
59 if (base::expected<StringPiece, NullOrIOError> type_str = type_string_ref.string8(); in ToResourceName() local60 type_str.ok()) { in ToResourceName()61 name.type = type_str->data(); in ToResourceName()62 name.type_len = type_str->size(); in ToResourceName()63 } else if (UNLIKELY(IsIOError(type_str))) { in ToResourceName()64 return base::unexpected(type_str.error()); in ToResourceName()
276 StringPiece type_str; in ParseStyleParentReference() local277 android::ExtractResourceName(name, &ref.package, &type_str, &ref.entry); in ParseStyleParentReference()278 if (!type_str.empty()) { in ParseStyleParentReference()280 const ResourceType* parsed_type = ParseResourceType(type_str); in ParseStyleParentReference()283 err << "invalid resource type '" << type_str << "' for parent of style"; in ParseStyleParentReference()289 if (!has_leading_identifiers && ref.package.empty() && !type_str.empty()) { in ParseStyleParentReference()
500 const std::string type_str = name.type.to_string(); in ProcessResource() local502 StringPrintf("%s.%s = (%s.%s & 0x00ffffff) | packageIdBits;", type_str.data(), in ProcessResource()503 field_name.data(), type_str.data(), field_name.data())); in ProcessResource()
366 const std::string type_str = util::GetString(type_pool_, type->id - 1); in ParseType() local367 const ResourceType* parsed_type = ParseResourceType(type_str); in ParseType()370 << "invalid type name '" << type_str << "' for type with ID " << type->id); in ParseType()