Lines Matching refs:arch

761 		for _, arch := range archs {
762 if targets[i].Arch.ArchType == arch {
798 arch, multilib, target reflect.Type member
845 for i, arch := range archTypeList {
848 for _, archVariant := range archVariants[arch] {
852 for _, cpuVariant := range cpuVariants[arch] {
856 for _, feature := range archFeatures[arch] {
875 Name: arch.Field,
950 arch: reflect.PtrTo(archType),
1037 Arch: reflect.Zero(t.arch).Interface(),
1276 func GetCompoundTargetField(os OsType, arch ArchType) string {
1277 return os.Field + "_" + arch.Name
1282 func getArchProperties(ctx BaseMutatorContext, archProperties interface{}, arch Arch, os OsType, na…
1288 archType := arch.ArchType
1290 if arch.ArchType != Common {
1291 archStruct, ok := getArchTypeStruct(ctx, archProperties, arch.ArchType)
1303 v := variantReplacer.Replace(arch.ArchVariant)
1319 if arch.CpuVariant != arch.ArchVariant {
1320 c := variantReplacer.Replace(arch.CpuVariant)
1337 for _, feature := range arch.ArchFeatures {
1356 field := "Linux_" + arch.ArchType.Name
1357 userFriendlyField := "target.linux_" + arch.ArchType.Name
1419 if arch.ArchType == X86 && (hasArmAbi(arch) ||
1427 if arch.ArchType == X86_64 && (hasArmAbi(arch) ||
1450 arch := m.Arch()
1461 …propStructShard := getArchProperties(ctx, archProperty, arch, os, m.Target().NativeBridge == Nativ…
1522arch, err := decodeArch(target.os, target.archName, target.archVariant, target.cpuVariant, target.…
1532 nativeBridgeRelativePathStr = arch.ArchType.String()
1551 if arch.ArchType == Common {
1553 } else if arch.ArchType.Name == *variables.HostArch {
1555 …} else if variables.HostSecondaryArch != nil && arch.ArchType.Name == *variables.HostSecondaryArch…
1568 Arch: arch,
1670 func hasArmAbi(arch Arch) bool {
1671 return PrefixInList(arch.Abi, "arm")
1721 arch, err := decodeArch(Android, config.Arch, &config.ArchVariant,
1729 Arch: arch,
1737 func decodeArch(os OsType, arch string, archVariant, cpuVariant *string, abi []string) (Arch, error…
1739 archType, ok := archTypeMap[arch]
1741 return Arch{}, fmt.Errorf("unknown arch %q", arch)