Home
last modified time | relevance | path

Searched refs:GetArgs (Results 1 – 13 of 13) sorted by relevance

/bionic/tests/
Ddl_test.cpp113 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 …]
Dsys_thread_properties_test.cpp31 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()
Dutils.cpp43 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()
Dspawn_test.cpp197 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()
Dunistd_test.cpp1367 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 …]
Dcfi_test.cpp190 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()
Dmemtag_stack_test.cpp41 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, ""); in TEST_P()
Dheap_tagging_level_test.cpp254 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, kExpectedExitStatus, in TEST_P()
Dutils.h204 char** GetArgs() { in GetArgs() function
Delftls_dl_test.cpp87 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, error.c_str()); in TEST()
Ddlfcn_test.cpp1541 eth.Run([&]() { execvpe("readelf", eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in validate_compatibility_of_native_library()
Ddlext_test.cpp2088 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, in TEST()
/bionic/benchmarks/
Dbionic_benchmarks.cpp481 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 …]