/bionic/tests/ |
D | dl_test.cpp | 118 ExecTestHelper eth; in TEST() local 119 eth.SetArgs({ path_to_linker, nullptr }); in TEST() 120 eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST() 121 ASSERT_EQ(0u, eth.GetOutput().find(usage_prefix)) << "Test output:\n" << eth.GetOutput(); in TEST() 135 ExecTestHelper eth; in TEST() local 136 eth.SetArgs({ path_to_linker, helper.c_str(), nullptr }); in TEST() 137 …eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, 0, expected_output.c_str()… in TEST() 151 ExecTestHelper eth; in TEST() local 152 eth.SetArgs({ path_to_linker, helper.c_str(), nullptr }); in TEST() 153 …eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, 0, expected_output.c_str()… in TEST() [all …]
|
D | sys_thread_properties_test.cpp | 29 ExecTestHelper eth; in TEST() local 30 eth.SetArgs({helper.c_str(), nullptr}); in TEST() 31 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, expected_out); in TEST() 42 ExecTestHelper eth; in TEST() local 43 eth.SetArgs({helper.c_str(), nullptr}); in TEST() 44 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, expected_out); in TEST()
|
D | spawn_test.cpp | 192 ExecTestHelper eth; in TEST() local 193 eth.SetArgs({BIN_DIR "true", nullptr}); in TEST() 195 ASSERT_EQ(0, posix_spawn(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), nullptr)); in TEST() 200 ExecTestHelper eth; in TEST() local 201 eth.SetArgs({"true", nullptr}); in TEST() 203 ASSERT_EQ(0, posix_spawn(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), nullptr)); in TEST() 208 ExecTestHelper eth; in TEST() local 209 eth.SetArgs({"true", nullptr}); in TEST() 211 ASSERT_EQ(0, posix_spawnp(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), nullptr)); in TEST() 216 ExecTestHelper eth; in TEST() local [all …]
|
D | cfi_test.cpp | 151 ExecTestHelper eth; in TEST() local 152 eth.SetArgs({ helper.c_str(), nullptr }); in TEST() 153 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST() 163 ExecTestHelper eth; in TEST() local 164 eth.SetArgs({ helper.c_str(), nullptr }); in TEST() 165 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST()
|
D | unistd_test.cpp | 1343 ExecTestHelper eth; in TEST() local 1345 ASSERT_EQ(-1, execve("/", eth.GetArgs(), eth.GetEnv())); in TEST() 1358 ExecTestHelper eth; in TEST() local 1359 eth.SetArgs({"echo", "hello", "world", nullptr}); in TEST() 1360 eth.Run([&]() { execve(BIN_DIR "echo", eth.GetArgs(), eth.GetEnv()); }, 0, "hello world\n"); in TEST() 1363 eth.SetArgs({"printenv", nullptr}); in TEST() 1364 eth.SetEnv({"A=B", nullptr}); in TEST() 1369 eth.Run([&]() { execve(BIN_DIR "printenv", eth.GetArgs(), eth.GetEnv()); }, 0, in TEST() 1380 ExecTestHelper eth; in TEST() local 1382 eth.Run([&]() { execl(BIN_DIR "echo", "echo", "hello", "world", nullptr); }, 0, "hello world\n"); in TEST() [all …]
|
D | heap_tagging_level_test.cpp | 202 ExecTestHelper eth; in TEST_P() local 203 eth.SetArgs({helper.c_str(), nullptr}); in TEST_P() 204 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, in TEST_P()
|
D | elftls_dl_test.cpp | 83 ExecTestHelper eth; in TEST() local 84 eth.SetArgs({ helper.c_str(), nullptr }); in TEST() 85 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, error.c_str()); in TEST()
|
D | stdio_test.cpp | 2559 ExecTestHelper eth; in TEST() local 2560 eth.Run([&]() { errno = EINVAL; perror("a b c"); exit(0); }, 0, "a b c: Invalid argument\n"); in TEST() 2561 eth.Run([&]() { errno = EINVAL; perror(nullptr); exit(0); }, 0, "Invalid argument\n"); in TEST() 2562 eth.Run([&]() { errno = EINVAL; perror(""); exit(0); }, 0, "Invalid argument\n"); in TEST() 2566 ExecTestHelper eth; in TEST() local 2567 eth.Run([&]() { exit(puts("a b c")); }, 0, "a b c\n"); in TEST() 2571 ExecTestHelper eth; in TEST() local 2572 eth.Run([&]() { exit(putchar('A')); }, 65, "A"); in TEST() 2576 ExecTestHelper eth; in TEST() local 2577 eth.Run([&]() { exit(putchar('B')); }, 66, "B"); in TEST()
|
D | dlext_test.cpp | 2077 ExecTestHelper eth; in TEST() local 2082 eth.SetArgs({ helper.c_str(), app_ns_dir.c_str(), nullptr }); in TEST() 2086 eth.SetEnv({ env.c_str(), nullptr }); in TEST() 2088 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, in TEST()
|
/bionic/libc/kernel/uapi/linux/ |
D | if_arcnet.h | 53 struct ethhdr eth; member
|