/prebuilts/go/darwin-x86/src/ |
run.rc | 10 GOPATH = () # we disallow local import for non-local packages, if $GOROOT happens 11 # to be under $GOPATH, then some tests below will fail
|
run.bash | 12 unset GOPATH # we disallow local import for non-local packages, if $GOROOT happens 13 # to be under $GOPATH, then some tests below will fail
|
run.bat | 16 :: to be under %GOPATH%, then some tests below will fail 17 set GOPATH=
|
/prebuilts/go/linux-x86/src/ |
run.rc | 10 GOPATH = () # we disallow local import for non-local packages, if $GOROOT happens 11 # to be under $GOPATH, then some tests below will fail
|
run.bash | 12 unset GOPATH # we disallow local import for non-local packages, if $GOROOT happens 13 # to be under $GOPATH, then some tests below will fail
|
run.bat | 16 :: to be under %GOPATH%, then some tests below will fail 17 set GOPATH=
|
/prebuilts/go/darwin-x86/misc/cgo/testplugin/ |
test.bash | 26 GOPATH=$(pwd) go build -buildmode=plugin plugin1 27 GOPATH=$(pwd) go build -buildmode=plugin plugin2 28 GOPATH=$(pwd)/altpath go build -buildmode=plugin plugin-mismatch 29 GOPATH=$(pwd) go build -buildmode=plugin -o=sub/plugin1.so sub/plugin1 30 GOPATH=$(pwd) go build -buildmode=plugin unnamed1.go 31 GOPATH=$(pwd) go build -buildmode=plugin unnamed2.go 32 GOPATH=$(pwd) go build host 37 GOPATH=$(pwd) go build -buildmode=plugin iface_a 38 GOPATH=$(pwd) go build -buildmode=plugin iface_b 39 GOPATH=$(pwd) go build ifac [all...] |
/prebuilts/go/linux-x86/misc/cgo/testplugin/ |
test.bash | 26 GOPATH=$(pwd) go build -buildmode=plugin plugin1 27 GOPATH=$(pwd) go build -buildmode=plugin plugin2 28 GOPATH=$(pwd)/altpath go build -buildmode=plugin plugin-mismatch 29 GOPATH=$(pwd) go build -buildmode=plugin -o=sub/plugin1.so sub/plugin1 30 GOPATH=$(pwd) go build -buildmode=plugin unnamed1.go 31 GOPATH=$(pwd) go build -buildmode=plugin unnamed2.go 32 GOPATH=$(pwd) go build host 37 GOPATH=$(pwd) go build -buildmode=plugin iface_a 38 GOPATH=$(pwd) go build -buildmode=plugin iface_b 39 GOPATH=$(pwd) go build ifac [all...] |
/prebuilts/go/darwin-x86/src/cmd/go/ |
context.go | 15 GOPATH string `json:",omitempty"` // Go path 29 GOPATH: c.GOPATH,
|
vendor_test.go | 22 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata")) 52 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata")) 59 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata")) 72 gopath := changeVolume(filepath.Join(tg.pwd(), "testdata"), strings.ToLower) 73 tg.setenv("GOPATH", gopath) 83 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata")) 93 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata")) 102 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata")) 110 .*[\\/]testdata[\\/]src[\\/]notfound \(from \$GOPATH\)`) [all...] |
go_test.go | 109 os.Unsetenv("GOPATH") 180 if strings.HasPrefix(e, "GOROOT=") || strings.HasPrefix(e, "GOPATH=") || strings.HasPrefix(e, "GOBIN=") { 227 if tg.inParallel && (name == "GOROOT" || name == "GOPATH" || name == "GOBIN") && (strings.HasPrefix(val, "testdata") || strings.HasPrefix(val, "./testdata")) { 721 tg.setenv("GOPATH", tg.path("d1")) 789 tg.setenv("GOPATH", tg.path(".")) 836 tg.setenv("GOPATH", tg.path("d1")+sep+tg.path("d2")) 865 tg.setenv("GOPATH", tg.path(".")) 882 tg.setenv("GOPATH", tg.path(".")) 893 tg.setenv("GOPATH", tg.path(".")) 908 tg.setenv("GOPATH", tg.path(".") [all...] |
/prebuilts/go/linux-x86/src/cmd/go/ |
context.go | 15 GOPATH string `json:",omitempty"` // Go path 29 GOPATH: c.GOPATH,
|
vendor_test.go | 22 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata")) 52 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata")) 59 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata")) 72 gopath := changeVolume(filepath.Join(tg.pwd(), "testdata"), strings.ToLower) 73 tg.setenv("GOPATH", gopath) 83 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata")) 93 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata")) 102 tg.setenv("GOPATH", filepath.Join(tg.pwd(), "testdata")) 110 .*[\\/]testdata[\\/]src[\\/]notfound \(from \$GOPATH\)`) [all...] |
go_test.go | 109 os.Unsetenv("GOPATH") 180 if strings.HasPrefix(e, "GOROOT=") || strings.HasPrefix(e, "GOPATH=") || strings.HasPrefix(e, "GOBIN=") { 227 if tg.inParallel && (name == "GOROOT" || name == "GOPATH" || name == "GOBIN") && (strings.HasPrefix(val, "testdata") || strings.HasPrefix(val, "./testdata")) { 721 tg.setenv("GOPATH", tg.path("d1")) 789 tg.setenv("GOPATH", tg.path(".")) 836 tg.setenv("GOPATH", tg.path("d1")+sep+tg.path("d2")) 865 tg.setenv("GOPATH", tg.path(".")) 882 tg.setenv("GOPATH", tg.path(".")) 893 tg.setenv("GOPATH", tg.path(".")) 908 tg.setenv("GOPATH", tg.path(".") [all...] |
/prebuilts/go/darwin-x86/misc/android/ |
go_android_exec.go | 39 deviceGopath = "/data/local/tmp/gopath" 53 // "$GOROOT/src/mime/multipart" or "$GOPATH/src/golang.org/x/mobile". 54 // We extract everything after the $GOROOT or $GOPATH to run on the 86 `; export GOPATH="` + deviceGopath + `"` + 106 // and returns the path to the package source relative to $GOROOT (or $GOPATH). 120 for _, p := range filepath.SplitList(build.Default.GOPATH) { 129 log.Fatalf("the current path %q is not in either GOROOT(%q) or GOPATH(%q)", 130 cwd, runtime.GOROOT(), build.Default.GOPATH)
|
/prebuilts/go/linux-x86/misc/android/ |
go_android_exec.go | 39 deviceGopath = "/data/local/tmp/gopath" 53 // "$GOROOT/src/mime/multipart" or "$GOPATH/src/golang.org/x/mobile". 54 // We extract everything after the $GOROOT or $GOPATH to run on the 86 `; export GOPATH="` + deviceGopath + `"` + 106 // and returns the path to the package source relative to $GOROOT (or $GOPATH). 120 for _, p := range filepath.SplitList(build.Default.GOPATH) { 129 log.Fatalf("the current path %q is not in either GOROOT(%q) or GOPATH(%q)", 130 cwd, runtime.GOROOT(), build.Default.GOPATH)
|
/prebuilts/go/darwin-x86/misc/cgo/testcshared/ |
test.bash | 87 GOPATH=$(pwd) go install -buildmode=c-shared $suffix libgo 89 GOPATH=$(pwd) go build -buildmode=c-shared $suffix -o libgo.$libext src/libgo/libgo.go 127 GOPATH=$(pwd) go build -buildmode=c-shared $suffix -o libgo2.$libext libgo2 153 GOPATH=$(pwd) go build -buildmode=c-shared $suffix -o libgo4.$libext libgo4 168 GOPATH=$(pwd) go build -buildmode=c-shared $suffix -o libgo5.$libext libgo5
|
/prebuilts/go/linux-x86/misc/cgo/testcshared/ |
test.bash | 87 GOPATH=$(pwd) go install -buildmode=c-shared $suffix libgo 89 GOPATH=$(pwd) go build -buildmode=c-shared $suffix -o libgo.$libext src/libgo/libgo.go 127 GOPATH=$(pwd) go build -buildmode=c-shared $suffix -o libgo2.$libext libgo2 153 GOPATH=$(pwd) go build -buildmode=c-shared $suffix -o libgo4.$libext libgo4 168 GOPATH=$(pwd) go build -buildmode=c-shared $suffix -o libgo5.$libext libgo5
|
/prebuilts/go/darwin-x86/src/os/ |
example_test.go | 68 os.Unsetenv("GOPATH") 89 show("GOPATH") 93 // GOPATH not set
|
/prebuilts/go/linux-x86/src/os/ |
example_test.go | 68 os.Unsetenv("GOPATH") 89 show("GOPATH") 93 // GOPATH not set
|
/external/flatbuffers/tests/ |
GoTest.sh | 43 GOPATH=${go_path} go test flatbuffers_test \
|
/prebuilts/go/darwin-x86/src/cmd/dist/ |
buildtool.go | 8 // a new GOPATH workspace, adjust import paths appropriately, 119 // GOPATH points at our bootstrap workspace, 120 // GOBIN is empty, so that binaries are installed to GOPATH/bin, 123 // Restore GOROOT, GOPATH, and GOBIN when done. 130 defer os.Setenv("GOPATH", os.Getenv("GOPATH")) 131 os.Setenv("GOPATH", workspace)
|
/prebuilts/go/linux-x86/src/cmd/dist/ |
buildtool.go | 8 // a new GOPATH workspace, adjust import paths appropriately, 119 // GOPATH points at our bootstrap workspace, 120 // GOBIN is empty, so that binaries are installed to GOPATH/bin, 123 // Restore GOROOT, GOPATH, and GOBIN when done. 130 defer os.Setenv("GOPATH", os.Getenv("GOPATH")) 131 os.Setenv("GOPATH", workspace)
|
/external/flatbuffers/samples/ |
go_sample.sh | 52 # Export the `GOPATH`, so that `go` will know which directories to search for 54 export GOPATH=${sampledir}/go_gen/
|
/external/llvm/tools/llvm-go/ |
llvm-go.go | 11 // $GOPATH that resembles a tree fetched in the normal way with "go get". 153 tmpgopath, err := ioutil.TempDir("", "gopath") 174 newgopathlist = append(newgopathlist, filepath.SplitList(os.Getenv("GOPATH"))...) 185 "GOPATH=" + newgopath, 199 !strings.HasPrefix(v, "GOPATH=") &&
|