Home
last modified time | relevance | path

Searched refs:kEnvName (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/compiler-rt/test/tsan/Darwin/
Dno_call_setenv_in_symbolize.cpp12 const char *kEnvName = "__UNLIKELY_ENV_VAR_NAME__"; variable
15 if (getenv(kEnvName)) { in main()
16 fprintf(stderr, "Env var %s should not be set\n", kEnvName); in main()
23 if (setenv(kEnvName, "some_value", /*overwrite=*/1)) { in main()
24 fprintf(stderr, "Failed to set %s \n", kEnvName); in main()
/external/llvm-project/compiler-rt/test/asan/TestCases/Darwin/
Ddyld_insert_libraries_remove.cpp37 const char kEnvName[] = "DYLD_INSERT_LIBRARIES"; in main() local
38 printf("%s=%s\n", kEnvName, getenv(kEnvName)); in main()
Dreexec-insert-libraries-env.cpp20 const char kEnvName[] = "DYLD_INSERT_LIBRARIES"; in main() local
21 printf("%s=%s\n", kEnvName, getenv(kEnvName)); in main()
/external/compiler-rt/test/asan/TestCases/Darwin/
Ddyld_insert_libraries_remove.cc32 const char kEnvName[] = "DYLD_INSERT_LIBRARIES"; in main() local
33 printf("%s=%s\n", kEnvName, getenv(kEnvName)); in main()
Dreexec-insert-libraries-env.cc18 const char kEnvName[] = "DYLD_INSERT_LIBRARIES"; in main() local
19 printf("%s=%s\n", kEnvName, getenv(kEnvName)); in main()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_linux_test.cc191 const char kEnvName[] = "ENV_FOO"; in TEST() local
192 SetEnv(kEnvName, "value"); in TEST()
193 EXPECT_STREQ("value", getenv(kEnvName)); in TEST()
194 unsetenv(kEnvName); in TEST()
195 EXPECT_EQ(0, getenv(kEnvName)); in TEST()
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_linux_test.cpp183 const char kEnvName[] = "ENV_FOO"; in TEST() local
184 SetEnv(kEnvName, "value"); in TEST()
185 EXPECT_STREQ("value", getenv(kEnvName)); in TEST()
186 unsetenv(kEnvName); in TEST()
187 EXPECT_EQ(0, getenv(kEnvName)); in TEST()