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

12

/ndk/sources/android/crazy_linker/tests/
H A Dfoo_with_static_constructor.cpp11 // not then env pointers become invalid when rodata is unmapped on
25 const char* env = getenv("TEST_VAR"); local
26 if (!env || strcmp(env, "INIT"))
33 const char* env = getenv("TEST_VAR"); local
34 if (!env || strcmp(env, "LOADED"))
H A Djni_lib.cpp16 const char* env = getenv(VARNAME); local
17 if (!env || strcmp(env, "INIT")) {
22 env);
32 const char* env = getenv(VARNAME); local
33 if (!env || strcmp(env, "LOADED")) {
38 env);
H A Dtest_constructors_destructors.cpp38 const char* env = getenv("TEST_VAR"); local
39 if (!env || strcmp(env, "LOADED"))
57 env = getenv("TEST_VAR");
58 if (!env || strcmp(env, "UNLOADED"))
H A Dtest_jni_hooks.cpp34 const char* env = getenv(VARNAME); local
35 if (strcmp(env, "LOADED"))
36 Panic("JNI_OnLoad() hook was not called! %s is %s\n", VARNAME, env);
39 env = getenv(VARNAME);
40 if (strcmp(env, "UNLOADED"))
41 Panic("JNI_OnUnload() hook was not called! %s is %s\n", VARNAME, env);
59 env = getenv(VARNAME);
60 if (strcmp(env, "INIT"))
61 Panic("JNI_OnLoad() was called, %s is %s (expected INIT)\n", VARNAME, env);
64 env
[all...]
/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/tests/abcc/jni/device/
H A Dmain.cpp31 Java_compiler_abcc_AbccService_genLibs(JNIEnv *env, jobject thiz, argument
33 const char *lib_dir = env->GetStringUTFChars(j_lib_dir, 0);
36 const char *sysroot = env->GetStringUTFChars(j_sysroot, 0);
/ndk/sources/android/crazy_linker/src/
H A Dcrazy_linker_search_path_list.cpp22 const char* env = GetEnv(var_name); local
23 if (env && *env)
24 env_list_ = env;
H A Dcrazy_linker_proc_maps_unittest.cpp50 ScopedTestEnv env; local
61 ScopedTestEnv env; local
70 ScopedTestEnv env; local
99 ScopedTestEnv env; local
127 ScopedTestEnv env; local
H A Dcrazy_linker_system_mock.cpp376 MockEnvEntry* env = new MockEnvEntry(var_name, var_value); local
377 s_mock_fs.AddEnvEntry(env);
/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/
H A Dfind-win-host.cmd3 rem %1 is the env. var to set to the windows host name.
30 rem Uses "endlocal &&" hack to allow env. vars to survive setlocal/endlocal
/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/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/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 2342 milliseconds

12