Home | History | Annotate | Download | only in common

Lines Matching full:nil

291 	if archFeatureMap[arch] == nil {
488 if err != nil {
516 if err != nil {
525 if err != nil {
596 return nil
617 return false, nil
621 return true, nil
625 if err != nil {
818 if variables.CrossHost != nil && *variables.CrossHost != "" {
823 return nil, fmt.Errorf("Unsupported secondary host: %s", *variables.CrossHost)
827 return ret, nil
832 if variables.HostArch == nil {
833 return nil, nil, fmt.Errorf("No host primary architecture set")
836 hostArch, err := decodeArch(*variables.HostArch, nil, nil, nil)
837 if err != nil {
838 return nil, nil, err
843 if variables.HostSecondaryArch != nil && *variables.HostSecondaryArch != "" {
844 hostSecondaryArch, err := decodeArch(*variables.HostSecondaryArch, nil, nil, nil)
845 if err != nil {
846 return nil, nil, err
855 if variables.CrossHost != nil && *variables.CrossHost != "" {
856 if variables.CrossHostArch == nil || *variables.CrossHostArch == "" {
857 return nil, nil, fmt.Errorf("No cross-host primary architecture set")
860 crossHostArch, err := decodeArch(*variables.CrossHostArch, nil, nil, nil)
861 if err != nil {
862 return nil, nil, err
867 if variables.CrossHostSecondaryArch != nil && *variables.CrossHostSecondaryArch != "" {
868 crossHostSecondaryArch, err := decodeArch(*variables.CrossHostSecondaryArch, nil, nil, nil)
869 if err != nil {
870 return nil, nil, err
879 return nil, nil, fmt.Errorf("Unsupported cross-host: %s", *variables.CrossHost)
883 if variables.DeviceArch == nil {
884 return nil, nil, fmt.Errorf("No device primary architecture set")
889 if err != nil {
890 return nil, nil, err
895 if variables.DeviceSecondaryArch != nil && *variables.DeviceSecondaryArch != "" {
899 if err != nil {
900 return nil, nil, err
905 return hostTypeArches, deviceArches, nil
958 if err != nil {
959 return nil, err
964 return ret, nil
970 if p != nil {
977 if p != nil {
980 return nil
1014 return a, nil
1040 return nil, fmt.Errorf(`compile_multilib must be "both", "first", "32", or "64", found %q`,
1045 return buildArches, nil