Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DResourceUtils.cpp45 std::optional<ResourceNamedTypeRef> parsed_type; in ToResourceNamedType() local
49 parsed_type = ParseResourceNamedType(converted); in ToResourceNamedType()
51 parsed_type = ParseResourceNamedType(StringPiece(type, type_len)); in ToResourceNamedType()
55 if (!parsed_type) { in ToResourceNamedType()
58 return parsed_type->ToResourceNamedType(); in ToResourceNamedType()
132 std::optional<ResourceNamedTypeRef> parsed_type = ParseResourceNamedType(type); in ParseResourceName() local
133 if (!parsed_type) { in ParseResourceName()
143 out_ref->type = *parsed_type; in ParseResourceName()
277 const ResourceType* parsed_type = ParseResourceType(type_str); in ParseStyleParentReference() local
278 if (!parsed_type || *parsed_type != ResourceType::kStyle) { in ParseStyleParentReference()
DResourceParser.cpp702 std::optional<ResourceNamedTypeRef> parsed_type = ParseResourceNamedType(resource_type); in ParseResource() local
703 if (parsed_type) { in ParseResource()
710 out_resource->name.type = parsed_type->ToResourceNamedType(); in ParseResource()
715 << "invalid value for type '" << *parsed_type << "'. Expected a reference"); in ParseResource()
935 std::optional<ResourceNamedTypeRef> parsed_type = ParseResourceNamedType(maybe_type.value()); in ParsePublic() local
936 if (!parsed_type) { in ParsePublic()
942 out_resource->name.type = parsed_type->ToResourceNamedType(); in ParsePublic()
954 if (parsed_type->type == ResourceType::kId) { in ParsePublic()
986 auto parsed_type = maybe_parsed_type->ToResourceNamedType(); in ParseGroupImpl() local
1048 .name = ResourceName{{}, parsed_type, std::string(maybe_name.value())}, in ParseGroupImpl()
[all …]
/frameworks/base/tools/aapt2/format/binary/
DBinaryResourceParser.cpp373 std::optional<ResourceNamedTypeRef> parsed_type = ParseResourceNamedType(type_str); in ParseType() local
374 if (!parsed_type) { in ParseType()
387 const ResourceName name(package->name, *parsed_type, in ParseType()