Lines Matching refs:arch
239 func (attr *LabelAttribute) GetValueForArch(arch string) Label {
240 switch arch {
256 func (attr *LabelAttribute) SetValueForArch(arch string, value Label) {
257 switch arch {
323 for arch := range PlatformArchMap {
324 this := attrs.GetValueForArch(arch)
325 that := other.GetValueForArch(arch)
327 attrs.SetValueForArch(arch, this)
343 for arch := range PlatformArchMap {
344 if len(attrs.GetValueForArch(arch).Includes) > 0 {
368 func (attrs *LabelListAttribute) GetValueForArch(arch string) LabelList {
370 if v = attrs.archValuePtrs()[arch]; v == nil {
371 panic(fmt.Errorf("Unknown arch: %s", arch))
377 func (attrs *LabelListAttribute) SetValueForArch(arch string, value LabelList) {
379 if v = attrs.archValuePtrs()[arch]; v == nil {
380 panic(fmt.Errorf("Unknown arch: %s", arch))
464 for arch := range PlatformArchMap {
465 if len(attrs.GetValueForArch(arch)) > 0 {
489 func (attrs *StringListAttribute) GetValueForArch(arch string) []string {
491 if v = attrs.archValuePtrs()[arch]; v == nil {
492 panic(fmt.Errorf("Unknown arch: %s", arch))
498 func (attrs *StringListAttribute) SetValueForArch(arch string, value []string) {
500 if v = attrs.archValuePtrs()[arch]; v == nil {
501 panic(fmt.Errorf("Unknown arch: %s", arch))
539 for arch := range PlatformArchMap {
540 this := attrs.GetValueForArch(arch)
541 that := other.GetValueForArch(arch)
543 attrs.SetValueForArch(arch, this)