Home
last modified time | relevance | path

Searched refs:_metadata (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/os/jni/seccomp-tests/tests/
Dtest_harness.h214 __FILE__, __LINE__, _metadata->name, ##__VA_ARGS__)
223 static void test_name(struct __test_metadata *_metadata); \
230 struct __test_metadata __attribute__((unused)) *_metadata)
248 struct __test_metadata __attribute__((unused)) *_metadata, \
252 struct __test_metadata __attribute__((unused)) *_metadata, \
267 struct __test_metadata *_metadata, \
270 struct __test_metadata *_metadata) { \
274 fixture_name##_setup(_metadata, &self); \
276 if (!_metadata->passed) return; \
277 fixture_name##_##test_name(_metadata, &self); \
[all …]
Dseccomp_bpf_tests.c864 typedef void tracer_func_t(struct __test_metadata *_metadata,
867 void tracer(struct __test_metadata *_metadata, int fd, pid_t tracee, in tracer() argument
911 tracer_func(_metadata, tracee, status, args); in tracer()
917 syscall(__NR_exit, _metadata->passed ? EXIT_SUCCESS : EXIT_FAILURE); in tracer()
923 pid_t setup_trace_fixture(struct __test_metadata *_metadata, in setup_trace_fixture() argument
939 tracer(_metadata, pipefd[1], tracee, func, args); in setup_trace_fixture()
949 void teardown_trace_fixture(struct __test_metadata *_metadata, in teardown_trace_fixture() argument
960 _metadata->passed = 0; in teardown_trace_fixture()
969 void tracer_poke(struct __test_metadata *_metadata, pid_t tracee, int status, in tracer_poke() argument
1017 self->tracer = setup_trace_fixture(_metadata, tracer_poke, in FIXTURE_SETUP()
[all …]
/cts/tests/tests/os/jni/seccomp-tests/
Dlocal-modifications-android.diff46 __FILE__, __LINE__, _metadata->name, ##__VA_ARGS__)