Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/
Dkselftest_harness.h107 __FILE__, __LINE__, _metadata->name, ##__VA_ARGS__)
125 _metadata->passed = 1; \
126 _metadata->trigger = 0; \
169 static void test_name(struct __test_metadata *_metadata); \
178 struct __test_metadata __attribute__((unused)) *_metadata)
241 struct __test_metadata __attribute__((unused)) *_metadata, \
261 struct __test_metadata __attribute__((unused)) *_metadata, \
290 struct __test_metadata *_metadata, \
293 struct __test_metadata *_metadata) \
298 fixture_name##_setup(_metadata, &self); \
[all …]
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/
Dtest_harness.h211 __FILE__, __LINE__, _metadata->name, ##__VA_ARGS__)
219 static void test_name(struct __test_metadata *_metadata); \
226 struct __test_metadata __attribute__((unused)) *_metadata)
244 struct __test_metadata __attribute__((unused)) *_metadata, \
248 struct __test_metadata __attribute__((unused)) *_metadata, \
263 struct __test_metadata *_metadata, \
266 struct __test_metadata *_metadata) { \
270 fixture_name##_setup(_metadata, &self); \
272 if (!_metadata->passed) return; \
273 fixture_name##_##test_name(_metadata, &self); \
[all …]
Dseccomp_bpf_tests.c752 void tracer(struct __test_metadata *_metadata, pid_t tracee, in tracer() argument
814 syscall(__NR_exit, _metadata->passed ? EXIT_SUCCESS : EXIT_FAILURE); in tracer()
855 tracer(_metadata, tracee, poke_addr, pipefd[1]); in FIXTURE_SETUP()
875 _metadata->passed = 0; in FIXTURE_TEARDOWN()
1074 self->sibling[0].metadata = _metadata;
1082 self->sibling[1].metadata = _metadata;
1115 struct __test_metadata *_metadata = me->metadata; /* enable TH_LOG */
/external/seccomp-tests/linux/
Dtest_harness.h215 __FILE__, __LINE__, _metadata->name, ##__VA_ARGS__)
224 static void test_name(struct __test_metadata *_metadata); \
233 struct __test_metadata __attribute__((unused)) *_metadata)
252 struct __test_metadata __attribute__((unused)) *_metadata, \
256 struct __test_metadata __attribute__((unused)) *_metadata, \
271 struct __test_metadata *_metadata, \
274 struct __test_metadata *_metadata) \
279 fixture_name##_setup(_metadata, &self); \
281 if (!_metadata->passed) \
283 fixture_name##_##test_name(_metadata, &self); \
[all …]
Dseccomp_bpf.c1021 typedef void tracer_func_t(struct __test_metadata *_metadata,
1024 void tracer(struct __test_metadata *_metadata, int fd, pid_t tracee, in tracer() argument
1069 tracer_func(_metadata, tracee, status, args); in tracer()
1075 syscall(__NR_exit, _metadata->passed ? EXIT_SUCCESS : EXIT_FAILURE); in tracer()
1081 pid_t setup_trace_fixture(struct __test_metadata *_metadata, in setup_trace_fixture() argument
1098 tracer(_metadata, pipefd[1], tracee, func, args); in setup_trace_fixture()
1108 void teardown_trace_fixture(struct __test_metadata *_metadata, in teardown_trace_fixture() argument
1120 _metadata->passed = 0; in teardown_trace_fixture()
1129 void tracer_poke(struct __test_metadata *_metadata, pid_t tracee, int status, in tracer_poke() argument
1179 self->tracer = setup_trace_fixture(_metadata, tracer_poke, in FIXTURE_SETUP()
[all …]
/external/python/oauth2client/tests/contrib/
Dtest_metadata.py23 from oauth2client.contrib import _metadata
30 EXPECTED_KWARGS = dict(headers=_metadata.METADATA_HEADERS)
48 _metadata.get(http_request, PATH),
57 _metadata.get(http_request, PATH),
66 _metadata.get(http_request, PATH)
79 token, expiry = _metadata.get_token(http_request=http_request)
92 info = _metadata.get_service_account_info(http_request)
/external/grpc-grpc/doc/core/
Dtransport_explainer.md30 * send\_initial\_metadata
33 * recv\_initial\_metadata
38 * send\_trailing\_metadata
41 * recv\_trailing\_metadata: get final status for the RPC
63 * recv\_initial\_metadata\_ready (called by the transport when the
64 recv\_initial\_metadata op is complete)
74 1. Client send\_initial\_metadata: Initiate an RPC with a path (method) and authority
75 1. Server recv\_initial\_metadata: accept an RPC
78 1. Client send\_trailing\_metadata: This is a half-close indicating that the
80 1. Server recv\_trailing\_metadata: The server sees this from the client and
[all …]
/external/linux-kselftest/android/patches/
D0017-seccomp_bpf_disable_tests.patch36 @@ -677,6 +681,7 @@ void kill_thread_or_group(struct __test_metadata *_metadata, bool kill_process)
68 @@ -1717,8 +1725,10 @@ void tracer_ptrace(struct __test_metadata *_metadata, pid_t tracee,
71 change_syscall(_metadata, tracee, __NR_getppid);
74 change_syscall(_metadata, tracee, -1);
112 _metadata->passed = 0;
D0010-seccomp-detect-compat-mode-in-ARM64.patch29 ret = get_syscall(_metadata, child_pid);
/external/linux-kselftest/tools/testing/selftests/seccomp/
Dseccomp_bpf.c638 void kill_thread_or_group(struct __test_metadata *_metadata, bool kill_process) in kill_thread_or_group() argument
706 kill_thread_or_group(_metadata, false);
726 kill_thread_or_group(_metadata, true); in TEST()
1326 typedef void tracer_func_t(struct __test_metadata *_metadata,
1329 void start_tracer(struct __test_metadata *_metadata, int fd, pid_t tracee, in start_tracer() argument
1378 tracer_func(_metadata, tracee, status, args); in start_tracer()
1385 syscall(__NR_exit, _metadata->passed ? EXIT_SUCCESS : EXIT_FAILURE); in start_tracer()
1391 pid_t setup_trace_fixture(struct __test_metadata *_metadata, in setup_trace_fixture() argument
1408 start_tracer(_metadata, pipefd[1], tracee, func, args, in setup_trace_fixture()
1419 void teardown_trace_fixture(struct __test_metadata *_metadata, in teardown_trace_fixture() argument
[all …]
/external/python/oauth2client/oauth2client/contrib/
Dgce.py26 from oauth2client.contrib import _metadata
113 info = _metadata.get_service_account_info(
135 self.access_token, self.token_expiry = _metadata.get_token(
/external/grpc-grpc/src/python/grpcio/grpc/beta/
D_client_adaptations.py18 from grpc.beta import _metadata
160 return _metadata.beta(self._call.initial_metadata())
163 return _metadata.beta(self._call.terminal_metadata())
185 metadata=_metadata.unbeta(effective_metadata),
192 metadata=_metadata.unbeta(effective_metadata),
209 metadata=_metadata.unbeta(effective_metadata),
225 metadata=_metadata.unbeta(effective_metadata),
244 metadata=_metadata.unbeta(effective_metadata),
251 metadata=_metadata.unbeta(effective_metadata),
268 metadata=_metadata.unbeta(effective_metadata),
[all …]
D_server_adaptations.py21 from grpc.beta import _metadata
69 return _metadata.beta(self._servicer_context.invocation_metadata())
73 _metadata.unbeta(initial_metadata))
77 _metadata.unbeta(terminal_metadata))
Dimplementations.py24 from grpc.beta import _metadata
42 callback(_metadata.unbeta(beta_metadata), error)
DBUILD.bazel25 srcs = ["_metadata.py"],
/external/tensorflow/tensorflow/python/client/
Dtimeline.py62 self._metadata = []
102 self._metadata.append(event)
118 self._metadata.append(event)
258 trace['traceEvents'] = self._metadata + self._events
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Dmetadata.pxd.pxi26 cdef tuple _metadata(grpc_metadata_array *c_metadata_array) function
Doperation.pyx.pxi135 self._initial_metadata = _metadata(&self._c_initial_metadata)
206 self._trailing_metadata = _metadata(&self._c_trailing_metadata)
Dmetadata.pyx.pxi57 cdef tuple _metadata(grpc_metadata_array *c_metadata_array): function
Dtag.pyx.pxi44 cdef tuple invocation_metadata = _metadata(&self.c_invocation_metadata)
/external/llvm/docs/
DLangRef.rst3851 .. _metadata:
3866 .. _metadata-string:
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DLangRef.rst4096 .. _metadata:
4111 .. _metadata-string: