Home
last modified time | relevance | path

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

12

/external/linux-kselftest/tools/testing/selftests/
Dkselftest_harness.h108 __FILE__, __LINE__, _metadata->name, ##__VA_ARGS__)
126 _metadata->passed = 1; \
127 _metadata->trigger = 0; \
170 static void test_name(struct __test_metadata *_metadata); \
180 struct __test_metadata __attribute__((unused)) *_metadata)
243 struct __test_metadata __attribute__((unused)) *_metadata, \
263 struct __test_metadata __attribute__((unused)) *_metadata, \
295 struct __test_metadata *_metadata, \
298 struct __test_metadata *_metadata) \
303 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/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/
DConcreteBeanPropertyBase.java30 protected final PropertyMetadata _metadata; field in ConcreteBeanPropertyBase
38 _metadata = (md == null) ? PropertyMetadata.STD_REQUIRED_OR_OPTIONAL : md; in ConcreteBeanPropertyBase()
42 _metadata = src._metadata; in ConcreteBeanPropertyBase()
46 public boolean isRequired() { return _metadata.isRequired(); } in isRequired()
49 public PropertyMetadata getMetadata() { return _metadata; } in getMetadata()
DPOJOPropertyBuilder.java64 protected transient PropertyMetadata _metadata; field in POJOPropertyBuilder
221 if (_metadata == null) { in getMetadata()
227 _metadata = PropertyMetadata.STD_REQUIRED_OR_OPTIONAL; in getMetadata()
235 _metadata = (desc == null) ? PropertyMetadata.STD_REQUIRED_OR_OPTIONAL in getMetadata()
238 _metadata = PropertyMetadata.construct(b, desc, idx, def); in getMetadata()
241 _metadata = _getSetterInfo(_metadata, prim); in getMetadata()
245 return _metadata; in getMetadata()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DSimpleBeanPropertyDefinition.java36 protected final PropertyMetadata _metadata; field in SimpleBeanPropertyDefinition
64 _metadata = (metadata == null) ? PropertyMetadata.STD_OPTIONAL: metadata; in SimpleBeanPropertyDefinition()
124 _member, new PropertyName(newName), _metadata, _inclusion); in withSimpleName()
133 _member, newName, _metadata, _inclusion); in withName()
140 if (metadata.equals(_metadata)) { in withMetadata()
155 _member, _fullName, _metadata, inclusion); in withInclusion()
197 return _metadata; in getMetadata()
/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/linux-kselftest/tools/testing/selftests/seccomp/
Dseccomp_bpf.c697 void kill_thread_or_group(struct __test_metadata *_metadata, bool kill_process) in kill_thread_or_group() argument
766 kill_thread_or_group(_metadata, false);
786 kill_thread_or_group(_metadata, true); in TEST()
1387 typedef void tracer_func_t(struct __test_metadata *_metadata,
1390 void start_tracer(struct __test_metadata *_metadata, int fd, pid_t tracee, in start_tracer() argument
1439 tracer_func(_metadata, tracee, status, args); in start_tracer()
1446 syscall(__NR_exit, _metadata->passed ? EXIT_SUCCESS : EXIT_FAILURE); in start_tracer()
1452 pid_t setup_trace_fixture(struct __test_metadata *_metadata, in setup_trace_fixture() argument
1469 start_tracer(_metadata, pipefd[1], tracee, func, args, in setup_trace_fixture()
1480 void teardown_trace_fixture(struct __test_metadata *_metadata, in teardown_trace_fixture() argument
[all …]
/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/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DBeanProperty.java223 protected final PropertyMetadata _metadata; field in BeanProperty.Std
238 _metadata = metadata; in Std()
257 this(base._name, newType, base._wrapperName, base._member, base._metadata); in Std()
326 @Override public boolean isRequired() { return _metadata.isRequired(); } in isRequired()
327 @Override public PropertyMetadata getMetadata() { return _metadata; } in getMetadata()
/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
Dmetadata.pyx.pxi57 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)
/external/linux-kselftest/android/patches/
D0010-seccomp-detect-compat-mode-in-ARM64.patch29 ret = get_syscall(_metadata, child_pid);
D0017-seccomp_bpf.patch108 _metadata->passed = 0;
/external/linux-kselftest/tools/testing/selftests/net/
Dtls.c930 test_mutliproc(struct __test_metadata *_metadata, struct _test_data_tls *self, in test_mutliproc() argument
1009 test_mutliproc(_metadata, self, false, 6, 6); in TEST_F()
1014 test_mutliproc(_metadata, self, false, 4, 12); in TEST_F()
1019 test_mutliproc(_metadata, self, false, 10, 2); in TEST_F()
1024 test_mutliproc(_metadata, self, true, 6, 6); in TEST_F()
1029 test_mutliproc(_metadata, self, true, 4, 12); in TEST_F()
1034 test_mutliproc(_metadata, self, true, 10, 2); in TEST_F()
/external/tensorflow/tensorflow/python/tools/
Dtools.bzl131 "{}_metadata.o".format(name),
160 ":{}_metadata.o".format(name),

12