Lines Matching refs:elem
634 elem := name
635 if elem == "go" {
636 elem = "go_bootstrap"
638 link = []string{pathf("%s/link", tooldir), "-o", pathf("%s/%s%s", tooldir, elem, exe)}
724 elem := filepath.Base(p)
729 if strings.HasPrefix(elem, gt.nameprefix) {
991 for _, elem := range xreaddir(path) {
993 if strings.HasPrefix(elem, gt.nameprefix) {
994 xremove(pathf("%s/%s", path, elem))
1006 for _, elem := range runtimegen {
1007 xremove(pathf("%s/%s", path, elem))
1299 elem := strings.TrimSuffix(filepath.Base(f), ".exe")
1300 if !ok[f] && elem != "go" && elem != "gofmt" && elem != goos+"_"+goarch {
1301 fatalf("unexpected new file in $GOROOT/bin: %s", elem)