Lines Matching refs:attr

102   for (const auto& attr : element->attributes) {  in GetLabel()  local
103 if (attr.name == "label") { in GetLabel()
104 label = attr.value; in GetLabel()
496 for (const auto& attr : root_element->attributes) { in ArtifactTagHandler() local
497 if (attr.name == "name") { in ArtifactTagHandler()
498 artifact.name = attr.value; in ArtifactTagHandler()
499 } else if (attr.name == "abi-group") { in ArtifactTagHandler()
500 artifact.abi_group = {attr.value}; in ArtifactTagHandler()
501 } else if (attr.name == "screen-density-group") { in ArtifactTagHandler()
502 artifact.screen_density_group = {attr.value}; in ArtifactTagHandler()
503 } else if (attr.name == "locale-group") { in ArtifactTagHandler()
504 artifact.locale_group = {attr.value}; in ArtifactTagHandler()
505 } else if (attr.name == "android-sdk") { in ArtifactTagHandler()
506 artifact.android_sdk = {attr.value}; in ArtifactTagHandler()
507 } else if (attr.name == "gl-texture-group") { in ArtifactTagHandler()
508 artifact.gl_texture_group = {attr.value}; in ArtifactTagHandler()
509 } else if (attr.name == "device-feature-group") { in ArtifactTagHandler()
510 artifact.device_feature_group = {attr.value}; in ArtifactTagHandler()
512 diag->Note(DiagMessage() << "Unknown artifact attribute: " << attr.name << " = " in ArtifactTagHandler()
513 << attr.value); in ArtifactTagHandler()
721 for (const auto& attr : root_element->attributes) { in AndroidSdkTagHandler() local
723 if (attr.name == "label") { in AndroidSdkTagHandler()
724 entry.label = attr.value; in AndroidSdkTagHandler()
726 } else if (attr.name == "minSdkVersion") { in AndroidSdkTagHandler()
727 Maybe<int> version = ResourceUtils::ParseSdkVersion(attr.value); in AndroidSdkTagHandler()
732 } else if (attr.name == "targetSdkVersion") { in AndroidSdkTagHandler()
733 Maybe<int> version = ResourceUtils::ParseSdkVersion(attr.value); in AndroidSdkTagHandler()
738 } else if (attr.name == "maxSdkVersion") { in AndroidSdkTagHandler()
739 Maybe<int> version = ResourceUtils::ParseSdkVersion(attr.value); in AndroidSdkTagHandler()
747 diag->Error(DiagMessage() << "Invalid attribute: " << attr.name << " = " << attr.value); in AndroidSdkTagHandler()
795 for (const auto& attr : child->attributes) { in GlTextureGroupTagHandler() local
796 if (attr.name == "name") { in GlTextureGroupTagHandler()
797 result.name = attr.value; in GlTextureGroupTagHandler()