| /freebsd-src/crypto/openssh/.github/workflows/ |
| H A D | c-cpp.yml | 11 if: github.repository != 'openssh/openssh-portable-selfhosted' 13 fail-fast: false 17 - ubuntu-20.04 18 - ubuntu-22.04 19 - macos-11 20 - macos-12 21 - macos-13 22 - windows-2019 23 - windows-2022 24 config: [default] [all …]
|
| H A D | selfhosted.yml | 1 name: C/C++ CI self-hosted 9 if: github.repository == 'openssh/openssh-portable-selfhosted' 10 runs-on: ${{ matrix.host }} 11 timeout-minutes: 600 15 TARGET_CONFIG: ${{ matrix.config }} 17 fail-fast: false 19 # default config. "target" corresponds to a label associated with the 23 - alpine 24 - centos7 25 - debian-i386 [all …]
|
| /freebsd-src/contrib/wpa/wpa_supplicant/ |
| H A D | config_file.c | 3 * Copyright (c) 2003-2019, Jouni Malinen <j@w1.fi> 19 #include "config.h" 26 #include "utils/config.h" 33 if (ssid->passphrase) { in wpa_config_validate_network() 34 if (ssid->psk_set) { in wpa_config_validate_network() 42 if (ssid->disabled == 2) in wpa_config_validate_network() 43 ssid->p2p_persistent_group = 1; in wpa_config_validate_network() 45 if ((ssid->group_cipher & WPA_CIPHER_CCMP) && in wpa_config_validate_network() 46 !(ssid->pairwise_cipher & (WPA_CIPHER_CCMP | WPA_CIPHER_CCMP_256 | in wpa_config_validate_network() 53 ssid->group_ciphe in wpa_config_validate_network() 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...] |
| H A D | config_winreg.c | 3 * Copyright (c) 2003-2019, Jouni Malinen <j@w1.fi> 26 key_mgmt=WPA-PSK 34 #include "config.h" 50 static int wpa_config_read_blobs(struct wpa_config *config, HKEY hk) in wpa_config_read_blobs() argument 60 wpa_printf(MSG_DEBUG, "Could not open wpa_supplicant config " in wpa_config_read_blobs() 86 namelen = TNAMELEN - 1; in wpa_config_read_blobs() 91 datalen = sizeof(data) - 1; in wpa_config_read_blobs() 101 blob->name = os_strdup((char *) name); in wpa_config_read_blobs() 102 blob->data = os_memdup(data, datalen); in wpa_config_read_blobs() 103 if (blob->nam in wpa_config_read_blobs() 163 wpa_config_read_global_uuid(struct wpa_config * config,HKEY hk) wpa_config_read_global_uuid() argument 181 wpa_config_read_global_os_version(struct wpa_config * config,HKEY hk) wpa_config_read_global_os_version() argument 201 wpa_config_read_global(struct wpa_config * config,HKEY hk) wpa_config_read_global() argument 383 wpa_config_read_networks(struct wpa_config * config,HKEY hk) wpa_config_read_networks() argument 453 struct wpa_config *config; wpa_config_read() local 563 wpa_config_write_global(struct wpa_config * config,HKEY hk) wpa_config_write_global() argument 1010 wpa_config_write(const char * name,struct wpa_config * config) wpa_config_write() argument [all...] |
| /freebsd-src/sys/isa/ |
| H A D | pnpparse.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 61 struct isa_config *config, int ldn) in pnp_parse_desc() argument 100 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() [all …]
|
| /freebsd-src/share/examples/sound/ |
| H A D | ossinit.h | |
| /freebsd-src/contrib/processor-trace/libipt/test/src/ |
| H A D | ptunit-sync.c | 2 * Copyright (c) 2014-2019, Intel Corporation 34 #include "intel-pt.h" 43 struct pt_config config; member 52 memset(sfix->buffer, 0xcd, sizeof(sfix->buffer)); in sfix_init() 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() 82 ptu_int_eq(errcode, -pte_internal); in sync_fwd_null() [all …]
|
| H A D | ptunit-config.c | 2 * Copyright (c) 2015-2019, Intel Corporation 34 #include "intel-pt.h" 44 struct pt_config config; in from_user_null() local 47 errcode = pt_config_from_user(NULL, &config); in from_user_null() 48 ptu_int_eq(errcode, -pte_internal); in from_user_null() 50 errcode = pt_config_from_user(&config, NULL); in from_user_null() 51 ptu_int_eq(errcode, -pte_invalid); 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() [all …]
|
| /freebsd-src/contrib/kyua/utils/config/ |
| H A D | tree_test.cpp | 29 #include "utils/config/tree.ipp" 31 #include <atf-c++.hpp> 33 #include "utils/config/nodes.ipp" 37 namespace config = utils::config; 71 class wrapped_int_node : public config::typed_leaf_node< int_wrapper > { 75 /// \return A dynamically-allocated node. 80 new_node->_value = _value; in deep_copy() 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() [all …]
|
| H A D | nodes_test.cpp | 29 #include "utils/config/nodes.ipp" 31 #include <atf-c++.hpp> 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() [all …]
|
| /freebsd-src/contrib/llvm-project/lld/ELF/ |
| H A D | LTO.cpp | 1 //===- LTO.cpp --------- [all...] |
| H A D | Driver.cpp | 1 //===- Driver.cpp --------- 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/contrib/netbsd-tests/lib/librefuse/ |
| H A D | t_refuse_opt.c | 3 /*- 34 #include <atf-c.h> 121 struct fuse_opt o1[] = { FUSE_OPT_KEY("-x" , 0), FUSE_OPT_END }; in ATF_TC_BODY() 125 struct fuse_opt o5[] = { FUSE_OPT_KEY("-x " , 0), FUSE_OPT_END }; in ATF_TC_BODY() 126 struct fuse_opt o6[] = { FUSE_OPT_KEY("-x %s" , 0), FUSE_OPT_END }; in ATF_TC_BODY() 128 ATF_CHECK(fuse_opt_match(o1, "-x") == 1); in ATF_TC_BODY() 132 ATF_CHECK(fuse_opt_match(o2, "-foo") == 0); in ATF_TC_BODY() 140 ATF_CHECK(fuse_opt_match(o5, "-xbar" ) == 1); in ATF_TC_BODY() 141 ATF_CHECK(fuse_opt_match(o5, "-x" ) == 1); in ATF_TC_BODY() 142 ATF_CHECK(fuse_opt_match(o5, "-x=bar") == 1); in ATF_TC_BODY() [all …]
|
| /freebsd-src/contrib/llvm-project/lld/COFF/ |
| H A D | Driver.cpp | 1 //===- Driver.cpp --------- 1428 Configuration *config = &ctx.config; linkerMain() local [all...] |
| H A D | LTO.cpp | 1 //===- LTO.cpp --------- [all...] |
| /freebsd-src/sys/contrib/openzfs/contrib/pam_zfs_key/ |
| H A D | pam_zfs_key.c | 98 for (int i = retries; i > 0; --i) { in try_lock() 115 pw->len = len; in alloc_pw_size() 125 pw->value = mmap(NULL, pw->len, PROT_READ | PROT_WRITE, MAP_FLAGS, in alloc_pw_size() 126 -1, 0); in alloc_pw_size() 128 if (pw->value == MAP_FAILED) { in alloc_pw_size() 132 if (try_lock(mlock, pw->value, pw->len) != 0) { in alloc_pw_size() 133 (void) munmap(pw->value, pw->len); in alloc_pw_size() 149 memcpy(pw->value, source, pw->len); in alloc_pw_string() 156 memset(pw->value, 0, pw->len); in pw_free() 157 if (try_lock(munlock, pw->value, pw->len) == 0) { in pw_free() [all …]
|
| /freebsd-src/contrib/bmake/mk/ |
| H A D | autoconf.mk | 1 # SPDX-License-Identifier: BSD-2-Clause 5 # @(#) Copyright (c) 1996-2024, Simon J. Gerraty 14 # Please send copies of changes and bug-fixes to: 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 [all …]
|
| /freebsd-src/stand/lua/ |
| H A D | config.lua.8 | 2 .\" SPDX-License-Identifier: BSD-2-Clause 31 .Nm config.lua 32 .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 51 for a more in-depth explanation of carousels. 52 .It Fn config.setCarouselIndex id idx 60 .It Fn config.readConf file loaded_files 69 variable. Additionnaly, the top-level call to readConf will process files listed in the [all …]
|
| /freebsd-src/contrib/processor-trace/libipt/src/ |
| H A D | pt_packet.c | 2 * Copyright (c) 2013-2019, Intel Corporation 32 #include "intel-pt.h" 53 const struct pt_config *config) in pt_pkt_read_unknown() argument 59 if (!packet || !pos || !config) in pt_pkt_read_unknown() 60 return -pte_internal; in pt_pkt_read_unknown() 62 decode = config->decode.callback; in pt_pkt_read_unknown() 64 return -pte_bad_opc; in pt_pkt_read_unknown() 67 packet->payload.unknown.packet = pos; in pt_pkt_read_unknown() 68 packet->payload.unknown.priv = NULL; in pt_pkt_read_unknown() 73 size = (*decode)(&packet->payload.unknown, config, pos, in pt_pkt_read_unknown() [all …]
|
| /freebsd-src/contrib/tcsh/ |
| H A D | Ported | 5 find it out-of-date, or you have additions or changes, please let me know. 14 LIBES : -ltermcap 16 CONFIG : sunos* 25 LIBES : -lcurses -lsocket -lnsl 27 CONFIG : sol* 29 NOTES : The sunpro compiler cannot compile tcsh with -O, it crashes 30 : on some files. In any case do not use -O with any of the 41 LIBES : -lcurses -lsocket -lnsl 43 CONFIG : sol26 52 LIBES : -lcurses -lsocket -lnsl [all …]
|
| /freebsd-src/contrib/llvm-project/lld/MachO/ |
| H A D | LTO.cpp | 1 //===- LTO.cpp ------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 #include "Config.h" 22 #include "llvm/LTO/Config.h" 37 return lto::getThinLTOOutputFile(modulePath, config->thinLTOPrefixReplaceOld, in getThinLTOOutputFile() 38 config->thinLTOPrefixReplaceNew); in getThinLTOOutputFile() 41 static lto::Config createConfig() { in createConfig() 42 lto::Config c; in createConfig() 44 c.Options.EmitAddrsig = config->icfLevel == ICFLevel::safe; in createConfig() [all …]
|
| H A D | Driver.cpp | 1 //===- Driver.cpp --------- 64 std::unique_ptr<Configuration> macho::config; global() member in macho [all...] |
| /freebsd-src/contrib/llvm-project/llvm/lib/ObjCopy/ELF/ |
| H A D | ELFObjcopy.cpp | 1 //===- ELFObjcopy.cpp --------- 157 createELFWriter(const CommonConfig & Config,Object & Obj,raw_ostream & Out,ElfType OutputElfType) createELFWriter() argument 178 createWriter(const CommonConfig & Config,Object & Obj,raw_ostream & Out,ElfType OutputElfType) 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/usr.sbin/nscd/ |
| H A D | config.c | 1 /*- 40 #include "config.h" 70 return (strcmp((*((struct configuration_entry **)e1))->name, in configuration_entry_sort_cmp() 71 (*((struct configuration_entry **)e2))->name in configuration_entry_sort_cmp() 79 (*((struct configuration_entry **)e2))->name in configuration_entry_cmp() 86 return (strcmp((*((cache_entry *)e1))->params->entry_name, in configuration_entry_cache_mp_sort_cmp() 87 (*((cache_entry *)e2))->params->entry_name in configuration_entry_cache_mp_sort_cmp() 95 (*((cache_entry *)e2))->params->entry_name in configuration_entry_cache_mp_cmp() 103 (*((cache_entry *)e2))->params->entry_name, in configuration_entry_cache_mp_part_cmp() 130 res = pthread_mutex_init(&retval->positive_cache_lock, NULL); in create_configuration_entry() [all …]
|
| /freebsd-src/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | allocator_config.h | 1 //===-- allocator_config.h -------- 267 typedef AndroidConfig Config; global() typedef 269 typedef FuchsiaConfig Config; global() typedef 271 typedef TrustyConfig Config; global() typedef 273 typedef DefaultConfig Config; global() typedef [all...] |