Home
last modified time | relevance | path

Searched refs:newenv (Results 1 - 10 of 10) sorted by relevance

/third_party/musl/src/env/
H A Dputenv.c21 char **newenv; in __putenv() local
23 newenv = realloc(oldenv, sizeof *newenv * (i+2)); in __putenv()
24 if (!newenv) goto oom; in __putenv()
26 newenv = malloc(sizeof *newenv * (i+2)); in __putenv()
27 if (!newenv) goto oom; in __putenv()
28 if (i) memcpy(newenv, __environ, sizeof *newenv * i); in __putenv()
31 newenv[ in __putenv()
[all...]
/third_party/python/Lib/test/
H A Dtest_subprocess.py288 newenv = os.environ.copy()
289 newenv["FRUIT"] = "banana"
293 env=newenv)
776 newenv = os.environ.copy()
777 newenv["FRUIT"] = "orange"
782 env=newenv) as p:
829 newenv = os.environ.copy()
830 newenv["FRUIT\0VEGETABLE"] = "cabbage"
832 subprocess.Popen(ZERO_RETURN_CMD, env=newenv)
835 newenv
[all...]
H A Dtest_os.py2077 newenv = os.environ.copy()
2078 newenv["FRUIT\0VEGETABLE"] = "cabbage"
2080 os.execve(args[0], args, newenv)
2083 newenv = os.environ.copy()
2084 newenv["FRUIT"] = "orange\0VEGETABLE=cabbage"
2086 os.execve(args[0], args, newenv)
2089 newenv = os.environ.copy()
2090 newenv["FRUIT=ORANGE"] = "lemon"
2092 os.execve(args[0], args, newenv)
3260 newenv
[all...]
/third_party/mksh/
H A Dmain.c785 newenv(E_INCL); in include()
862 newenv(level == 2 ? E_EVAL : E_PARSE); in shell()
1029 newenv(int type) in newenv() function
H A Dexec.c75 newenv(E_EXEC); in execute()
1594 newenv(E_ERRH); in hereinval()
1639 * Create temp file to hold content (done before newenv in herein()
H A Dlex.c1504 newenv(E_ERRH); in set_prompt()
H A Dexpr.c135 newenv(E_ERRH); in v_evaluate()
H A Deval.c2100 newenv(E_FUNC); in valsub()
H A Dsh.h2581 void newenv(int);
H A Dedit.c5650 newenv(E_ERRH); in x_eval_region_helper()

Completed in 29 milliseconds