Home
last modified time | relevance | path

Searched refs:eth (Results 1 – 15 of 15) sorted by relevance

/bionic/tests/
Ddl_test.cpp111 ExecTestHelper eth; in TEST() local
112 eth.SetArgs({ path_to_linker, nullptr }); in TEST()
113 eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST()
114 ASSERT_EQ(0u, eth.GetOutput().find(usage_prefix)) << "Test output:\n" << eth.GetOutput(); in TEST()
127 ExecTestHelper eth; in TEST() local
128 eth.SetArgs({ path_to_linker, helper.c_str(), nullptr }); in TEST()
129 eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST()
130 ASSERT_EQ(expected_output, eth.GetOutput()); in TEST()
144 ExecTestHelper eth; in TEST() local
145 eth.SetArgs({ path_to_linker, helper.c_str(), nullptr }); in TEST()
[all …]
Dmemtag_stack_dlopen_test.cpp49 ExecTestHelper eth; in TEST() local
51 eth.SetArgs({path.c_str(), nullptr}); in TEST()
52 eth.SetEnv({ld_library_path.c_str(), nullptr}); in TEST()
53 eth.Run([&]() { execve(path.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, "RAN"); in TEST()
67 ExecTestHelper eth; in TEST() local
69 eth.SetArgs({path.c_str(), nullptr}); in TEST()
70 eth.SetEnv({ld_library_path.c_str(), nullptr}); in TEST()
71 eth.Run([&]() { execve(path.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, "RAN"); in TEST()
88 ExecTestHelper eth; in TEST() local
90 eth.SetArgs({path.c_str(), lib_path.c_str(), nullptr}); in TEST()
[all …]
Dsys_thread_properties_test.cpp27 ExecTestHelper eth; in TEST() local
28 eth.SetArgs({helper.c_str(), nullptr}); in TEST()
29 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, expected_out); in TEST()
38 ExecTestHelper eth; in TEST() local
39 eth.SetArgs({helper.c_str(), nullptr}); in TEST()
40 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, expected_out); in TEST()
Delftls_test.cpp96 ExecTestHelper eth; in TEST() local
97 eth.SetArgs({helper.c_str(), nullptr}); in TEST()
98 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST()
103 ExecTestHelper eth; in TEST() local
104 eth.SetArgs({helper.c_str(), nullptr}); in TEST()
105 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST()
Dspawn_test.cpp194 ExecTestHelper eth; in TEST() local
195 eth.SetArgs({BIN_DIR "true", nullptr}); in TEST()
197 ASSERT_EQ(0, posix_spawn(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), nullptr)); in TEST()
202 ExecTestHelper eth; in TEST() local
203 eth.SetArgs({"true", nullptr}); in TEST()
205 ASSERT_EQ(0, posix_spawn(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), nullptr)); in TEST()
210 ExecTestHelper eth; in TEST() local
211 eth.SetArgs({"true", nullptr}); in TEST()
213 ASSERT_EQ(0, posix_spawnp(&pid, eth.GetArg0(), nullptr, nullptr, eth.GetArgs(), nullptr)); in TEST()
218 ExecTestHelper eth; in TEST() local
[all …]
Dunistd_test.cpp1423 ExecTestHelper eth; in TEST() local
1425 ASSERT_EQ(-1, execve("/", eth.GetArgs(), eth.GetEnv())); in TEST()
1438 ExecTestHelper eth; in TEST() local
1439 eth.SetArgs({"echo", "hello", "world", nullptr}); in TEST()
1440 eth.Run([&]() { execve(BIN_DIR "echo", eth.GetArgs(), eth.GetEnv()); }, 0, "hello world\n"); in TEST()
1443 eth.SetArgs({"printenv", nullptr}); in TEST()
1444 eth.SetEnv({"A=B", nullptr}); in TEST()
1449 eth.Run([&]() { execve(BIN_DIR "printenv", eth.GetArgs(), eth.GetEnv()); }, 0, in TEST()
1460 ExecTestHelper eth; in TEST() local
1462 eth.Run([&]() { execl(BIN_DIR "echo", "echo", "hello", "world", nullptr); }, 0, "hello world\n"); in TEST()
[all …]
Dcfi_test.cpp164 ExecTestHelper eth; in TEST() local
165 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
166 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST()
175 ExecTestHelper eth; in TEST() local
176 eth.SetArgs({ helper.c_str(), nullptr }); in TEST()
177 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST()
Dmemtag_stack_test.cpp38 ExecTestHelper eth; in TEST_P() local
39 eth.SetArgs({helper.c_str(), arg, nullptr}); in TEST_P()
40 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, ""); in TEST_P()
Dsyslog_test.cpp40 ExecTestHelper eth; in TEST() local
41 eth.Run( in TEST()
53 ExecTestHelper eth; in TEST() local
54 eth.Run( in TEST()
66 ExecTestHelper eth; in TEST() local
67 eth.Run( in TEST()
Delftls_dl_test.cpp83 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()
173 ExecTestHelper eth; in TEST() local
174 eth.SetArgs({helper.c_str(), nullptr}); in TEST()
175 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST()
Dheap_tagging_level_test.cpp251 ExecTestHelper eth; in TEST_P() local
252 eth.SetArgs({helper.c_str(), nullptr}); in TEST_P()
253 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, in TEST_P()
Ddlfcn_test.cpp1541 ExecTestHelper eth; in validate_compatibility_of_native_library() local
1542 eth.SetArgs({"readelf", "-dW", path.c_str(), nullptr}); in validate_compatibility_of_native_library()
1543 eth.Run([&]() { execvpe("readelf", eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in validate_compatibility_of_native_library()
1544 std::string output = eth.GetOutput(); in validate_compatibility_of_native_library()
Ddlext_test.cpp2084 ExecTestHelper eth; in TEST() local
2088 eth.SetArgs({ helper.c_str(), app_ns_dir.c_str(), nullptr }); in TEST()
2092 eth.SetEnv({ env.c_str(), nullptr }); in TEST()
2094 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, in TEST()
Dstdio_test.cpp2644 ExecTestHelper eth; in TEST() local
2645 eth.Run([&]() { errno = EINVAL; perror("a b c"); exit(0); }, 0, "a b c: Invalid argument\n"); in TEST()
2646 eth.Run([&]() { errno = EINVAL; perror(nullptr); exit(0); }, 0, "Invalid argument\n"); in TEST()
2647 eth.Run([&]() { errno = EINVAL; perror(""); exit(0); }, 0, "Invalid argument\n"); in TEST()
2651 ExecTestHelper eth; in TEST() local
2652 eth.Run([&]() { exit(puts("a b c")); }, 0, "a b c\n"); in TEST()
2656 ExecTestHelper eth; in TEST() local
2657 eth.Run([&]() { exit(putchar('A')); }, 65, "A"); in TEST()
2661 ExecTestHelper eth; in TEST() local
2662 eth.Run([&]() { exit(putchar('B')); }, 66, "B"); in TEST()
/bionic/libc/kernel/uapi/linux/
Dif_arcnet.h41 struct ethhdr eth; member