Home
last modified time | relevance | path

Searched refs:impl (Results 1 – 25 of 402) sorted by relevance

12345678910>>...17

/netbsd-src/sys/crypto/aes/
H A Daes_selftest.c75 #define aes_selftest_fail(impl, actual, expected, nbytes, fmt, args...) \ argument
77 printf("%s "fmt": self-test failed\n", (impl)->ai_name, ##args); \
84 aes_selftest_encdec(const struct aes_impl *impl) in aes_selftest_encdec() argument
117 impl->ai_setenckey(&enc, key, aes_nrounds[i]); in aes_selftest_encdec()
118 impl->ai_setdeckey(&dec, key, aes_nrounds[i]); in aes_selftest_encdec()
119 impl->ai_enc(&enc, in, out, aes_nrounds[i]); in aes_selftest_encdec()
121 return aes_selftest_fail(impl, out, expected[i], 16, in aes_selftest_encdec()
123 impl->ai_dec(&dec, out, out, aes_nrounds[i]); in aes_selftest_encdec()
125 return aes_selftest_fail(impl, out, in, 16, in aes_selftest_encdec()
130 return aes_selftest_fail(impl, outbuf, in aes_selftest_encdec()
[all …]
/netbsd-src/external/bsd/atf/dist/tools/
H A Dfs.cpp54 namespace impl = tools::fs;
61 static void cleanup_aux(const impl::path&, dev_t, bool);
62 static void cleanup_aux_dir(const impl::path&, const impl::file_info&,
64 static void do_unmount(const impl::path&);
65 static bool safe_access(const impl::path&, int, int);
140 safe_access(const impl::path& p, int mode, int experr) in safe_access()
173 cleanup_aux(const impl::path& p, dev_t parent_device, bool erase) in cleanup_aux()
176 impl::file_info fi(p); in cleanup_aux()
178 if (fi.get_type() == impl::file_info::dir_type) in cleanup_aux()
185 if (fi.get_type() == impl::file_info::dir_type) in cleanup_aux()
[all …]
H A Dprocess.cpp49 namespace impl = tools::process;
129 impl::argv_array::argv_array(void) : in argv_array()
134 impl::argv_array::argv_array(const char* arg1, ...) in argv_array()
151 impl::argv_array::argv_array(const char* const* ca) : in argv_array()
157 impl::argv_array::argv_array(const argv_array& a) : in argv_array()
164 impl::argv_array::ctor_init_exec_argv(void) in ctor_init_exec_argv()
170 impl::argv_array::exec_argv(void) in exec_argv()
176 impl::argv_array::size_type
177 impl::argv_array::size(void) in size()
184 impl::argv_array::operator[](int idx) in operator []()
[all …]
H A Dparser.cpp36 namespace impl = tools::parser;
43 impl::parse_error::parse_error(size_t line, std::string msg) : in parse_error()
49 impl::parse_error::~parse_error(void) in ~parse_error()
55 impl::parse_error::what(void) in what()
68 impl::parse_error::operator std::string(void) in operator std::string()
78 impl::parse_errors::parse_errors(void) : in parse_errors()
84 impl::parse_errors::~parse_errors(void) in ~parse_errors()
90 impl::parse_errors::what(void) in what()
105 impl::format_error::format_error(const std::string& w) : in format_error()
114 impl::token::token(void) : in token()
[all …]
H A Dio.cpp45 namespace impl = tools::io;
52 impl::file_handle::file_handle(void) : in file_handle()
57 impl::file_handle::file_handle(handle_type h) : in file_handle()
63 impl::file_handle::file_handle(const file_handle& fh) : in file_handle()
69 impl::file_handle::~file_handle(void) in ~file_handle()
75 impl::file_handle&
76 impl::file_handle::operator=(const file_handle& fh) in operator =()
85 impl::file_handle::is_valid(void) in is_valid()
92 impl::file_handle::close(void) in close()
101 impl::file_handle::handle_type
[all …]
H A Dtimers.cpp43 namespace impl = tools::timers;
55 impl::timer* timer = static_cast< impl::timer* >(si->si_value.sival_ptr); in handler()
64 struct impl::timer::impl { struct in impl::timer
71 impl(void) : m_fired(false) in impl() function
76 impl::timer::timer(const unsigned int seconds) : in timer()
77 m_pimpl(new impl()) in timer()
112 impl::timer::~timer(void) in ~timer()
124 impl::timer::fired(void) in fired()
131 impl::timer::set_fired(void) in set_fired()
140 impl::child_timer::child_timer(const unsigned int seconds, const pid_t pid, in child_timer()
[all …]
H A Dapplication.cpp48 namespace impl = tools::application;
55 impl::usage_error::usage_error(const char *fmt, ...) in usage_error()
66 impl::usage_error::~usage_error(void) in ~usage_error()
72 impl::usage_error::what(void) in what()
82 impl::option::option(char ch, in option()
92 impl::option::operator<(const impl::option& o) in operator <()
98 impl::app::app(const std::string& description, in app()
111 impl::app::~app(void) in ~app()
116 impl::app::inited(void) in inited()
121 impl::app::options_set
[all …]
H A Dsignals.cpp41 namespace impl = tools::signals;
45 const int impl::last_signo = LAST_SIGNO;
64 impl::signal_holder::signal_holder(const int signo) : in signal_holder()
72 impl::signal_holder::~signal_holder(void) in ~signal_holder()
82 impl::signal_holder::process(void) in process()
97 impl::signal_programmer::signal_programmer(const int signo, const handler h) : in signal_programmer()
114 impl::signal_programmer::~signal_programmer(void) in ~signal_programmer()
120 impl::signal_programmer::unprogram(void) in unprogram()
134 impl::reset(const int signo) in reset()
H A Dtest_program_test.cpp40 namespace impl = tools::test_program;
69 const impl::test_case_result& tcr) in check_result()
544 impl::atf_tps_writer w(ss); in ATF_TEST_CASE_BODY()
552 impl::atf_tps_writer w(ss); in ATF_TEST_CASE_BODY()
568 impl::atf_tps_writer w(ss); in ATF_TEST_CASE_BODY()
580 impl::atf_tps_writer w(ss); in ATF_TEST_CASE_BODY()
592 impl::atf_tps_writer w(ss); in ATF_TEST_CASE_BODY()
620 impl::atf_tps_writer w(ss); in ATF_TEST_CASE_BODY()
644 impl::atf_tps_writer w(ss); in ATF_TEST_CASE_BODY()
688 impl::atf_tps_writer w(ss); in ATF_TEST_CASE_BODY()
[all …]
/netbsd-src/external/bsd/atf/dist/atf-c++/detail/
H A Dfs.cpp62 namespace impl = atf::fs;
69 static bool safe_access(const impl::path&, int, int);
80 safe_access(const impl::path& p, int mode, int experr) in safe_access()
112 impl::path::path(const std::string& s) in path()
119 impl::path::path(const path& p) in path()
126 impl::path::path(const atf_fs_path_t *p) in path()
133 impl::path::~path(void) in ~path()
139 impl::path::c_str(void) in c_str()
146 impl::path::c_path(void) in c_path()
153 impl::path::str(void) in str()
[all …]
H A Dprocess.cpp45 namespace impl = atf::process;
86 impl::argv_array::argv_array(void) : in argv_array()
91 impl::argv_array::argv_array(const char* arg1, ...) in argv_array()
108 impl::argv_array::argv_array(const char* const* ca) : in argv_array()
114 impl::argv_array::argv_array(const argv_array& a) : in argv_array()
121 impl::argv_array::ctor_init_exec_argv(void) in ctor_init_exec_argv()
127 impl::argv_array::exec_argv(void) in exec_argv()
133 impl::argv_array::size_type
134 impl::argv_array::size(void) in size()
141 impl::argv_array::operator[](int idx) in operator []()
[all …]
H A Dapplication.cpp57 namespace impl = atf::application;
64 impl::usage_error::usage_error(const char *fmt, ...) in usage_error()
75 impl::usage_error::~usage_error(void) in ~usage_error()
81 impl::usage_error::what(void) in what()
91 impl::option::option(char ch, in option()
101 impl::option::operator<(const impl::option& o) in operator <()
107 impl::app::app(const std::string& description, in app()
117 impl::app::~app(void) in ~app()
122 impl::app::inited(void) in inited()
127 impl::app::options_set
[all …]
/netbsd-src/external/bsd/atf/dist/atf-c++/
H A Dtests.cpp68 namespace impl = atf::tests;
122 static std::map< atf_tc_t*, impl::tc* > wraps;
123 static std::map< const atf_tc_t*, const impl::tc* > cwraps;
125 struct impl::tc_impl {
145 std::map< atf_tc_t*, impl::tc* >::iterator iter = wraps.find(tc); in wrap_head()
153 std::map< const atf_tc_t*, const impl::tc* >::const_iterator iter = in wrap_body()
169 std::map< const atf_tc_t*, const impl::tc* >::const_iterator iter = in wrap_cleanup()
176 impl::tc::tc(const std::string& ident, const bool has_cleanup) : in tc()
181 impl::tc::~tc(void) in ~tc()
190 impl::tc::init(const vars_map& config) in init()
[all …]
H A Dcheck.cpp43 namespace impl = atf::check;
50 impl::check_result::check_result(const atf_check_result_t* result) in check_result()
55 impl::check_result::~check_result(void) in ~check_result()
61 impl::check_result::exited(void) in exited()
68 impl::check_result::exitcode(void) in exitcode()
76 impl::check_result::signaled(void) in signaled()
83 impl::check_result::termsig(void) in termsig()
91 impl::check_result::stdout_path(void) const in stdout_path()
97 impl::check_result::stderr_path(void) const in stderr_path()
107 impl::build_c_o(const std::string& sfile, const std::string& ofile, in build_c_o()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dstaticcond.d49 bool impl(Expression e) in impl() function
54 return !impl(ne.e1); in impl()
60 bool result = impl(aae.e1); in impl()
73 result = impl(aae.e2); in impl()
80 bool result = impl(ce.econd); in impl()
84 result = impl(leg); in impl()
123 return impl(e);
171 bool impl(Expression orig, Expression e, bool inverted, bool orOperand, bool unreached) in visualizeFull()
191 return impl(no.e1, ne.e1, !inverted, orOperand, unreached); in visualizeFull()
198 const r1 = impl(bo.e1, be.e1, inverted, false, unreached); in visualizeFull()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/encode_decode/
H A Dencode_key2blob.c121 #define MAKE_BLOB_ENCODER(impl, type, selection_name) \ argument
123 impl##2blob_import_object; \
124 static OSSL_FUNC_encoder_free_object_fn impl##2blob_free_object; \
126 impl##2blob_does_selection; \
127 static OSSL_FUNC_encoder_encode_fn impl##2blob_encode; \
129 static void *impl##2blob_import_object(void *ctx, int selection, \
132 return ossl_prov_import_key(ossl_##impl##_keymgmt_functions, \
135 static void impl##2blob_free_object(void *key) \
137 ossl_prov_free_key(ossl_##impl##_keymgmt_functions, key); \
139 static int impl##2blob_does_selection(void *ctx, int selection) \
[all …]
H A Dencode_key2any.c1076 #define DO_PRIVATE_KEY(impl, type, kind, output) \ argument
1078 return key2any_encode(ctx, cout, key, impl##_evp_type, \
1079 impl##_pem_type " PRIVATE KEY", \
1086 #define DO_PUBLIC_KEY(impl, type, kind, output) \ argument
1088 return key2any_encode(ctx, cout, key, impl##_evp_type, \
1089 impl##_pem_type " PUBLIC KEY", \
1096 #define DO_PARAMETERS(impl, type, kind, output) \ argument
1098 return key2any_encode(ctx, cout, key, impl##_evp_type, \
1099 impl##_pem_type " PARAMETERS", \
1139 #define DO_PrivateKeyInfo(impl, type, output) \ argument
[all …]
H A Dencode_key2ms.c179 #define MAKE_MS_ENCODER(impl, output, type) \ argument
181 impl##2##output##_import_object; \
182 static OSSL_FUNC_encoder_free_object_fn impl##2##output##_free_object; \
183 static OSSL_FUNC_encoder_encode_fn impl##2##output##_encode; \
186 impl##2##output##_import_object(void *ctx, int selection, \
189 return ossl_prov_import_key(ossl_##impl##_keymgmt_functions, \
192 static void impl##2##output##_free_object(void *key) \
194 ossl_prov_free_key(ossl_##impl##_keymgmt_functions, key); \
196 static int impl##2##output##_encode(void *vctx, OSSL_CORE_BIO *cout, \
211 const OSSL_DISPATCH ossl_##impl##_to_##output##_encoder_functions[] = { \
[all …]
/netbsd-src/external/ibm-public/postfix/dist/src/xsasl/
H A Dxsasl.h70 #define xsasl_server_create(impl, args) \ argument
71 (impl)->create((impl), (args))
72 #define XSASL_SERVER_CREATE(impl, args, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) \ argument
73 xsasl_server_create((impl), (((args)->a1), ((args)->a2), ((args)->a3), \
76 #define xsasl_server_done(impl) (impl)->done((impl)); argument
115 #define xsasl_client_create(impl, args) \ argument
116 (impl)->create((impl), (args))
117 #define XSASL_CLIENT_CREATE(impl, args, a1, a2, a3, a4) \ argument
118 xsasl_client_create((impl), (((args)->a1), ((args)->a2), ((args)->a3), \
120 #define xsasl_client_done(impl) (impl)->done((impl)); argument
H A Dxsasl_dovecot_server.c165 XSASL_DOVECOT_SERVER_IMPL *impl; member
412 static void xsasl_dovecot_server_done(XSASL_SERVER_IMPL *impl) in xsasl_dovecot_server_done() argument
414 XSASL_DOVECOT_SERVER_IMPL *xp = (XSASL_DOVECOT_SERVER_IMPL *) impl; in xsasl_dovecot_server_done()
418 myfree((void *) impl); in xsasl_dovecot_server_done()
423 static XSASL_SERVER *xsasl_dovecot_server_create(XSASL_SERVER_IMPL *impl, in xsasl_dovecot_server_create() argument
449 server->impl = (XSASL_DOVECOT_SERVER_IMPL *) impl; in xsasl_dovecot_server_create()
485 if (!server->impl->sasl_stream) { in xsasl_dovecot_server_get_mechanism_list()
486 if (xsasl_dovecot_server_connect(server->impl) < 0) in xsasl_dovecot_server_get_mechanism_list()
493 server->impl->mechanism_list, in xsasl_dovecot_server_get_mechanism_list()
577 server->impl->sasl_stream) != VSTREAM_EOF) { in xsasl_dovecot_handle_reply()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/
H A DLLJIT.h282 impl().ES = std::move(ES); in setExecutionSession()
283 return impl(); in setExecutionSession()
291 impl().JTMB = std::move(JTMB); in setJITTargetMachineBuilder()
292 return impl(); in setJITTargetMachineBuilder()
298 return impl().JTMB; in getJITTargetMachineBuilder()
304 impl().DL = std::move(DL); in setDataLayout()
305 return impl(); in setDataLayout()
314 impl().CreateObjectLinkingLayer = std::move(CreateObjectLinkingLayer); in setObjectLinkingLayerCreator()
315 return impl(); in setObjectLinkingLayerCreator()
326 impl().CreateCompileFunction = std::move(CreateCompileFunction); in setCompileFunctionCreator()
[all …]
/netbsd-src/sys/kern/
H A Dsubr_device.c49 if (handlep->impl == NULL) { in devhandle_is_valid_internal()
52 return handlep->impl->type != DEVHANDLE_TYPE_INVALID; in devhandle_is_valid_internal()
65 .impl = NULL, in devhandle_invalid()
78 return handle.impl->type; in devhandle_type()
101 /* For private handles, we also compare the impl pointers. */ in devhandle_compare()
103 intptr_t impl1 = (intptr_t)handle1.impl; in devhandle_compare()
104 intptr_t impl2 = (intptr_t)handle2.impl; in devhandle_compare()
128 const struct devhandle_impl *impl; in devhandle_lookup_device_call() local
137 for (impl = handle.impl; imp in devhandle_lookup_device_call()
150 devhandle_impl_inherit(struct devhandle_impl * impl,const struct devhandle_impl * super) devhandle_impl_inherit() argument
[all...]
/netbsd-src/external/bsd/kyua-cli/dist/utils/sqlite/
H A Dtransaction.cpp42 struct utils::sqlite::transaction::impl { struct in utils::sqlite::transaction
60 impl(database& db_, const statuses status_) : in impl() function
69 ~impl(void) in ~impl() argument
71 if (status == impl::open_status) { in ~impl()
87 PRE(status == impl::open_status); in commit()
89 status = impl::committed_status; in commit()
99 PRE(status == impl::open_status); in rollback()
101 status = impl::rolled_back_status; in rollback()
113 _pimpl(new impl(db, impl::open_status)) in transaction()
/netbsd-src/tests/usr.bin/xlint/lint1/
H A Dmsg_247.c118 struct counter_impl *impl = allocate(); in counter_new_typesafe() local
119 impl->public_part.count = 12345; in counter_new_typesafe()
120 impl->saved_count = 12346; in counter_new_typesafe()
121 return &impl->public_part; in counter_new_typesafe()
127 struct counter_impl *impl = allocate(); in counter_new_cast() local
128 impl->public_part.count = 12345; in counter_new_cast()
129 impl->saved_count = 12346; in counter_new_cast()
131 return (struct counter *)impl; in counter_new_cast()
141 struct counter_impl *impl = (struct counter_impl *)counter; in counter_increment() local
142 impl in counter_increment()
[all...]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/
H A Dgtest-matchers.h188 explicit MatcherInterfaceAdapter(const MatcherInterface<T>* impl) in MatcherInterfaceAdapter() argument
189 : impl_(impl) {} in MatcherInterfaceAdapter()
298 explicit MatcherBase(const MatcherInterface<const T&>* impl) : impl_(impl) {} in MatcherBase() argument
302 const MatcherInterface<U>* impl,
305 : impl_(new internal::MatcherInterfaceAdapter<U>(impl)) {} in impl_() argument
333 explicit Matcher(const MatcherInterface<const T&>* impl) in Matcher() argument
334 : internal::MatcherBase<T>(impl) {} in Matcher()
338 const MatcherInterface<U>* impl,
341 : internal::MatcherBase<T>(impl) {}
357 explicit Matcher(const MatcherInterface<const std::string&>* impl) in Matcher() argument
[all …]

12345678910>>...17