| /prebuilts/go/linux-x86/src/runtime/cgo/ |
| sigaction.go | 1 // Copyright 2016 The Go Authors. All rights reserved. 9 // Import "unsafe" because we use go:linkname. 14 // sanitizer with Go programs. The memory sanitizer only applies to 15 // C/C++ code; this permits that code to see the Go runtime's existing signal 18 //go:cgo_import_static x_cgo_sigaction 19 //go:linkname x_cgo_sigaction x_cgo_sigaction 20 //go:linkname _cgo_sigaction _cgo_sigaction
|
| /prebuilts/go/linux-x86/src/runtime/ |
| defs_netbsd.go | 1 // Copyright 2009 The Go Authors. All rights reserved. 10 GOARCH=amd64 go tool cgo -cdefs defs_netbsd.go defs_netbsd_amd64.go >defs_netbsd_amd64.h 11 GOARCH=386 go tool cgo -cdefs defs_netbsd.go defs_netbsd_386.go >defs_netbsd_386.h 12 GOARCH=arm go tool cgo -cdefs defs_netbsd.go defs_netbsd_arm.go >defs_netbsd_arm. [all...] |
| msan.go | 1 // Copyright 2015 The Go Authors. All rights reserved. 32 //go:nosplit 41 //go:noescape 44 //go:noescape 47 //go:noescape 50 //go:noescape 54 //go:cgo_import_static __msan_read_go 55 //go:cgo_import_static __msan_write_go 56 //go:cgo_import_static __msan_malloc_go 57 //go:cgo_import_static __msan_free_g [all...] |
| /prebuilts/go/linux-x86/src/syscall/ |
| exec_solaris_test.go | 1 // Copyright 2015 The Go Authors. All rights reserved. 11 //go:cgo_import_dynamic libc_Getpgid getpgid "libc.so" 12 //go:cgo_import_dynamic libc_Getpgrp getpgrp "libc.so" 14 //go:linkname libc_Getpgid libc_Getpgid 15 //go:linkname libc_Getpgrp libc_Getpgrp
|
| /prebuilts/go/linux-x86/test/fixedbugs/ |
| bug012.go | 3 // Copyright 2009 The Go Authors. All rights reserved. 22 bug12.go:5: overflow converting constant to <uint64>UINT64 23 bug12.go:6: overflow converting constant to <uint64>UINT64 24 bug12.go:7: overflow converting constant to <uint64>UINT64 25 bug12.go:8: overflow converting constant to <uint64>UINT64
|
| bug334.go | 3 // Copyright 2011 The Go Authors. All rights reserved. 27 bug334.go:16: invalid receiver type cplx64 28 bug334.go:17: invalid receiver type cplx128 29 bug334.go:22: c64.Foo undefined (type cplx128 has no field or method Foo) 30 bug334.go:23: c128.Foo undefined (type cplx64 has no field or method Foo)
|
| bug381.go | 3 // Copyright 2011 The Go Authors. All rights reserved. 10 // bug381.go:29: unsafe.Alignof(0) not used 12 // bug381.go:29: 4 not used 15 // bug381.go:30: cannot use 3 (type time.Weekday) as type int in function argument 17 // bug381.go:30: cannot use time.Wednesday (type time.Weekday) as type int in function argument
|
| /prebuilts/go/linux-x86/test/uintptrescapes.dir/ |
| a.go | 1 // Copyright 2016 The Go Authors. All rights reserved. 22 //go:uintptrescapes 29 //go:uintptrescapes 42 //go:uintptrescapes 49 //go:uintptrescapes
|
| /prebuilts/go/linux-x86/test/ |
| uintptrescapes2.go | 3 // Copyright 2016 The Go Authors. All rights reserved. 15 //go:uintptrescapes 16 //go:noinline 19 //go:uintptrescapes 20 //go:noinline
|
| /prebuilts/go/darwin-x86/src/cmd/go/ |
| vendor_test.go | 1 // Copyright 2015 The Go Authors. All rights reserved. 45 t.Errorf("incorrect go list output:\n%s", diffSortedOutputs(have, want)) 61 tg.run("run", "hello.go") 76 tg.run("run", "hello.go") 153 tg.tempFile("src/v/m.go", ` 159 tg.tempFile("src/v/m_test.go", ` 165 tg.tempFile("src/v/vendor/vendor.org/p/p.go", ` 170 tg.run("run", "m.go") 187 tg.run("get", "github.com/rsc/go-get-issue-11864") 188 tg.run("get", "-u", "github.com/rsc/go-get-issue-11864" [all...] |
| /prebuilts/go/linux-x86/src/cmd/go/ |
| vendor_test.go | 1 // Copyright 2015 The Go Authors. All rights reserved. 45 t.Errorf("incorrect go list output:\n%s", diffSortedOutputs(have, want)) 61 tg.run("run", "hello.go") 76 tg.run("run", "hello.go") 153 tg.tempFile("src/v/m.go", ` 159 tg.tempFile("src/v/m_test.go", ` 165 tg.tempFile("src/v/vendor/vendor.org/p/p.go", ` 170 tg.run("run", "m.go") 187 tg.run("get", "github.com/rsc/go-get-issue-11864") 188 tg.run("get", "-u", "github.com/rsc/go-get-issue-11864" [all...] |
| /prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/ |
| shift_test.go | 1 // Copyright 2016 The Go Authors. All rights reserved. 14 //go:noinline 20 //go:noinline 26 //go:noinline 32 //go:noinline 38 //go:noinline 44 //go:noinline 50 //go:noinline 56 //go:noinline 62 //go:noinlin [all...] |
| /prebuilts/go/linux-x86/src/cmd/compile/internal/gc/ |
| shift_test.go | 1 // Copyright 2016 The Go Authors. All rights reserved. 14 //go:noinline 20 //go:noinline 26 //go:noinline 32 //go:noinline 38 //go:noinline 44 //go:noinline 50 //go:noinline 56 //go:noinline 62 //go:noinlin [all...] |
| /prebuilts/go/darwin-x86/misc/cgo/testcshared/ |
| test.bash | 2 # Copyright 2015 The Go Authors. All rights reserved. 11 if [ ! -f src/libgo/libgo.go ]; then 17 goos=$(go env GOOS) 18 goarch=$(go env GOARCH) 19 goroot=$(go env GOROOT) 23 echo 'go env GOROOT:' "$goroot" 1>&2 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 99 GOGCCFLAGS=$(go env GOGCCFLAGS [all...] |
| /prebuilts/go/linux-x86/misc/cgo/testcshared/ |
| test.bash | 2 # Copyright 2015 The Go Authors. All rights reserved. 11 if [ ! -f src/libgo/libgo.go ]; then 17 goos=$(go env GOOS) 18 goarch=$(go env GOARCH) 19 goroot=$(go env GOROOT) 23 echo 'go env GOROOT:' "$goroot" 1>&2 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 99 GOGCCFLAGS=$(go env GOGCCFLAGS [all...] |
| /prebuilts/go/darwin-x86/src/runtime/race/testdata/ |
| sync_test.go | 1 // Copyright 2011 The Go Authors. All rights reserved. 18 go func() { 39 go func() { 74 go g() 75 go func() { 85 go func() { 96 go f() 100 go h() 170 f2 := func() { go f1() } 171 f3 := func() { go f2() [all...] |
| /prebuilts/go/linux-x86/src/runtime/race/testdata/ |
| sync_test.go | 1 // Copyright 2011 The Go Authors. All rights reserved. 18 go func() { 39 go func() { 74 go g() 75 go func() { 85 go func() { 96 go f() 100 go h() 170 f2 := func() { go f1() } 171 f3 := func() { go f2() [all...] |
| /prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/testdata/ |
| arith.go | 3 // Copyright 2015 The Go Authors. All rights reserved. 17 //go:noinline 23 //go:noinline 28 //go:noinline 33 //go:noinline 39 //go:noinline 44 //go:noinline 49 //go:noinline 54 //go:noinline 95 //go:noinlin [all...] |
| /prebuilts/go/linux-x86/src/cmd/compile/internal/gc/testdata/ |
| arith.go | 3 // Copyright 2015 The Go Authors. All rights reserved. 17 //go:noinline 23 //go:noinline 28 //go:noinline 33 //go:noinline 39 //go:noinline 44 //go:noinline 49 //go:noinline 54 //go:noinline 95 //go:noinlin [all...] |
| /external/syslinux/core/lwip/src/netif/ppp/ |
| lcp.c | 534 lcp_options *go = &lcp_gotoptions[f->unit]; local 546 return (LENCISHORT(go->neg_mru && go->mru != PPP_DEFMRU) + 547 LENCILONG(go->neg_asyncmap && go->asyncmap != 0xFFFFFFFFl) + 548 LENCICHAP(go->neg_chap) + 549 LENCISHORT(!go->neg_chap && go->neg_upap) + 550 LENCILQR(go->neg_lqr) + 551 LENCICBCP(go->neg_cbcp) 564 lcp_options *go = &lcp_gotoptions[f->unit]; local 639 lcp_options *go = &lcp_gotoptions[f->unit]; local 761 lcp_options *go = &lcp_gotoptions[f->unit]; local 1081 lcp_options *go = &lcp_gotoptions[f->unit]; local 1228 lcp_options *go = &lcp_gotoptions[f->unit]; local 1644 lcp_options *go = &lcp_gotoptions[f->unit]; local 1690 lcp_options *go = &lcp_gotoptions[f->unit]; local [all...] |
| /device/google/contexthub/firmware/os/platform/stm32/misc/ |
| m3debug.script | 37 go 50 go
|
| /external/llvm/bindings/go/ |
| build.sh | 13 llvm_go="$llvm_builddir/bin/llvm-go" 19 ninja -C $llvm_builddir llvm-config llvm-go 28 $llvm_go print-config > $gollvmdir/llvm_config.go
|
| /external/ltp/testcases/kernel/fs/fs-bench/ |
| fs-bench-test.sh | 30 time chmod -R go+rw ./00 38 time chmod -R go-rw ./00
|
| /prebuilts/build-tools/ |
| build-prebuilts.sh | 24 if [ -d ${TOP}/toolchain/go ]; then 52 # Remove Go binaries that won't change with ASAN 75 # Go 77 GO_OUT=${OUT_DIR}/obj/go 80 cp -a ${TOP}/toolchain/go/* ${GO_OUT}/ 83 export GOROOT_BOOTSTRAP=${TOP}/prebuilts/go/${OS}-x86 84 export GOROOT_FINAL=./prebuilts/go/${OS}-x86 88 GOROOT=$(pwd)/.. ../bin/go install -race std 92 zip -qryX go.zip * 104 cp ${GO_OUT}/go.zip ${DIST_DIR} [all...] |
| /prebuilts/go/darwin-x86/misc/cgo/fortran/ |
| test.bash | 2 # Copyright 2016 The Go Authors. All rights reserved. 12 goos=$(go env GOOS) 34 if ! go test; then 35 echo "FAIL: go test"
|