/prebuilts/go/darwin-x86/src/syscall/ |
exec_plan9.go | 112 // and finally invoking exec(argv0, argvv, envv) in the child. 122 func forkAndExecInChild(argv0 *byte, argv []*byte, envv []envItem, dir *byte, attr *ProcAttr, pipe int, rflag int) (pid int, err error) { 149 if envv != nil { 200 if envv != nil { 201 for i = 0; i < len(envv); i++ { 202 r1, _, _ = RawSyscall(SYS_CREATE, uintptr(unsafe.Pointer(envv[i].name)), uintptr(O_WRONLY), uintptr(0666)) 210 r1, _, _ = RawSyscall6(SYS_PWRITE, uintptr(envfd), uintptr(unsafe.Pointer(envv[i].value)), uintptr(envv[i].nvalue), 213 if int32(r1) == -1 || int(r1) != envv[i].nvalue { 530 func Exec(argv0 string, argv []string, envv []string) (err error) [all...] |
exec_windows.go | 101 func createEnvBlock(envv []string) *uint16 { 102 if len(envv) == 0 { 106 for _, s := range envv { 113 for _, s := range envv { 333 func Exec(argv0 string, argv []string, envv []string) (err error) {
|
exec_bsd.go | 31 // Fork, dup fd onto 0..len(fd), and exec(argv0, argvv, envv) in child. 41 func forkAndExecInChild(argv0 *byte, argv, envv []*byte, chroot, dir *byte, attr *ProcAttr, sys *SysProcAttr, pipe int) (pid int, err Errno) { 248 uintptr(unsafe.Pointer(&envv[0])))
|
exec_solaris.go | 43 // Fork, dup fd onto 0..len(fd), and exec(argv0, argvv, envv) in child. 56 func forkAndExecInChild(argv0 *byte, argv, envv []*byte, chroot, dir *byte, attr *ProcAttr, sys *SysProcAttr, pipe int) (pid int, err Errno) { 245 uintptr(unsafe.Pointer(&envv[0])))
|
exec_unix.go | 245 func Exec(argv0 string, argv []string, envv []string) (err error) { 254 envvp, err := SlicePtrFromStrings(envv)
|
exec_linux.go | 49 // Fork, dup fd onto 0..len(fd), and exec(argv0, argvv, envv) in child. 59 func forkAndExecInChild(argv0 *byte, argv, envv []*byte, chroot, dir *byte, attr *ProcAttr, sys *SysProcAttr, pipe int) (pid int, err Errno) { 337 uintptr(unsafe.Pointer(&envv[0])))
|
zsysnum_dragonfly_amd64.go | 60 SYS_EXECVE = 59 // { int execve(char *fname, char **argv, char **envv); }
|
/prebuilts/go/linux-x86/src/syscall/ |
exec_plan9.go | 112 // and finally invoking exec(argv0, argvv, envv) in the child. 122 func forkAndExecInChild(argv0 *byte, argv []*byte, envv []envItem, dir *byte, attr *ProcAttr, pipe int, rflag int) (pid int, err error) { 149 if envv != nil { 200 if envv != nil { 201 for i = 0; i < len(envv); i++ { 202 r1, _, _ = RawSyscall(SYS_CREATE, uintptr(unsafe.Pointer(envv[i].name)), uintptr(O_WRONLY), uintptr(0666)) 210 r1, _, _ = RawSyscall6(SYS_PWRITE, uintptr(envfd), uintptr(unsafe.Pointer(envv[i].value)), uintptr(envv[i].nvalue), 213 if int32(r1) == -1 || int(r1) != envv[i].nvalue { 530 func Exec(argv0 string, argv []string, envv []string) (err error) [all...] |
exec_windows.go | 101 func createEnvBlock(envv []string) *uint16 { 102 if len(envv) == 0 { 106 for _, s := range envv { 113 for _, s := range envv { 333 func Exec(argv0 string, argv []string, envv []string) (err error) {
|
exec_bsd.go | 31 // Fork, dup fd onto 0..len(fd), and exec(argv0, argvv, envv) in child. 41 func forkAndExecInChild(argv0 *byte, argv, envv []*byte, chroot, dir *byte, attr *ProcAttr, sys *SysProcAttr, pipe int) (pid int, err Errno) { 248 uintptr(unsafe.Pointer(&envv[0])))
|
exec_solaris.go | 43 // Fork, dup fd onto 0..len(fd), and exec(argv0, argvv, envv) in child. 56 func forkAndExecInChild(argv0 *byte, argv, envv []*byte, chroot, dir *byte, attr *ProcAttr, sys *SysProcAttr, pipe int) (pid int, err Errno) { 245 uintptr(unsafe.Pointer(&envv[0])))
|
exec_unix.go | 245 func Exec(argv0 string, argv []string, envv []string) (err error) { 254 envvp, err := SlicePtrFromStrings(envv)
|
exec_linux.go | 49 // Fork, dup fd onto 0..len(fd), and exec(argv0, argvv, envv) in child. 59 func forkAndExecInChild(argv0 *byte, argv, envv []*byte, chroot, dir *byte, attr *ProcAttr, sys *SysProcAttr, pipe int) (pid int, err Errno) { 337 uintptr(unsafe.Pointer(&envv[0])))
|
zsysnum_dragonfly_amd64.go | 60 SYS_EXECVE = 59 // { int execve(char *fname, char **argv, char **envv); }
|
/libcore/ojluni/src/main/native/ |
UNIXProcess_md.c | 689 const char **envv; member in struct:_ChildStuff 761 JDK_execvpe(p->argv[0], p->argv, p->envv); 855 c->envv = NULL; 873 /* Convert envBlock into a char ** envv */ 875 if ((c->envv = NEW(const char *, envc + 1)) == NULL) goto Catch; 876 initVectorFromBlock(c->envv, penvBlock, envc); 950 free(c->envv);
|
/external/valgrind/coregrind/ |
vg_preloaded.c | 330 char **envv,
|
/prebuilts/go/darwin-x86/src/runtime/ |
os_darwin.go | 559 // skip over argv, envv and the first string will be the path
|
/prebuilts/go/linux-x86/src/runtime/ |
os_darwin.go | 559 // skip over argv, envv and the first string will be the path
|
/prebuilts/go/darwin-x86/src/os/exec/ |
exec.go | 168 func (c *Cmd) envv() []string { func 357 Env: c.envv(),
|
/prebuilts/go/linux-x86/src/os/exec/ |
exec.go | 168 func (c *Cmd) envv() []string { func 357 Env: c.envv(),
|