| /freebsd-src/contrib/processor-trace/libipt/test/src/ | 
| H A D | ptunit-config.c | 44 	struct pt_config config;  in from_user_null()  local47 	errcode = pt_config_from_user(NULL, &config);  in from_user_null()
 50 	errcode = pt_config_from_user(&config, NULL);  in from_user_null()
 58 	struct pt_config config, user;  in from_user_too_small()  local
 61 	user.size = sizeof(config.size);  in from_user_too_small()
 63 	errcode = pt_config_from_user(&config, &user);  in from_user_too_small()
 71 	struct pt_config config, user;  in from_user_bad_buffer()  local
 76 	errcode = pt_config_from_user(&config, &user);  in from_user_bad_buffer()
 81 	errcode = pt_config_from_user(&config, &user);  in from_user_bad_buffer()
 87 	errcode = pt_config_from_user(&config, &user);  in from_user_bad_buffer()
 [all …]
 
 | 
| H A D | ptunit-sync.c | 43 	struct pt_config config;  member54 	memset(&sfix->config, 0, sizeof(sfix->config));  in sfix_init()
 55 	sfix->config.size = sizeof(sfix->config);  in sfix_init()
 56 	sfix->config.begin = sfix->buffer;  in sfix_init()
 57 	sfix->config.end = sfix->buffer + sizeof(sfix->buffer);  in sfix_init()
 81 	errcode = pt_sync_forward(NULL, sfix->config.begin, &sfix->config);  in sync_fwd_null()
 84 	errcode = pt_sync_forward(&sync, NULL, &sfix->config);  in sync_fwd_null()
 87 	errcode = pt_sync_forward(&sync, sfix->config.begin, NULL);  in sync_fwd_null()
 98 	errcode = pt_sync_backward(NULL, sfix->config.begin, &sfix->config);  in sync_bwd_null()
 101 	errcode = pt_sync_backward(&sync, NULL, &sfix->config);  in sync_bwd_null()
 [all …]
 
 | 
| /freebsd-src/contrib/kyua/utils/config/ | 
| H A D | tree_test.cpp | 29 #include "utils/config/tree.ipp"33 #include "utils/config/nodes.ipp"
 37 namespace config = utils::config;
 71 class wrapped_int_node : public config::typed_leaf_node< int_wrapper > {
 91             config::typed_leaf_node< int_wrapper >::value().value());  in push_lua()
 103         config::typed_leaf_node< int_wrapper >::set(new_value);  in set_lua()
 113         config::typed_leaf_node< int_wrapper >::set(new_value);  in set_string()
 123             config::typed_leaf_node< int_wrapper >::value().value();  in to_string()
 134     config::tree tree;  in ATF_TEST_CASE_BODY()
 136     tree.define< config::int_node >("var1");  in ATF_TEST_CASE_BODY()
 [all …]
 
 | 
| H A D | lua_module_test.cpp | 29 #include "utils/config/lua_module.hpp"37 #include "utils/config/tree.ipp"
 40 namespace config = utils::config;
 62 class custom_node : public config::typed_leaf_node< custom_type > {
 125     config::tree tree;  in ATF_TEST_CASE_BODY()
 126     tree.define< config::bool_node >("top_boolean");  in ATF_TEST_CASE_BODY()
 127     tree.define< config::int_node >("top_integer");  in ATF_TEST_CASE_BODY()
 128     tree.define< config::string_node >("top_string");  in ATF_TEST_CASE_BODY()
 132         config::redirect(state, tree);  in ATF_TEST_CASE_BODY()
 140     ATF_REQUIRE_EQ(true, tree.lookup< config::bool_node >("top_boolean"));  in ATF_TEST_CASE_BODY()
 [all …]
 
 | 
| H A D | Makefile.am.inc | 33 libutils_a_SOURCES += utils/config/exceptions.cpp34 libutils_a_SOURCES += utils/config/exceptions.hpp
 35 libutils_a_SOURCES += utils/config/keys.cpp
 36 libutils_a_SOURCES += utils/config/keys.hpp
 37 libutils_a_SOURCES += utils/config/keys_fwd.hpp
 38 libutils_a_SOURCES += utils/config/lua_module.cpp
 39 libutils_a_SOURCES += utils/config/lua_module.hpp
 40 libutils_a_SOURCES += utils/config/nodes.cpp
 41 libutils_a_SOURCES += utils/config/nodes.hpp
 42 libutils_a_SOURCES += utils/config/nodes.ipp
 [all …]
 
 | 
| H A D | parser_test.cpp | 29 #include "utils/config/parser.hpp"35 #include "utils/config/exceptions.hpp"
 36 #include "utils/config/parser.hpp"
 37 #include "utils/config/tree.ipp"
 41 namespace config = utils::config;
 49 class mock_parser : public config::parser {
 56     setup(config::tree& tree, const int syntax_version)  in setup()
 61             tree.define< config::string_node >("top_string");  in setup()
 62             tree.define< config::int_node >("inner.int");  in setup()
 73     /// \param tree The mock config tree to parse.
 [all …]
 
 | 
| H A D | nodes_test.cpp | 29 #include "utils/config/nodes.ipp"35 #include "utils/config/exceptions.hpp"
 36 #include "utils/config/keys.hpp"
 39 namespace config = utils::config;
 46 class validation_node : public config::int_node {
 56             throw config::value_error("Custom validate method");  in validate()
 62 class set_validation_node : public config::strings_set_node {
 74                 throw config::value_error("Custom validate method");  in validate()
 85     config::bool_node node;  in ATF_TEST_CASE_BODY()
 87     config::detail::base_node* raw_copy = node.deep_copy();  in ATF_TEST_CASE_BODY()
 [all …]
 
 | 
| /freebsd-src/crypto/openssh/.github/workflows/ | 
| H A D | c-cpp.yml | 24         config: [default]28           - { target: windows-2019, config: cygwin-release }
 29           - { target: windows-2022, config: cygwin-release }
 30           - { target: ubuntu-20.04, config: valgrind-1 }
 31           - { target: ubuntu-20.04, config: valgrind-2 }
 32           - { target: ubuntu-20.04, config: valgrind-3 }
 33           - { target: ubuntu-20.04, config: valgrind-4 }
 34           - { target: ubuntu-20.04, config: valgrind-5 }
 35           - { target: ubuntu-20.04, config: valgrind-unit }
 36           - { target: ubuntu-20.04, config: c89 }
 [all …]
 
 | 
| H A D | selfhosted.yml | 15       TARGET_CONFIG: ${{ matrix.config }}19       # default config.  "target" corresponds to a label associated with the
 49         config:
 55           - { target: aix51, config: default, host: libvirt-hipri }
 56           - { target: openindiana, config: pam, host: libvirt-hipri }
 57           - { target: sol10,  config: default, host: libvirt-hipri }
 58           - { target: sol10,  config: pam, host: libvirt-hipri }
 59           - { target: sol11,  config: default, host: libvirt-hipri }
 60           - { target: sol11,  config: pam-krb5, host: libvirt-hipri }
 61           - { target: sol11,  config: sol64, host: libvirt-hipri }
 [all …]
 
 | 
| /freebsd-src/contrib/wpa/wpa_supplicant/ | 
| H A D | config_file.c | 19 #include "config.h"26 #include "utils/config.h"
 273 static int wpa_config_process_blob(struct wpa_config *config, FILE *f, in wpa_config_process_blob()
 293 	wpa_config_set_blob(config, blob); in wpa_config_read()
 307 	struct wpa_config *config; in wpa_config_read()
 314 		config = cfgp; in wpa_config_read()
 316 		config = wpa_config_alloc_empty(NULL, NULL); in wpa_config_read()
 317 	if (config == NULL) { in wpa_config_read()
 318 		wpa_printf(MSG_ERROR, "Failed to allocate config file " in wpa_config_read()
 322 	tail = head = config in wpa_config_read()
 266 wpa_config_process_blob(struct wpa_config * config,FILE * f,int * line,char * bname) wpa_config_process_blob()  argument
 299 struct wpa_config *config; wpa_config_read()  local
 1077 wpa_config_write_global(FILE * f,struct wpa_config * config) wpa_config_write_global()  argument
 1566 wpa_config_write(const char * name,struct wpa_config * config) wpa_config_write()  argument
 [all...]
 | 
| /freebsd-src/contrib/mandoc/ | 
| H A D | Makefile.depend | 1 arch.o: arch.c config.h roff.h2 att.o: att.c config.h roff.h libmdoc.h
 3 catman.o: catman.c config.h compat_fts.h
 4 cgi.o: cgi.c config.h mandoc_aux.h mandoc_dbg.h mandoc.h roff.h mdoc.h man.h mandoc_parse.h main.h manconf.h mansearch.h cgi.h
 5 chars.o: chars.c config.h mandoc.h mandoc_aux.h mandoc_dbg.h mandoc_ohash.h compat_ohash.h libmandoc.h
 6 compat_err.o: compat_err.c config.h
 7 compat_fts.o: compat_fts.c config.h compat_fts.h
 8 compat_getline.o: compat_getline.c config.h
 9 compat_getsubopt.o: compat_getsubopt.c config.h
 10 compat_isblank.o: compat_isblank.c config
 [all...]
 | 
| /freebsd-src/sys/isa/ | 
| H A D | pnpparse.c | 61 	       struct isa_config *config, int ldn)  in pnp_parse_desc()  argument100 			if (config->ic_nirq == ISA_NIRQ) {  in pnp_parse_desc()
 106 				config->ic_irqmask[config->ic_nirq] = 0;  in pnp_parse_desc()
 107 				config->ic_nirq++;  in pnp_parse_desc()
 113 			config->ic_irqmask[config->ic_nirq] = I16(res);  in pnp_parse_desc()
 114 			config->ic_nirq++;  in pnp_parse_desc()
 118 			if (config->ic_ndrq == ISA_NDRQ) {  in pnp_parse_desc()
 124 				config->ic_drqmask[config->ic_ndrq] = 0;  in pnp_parse_desc()
 125 				config->ic_ndrq++;  in pnp_parse_desc()
 131 			config->ic_drqmask[config->ic_ndrq] = res[0];  in pnp_parse_desc()
 [all …]
 
 | 
| /freebsd-src/share/examples/sound/ | 
| H A D | ossinit.h |  | 
| /freebsd-src/contrib/netbsd-tests/lib/librefuse/ | 
| H A D | t_refuse_opt.c | 171 	struct foofs_config *config = data;  in foo_opt_proc()  local173 	if (key == FUSE_OPT_KEY_NONOPT && config->nonopt == NULL) {  in foo_opt_proc()
 174 		config->nonopt = strdup(arg);  in foo_opt_proc()
 190 	struct foofs_config config;  in ATF_TC_BODY()  local
 192 	memset(&config, 0, sizeof(config));  in ATF_TC_BODY()
 193 	ATF_CHECK(fuse_opt_parse(NULL, &config, NULL, NULL) == 0);  in ATF_TC_BODY()
 194 	ATF_CHECK_EQ(config.number, 0);  in ATF_TC_BODY()
 195 	ATF_CHECK_EQ(config.string, NULL);  in ATF_TC_BODY()
 196 	ATF_CHECK_EQ(config.nonopt, NULL);  in ATF_TC_BODY()
 208 	struct foofs_config config;  in ATF_TC_BODY()  local
 [all …]
 
 | 
| /freebsd-src/stand/lua/ | 
| H A D | config.lua.8 | 31 .Nm config.lua32 .Nd FreeBSD config module
 41 .Dl local config = require("config")
 45 .Bl -tag -width "config.setCarouselIndex(id, idx)" -offset indent
 46 .It Fn config.getCarouselIndex id
 52 .It Fn config.setCarouselIndex id idx
 60 .It Fn config.readConf file loaded_files
 82 .It Fn config.processFile name silent
 92 .Fn config.processFile
 94 .It Fn config.parse text
 [all …]
 
 | 
| /freebsd-src/contrib/bmake/mk/ | 
| H A D | autoconf.mk | 18 .NOPATH:	config.h config.gen config.recheck config.status 20 CONFIGURE_DEPS += ${.CURDIR}/config.h.in ${.CURDIR}/configure
 22 .if !target(config.h)
 23 config.h:	.NOTMAIN ${CONFIGURE_DEPS} config.status
 24 	./config.status
 30 .if !target(config.status)
 32 config.status:	.NOTMAIN
 33 .if exists(${.OBJDIR}/config.status)
 34 config.status:	config.recheck
 36 config.status:  config.gen
 [all …]
 
 | 
| /freebsd-src/sys/contrib/device-tree/src/arm/st/ | 
| H A D | ste-dbx5x0-pinctrl.dtsi | 18 				ste,config = <&in_pu>;22 				ste,config = <&out_hi>;
 29 				ste,config = <&slpm_in_wkup_pdis>;
 33 				ste,config = <&slpm_out_hi_wkup_pdis>;
 37 				ste,config = <&slpm_out_wkup_pdis>;
 50 				ste,config = <&in_pu>;
 54 				ste,config = <&out_hi>;
 61 				ste,config = <&slpm_in_wkup_pdis>;
 65 				ste,config = <&slpm_out_wkup_pdis>;
 76 				ste,config = <&in_pu>;
 [all …]
 
 | 
| /freebsd-src/contrib/llvm-project/lld/ELF/ | 
| H A D | LTO.cpp | 10 #include "Config.h"25 #include "llvm/LTO/Config.h"
 47   return lto::getThinLTOOutputFile(modulePath, config->thinLTOPrefixReplaceOld, in getThinLTOOutputFile()
 48                                    config->thinLTOPrefixReplaceNew); in getThinLTOOutputFile()
 51 static lto::Config createConfig() { in createConfig()
 52   lto::Config c; in createConfig()
 57   for (StringRef C : config->mllvmOpts) in createConfig()
 64   c.Options.BBAddrMap = config->ltoBBAddrMap; in createConfig()
 70   if (!config->ltoBasicBlockSections.empty()) { in createConfig()
 71     if (config in createConfig()
 [all...]
 | 
| H A D | Driver.cpp | 26 #include "Config.h"53 #include "llvm/Config/llvm-config.h"
 81 ConfigWrapper elf::config;
 88   if (config->noinhibitExec) in errorOrWarn()
 153   config = ConfigWrapper(); in link()
 161   config->progName = args[0]; in link()
 254   if (!config->fatLTOObjects) in tryAddFatLTOFile()
 274   if (config->formatBinary) { in addFile()
 328     if (config in addFile()
 80 ConfigWrapper elf::config; global()  member in elf
 2550 checkAndReportMissingFeature(StringRef config,uint32_t features,uint32_t mask,const Twine & report) checkAndReportMissingFeature()  argument
 [all...]
 | 
| /freebsd-src/sys/contrib/openzfs/contrib/pam_zfs_key/ | 
| H A D | pam_zfs_key.c | 449 zfs_key_config_load(pam_handle_t *pamh, zfs_key_config_t *config,  in zfs_key_config_load()  argument452 	config->homes_prefix = strdup("rpool/home");  in zfs_key_config_load()
 453 	if (config->homes_prefix == NULL) {  in zfs_key_config_load()
 457 	config->runstatedir = strdup(RUNSTATEDIR "/pam_zfs_key");  in zfs_key_config_load()
 458 	if (config->runstatedir == NULL) {  in zfs_key_config_load()
 460 		free(config->homes_prefix);  in zfs_key_config_load()
 467 		free(config->runstatedir);  in zfs_key_config_load()
 468 		free(config->homes_prefix);  in zfs_key_config_load()
 473 		free(config->runstatedir);  in zfs_key_config_load()
 474 		free(config->homes_prefix);  in zfs_key_config_load()
 [all …]
 
 | 
| /freebsd-src/contrib/llvm-project/lld/COFF/ | 
| H A D | Driver.cpp | 11 #include "Config.h"29 #include "llvm/Config/llvm-config.h"
 153   assert(ctx.config.machine != IMAGE_FILE_MACHINE_UNKNOWN); in mangle()
 154   if (ctx.config.machine == I386) in mangle()
 160   return getMachineArchType(ctx.config.machine); in getArch()
 218     if (ctx.config.mingw) { in addBuffer()
 354          (!ctx.config.mingw && sym.contains('@')); in enqueueArchiveMember()
 380     if (ctx.config.machine == I386 && ctx.config in parseDirectives()
 1428 Configuration *config = &ctx.config; linkerMain()  local
 [all...]
 | 
| /freebsd-src/contrib/kyua/engine/ | 
| H A D | config_test.cpp | 29 #include "engine/config.hpp"32 #   include "config.h"
 43 #include "utils/config/tree.ipp"
 46 namespace config = utils::config;
 68 /// Checks that the default values of a config object match our expectations.
 70 /// This fails the test case if any field of the input config object is not
 73 /// \param config The configuration to validate.
 75 validate_defaults(const config::tree& config)  in validate_defaults()  argument
 79         config.lookup< config::string_node >("architecture"));  in validate_defaults()
 83         config.lookup< config::positive_int_node >("parallelism"));  in validate_defaults()
 [all …]
 
 | 
| /freebsd-src/contrib/processor-trace/libipt/src/ | 
| H A D | pt_packet.c | 53 			const struct pt_config *config)  in pt_pkt_read_unknown()  argument59 	if (!packet || !pos || !config)  in pt_pkt_read_unknown()
 62 	decode = config->decode.callback;  in pt_pkt_read_unknown()
 73 	size = (*decode)(&packet->payload.unknown, config, pos,  in pt_pkt_read_unknown()
 74 			 config->decode.context);  in pt_pkt_read_unknown()
 84 	if (config->end < pos + size)  in pt_pkt_read_unknown()
 90 int pt_pkt_read_psb(const uint8_t *pos, const struct pt_config *config)  in pt_pkt_read_psb()  argument
 94 	if (!pos || !config)  in pt_pkt_read_psb()
 97 	if (config->end < pos + ptps_psb)  in pt_pkt_read_psb()
 136 		   const struct pt_config *config)  in pt_pkt_read_ip()  argument
 [all …]
 
 | 
| /freebsd-src/contrib/llvm-project/llvm/lib/ObjCopy/ELF/ | 
| H A D | ELFObjcopy.cpp | 157 static std::unique_ptr<Writer> createELFWriter(const CommonConfig &Config, in createELFWriter()   argument 163     return std::make_unique<ELFWriter<ELF32LE>>(Obj, Out, !Config.StripSections, in createELFWriter()
 164                                                 Config.OnlyKeepDebug); in createELFWriter()
 166     return std::make_unique<ELFWriter<ELF64LE>>(Obj, Out, !Config.StripSections, in createELFWriter()
 167                                                 Config.OnlyKeepDebug); in createELFWriter()
 169     return std::make_unique<ELFWriter<ELF32BE>>(Obj, Out, !Config.StripSections, in createELFWriter()
 170                                                 Config.OnlyKeepDebug); in createELFWriter()
 172     return std::make_unique<ELFWriter<ELF64BE>>(Obj, Out, !Config.StripSections, in createELFWriter()
 173                                                 Config.OnlyKeepDebug); in createELFWriter()
 178 static std::unique_ptr<Writer> createWriter(const CommonConfig &Config, in createWriter()   argument
 285 updateAndRemoveSymbols(const CommonConfig & Config,const ELFConfig & ELFConfig,Object & Obj) updateAndRemoveSymbols()  argument
 385 replaceAndRemoveSections(const CommonConfig & Config,const ELFConfig & ELFConfig,Object & Obj) replaceAndRemoveSections()  argument
 616 handleArgs(const CommonConfig & Config,const ELFConfig & ELFConfig,Object & Obj) handleArgs()  argument
 780 writeOutput(const CommonConfig & Config,Object & Obj,raw_ostream & Out,ElfType OutputElfType) writeOutput()  argument
 789 executeObjcopyOnIHex(const CommonConfig & Config,const ELFConfig & ELFConfig,MemoryBuffer & In,raw_ostream & Out) executeObjcopyOnIHex()  argument
 804 executeObjcopyOnRawBinary(const CommonConfig & Config,const ELFConfig & ELFConfig,MemoryBuffer & In,raw_ostream & Out) executeObjcopyOnRawBinary()  argument
 822 executeObjcopyOnBinary(const CommonConfig & Config,const ELFConfig & ELFConfig,object::ELFObjectFileBase & In,raw_ostream & Out) executeObjcopyOnBinary()  argument
 [all...]
 | 
| /freebsd-src/contrib/tcsh/ | 
| H A D | Ported | 16 CONFIG	:	sunos*27 CONFIG	:	sol*
 43 CONFIG	:	sol26
 54 CONFIG	:	sol29
 65 CONFIG	:	sol2
 76 CONFIG	:	linux
 87 CONFIG	:	bsd
 98 CONFIG	:	hpux{7,8}
 100 NOTES	:	Don't use -lBSD; breaks getpgrp(). Config.hp-3.2 obsolete?
 111 CONFIG	:	hpux8
 [all …]
 
 |