Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for envvp (0.21 sec)

  1. src/syscall/exec_unix.go

    // avoids a build dependency for other platforms.
    var execveLibc func(path uintptr, argv uintptr, envp uintptr) Errno
    var execveDarwin func(path *byte, argv **byte, envp **byte) error
    var execveOpenBSD func(path *byte, argv **byte, envp **byte) error
    
    // Exec invokes the execve(2) system call.
    func Exec(argv0 string, argv []string, envv []string) (err error) {
    	argv0p, err := BytePtrFromString(argv0)
    	if err != nil {
    		return err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. src/runtime/rt0_linux_ppc64le.s

    	// In a statically linked binary, the stack contains argc,
    	// argv as argc string pointers followed by a NULL, envv as a
    	// sequence of string pointers followed by a NULL, and auxv.
    	// The TLS pointer should be initialized to 0.
    	//
    	// In an ELFv2 compliant dynamically linked binary, R3 contains argc,
    	// R4 contains argv, R5 contains envp, R6 contains auxv, and R13
    	// contains the TLS pointer.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. src/syscall/env_windows.go

    			}
    		}
    	}
    }
    
    func Environ() []string {
    	envp, e := GetEnvironmentStrings()
    	if e != nil {
    		return nil
    	}
    	defer FreeEnvironmentStrings(envp)
    
    	r := make([]string, 0, 50) // Empty with room to grow.
    	const size = unsafe.Sizeof(*envp)
    	for *envp != 0 { // environment block ends with empty string
    		// find NUL terminator
    		end := unsafe.Pointer(envp)
    		for *(*uint16)(end) != 0 {
    			end = unsafe.Add(end, size)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 04 15:31:54 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. src/syscall/exec_libc.go

    func chdir(path uintptr) (err Errno)
    func chroot1(path uintptr) (err Errno)
    func closeFD(fd uintptr) (err Errno)
    func dup2child(old uintptr, new uintptr) (val uintptr, err Errno)
    func execve(path uintptr, argv uintptr, envp uintptr) (err Errno)
    func exit(code uintptr)
    func fcntl1(fd uintptr, cmd uintptr, arg uintptr) (val uintptr, err Errno)
    func forkx(flags uintptr) (pid uintptr, err Errno)
    func getpid() (pid uintptr, err Errno)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/AbstractProcessInstrumentationIntegrationTest.groovy

                    public Process exec(String command, String[] envp) { return null; }
                    public Process exec(String command, String[] envp, File file) { return null; }
                    public Process exec(String command, List<?> envp, File file) { return null; }
                    public Process exec(String[] command) { return null; }
                    public Process exec(String[] command, String[] envp) { return null; }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. security/tools/jwt/samples/jwks.json

    { "keys":[ {"e":"AQAB","kid":"DHFbpoIUqrY8t2zpA2qXfCmr5VO5ZEr4RzHU_-envvQ","kty":"RSA","n":"xAE7eB6qugXyCAG3yhh7pkDkT65pHymX-P7KfIupjf59vsdo91bSP9C8H07pSAGQO1MV_xFj9VswgsCg4R6otmg5PV2He95lZdHtOcU5DXIg_pbhLdKXbi66GlVeK6ABZOUW3WYtnNHD-91gVuoeJT_DwtGGcp4ignkgXfkiEm4sw-4sfb4qdt5oLbyVpmW6x9cfa7vs2WTfURiCrBoUqgBo_-4WTiULmmHSGZHOjzwa8WtrtOQGsAFjIbno85jp6MnGGGZPYZbDAa_b3y5u-YpW7ypZrvD8BgtKVjgtQgZhLAGezMt0ua3DRrWnKqTZ0BJ_EyxOGuHJrLsn00fnMQ"}]}...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 24 13:08:33 UTC 2018
    - 438 bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/internal/classpath/Instrumented.java

            externalProcessStarted(command, consumer);
            return runtime.exec(command, envp);
        }
    
        public static Process exec(Runtime runtime, String[] command, String[] envp, String consumer) throws IOException {
            externalProcessStarted(command, consumer);
            return runtime.exec(command, envp);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:46:35 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  8. src/syscall/exec_plan9.go

    	// Write new environment variables.
    	if envv != nil {
    		for i = 0; i < len(envv); i++ {
    			r1, _, _ = RawSyscall(SYS_CREATE, uintptr(unsafe.Pointer(envv[i].name)), uintptr(O_WRONLY), uintptr(0666))
    
    			if int32(r1) == -1 {
    				goto childerror
    			}
    
    			envfd = int(r1)
    
    			r1, _, _ = RawSyscall6(SYS_PWRITE, uintptr(envfd), uintptr(unsafe.Pointer(envv[i].value)), uintptr(envv[i].nvalue),
    				^uintptr(0), ^uintptr(0), 0)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/syscall/exec_windows.go

    func createEnvBlock(envv []string) ([]uint16, error) {
    	if len(envv) == 0 {
    		return utf16.Encode([]rune("\x00\x00")), nil
    	}
    	var length int
    	for _, s := range envv {
    		if bytealg.IndexByteString(s, 0) != -1 {
    			return nil, EINVAL
    		}
    		length += len(s) + 1
    	}
    	length += 1
    
    	b := make([]uint16, 0, length)
    	for _, s := range envv {
    		for _, c := range s {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 28 18:29:48 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  10. src/runtime/rt0_linux_mipsx.s

    TEXT _rt0_mipsle_linux(SB),NOSPLIT,$0
    	JMP	_main<>(SB)
    
    TEXT _main<>(SB),NOSPLIT|NOFRAME,$0
    	// In a statically linked binary, the stack contains argc,
    	// argv as argc string pointers followed by a NULL, envv as a
    	// sequence of string pointers followed by a NULL, and auxv.
    	// There is no TLS base pointer.
    	MOVW	0(R29), R4 // argc
    	ADD	$4, R29, R5 // argv
    	JMP	main(SB)
    
    TEXT main(SB),NOSPLIT|NOFRAME,$0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 797 bytes
    - Viewed (0)
Back to top