/freebsd/contrib/atf/atf-c++/detail/ |
H A D | fs.cpp | 58 namespace impl = atf::fs; 65 static bool safe_access(const impl::path&, int, int); 76 safe_access(const impl::path& p, int mode, int experr) in safe_access() 108 impl::path::path(const std::string& s) in path() 115 impl::path::path(const path& p) in path() 122 impl::path::path(const atf_fs_path_t *p) in path() 129 impl::path::~path(void) in ~path() 135 impl::path::c_str(void) in c_str() 142 impl::path::c_path(void) in c_path() 149 impl::path::str(void) in str() [all …]
|
H A D | process.cpp | 41 namespace impl = atf::process; 82 impl::argv_array::argv_array(void) : in argv_array() 87 impl::argv_array::argv_array(const char* arg1, ...) in argv_array() 104 impl::argv_array::argv_array(const char* const* ca) : in argv_array() 110 impl::argv_array::argv_array(const argv_array& a) : in argv_array() 117 impl::argv_array::ctor_init_exec_argv(void) in ctor_init_exec_argv() 123 impl::argv_array::exec_argv(void) in exec_argv() 129 impl::argv_array::size_type 130 impl::argv_array::size(void) in size() 137 impl::argv_array::operator[](int idx) in operator []() [all …]
|
H A D | application.cpp | 54 namespace impl = atf::application; 61 impl::usage_error::usage_error(const char *fmt, ...) in usage_error() 72 impl::usage_error::~usage_error(void) in ~usage_error() 78 impl::usage_error::what(void) in what() 88 impl::option::option(char ch, in option() 98 impl::option::operator<(const impl::option& o) in operator <() 104 impl::app::app(const std::string& description, in app() 114 impl::app::~app(void) in ~app() 119 impl::app::inited(void) in inited() 124 impl::app::options_set [all …]
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | vdev_raidz_impl.h | 221 #define _RAIDZ_GEN_WRAP(code, impl) \ argument 223 impl ## _gen_ ## code(void *rrp) \ 235 #define _RAIDZ_REC_WRAP(code, impl) \ argument 237 impl ## _rec_ ## code(void *rrp, const int *tgtidx) \ 248 #define DEFINE_GEN_METHODS(impl) \ argument 249 _RAIDZ_GEN_WRAP(p, impl); \ 250 _RAIDZ_GEN_WRAP(pq, impl); \ 251 _RAIDZ_GEN_WRAP(pqr, impl) 258 #define DEFINE_REC_METHODS(impl) \ argument 259 _RAIDZ_REC_WRAP(p, impl); \ [all …]
|
/freebsd/contrib/atf/atf-c++/ |
H A D | tests.cpp | 74 namespace impl = atf::tests; 145 static std::map< atf_tc_t*, impl::tc* > wraps; 146 static std::map< const atf_tc_t*, const impl::tc* > cwraps; 148 struct impl::tc_impl { 168 std::map< atf_tc_t*, impl::tc* >::iterator iter = wraps.find(tc); in wrap_head() 176 std::map< const atf_tc_t*, const impl::tc* >::const_iterator iter = in wrap_body() 185 std::map< const atf_tc_t*, const impl::tc* >::const_iterator iter = in wrap_cleanup() 192 impl::tc::tc(const std::string& ident, const bool has_cleanup) : in tc() 197 impl::tc::~tc(void) in ~tc() 206 impl::tc::init(const vars_map& config) in init() [all …]
|
H A D | check.cpp | 39 namespace impl = atf::check; 46 impl::check_result::check_result(const atf_check_result_t* result) in check_result() 51 impl::check_result::~check_result(void) in ~check_result() 57 impl::check_result::exited(void) in exited() 64 impl::check_result::exitcode(void) in exitcode() 72 impl::check_result::signaled(void) in signaled() 79 impl::check_result::termsig(void) in termsig() 87 impl::check_result::stdout_path(void) const in stdout_path() 93 impl::check_result::stderr_path(void) const in stderr_path() 103 impl::build_c_o(const std::string& sfile, const std::string& ofile, in build_c_o() [all …]
|
/freebsd/crypto/openssl/providers/implementations/encode_decode/ |
H A D | encode_key2blob.c | 121 #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 D | encode_key2any.c | 1076 #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 D | encode_key2ms.c | 179 #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 …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | LLJIT.h | 341 !impl().ES && in setExecutorProcessControl() 344 impl().EPC = std::move(EPC); in setExecutorProcessControl() 345 return impl(); in setExecutorProcessControl() 351 !impl().EPC && in setExecutionSession() 354 impl().ES = std::move(ES); in setExecutionSession() 355 return impl(); in setExecutionSession() 363 impl().JTMB = std::move(JTMB); in setJITTargetMachineBuilder() 364 return impl(); in setJITTargetMachineBuilder() 370 return impl().JTMB; in getJITTargetMachineBuilder() 376 impl().DL = std::move(DL); in setDataLayout() [all …]
|
/freebsd/contrib/bearssl/test/ |
H A D | test_math.c | 93 static const int_impl *impl; variable 175 impl->encode(xb, xlen, x); in check_eqz() 264 impl->decode(mp, ep, plen); in test_modint() 265 if (impl->decode_mod(ma, ea, alen, mp) != 1) { in test_modint() 275 mp0i = impl->ninv(mp[1]); in test_modint() 276 if (impl->decode_mod(mb, eb, blen, mp) != 1) { in test_modint() 286 impl->decode(mv, ev, vlen); in test_modint() 292 impl->decode_mod(ma, ea, alen, mp); in test_modint() 293 impl->decode_mod(mb, eb, blen, mp); in test_modint() 294 ctl = impl->add(ma, mb, 1); in test_modint() [all …]
|
/freebsd/sys/contrib/openzfs/module/icp/include/ |
H A D | generic_impl.c | 78 const IMPL_OPS_T *impl = IMPL_ARRAY[i]; in generic_impl_init() local 80 if (impl->is_supported && impl->is_supported()) in generic_impl_init() 81 generic_supp_impls[c++] = impl; in generic_impl_init() 110 uint32_t impl = IMPL_READ(generic_impl_chosen); in generic_impl_getname() local 113 switch (impl) { in generic_impl_getname() 119 return (generic_supp_impls[impl]->name); in generic_impl_getname() 146 uint32_t impl = IMPL_READ(generic_impl_chosen); in generic_impl_setname() local 161 impl = generic_impl_selectors[i].sel; in generic_impl_setname() 174 impl = i; in generic_impl_setname() 182 atomic_swap_32(&generic_impl_chosen, impl); in generic_impl_setname() [all …]
|
/freebsd/crypto/openssl/crypto/property/ |
H A D | property.c | 210 static void impl_free(IMPLEMENTATION *impl) in impl_free() argument 212 if (impl != NULL) { in impl_free() 213 ossl_method_free(&impl->method); in impl_free() 214 OPENSSL_free(impl); in impl_free() 305 IMPLEMENTATION *impl; in ossl_method_store_add() local 318 impl = OPENSSL_malloc(sizeof(*impl)); in ossl_method_store_add() 319 if (impl == NULL) in ossl_method_store_add() 321 impl->method.method = method; in ossl_method_store_add() 322 impl->method.up_ref = method_up_ref; in ossl_method_store_add() 323 impl->method.free = method_destruct; in ossl_method_store_add() [all …]
|
/freebsd/contrib/kyua/utils/sqlite/ |
H A D | transaction.cpp | 43 struct utils::sqlite::transaction::impl : utils::noncopyable { struct in utils::sqlite::transaction 61 impl(database& db_, const statuses status_) : in impl() argument 70 ~impl(void) in ~impl() argument 72 if (status == impl::open_status) { in ~impl() 88 PRE(status == impl::open_status); in commit() 90 status = impl::committed_status; in commit() 100 PRE(status == impl::open_status); in rollback() 102 status = impl::rolled_back_status; in rollback() 114 _pimpl(new impl(db, impl::open_status)) in transaction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/MCTargetDesc/ |
H A D | M68kMemOperandPrinter.h | 24 Derived &impl() { return *static_cast<Derived *>(this); } in impl() function 29 impl().printOperand(MI, OpNum, O); in printARIMem() 35 impl().printOperand(MI, OpNum, O); in printARIPIMem() 41 impl().printOperand(MI, OpNum, O); in printARIPDMem() 47 impl().printDisp(MI, OpNum + M68k::MemDisp, O); in printARIDMem() 49 impl().printOperand(MI, OpNum + M68k::MemBase, O); in printARIDMem() 55 impl().printDisp(MI, OpNum + M68k::MemDisp, O); in printARIIMem() 57 impl().printOperand(MI, OpNum + M68k::MemBase, O); in printARIIMem() 59 impl().printOperand(MI, OpNum + M68k::MemIndex, O); in printARIIMem() 66 impl().printDisp(MI, OpNum + M68k::PCRelDisp, O); in printPCDMem() [all …]
|
/freebsd/sys/x86/include/ |
H A D | bus_dma.h | 45 return (tc->impl->id_mapped(dmat, buf, buflen)); in bus_dma_id_mapped() 58 return (tc->impl->map_create(dmat, flags, mapp)); in bus_dmamap_create() 71 return (tc->impl->map_destroy(dmat, map)); in bus_dmamap_destroy() 86 return (tc->impl->mem_alloc(dmat, vaddr, flags, mapp)); in bus_dmamem_alloc() 99 tc->impl->mem_free(dmat, vaddr, map); in bus_dmamem_free() 112 tc->impl->map_unload(dmat, map); in bus_dmamap_unload() 123 tc->impl->map_sync(dmat, map, op); in bus_dmamap_sync() 138 return (tc->impl->load_phys(dmat, map, buf, buflen, flags, segs, in _bus_dmamap_load_phys() 150 return (tc->impl->load_ma(dmat, map, ma, tlen, ma_offs, flags, in _bus_dmamap_load_ma() 166 return (tc->impl in _bus_dmamap_load_buffer() [all...] |
/freebsd/contrib/kyua/utils/fs/ |
H A D | directory.cpp | 120 struct utils::fs::detail::directory_iterator::impl : utils::noncopyable { struct in utils::fs::detail::directory_iterator 144 impl(void) : _path("invalid-directory-entry"), _dirp(NULL) in impl() function 153 explicit impl(const path& path) : _path(path) in impl() argument 173 ~impl(void) in ~impl() argument 219 detail::directory_iterator::directory_iterator(std::shared_ptr< impl > pimpl) : in directory_iterator() 240 return directory_iterator(std::shared_ptr< impl >(new impl(path))); in new_begin() 250 return directory_iterator(std::shared_ptr< impl >(new impl())); in new_end() 319 struct utils::fs::directory::impl : utils::noncopyable { struct in utils::fs::directory 326 impl(const fs::path& path_) : _path(path_) in impl() argument 335 fs::directory::directory(const path& path_) : _pimpl(new impl(path_)) in directory()
|
H A D | auto_cleaners.cpp | 45 struct utils::fs::auto_directory::impl : utils::noncopyable { struct in utils::fs::auto_directory 55 impl(const path& directory_) : in impl() argument 62 ~impl(void) in ~impl() argument 93 _pimpl(new impl(directory_)) in auto_directory() 157 struct utils::fs::auto_file::impl : utils::noncopyable { struct in utils::fs::auto_file 167 impl(const path& file_) : in impl() function 174 ~impl(void) in ~impl() argument 205 _pimpl(new impl(file_)) in auto_file()
|
/freebsd/contrib/bearssl/inc/ |
H A D | bearssl_ec.h | 684 typedef size_t (*br_ecdsa_sign)(const br_ec_impl *impl, 710 typedef uint32_t (*br_ecdsa_vrfy)(const br_ec_impl *impl, 726 size_t br_ecdsa_i31_sign_asn1(const br_ec_impl *impl, 742 size_t br_ecdsa_i31_sign_raw(const br_ec_impl *impl, 759 uint32_t br_ecdsa_i31_vrfy_asn1(const br_ec_impl *impl, 776 uint32_t br_ecdsa_i31_vrfy_raw(const br_ec_impl *impl, 792 size_t br_ecdsa_i15_sign_asn1(const br_ec_impl *impl, 808 size_t br_ecdsa_i15_sign_raw(const br_ec_impl *impl, 825 uint32_t br_ecdsa_i15_vrfy_asn1(const br_ec_impl *impl, 842 uint32_t br_ecdsa_i15_vrfy_raw(const br_ec_impl *impl, [all …]
|
/freebsd/contrib/kyua/utils/text/ |
H A D | regex.cpp | 79 struct utils::text::regex_matches::impl : utils::noncopyable { struct in utils::text::regex_matches 108 impl(const ::regex_t* preg, const std::string& str, in impl() function 125 ~impl(void) in ~impl() argument 134 text::regex_matches::regex_matches(std::shared_ptr< impl > pimpl) : in regex_matches() 200 struct utils::text::regex::impl : utils::noncopyable { struct in utils::text::regex 219 impl(const std::string& regex_, const std::size_t ngroups, in impl() argument 231 ~impl(void) in ~impl() argument 241 text::regex::regex(std::shared_ptr< impl > pimpl) : _pimpl(pimpl) in regex() 267 return regex(std::shared_ptr< impl >(new impl(regex_, ngroups, in compile() 280 std::shared_ptr< regex_matches::impl > pimpl(new regex_matches::impl( in match()
|
/freebsd/sys/riscv/include/ |
H A D | bus_dma.h | 20 return (tc->impl->map_create(dmat, flags, mapp)); in bus_dmamap_create() 33 return (tc->impl->map_destroy(dmat, map)); in bus_dmamap_destroy() 48 return (tc->impl->mem_alloc(dmat, vaddr, flags, mapp)); in bus_dmamem_alloc() 61 tc->impl->mem_free(dmat, vaddr, map); in bus_dmamem_free() 73 tc->impl->map_unload(dmat, map); in bus_dmamap_unload() 82 tc->impl->map_sync(dmat, map, op); in bus_dmamap_sync() 92 return (tc->impl->load_phys(dmat, map, buf, buflen, flags, segs, in _bus_dmamap_load_phys() 104 return (tc->impl->load_ma(dmat, map, ma, tlen, ma_offs, flags, in _bus_dmamap_load_ma() 116 return (tc->impl->load_buffer(dmat, map, buf, buflen, pmap, flags, segs, in _bus_dmamap_load_buffer() 127 tc->impl in _bus_dmamap_waitok() [all...] |
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_event_plugin.c | 92 rc->impl = in osm_epi_construct() 95 if (!rc->impl) { in osm_epi_construct() 103 old_impl = (struct old_if *) rc->impl; in osm_epi_construct() 113 if (strcmp(rc->impl->osm_version, osm->osm_version)) { in osm_epi_construct() 117 plugin_name, rc->impl->osm_version); in osm_epi_construct() 121 if (!rc->impl->create) { in osm_epi_construct() 128 rc->plugin_data = rc->impl->create(osm); in osm_epi_construct() 146 if (plugin->impl->delete) in osm_epi_destroy() 147 plugin->impl->delete(plugin->plugin_data); in osm_epi_destroy()
|
/freebsd/contrib/kyua/utils/config/ |
H A D | parser.cpp | 56 struct utils::config::parser::impl : utils::noncopyable { struct in utils::config::parser 74 impl(parser* const parent_, tree& config_tree_) : in impl() argument 126 config::parser::impl* impl = in lua_syntax() local 127 *state.to_userdata< config::parser::impl* >(-1); in lua_syntax() 130 impl->syntax_callback(syntax_version); in lua_syntax() 144 _pimpl(new impl(this, config_tree)) in parser() 150 *_pimpl->_state.new_userdata< config::parser::impl* >() = _pimpl.get(); in parser()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | vdev_raidz_math.c | 114 const uint32_t impl = RAIDZ_IMPL_READ(zfs_vdev_raidz_impl); in vdev_raidz_math_get_ops() local 116 switch (impl) { in vdev_raidz_math_get_ops() 136 ASSERT3U(impl, <, raidz_supp_impl_cnt); in vdev_raidz_math_get_ops() 138 if (impl < ARRAY_SIZE(raidz_all_maths)) in vdev_raidz_math_get_ops() 139 ops = raidz_supp_impl[impl]; in vdev_raidz_math_get_ops() 400 int impl, i; in benchmark_raidz_impl() local 402 for (impl = 0; impl < raidz_supp_impl_cnt; impl++) { in benchmark_raidz_impl() 404 curr_impl = raidz_supp_impl[impl]; in benchmark_raidz_impl() 421 raidz_impl_kstats[impl].gen[fn] = speed; in benchmark_raidz_impl() 423 raidz_impl_kstats[impl].rec[fn] = speed; in benchmark_raidz_impl() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | RWMutex.h | 101 std::shared_mutex impl; variable 103 RWMutexImpl impl; 111 impl.lock_shared(); in lock_shared() 123 impl.unlock_shared(); in unlock_shared() 134 bool try_lock_shared() { return impl.try_lock_shared(); } in try_lock_shared() 138 impl.lock(); in lock() 151 impl.unlock(); in unlock() 162 bool try_lock() { return impl.try_lock(); } in try_lock()
|