/bionic/tests/ |
D | dl_test.cpp | 113 eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST() 129 eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST() 146 eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST() 157 …eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, EXIT_FAILURE, error_messag… in TEST() 168 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST() 179 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST() 193 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, "12345"); in TEST() 210 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, "54321"); in TEST() 232 …eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, EXIT_FAILURE, error_messag… in TEST() 290 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, in TEST() [all …]
|
D | sys_thread_properties_test.cpp | 31 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, expected_out); in TEST() 44 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, expected_out); in TEST()
|
D | utils.cpp | 43 eh.Run([&]() { execve(exec.c_str(), eh.GetArgs(), eh.GetEnv()); }, in RunGwpAsanTest() 55 eh.Run([&]() { execve(exec.c_str(), eh.GetArgs(), eh.GetEnv()); }, in RunSubtestNoEnv()
|
D | spawn_test.cpp | 197 ASSERT_EQ(0, posix_spawn(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), nullptr)); in TEST() 205 ASSERT_EQ(0, posix_spawn(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), nullptr)); in TEST() 213 ASSERT_EQ(0, posix_spawnp(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), nullptr)); in TEST() 221 ASSERT_EQ(0, posix_spawnp(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), nullptr)); in TEST() 230 ASSERT_EQ(0, posix_spawnp(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), eth.GetEnv())); in TEST() 261 ASSERT_EQ(0, posix_spawnp(&pid, eth.GetArg0(), &fa, nullptr, eth.GetArgs(), eth.GetEnv())); in TEST() 302 ASSERT_EQ(0, posix_spawnp(&pid, eth.GetArg0(), &fa, sa, eth.GetArgs(), nullptr)); in CatFileToString() 520 ASSERT_EQ(0, posix_spawn(&spawned_pid, "true", nullptr, attrs[i % 3], eth.GetArgs(), nullptr)); in TEST() 552 ASSERT_EQ(0, posix_spawnp(&pid, eth.GetArg0(), &fa, nullptr, eth.GetArgs(), eth.GetEnv())); in TEST()
|
D | unistd_test.cpp | 1367 ASSERT_EQ(-1, execve("/", eth.GetArgs(), eth.GetEnv())); in TEST() 1382 eth.Run([&]() { execve(BIN_DIR "echo", eth.GetArgs(), eth.GetEnv()); }, 0, "hello world\n"); in TEST() 1391 eth.Run([&]() { execve(BIN_DIR "printenv", eth.GetArgs(), eth.GetEnv()); }, 0, in TEST() 1429 ASSERT_EQ(-1, execv("/", eth.GetArgs())); in TEST() 1437 eth.Run([&]() { execv(BIN_DIR "echo", eth.GetArgs()); }, 0, "hello world\n"); in TEST() 1456 ASSERT_EQ(-1, execvp("/", eth.GetArgs())); in TEST() 1464 eth.Run([&]() { execvp("echo", eth.GetArgs()); }, 0, "hello world\n"); in TEST() 1470 ASSERT_EQ(-1, execvpe("this-does-not-exist", eth.GetArgs(), eth.GetEnv())); in TEST() 1481 eth.Run([&]() { execvpe("echo", eth.GetArgs(), eth.GetEnv()); }, 0, "hello world\n"); in TEST() 1490 eth.Run([&]() { execvpe("printenv", eth.GetArgs(), eth.GetEnv()); }, 0, expected_output.c_str()); in TEST() [all …]
|
D | cfi_test.cpp | 190 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST() 202 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST()
|
D | memtag_stack_test.cpp | 41 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, ""); in TEST_P()
|
D | heap_tagging_level_test.cpp | 254 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, kExpectedExitStatus, in TEST_P()
|
D | utils.h | 204 char** GetArgs() { in GetArgs() function
|
D | elftls_dl_test.cpp | 87 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, error.c_str()); in TEST()
|
D | dlfcn_test.cpp | 1541 eth.Run([&]() { execvpe("readelf", eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in validate_compatibility_of_native_library()
|
D | dlext_test.cpp | 2088 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, in TEST()
|
/bionic/benchmarks/ |
D | bionic_benchmarks.cpp | 481 static args_vector_t GetArgs(const std::vector<int>& sizes) { in GetArgs() function 487 static args_vector_t GetArgs(const std::vector<int>& sizes, int align) { in GetArgs() function 493 static args_vector_t GetArgs(const std::vector<int>& sizes, int align1, int align2) { in GetArgs() function 505 {"AT_COMMON_SIZES", GetArgs(kCommonSizes)}, in GetShorthand() 506 {"AT_SMALL_SIZES", GetArgs(kSmallSizes)}, in GetShorthand() 507 {"AT_MEDIUM_SIZES", GetArgs(kMediumSizes)}, in GetShorthand() 508 {"AT_LARGE_SIZES", GetArgs(kLargeSizes)}, in GetShorthand() 509 {"AT_ALL_SIZES", GetArgs(all_sizes)}, in GetShorthand() 511 {"AT_ALIGNED_ONEBUF", GetArgs(kCommonSizes, 0)}, in GetShorthand() 512 {"AT_ALIGNED_ONEBUF_SMALL", GetArgs(kSmallSizes, 0)}, in GetShorthand() [all …]
|