HomeSort by relevance Sort by last modified time
    Searched refs:godefs (Results 1 - 25 of 114) sorted by null

1 2 3 4 5

  /prebuilts/go/darwin-x86/misc/cgo/testgodefs/
test.bash 7 # We are testing cgo -godefs, which translates Go files that use
15 go tool cgo -godefs ${FP}.go > ${FP}_defs.go
anonunion.go 9 // This file tests that when cgo -godefs sees a struct with a field
24 // Input for cgo -godefs.
  /prebuilts/go/linux-x86/misc/cgo/testgodefs/
test.bash 7 # We are testing cgo -godefs, which translates Go files that use
15 go tool cgo -godefs ${FP}.go > ${FP}_defs.go
anonunion.go 9 // This file tests that when cgo -godefs sees a struct with a field
24 // Input for cgo -godefs.
  /prebuilts/go/darwin-x86/src/cmd/cgo/
godefs.go 17 // godefs returns the output for -godefs mode.
18 func (p *Package) godefs(f *File, srcfile string) string { func
21 fmt.Fprintf(&buf, "// Created by cgo -godefs - DO NOT EDIT\n")
30 // able to treat them as byte arrays, so the godefs
33 // // +godefs map struct_in_addr [4]byte
34 // // +godefs map struct_in_addr6 [16]byte
38 i := strings.Index(c.Text, "+godefs map")
42 s := strings.TrimSpace(c.Text[i+len("+godefs map"):])
45 fmt.Fprintf(os.Stderr, "invalid +godefs map comment: %s\n", c.Text
    [all...]
main.go 168 var godefs = flag.Bool("godefs", false, "for bootstrap: write Go definitions for C file to standard output") var
198 if *godefs {
288 if *godefs {
289 os.Stdout.WriteString(p.godefs(f, input))
295 if !*godefs {
  /prebuilts/go/linux-x86/src/cmd/cgo/
godefs.go 17 // godefs returns the output for -godefs mode.
18 func (p *Package) godefs(f *File, srcfile string) string { func
21 fmt.Fprintf(&buf, "// Created by cgo -godefs - DO NOT EDIT\n")
30 // able to treat them as byte arrays, so the godefs
33 // // +godefs map struct_in_addr [4]byte
34 // // +godefs map struct_in_addr6 [16]byte
38 i := strings.Index(c.Text, "+godefs map")
42 s := strings.TrimSpace(c.Text[i+len("+godefs map"):])
45 fmt.Fprintf(os.Stderr, "invalid +godefs map comment: %s\n", c.Text
    [all...]
main.go 168 var godefs = flag.Bool("godefs", false, "for bootstrap: write Go definitions for C file to standard output") var
198 if *godefs {
288 if *godefs {
289 os.Stdout.WriteString(p.godefs(f, input))
295 if !*godefs {
  /prebuilts/go/darwin-x86/src/syscall/
types_darwin.go 8 Input to cgo -godefs. See also mkerrors.sh and mkall.sh
11 // +godefs map struct_in_addr [4]byte /* in_addr */
12 // +godefs map struct_in6_addr [16]byte /* in6_addr */
types_dragonfly.go 8 Input to cgo -godefs. See also mkerrors.sh and mkall.sh
11 // +godefs map struct_in_addr [4]byte /* in_addr */
12 // +godefs map struct_in6_addr [16]byte /* in6_addr */
types_netbsd.go 8 Input to cgo -godefs. See also mkerrors.sh and mkall.sh
11 // +godefs map struct_in_addr [4]byte /* in_addr */
12 // +godefs map struct_in6_addr [16]byte /* in6_addr */
types_openbsd.go 8 Input to cgo -godefs. See also mkerrors.sh and mkall.sh
11 // +godefs map struct_in_addr [4]byte /* in_addr */
12 // +godefs map struct_in6_addr [16]byte /* in6_addr */
types_solaris.go 8 Input to cgo -godefs. See also mkerrors.sh and mkall.sh
11 // +godefs map struct_in_addr [4]byte /* in_addr */
12 // +godefs map struct_in6_addr [16]byte /* in6_addr */
mkerrors.sh 233 # Write go tool cgo -godefs input.
343 go tool cgo -godefs -- "$@" _const.go >_error.out
types_linux.go 8 Input to cgo -godefs. See also mkerrors.sh and mkall.sh
11 // +godefs map struct_in_addr [4]byte /* in_addr */
12 // +godefs map struct_in6_addr [16]byte /* in6_addr */
98 // The real epoll_event is a union, and godefs doesn't handle it well.
ztypes_netbsd_386.go 1 // Created by cgo -godefs - DO NOT EDIT
2 // cgo -godefs types_netbsd.go
ztypes_solaris_amd64.go 1 // Created by cgo -godefs - DO NOT EDIT
2 // cgo -godefs types_solaris.go
  /prebuilts/go/linux-x86/src/syscall/
types_darwin.go 8 Input to cgo -godefs. See also mkerrors.sh and mkall.sh
11 // +godefs map struct_in_addr [4]byte /* in_addr */
12 // +godefs map struct_in6_addr [16]byte /* in6_addr */
types_dragonfly.go 8 Input to cgo -godefs. See also mkerrors.sh and mkall.sh
11 // +godefs map struct_in_addr [4]byte /* in_addr */
12 // +godefs map struct_in6_addr [16]byte /* in6_addr */
types_netbsd.go 8 Input to cgo -godefs. See also mkerrors.sh and mkall.sh
11 // +godefs map struct_in_addr [4]byte /* in_addr */
12 // +godefs map struct_in6_addr [16]byte /* in6_addr */
types_openbsd.go 8 Input to cgo -godefs. See also mkerrors.sh and mkall.sh
11 // +godefs map struct_in_addr [4]byte /* in_addr */
12 // +godefs map struct_in6_addr [16]byte /* in6_addr */
types_solaris.go 8 Input to cgo -godefs. See also mkerrors.sh and mkall.sh
11 // +godefs map struct_in_addr [4]byte /* in_addr */
12 // +godefs map struct_in6_addr [16]byte /* in6_addr */
mkerrors.sh 233 # Write go tool cgo -godefs input.
343 go tool cgo -godefs -- "$@" _const.go >_error.out
types_linux.go 8 Input to cgo -godefs. See also mkerrors.sh and mkall.sh
11 // +godefs map struct_in_addr [4]byte /* in_addr */
12 // +godefs map struct_in6_addr [16]byte /* in6_addr */
98 // The real epoll_event is a union, and godefs doesn't handle it well.
ztypes_netbsd_386.go 1 // Created by cgo -godefs - DO NOT EDIT
2 // cgo -godefs types_netbsd.go

Completed in 211 milliseconds

1 2 3 4 5