Searched refs:parsed_type (Results 1 – 3 of 3) sorted by relevance
45 std::optional<ResourceNamedTypeRef> parsed_type; in ToResourceNamedType() local49 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() local133 if (!parsed_type) { in ParseResourceName()143 out_ref->type = *parsed_type; in ParseResourceName()277 const ResourceType* parsed_type = ParseResourceType(type_str); in ParseStyleParentReference() local278 if (!parsed_type || *parsed_type != ResourceType::kStyle) { in ParseStyleParentReference()
702 std::optional<ResourceNamedTypeRef> parsed_type = ParseResourceNamedType(resource_type); in ParseResource() local703 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() local936 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() local1048 .name = ResourceName{{}, parsed_type, std::string(maybe_name.value())}, in ParseGroupImpl()[all …]
373 std::optional<ResourceNamedTypeRef> parsed_type = ParseResourceNamedType(type_str); in ParseType() local374 if (!parsed_type) { in ParseType()387 const ResourceName name(package->name, *parsed_type, in ParseType()