Home
last modified time | relevance | path

Searched full:config (Results 1 – 25 of 4565) sorted by relevance

12345678910>>...183

/freebsd/contrib/processor-trace/libipt/test/src/
H A Dptunit-config.c44 struct pt_config config; in from_user_null() local
47 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 Dptunit-sync.c43 struct pt_config config; member
54 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/contrib/kyua/utils/config/
H A Dtree_test.cpp29 #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 Dlua_module_test.cpp29 #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 DMakefile.am.inc33 libutils_a_SOURCES += utils/config/exceptions.cpp
34 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 Dnodes_test.cpp29 #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 …]
H A Dparser_test.cpp29 #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 …]
/freebsd/crypto/openssh/.github/workflows/
H A Dc-cpp.yml11 name: "${{ matrix.target }} ${{ matrix.config }}"
25 config: [default]
29 - { target: windows-2019, config: cygwin-release }
30 - { target: windows-2022, config: cygwin-release }
31 - { target: ubuntu-20.04, config: valgrind-1 }
32 - { target: ubuntu-20.04, config: valgrind-2 }
33 - { target: ubuntu-20.04, config: valgrind-3 }
34 - { target: ubuntu-20.04, config: valgrind-4 }
35 - { target: ubuntu-20.04, config: valgrind-unit }
36 - { target: ubuntu-20.04, config: c89 }
[all …]
H A Dselfhosted.yml9 name: "${{ matrix.target }} ${{ matrix.config }}"
17 TARGET_CONFIG: ${{ matrix.config }}
18 …h(matrix.host, 'libvirt') && format('{0}-{1}-{2}', matrix.target, matrix.config, github.run_id) ||…
27 # default config. "target" corresponds to a label associated with the
58 config:
64 - { target: aix51, config: default, host: libvirt-hipri }
65 - { target: openindiana, config: pam, host: libvirt-hipri }
66 - { target: sol10, config: default, host: libvirt-hipri }
67 - { target: sol10, config: pam, host: libvirt-hipri }
68 - { target: sol11, config: default, host: libvirt-hipri }
[all …]
/freebsd/contrib/wpa/wpa_supplicant/
H A Dconfig_file.c19 #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() argument
293 wpa_config_set_blob(config, blob); in wpa_config_process_blob()
307 struct wpa_config *config; in wpa_config_read() local
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->ssid; in wpa_config_read()
[all …]
/freebsd/contrib/mandoc/
H A DMakefile.depend1 arch.o: arch.c config.h roff.h
2 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 …
5 chars.o: chars.c config.h mandoc.h mandoc_aux.h mandoc_dbg.h mandoc_ohash.h compat_ohash.h libmando…
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.h
[all …]
/freebsd/sys/isa/
H A Dpnpparse.c60 struct isa_config *config, int ldn) in pnp_parse_desc() argument
99 if (config->ic_nirq == ISA_NIRQ) { in pnp_parse_desc()
105 config->ic_irqmask[config->ic_nirq] = 0; in pnp_parse_desc()
106 config->ic_nirq++; in pnp_parse_desc()
112 config->ic_irqmask[config->ic_nirq] = I16(res); in pnp_parse_desc()
113 config->ic_nirq++; in pnp_parse_desc()
117 if (config->ic_ndrq == ISA_NDRQ) { in pnp_parse_desc()
123 config->ic_drqmask[config->ic_ndrq] = 0; in pnp_parse_desc()
124 config->ic_ndrq++; in pnp_parse_desc()
130 config->ic_drqmask[config->ic_ndrq] = res[0]; in pnp_parse_desc()
[all …]
/freebsd/contrib/pam-krb5/tests/module/
H A Dpassword-t.c17 #include <config.h>
36 check_authtok(pam_handle_t *pamh, const struct script_config *config, in check_authtok() argument
44 is_string(config->newpass, authtok, "...and it is correct"); in check_authtok()
51 struct script_config config; in main() local
57 memset(&config, 0, sizeof(config)); in main()
58 config.user = krbconf->username; in main()
59 config.password = krbconf->password; in main()
60 config.extra[0] = krbconf->userprinc; in main()
73 config.newpass = newpass; in main()
74 run_script("data/scripts/password/too-long", &config); in main()
[all …]
H A Dexpired-t.c16 #include <config.h>
34 struct script_config config; in main() local
42 memset(&config, 0, sizeof(config)); in main()
43 config.user = krbconf->username; in main()
44 config.password = krbconf->password; in main()
45 config.extra[0] = krbconf->userprinc; in main()
56 config.extra[1] = date; in main()
75 config.newpass = newpass; in main()
87 run_script("data/scripts/expired/basic-heimdal", &config); in main()
88 config.newpass = krbconf->password; in main()
[all …]
H A Dalt-auth-t.c17 #include <config.h>
29 struct script_config config; in main() local
40 memset(&config, 0, sizeof(config)); in main()
41 config.user = "bogus-nonexistent-account"; in main()
42 config.authtok = krbconf->password; in main()
43 config.extra[0] = krbconf->username; in main()
44 config.extra[1] = krbconf->userprinc; in main()
52 config.extra[2] = "bogus.example.com"; in main()
56 run_script("data/scripts/alt-auth/basic", &config); in main()
57 run_script("data/scripts/alt-auth/basic-debug", &config); in main()
[all …]
/freebsd/share/examples/sound/oss/
H A Daudio.c68 typedef struct config { struct
114 oss_split(config_t *config, sample_t *input, sample_t *output) in oss_split() argument
118 for (i = 0; i < config->sample_count; ++i) { in oss_split()
119 channel = i % config->channels; in oss_split()
120 index = i / config->channels; in oss_split()
130 oss_merge(config_t *config, sample_t *input, sample_t *output) in oss_merge() argument
134 for (channel = 0; channel < config->channels; ++channel) { in oss_merge()
135 for (index = 0; index < config->chsamples; ++index) { in oss_merge()
136 output[index * config->channels + channel] = in oss_merge()
143 oss_init(config_t *config) in oss_init() argument
[all …]
/freebsd/contrib/pam-krb5/tests/pam-util/
H A Doptions-t.c33 #include <config.h>
79 * config option is set to the expected value.
113 * Allocate and initialize a new struct config.
123 * Free a struct config and all of its members.
126 config_free(struct pam_config *config) in config_free() argument
128 if (config == NULL) in config_free()
130 vector_free(config->cells); in config_free()
131 free(config->program); in config_free()
132 free(config); in config_free()
175 args->config = config_new(); in main()
[all …]
/freebsd/contrib/netbsd-tests/lib/librefuse/
H A Dt_refuse_opt.c171 struct foofs_config *config = data; in foo_opt_proc() local
173 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/contrib/pam-krb5/module/
H A Doptions.c17 #include <config.h>
90 struct pam_config *config = NULL; in pamk5_init() local
96 config = calloc(1, sizeof(struct pam_config)); in pamk5_init()
97 if (config == NULL) { in pamk5_init()
100 args->config = config; in pamk5_init()
107 * We will then ignore args->config->realm, set later by option parsing, in pamk5_init()
121 free(config); in pamk5_init()
131 if (config->debug) { in pamk5_init()
134 if (config->silent) { in pamk5_init()
139 if (config->banner != NULL && config->banner[0] == '\0') { in pamk5_init()
[all …]
/freebsd/contrib/llvm-project/lld/ELF/
H A DLTO.cpp10 #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->ltoBasicBlockSections == "all") { in createConfig()
[all …]
H A DDriver.cpp26 #include "Config.h"
53 #include "llvm/Config/llvm-config.h"
81 ConfigWrapper elf::config; member in elf
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->isStatic) { in addFile()
380 if (config->emachine == EM_MIPS && config->gnuHash) in checkOptions()
[all …]
/freebsd/sys/contrib/device-tree/src/arm/st/
H A Dste-dbx5x0-pinctrl.dtsi18 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/stand/lua/
H A Dconfig.lua.831 .Nm config.lua
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
99 .Fn config.processFile
[all …]
/freebsd/contrib/llvm-project/lld/COFF/
H A DDriver.cpp11 #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 isDecorated()
380 if (ctx.config.machine == I386 && ctx.config.mingw) { in parseDirectives()
387 ctx.config.exports.push_back(exp); in parseDirectives()
418 ctx.config.entry = addUndefined(mangle(arg->getValue())); in parseDirectives()
[all …]
/freebsd/contrib/bmake/mk/
H A Dautoconf.mk18 .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
[all...]

12345678910>>...183