Searched refs:env (Results 1 - 25 of 30) sorted by relevance

12

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/libcxx/android/
H A Dbuild.py6 env = os.environ
7 env['ONE_SHOT_MAKEFILE'] = os.path.join(path, 'Android.mk')
13 return not subprocess.Popen(cmd, stdout=None, stderr=None, env=env).wait()
H A Dexecutors.py29 def _execute_command_remote(self, cmd, remote_work_dir='.', env=None):
38 if env is not None:
39 env_cmd = ['env'] + ['%s=%s' % (k, v) for k, v in env.items()]
H A Dcompiler.py41 def compile(self, source_files, out=None, flags=None, env=None, cwd=None):
44 env, self.build_top)
46 def link(self, source_files, out=None, flags=None, env=None, cwd=None):
49 env, self.build_top)
/ndk/sources/third_party/googletest/googletest/test/
H A Dgtest_environment_test.cc127 int RunAllTests(MyEnvironment* env, FailureType failure) { argument
128 env->Reset();
129 env->set_failure_in_set_up(failure);
142 MyEnvironment* const env = new MyEnvironment; local
143 Check(testing::AddGlobalTestEnvironment(env) == env,
148 Check(RunAllTests(env, NO_FAILURE) != 0,
154 Check(env->tear_down_was_run(),
159 Check(RunAllTests(env, NON_FATAL_FAILURE) != 0,
165 Check(env
[all...]
H A Dgtest_test_utils.py1 #!/usr/bin/env python
193 def __init__(self, command, working_dir=None, capture_stderr=True, env=None):
203 env: Dictionary with environment to pass to the subprocess.
232 cwd=working_dir, universal_newlines=True, env=env)
248 # When 'env' is not None, backup the environment variables and replace
249 # them with the passed 'env'. When 'env' is None, we simply use the
252 if env is not None:
254 _ReplaceEnvDict(os.environ, env)
[all...]
H A Dgtest_env_var_test.py1 #!/usr/bin/env python
56 """Sets the env variable to 'value'; unsets it when 'value' is None."""
70 return gtest_test_utils.Subprocess(args, env=environ).output
74 """Verifies that the given flag is affected by the corresponding env var."""
H A Dgtest_break_on_failure_unittest.py1 #!/usr/bin/env python
89 p = gtest_test_utils.Subprocess(command, env=environ)
H A Dgtest_output_test.py1 #!/usr/bin/env python
216 p = gtest_test_utils.Subprocess(env_cmd[1], env=environ)
H A Dgtest_filter_unittest.py1 #!/usr/bin/env python
55 # processes. We set an env variable to an empty string and invoke a python
66 # We set an env variable to a non-empty string, unset it, and invoke
79 # make sense on platforms that cannot pass empty env variables (Win32)
170 """Sets the env variable to 'value'; unsets it when 'value' is None."""
182 env=environ).output
188 p = gtest_test_utils.Subprocess([COMMAND] + (args or []), env=environ)
226 """Tests the env variable or the command line flag to filter tests."""
564 """Tests that the filter flag overrides the filtering env. variable."""
H A Dgtest_shuffle_test.py1 #!/usr/bin/env python
84 return gtest_test_utils.Subprocess([COMMAND] + args, env=environ_copy).output
/ndk/sources/cxx-stl/gabi++/include/
H A Dcsetjmp42 #define setjmp(env) setjmp (env)
/ndk/sources/cxx-stl/system/include/
H A Dcsetjmp42 #define setjmp(env) setjmp (env)
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/libcxx/
H A Dcompiler.py78 def preprocess(self, source_files, out=None, flags=[], env=None, cwd=None):
80 out, err, rc = lit.util.executeCommand(cmd, env=env, cwd=cwd)
83 def compile(self, source_files, out=None, flags=[], env=None, cwd=None):
85 out, err, rc = lit.util.executeCommand(cmd, env=env, cwd=cwd)
88 def link(self, source_files, out=None, flags=[], env=None, cwd=None):
90 out, err, rc = lit.util.executeCommand(cmd, env=env, cwd=cwd)
93 def compileLink(self, source_files, out=None, flags=[], env
[all...]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/libcxx/test/
H A Dexecutor.py9 def run(self, exe_path, cmd, local_cwd, file_deps=None, env=None):
18 env: {str: str}: Environment variables to execute under
29 def run(self, exe_path, cmd=None, work_dir='.', file_deps=None, env=None):
32 if env:
33 env_cmd += ['env']
34 env_cmd += ['%s=%s' % (k, v) for k, v in env.items()]
53 def run(self, exe_path, cmd=None, work_dir='.', file_deps=None, env=None):
56 file_deps, env=env)
67 def run(self, exe_path, cmd=None, work_dir='.', file_deps=None, env
[all...]
H A Dformat.py119 env = None
121 env = self.exec_env
129 local_cwd, data_files, env)
H A Dconfig.py56 self.env = {}
115 self.lit_config.note('Using environment: %r' % self.env)
123 exec_env=self.env)
591 # and then along the PATH env variable.
607 self.env['ASAN_SYMBOLIZER_PATH'] = llvm_symbolizer
616 self.env['MSAN_SYMBOLIZER_PATH'] = llvm_symbolizer
669 exec_env_str = 'env ' if len(self.env) != 0 else ''
670 for k, v in self.env.items():
672 # Configure run env substitutio
[all...]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/runtime/env/
H A Denvironment.hpp28 #include <boost/test/utils/runtime/env/fwd.hpp>
29 #include <boost/test/utils/runtime/env/modifier.hpp>
30 #include <boost/test/utils/runtime/env/variable.hpp>
159 namespace env = environment;
168 #include <boost/test/utils/runtime/env/environment.ipp>
H A Dvariable.hpp28 #include <boost/test/utils/runtime/env/fwd.hpp>
190 #include <boost/test/utils/runtime/env/environment.hpp>
/ndk/sources/host-tools/make-3.81/w32/include/
H A Dsub_proc.h45 EXTERN_DECL(HANDLE process_easy, (char** argv, char** env));
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/libcxxabi/test/
H A Dconfig.py80 self.env['DYLD_LIBRARY_PATH'] = self.libcxxabi_lib_root
/ndk/sources/host-tools/make-3.81/
H A Dmain.c87 static void decode_switches PARAMS ((int argc, char **argv, int env));
113 unsigned int env:1; /* Can come from MAKEFLAGS. */
1198 BPTR env, file, old;
1203 env = Lock ("ENV:", ACCESS_READ);
1204 if (env)
1206 old = CurrentDir (DupLock(env));
1207 Examine (env, &fib);
1209 while (ExNext (env, &fib))
1221 UnLock (env);
2303 handle_non_switch_argument (char *arg, int env)
112 unsigned int env:1; /* Can come from MAKEFLAGS. */ member in struct:command_switch
1194 BPTR env, file, old; local
2298 handle_non_switch_argument(char *arg, int env) argument
2401 decode_switches(int argc, char **argv, int env) argument
[all...]
/ndk/build/lib/
H A Dbuild_support.py151 subprocess.check_call(cmd + common_args, env=build_env)
/ndk/sources/third_party/googletest/googletest/include/gtest/
H A Dgtest.h1199 Environment* AddEnvironment(Environment* env);
1234 friend Environment* AddGlobalTestEnvironment(Environment* env);
1287 inline Environment* AddGlobalTestEnvironment(Environment* env) { argument
1288 return UnitTest::GetInstance()->AddEnvironment(env);
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h1799 const char* const env = getenv(name);
1800 return (env != NULL && env[0] != '\0') ? env : NULL;
/ndk/sources/host-tools/ndk-depends/
H A Dndk-depends.cc885 const TCHAR* env = _tgetenv(_T("LD_LIBRARY_PATH")); local
886 if (env != NULL) {
887 const TCHAR* pos = env;

Completed in 1456 milliseconds

12