/external/selinux/libsemanage/tests/ |
D | test_semanage_store.c | 59 int err; in semanage_store_test_init() local 62 err = mkdir(rootpath, S_IRUSR | S_IWUSR | S_IXUSR); in semanage_store_test_init() 63 if (err != 0) in semanage_store_test_init() 66 err = mkdir(polpath, S_IRUSR | S_IWUSR | S_IXUSR); in semanage_store_test_init() 67 if (err != 0) in semanage_store_test_init() 70 err = mkdir(actpath, S_IRUSR | S_IWUSR | S_IXUSR); in semanage_store_test_init() 71 if (err != 0) in semanage_store_test_init() 74 err = mkdir(modpath, S_IRUSR | S_IWUSR | S_IXUSR); in semanage_store_test_init() 75 if (err != 0) in semanage_store_test_init() 91 err = semanage_check_init(sh, rootpath); in semanage_store_test_init() [all …]
|
/external/golang-protobuf/proto/ |
D | text.go | 77 func (w *textWriter) WriteString(s string) (n int, err error) { 91 func (w *textWriter) Write(p []byte) (n int, err error) { 97 n, err = w.w.Write(p) 99 return n, err 106 if err := w.w.WriteByte(' '); err != nil { 107 return n, err 111 nn, err := w.w.Write(frag) 113 if err != nil { 114 return n, err 124 nn, err := w.w.Write(frag) [all …]
|
/external/syzkaller/vendor/github.com/golang/protobuf/proto/ |
D | text.go | 77 func (w *textWriter) WriteString(s string) (n int, err error) { 91 func (w *textWriter) Write(p []byte) (n int, err error) { 97 n, err = w.w.Write(p) 99 return n, err 106 if err := w.w.WriteByte(' '); err != nil { 107 return n, err 111 nn, err := w.w.Write(frag) 113 if err != nil { 114 return n, err 124 nn, err := w.w.Write(frag) [all …]
|
/external/grpc-grpc/tools/http2_interop/ |
D | http2interop.go | 39 if err := fh.Parse(r); err != nil { 40 return nil, err 62 if err := f.ParsePayload(r); err != nil { 63 return nil, err 70 raw, err := f.MarshalBinary() 71 if err != nil { 72 return err 74 if _, err := w.Write(raw); err != nil { 75 return err 81 conn, err := connect(ctx) [all …]
|
/external/syzkaller/vendor/golang.org/x/sys/unix/ |
D | zsyscall_freebsd_amd64.go | 17 func getgroups(ngid int, gid *_Gid_t) (n int, err error) { 21 err = errnoErr(e1) 28 func setgroups(ngid int, gid *_Gid_t) (err error) { 31 err = errnoErr(e1) 38 func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) { 42 err = errnoErr(e1) 49 func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) { 53 err = errnoErr(e1) 60 func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) { 63 err = errnoErr(e1) [all …]
|
D | zsyscall_freebsd_arm.go | 17 func getgroups(ngid int, gid *_Gid_t) (n int, err error) { 21 err = errnoErr(e1) 28 func setgroups(ngid int, gid *_Gid_t) (err error) { 31 err = errnoErr(e1) 38 func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) { 42 err = errnoErr(e1) 49 func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) { 53 err = errnoErr(e1) 60 func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) { 63 err = errnoErr(e1) [all …]
|
D | zsyscall_freebsd_386.go | 17 func getgroups(ngid int, gid *_Gid_t) (n int, err error) { 21 err = errnoErr(e1) 28 func setgroups(ngid int, gid *_Gid_t) (err error) { 31 err = errnoErr(e1) 38 func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) { 42 err = errnoErr(e1) 49 func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) { 53 err = errnoErr(e1) 60 func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) { 63 err = errnoErr(e1) [all …]
|
D | zsyscall_darwin_amd64.go | 17 func getgroups(ngid int, gid *_Gid_t) (n int, err error) { 21 err = errnoErr(e1) 28 func setgroups(ngid int, gid *_Gid_t) (err error) { 31 err = errnoErr(e1) 38 func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) { 42 err = errnoErr(e1) 49 func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) { 53 err = errnoErr(e1) 60 func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) { 63 err = errnoErr(e1) [all …]
|
D | zsyscall_darwin_arm64.go | 17 func getgroups(ngid int, gid *_Gid_t) (n int, err error) { 21 err = errnoErr(e1) 28 func setgroups(ngid int, gid *_Gid_t) (err error) { 31 err = errnoErr(e1) 38 func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) { 42 err = errnoErr(e1) 49 func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) { 53 err = errnoErr(e1) 60 func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) { 63 err = errnoErr(e1) [all …]
|
D | zsyscall_darwin_arm.go | 17 func getgroups(ngid int, gid *_Gid_t) (n int, err error) { 21 err = errnoErr(e1) 28 func setgroups(ngid int, gid *_Gid_t) (err error) { 31 err = errnoErr(e1) 38 func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) { 42 err = errnoErr(e1) 49 func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) { 53 err = errnoErr(e1) 60 func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) { 63 err = errnoErr(e1) [all …]
|
D | zsyscall_darwin_386.go | 17 func getgroups(ngid int, gid *_Gid_t) (n int, err error) { 21 err = errnoErr(e1) 28 func setgroups(ngid int, gid *_Gid_t) (err error) { 31 err = errnoErr(e1) 38 func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) { 42 err = errnoErr(e1) 49 func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) { 53 err = errnoErr(e1) 60 func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) { 63 err = errnoErr(e1) [all …]
|
D | zsyscall_linux_386.go | 17 func fchmodat(dirfd int, path string, mode uint32) (err error) { 19 _p0, err = BytePtrFromString(path) 20 if err != nil { 25 err = errnoErr(e1) 32 func ioctl(fd int, req uint, arg uintptr) (err error) { 35 err = errnoErr(e1) 42 func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) { 44 _p0, err = BytePtrFromString(oldpath) 45 if err != nil { 49 _p1, err = BytePtrFromString(newpath) [all …]
|
D | zsyscall_linux_mipsle.go | 17 func fchmodat(dirfd int, path string, mode uint32) (err error) { 19 _p0, err = BytePtrFromString(path) 20 if err != nil { 25 err = errnoErr(e1) 32 func ioctl(fd int, req uint, arg uintptr) (err error) { 35 err = errnoErr(e1) 42 func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) { 44 _p0, err = BytePtrFromString(oldpath) 45 if err != nil { 49 _p1, err = BytePtrFromString(newpath) [all …]
|
D | zsyscall_linux_sparc64.go | 17 func fchmodat(dirfd int, path string, mode uint32) (err error) { 19 _p0, err = BytePtrFromString(path) 20 if err != nil { 25 err = errnoErr(e1) 32 func ioctl(fd int, req uint, arg uintptr) (err error) { 35 err = errnoErr(e1) 42 func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) { 44 _p0, err = BytePtrFromString(oldpath) 45 if err != nil { 49 _p1, err = BytePtrFromString(newpath) [all …]
|
D | zsyscall_linux_amd64.go | 17 func fchmodat(dirfd int, path string, mode uint32) (err error) { 19 _p0, err = BytePtrFromString(path) 20 if err != nil { 25 err = errnoErr(e1) 32 func ioctl(fd int, req uint, arg uintptr) (err error) { 35 err = errnoErr(e1) 42 func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) { 44 _p0, err = BytePtrFromString(oldpath) 45 if err != nil { 49 _p1, err = BytePtrFromString(newpath) [all …]
|
D | zsyscall_linux_mips.go | 17 func fchmodat(dirfd int, path string, mode uint32) (err error) { 19 _p0, err = BytePtrFromString(path) 20 if err != nil { 25 err = errnoErr(e1) 32 func ioctl(fd int, req uint, arg uintptr) (err error) { 35 err = errnoErr(e1) 42 func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) { 44 _p0, err = BytePtrFromString(oldpath) 45 if err != nil { 49 _p1, err = BytePtrFromString(newpath) [all …]
|
D | zsyscall_linux_mips64le.go | 17 func fchmodat(dirfd int, path string, mode uint32) (err error) { 19 _p0, err = BytePtrFromString(path) 20 if err != nil { 25 err = errnoErr(e1) 32 func ioctl(fd int, req uint, arg uintptr) (err error) { 35 err = errnoErr(e1) 42 func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) { 44 _p0, err = BytePtrFromString(oldpath) 45 if err != nil { 49 _p1, err = BytePtrFromString(newpath) [all …]
|
D | zsyscall_linux_s390x.go | 17 func fchmodat(dirfd int, path string, mode uint32) (err error) { 19 _p0, err = BytePtrFromString(path) 20 if err != nil { 25 err = errnoErr(e1) 32 func ioctl(fd int, req uint, arg uintptr) (err error) { 35 err = errnoErr(e1) 42 func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) { 44 _p0, err = BytePtrFromString(oldpath) 45 if err != nil { 49 _p1, err = BytePtrFromString(newpath) [all …]
|
D | zsyscall_linux_mips64.go | 17 func fchmodat(dirfd int, path string, mode uint32) (err error) { 19 _p0, err = BytePtrFromString(path) 20 if err != nil { 25 err = errnoErr(e1) 32 func ioctl(fd int, req uint, arg uintptr) (err error) { 35 err = errnoErr(e1) 42 func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) { 44 _p0, err = BytePtrFromString(oldpath) 45 if err != nil { 49 _p1, err = BytePtrFromString(newpath) [all …]
|
D | zsyscall_netbsd_arm.go | 17 func getgroups(ngid int, gid *_Gid_t) (n int, err error) { 21 err = errnoErr(e1) 28 func setgroups(ngid int, gid *_Gid_t) (err error) { 31 err = errnoErr(e1) 38 func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) { 42 err = errnoErr(e1) 49 func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) { 53 err = errnoErr(e1) 60 func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) { 63 err = errnoErr(e1) [all …]
|
D | zsyscall_netbsd_amd64.go | 17 func getgroups(ngid int, gid *_Gid_t) (n int, err error) { 21 err = errnoErr(e1) 28 func setgroups(ngid int, gid *_Gid_t) (err error) { 31 err = errnoErr(e1) 38 func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) { 42 err = errnoErr(e1) 49 func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) { 53 err = errnoErr(e1) 60 func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) { 63 err = errnoErr(e1) [all …]
|
D | zsyscall_netbsd_386.go | 17 func getgroups(ngid int, gid *_Gid_t) (n int, err error) { 21 err = errnoErr(e1) 28 func setgroups(ngid int, gid *_Gid_t) (err error) { 31 err = errnoErr(e1) 38 func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) { 42 err = errnoErr(e1) 49 func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) { 53 err = errnoErr(e1) 60 func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) { 63 err = errnoErr(e1) [all …]
|
D | zsyscall_linux_arm64.go | 17 func fchmodat(dirfd int, path string, mode uint32) (err error) { 19 _p0, err = BytePtrFromString(path) 20 if err != nil { 25 err = errnoErr(e1) 32 func ioctl(fd int, req uint, arg uintptr) (err error) { 35 err = errnoErr(e1) 42 func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) { 44 _p0, err = BytePtrFromString(oldpath) 45 if err != nil { 49 _p1, err = BytePtrFromString(newpath) [all …]
|
D | zsyscall_linux_arm.go | 17 func fchmodat(dirfd int, path string, mode uint32) (err error) { 19 _p0, err = BytePtrFromString(path) 20 if err != nil { 25 err = errnoErr(e1) 32 func ioctl(fd int, req uint, arg uintptr) (err error) { 35 err = errnoErr(e1) 42 func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) { 44 _p0, err = BytePtrFromString(oldpath) 45 if err != nil { 49 _p1, err = BytePtrFromString(newpath) [all …]
|
/external/syzkaller/pkg/vcs/ |
D | git.go | 40 origin, err := runSandboxed(dir, "git", "remote", "get-url", "origin") 41 if err != nil || strings.TrimSpace(string(origin)) != repo { 43 if err := git.clone(repo, branch); err != nil { 44 return nil, err 50 if _, err := runSandboxed(dir, "git", "checkout", "origin/"+branch); err != nil { 52 if err := git.clone(repo, branch); err != nil { 53 return nil, err 56 if _, err := runSandboxed(dir, "git", "fetch", "--no-tags"); err != nil { 58 if err := git.clone(repo, branch); err != nil { 59 return nil, err [all …]
|