Home
last modified time | relevance | path

Searched +full:set +full:- +full:env (Results 1 – 25 of 944) sorted by relevance

12345678910>>...38

/freebsd/contrib/unbound/cachedb/
H A Dredis.c2 * cachedb/redis.c - cachedb redis module
57 /* thread-specific redis contexts */
95 /* if the SET with EX command is supported */
110 if((*moddata)->ctxs) { in moddata_clean()
112 for(i = 0; i < (*moddata)->numctxs; i++) { in moddata_clean()
113 if((*moddata)->ctxs[i]) in moddata_clean()
114 redisFree((*moddata)->ctxs[i]); in moddata_clean()
116 free((*moddata)->ctxs); in moddata_clean()
118 if((*moddata)->replica_ctxs) { in moddata_clean()
120 for(i = 0; i < (*moddata)->numctxs; i++) { in moddata_clean()
[all …]
H A Dcachedb.c2 * cachedb/cachedb.c - cache from a database external to the program module
105 testframe_init(struct module_env* env, struct cachedb_env* cachedb_env) in testframe_init()
111 cachedb_env->backend_data = (void*)d; in testframe_init()
112 if(!cachedb_env->backend_data) { in testframe_init()
120 0 /* no aggregation */, env)) { in testframe_init()
125 lock_basic_init(&d->lock); in testframe_init()
126 lock_protect(&d->lock, d, sizeof(*d)); in testframe_init()
131 testframe_deinit(struct module_env* env, struct cachedb_env* cachedb_env) in testframe_deinit()
134 cachedb_env->backend_data; in testframe_deinit()
135 (void)env; in testframe_deinit()
104 testframe_init(struct module_env * env,struct cachedb_env * cachedb_env) testframe_init() argument
130 testframe_deinit(struct module_env * env,struct cachedb_env * cachedb_env) testframe_deinit() argument
145 testframe_lookup(struct module_env * env,struct cachedb_env * cachedb_env,char * key,struct sldns_buffer * result_buffer) testframe_lookup() argument
172 testframe_store(struct module_env * env,struct cachedb_env * cachedb_env,char * key,uint8_t * data,size_t data_len,time_t ATTR_UNUSED (ttl)) testframe_store() argument
244 cachedb_init(struct module_env * env,int id) cachedb_init() argument
274 cachedb_deinit(struct module_env * env,int id) cachedb_deinit() argument
331 calc_hash(struct query_info * qinfo,struct module_env * env,char * buf,size_t len) calc_hash() argument
974 cachedb_get_mem(struct module_env * env,int id) cachedb_get_mem() argument
998 cachedb_is_enabled(struct module_stack * mods,struct module_env * env) cachedb_is_enabled() argument
1015 cachedb_msg_remove_qinfo(struct module_env * env,struct query_info * qinfo) cachedb_msg_remove_qinfo() argument
[all...]
/freebsd/contrib/bmake/unit-tests/
H A Dvarname-dot-make-level.mk1 # $NetBSD: varname-dot-make-level.mk,v 1.6 2025/03/22 12:23:00 rillig Exp $
7 all: .PHONY level_1 set-env-same set-env-different
9 # expect: level 1: variable 0, env 1
11 @printf 'level 1: variable %s, env %s\n' ${.MAKE.LEVEL} "$$${.MAKE.LEVEL.ENV}"
12 @${MAKE} -f ${MAKEFILE} level_2
14 # expect: level 2: variable 1, env 2
16 @printf 'level 2: variable %s, env %s\n' ${.MAKE.LEVEL} "$$${.MAKE.LEVEL.ENV}"
17 @${MAKE} -f ${MAKEFILE} level_3
19 # The .unexport-env directive clears the environment, except for the
20 # .MAKE.LEVEL.ENV make variable, which by default refers to the MAKELEVEL
[all …]
H A Dvarname-dot-make-level.exp1 level 1: variable 0, env 1
2 level 2: variable 1, env 2
3 level 3: variable 2, env 3
4 : set-env-same
6 : set-env-different
7 make: Cannot override read-only global variable ".MAKE.LEVEL.ENV" with a command line variable
9 make: Fatal errors encountered -- cannot continue
10 make: stopped making "ok" in unit-tests
11 set-env-different: exit 1
/freebsd/contrib/googletest/googletest/test/
H A Dgtest_environment_test.cc37 #include "src/gtest-internal-inl.h"
54 // generate a non-fatal failure, generate a fatal failure, or
61 ADD_FAILURE() << "Expected non-fatal failure in global set-up."; in SetUp()
64 FAIL() << "Expected fatal failure in global set-up."; in SetUp()
71 // Generates a non-fatal failure.
74 ADD_FAILURE() << "Expected non-fatal failure in global tear-down."; in TearDown()
77 // We call this function to set the type of failure SetUp() should
100 // be generated by the global set-up.
101 int RunAllTests(MyEnvironment* env, FailureType failure) { in RunAllTests() argument
105 env->set_failure_in_set_up(failure); in RunAllTests()
[all …]
/freebsd/contrib/atf/atf-c++/detail/
H A Denv_test.cpp26 #include "atf-c++/detail/env.hpp"
28 #include <atf-c++.hpp>
30 // ------------------------------------------------------------------------
32 // ------------------------------------------------------------------------
41 ATF_REQUIRE(atf::env::has("PATH")); in ATF_TEST_CASE_BODY()
42 ATF_REQUIRE(!atf::env::get("PATH").empty()); in ATF_TEST_CASE_BODY()
44 ATF_REQUIRE(!atf::env::has("_UNDEFINED_VARIABLE_")); in ATF_TEST_CASE_BODY()
54 ATF_REQUIRE(atf::env::has("PATH")); in ATF_TEST_CASE_BODY()
55 ATF_REQUIRE(atf::env::get("PATH", "default value") != "default value"); in ATF_TEST_CASE_BODY()
57 ATF_REQUIRE_EQ(atf::env::get("_UNDEFINED_VARIABLE_", "foo bar"), "foo bar"); in ATF_TEST_CASE_BODY()
[all …]
/freebsd/contrib/netbsd-tests/fs/ffs/
H A Dt_setquota.sh32 "set quota with ${q} enabled" -b ${e} ${v} ${q}
34 "set quota for new id with ${q} enabled" -b ${e} ${v} ${q}
36 "set default quota with ${q} enabled" -b ${e} ${v} ${q}
39 "set quota with both enabled" -b ${e} ${v} "both"
41 "set quota for new id with both enabled" -b ${e} ${v} "both"
43 "set quota for new id with both enabled, WAPBL" -bl ${e} ${v} "both"
45 "set default quota with both enabled" -b ${e} ${v} "both"
74 #check that we can set the expected quota
76 local id=$(id -${q})
77 atf_check -s exit:0 \
[all …]
/freebsd/crypto/openssl/test/ssl-tests/
H A D13-fragmentation.cnf5 test-0 = 0-one-fragment-minus-app-data
6 test-1 = 1-one-fragment-app-data
7 test-2 = 2-one-fragment-plus-app-data
8 test-3 = 3-small-app-data
9 test-4 = 4-small-app-data-large-fragment-size
10 test-5 = 5-medium-app-data
11 test-6 = 6-medium-plus-app-data
12 test-7 = 7-large-app-data
13 test-8 = 8-large-app-data-large-fragment-size
14 test-9 = 9-large-app-data-odd-fragment-size
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerFork.cpp1 //===- FuzzerFork.cpp - run fuzzing in separate subprocesses --------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 //===----------------------------------------------------------------------===//
95 std::set<uint32_t> Features, Cov;
96 std::set<std::string> FilesWithDFT;
116 std::chrono::system_clock::now() - ProcessStartTime) in secondsSinceProcessStartUp()
144 size_t StartIndex = ((JobId - 1) % NumCorpuses) * AverageCorpusSize; in CreateNewJob()
149 : Rand->SkewTowardsLast(Files.size()); in CreateNewJob()
156 auto &SF = Files[Rand->SkewTowardsLast(Files.size())]; in CreateNewJob()
[all …]
/freebsd/crypto/openssh/.github/
H A Drun_test.sh5 [ -z "${SUDO}" ] || ${SUDO} mkdir -p /var/empty
7 set -ex
9 # If we want to test hostbased auth, set up the host for it.
10 if [ ! -z "$SUDO" ] && [ ! -z "$TEST_SSH_HOSTBASED_AUTH" ]; then
12 $SUDO mkdir -p "${sshconf}"
15 $SUDO mkdir -p $sshconf
16 $SUDO cp -p /etc/ssh/ssh_host*key* $sshconf
20 $SUDO tee -a $sshconf/ssh_known_hosts >/dev/null
26 if [ -f "$i" ]; then
27 echo -------------------------------------------------------------------------
[all …]
/freebsd/contrib/unbound/daemon/
H A Ddaemon.c2 * daemon/daemon.c - collection of workers that handles requests.
99 #include <systemd/sd-daemon.h>
261 daemon->need_to_exit = 0; in daemon_init()
262 modstack_init(&daemon->mods); in daemon_init()
263 if(!(daemon->env = (struct module_env*)calloc(1, in daemon_init()
264 sizeof(*daemon->env)))) { in daemon_init()
268 daemon->env in daemon_init()
[all...]
/freebsd/contrib/unbound/ipset/
H A Dipset.h13 * ipset (local-zone statements) into a firewall rule IPSet. For firewall
16 * To use the IPset module, install the libmnl-dev (or libmnl-devel) package
17 * and configure with --enable-ipset. And compile. Then enable the ipset
18 * module in unbound.conf with module-config: "ipset validator iterator"
19 * then create it with ipset -N blacklist iphash and then add
20 * local-zone: "example.com." ipset
22 * looked up added to the set.
24 * Set the name of the set with
26 * name-v4: "blacklist"
27 * name-v6: "blacklist6"
[all …]
/freebsd/contrib/tcpdump/cmake/Modules/
H A DFindCRYPTO.cmake12 # First, try looking for it with pkg-config, if we have it.
17 # Homebrew's pkg-config does not, by default, look for
18 # pkg-config files for packages it has installed.
20 # dumped in package-specific directories whose paths are
21 # not only package-specific but package-version-specific.
24 # PKG_CONFIG_PATH from "brew --env openssl" and add that
29 # That's the nice thing about Homebrew - it makes things easier!
36 # Get the pkg-config directory for openssl.
38 execute_process(COMMAND "${BREW}" "--env" "--plain" "openssl"
45 # brew --env --plain openssl succeeded.
[all …]
/freebsd/contrib/sqlite3/autosetup/
H A Dpkg-config.tcl6 # The 'pkg-config' module allows package information to be found via 'pkg-config'.
8 # If not cross-compiling, the package path should be determined automatically
9 # by 'pkg-config'.
10 # If cross-compiling, the default package path is the compiler sysroot.
11 # If the C compiler doesn't support '-print-sysroot', the path can be supplied
12 # by the '--sysroot' option or by defining 'SYSROOT'.
14 # 'PKG_CONFIG' may be set to use an alternative to 'pkg-config'.
19 sysroot:dir => "Override compiler sysroot for pkg-config search path"
22 # @pkg-config-init ?required?
24 # Initialises the 'pkg-config' system. Unless '$required' is set to 0,
[all …]
/freebsd/contrib/unbound/dnstap/
H A Ddnstap.c4 * Copyright (c) 2013-2014, Farsight Security, Inc.
52 #include <protobuf-c/protobuf-c.h>
56 #include "dnstap/dnstap.pb-c.h"
91 dt_sample_rate_limited(struct dt_env* env) in dt_sample_rate_limited() argument
93 lock_basic_lock(&env->sample_lock); in dt_sample_rate_limited()
95 if(env->sample_rate > 1) { in dt_sample_rate_limited()
98 if (env->sample_rate_count > env->sample_rate) { in dt_sample_rate_limited()
103 env->sample_rate_count = 0; in dt_sample_rate_limited()
106 env->sample_rate_count++; in dt_sample_rate_limited()
107 lock_basic_unlock(&env->sample_lock); in dt_sample_rate_limited()
[all …]
/freebsd/contrib/ofed/libmlx5/
H A Dmlx5.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
47 #include "mlx5-abi.h"
70 HCA(MELLANOX, 4113), /* MT4113 Connect-IB */
71 HCA(MELLANOX, 4114), /* Connect-IB Virtual Function */
72 HCA(MELLANOX, 4115), /* ConnectX-4 */
73 HCA(MELLANOX, 4116), /* ConnectX-4 Virtual Function */
74 HCA(MELLANOX, 4117), /* ConnectX-4LX */
75 HCA(MELLANOX, 4118), /* ConnectX-4LX Virtual Function */
76 HCA(MELLANOX, 4119), /* ConnectX-5, PCIe 3.0 */
[all …]
/freebsd/contrib/unbound/iterator/
H A Diter_utils.h2 * iterator/iter_utils.h - iterative resolver module utility functions.
76 * Process config options and set iterator module state.
89 * do-not-query-addresses.
90 * @param env: environment with infra cache (lameness, rtt info).
95 * @param dnssec_lame: set to 1, if a known dnssec-lame server is selected
97 * @param chase_to_rd: set to 1 if a known recursion lame server is selected
110 struct module_env* env, struc
[all...]
/freebsd/contrib/pam-krb5/tests/tap/perl/Test/RRA/
H A DAutomake.pm7 # require closely following the conventions implemented by the rra-c-util
10 # All the functions here assume that C_TAP_BUILD and C_TAP_SOURCE are set in
14 # SPDX-License-Identifier: MIT
36 $PERL_BLIB_ARCH = File::Spec->catdir(qw(perl blib arch));
37 $PERL_BLIB_LIB = File::Spec->catdir(qw(perl blib lib));
39 # If C_TAP_BUILD is set, we can come up with better values.
40 if (defined($ENV{C_TAP_BUILD})) {
41 my ($vol, $dirs) = File::Spec->splitpath($ENV{C_TAP_BUILD}, 1);
42 my @dirs = File::Spec->splitdir($dirs);
44 $PERL_BLIB_ARCH = File::Spec->catdir(@dirs, qw(perl blib arch));
[all …]
/freebsd/tests/sys/kern/
H A Djailmeta.sh2 # SPDX-License-Identifier: BSD-2-Clause
13 if [ $(sysctl -n security.jail.meta_maxbufsize) -lt 128 ]; then
21 atf_set descr 'Test that metadata can be set upon jail creation with jail(8)'
29 atf_check -s not-exit:0 -e match:"not found" -o ignore \
30 jls -jj
32 atf_check -s exit:0 \
33 jail -c name=j persist meta="a b c" env="C B A"
35 atf_check -s exit:0 -o inline:"a b c\n" \
36 jls -jj meta
37 atf_check -s exit:0 -o inline:"C B A\n" \
[all …]
/freebsd/crypto/openssh/.github/workflows/
H A Dselfhosted.yml1 name: C/C++ CI self-hosted
10 if: github.repository == 'openssh/openssh-portable-selfhosted'
11 runs-on: ${{ matrix.host }}
12 timeout-minutes: 600
13 env:
18 …TARGET_DOMAIN: ${{ startsWith(matrix.host, 'libvirt') && format('{0}-{1}-{2}', matrix.target, matr…
24 …: ${{ matrix.target == 'aix51' || matrix.target == 'fbsd14-ppc64' || matrix.target == 'openwrt-mip…
26 fail-fast: false
32 - alpine
33 - centos7
[all …]
/freebsd/crypto/openssl/crypto/cms/
H A Dcms_env.c2 * Copyright 2008-2025 The OpenSSL Project Authors. All Rights Reserved.
24 static void cms_env_set_version(CMS_EnvelopedData *env);
31 int nid = OBJ_obj2nid(cms->contentType); in cms_get_enveloped_type_simple()
56 if (OBJ_obj2nid(cms->contentType) != NID_pkcs7_enveloped) { in ossl_cms_get0_enveloped()
60 return cms->d.envelopedData; in ossl_cms_get0_enveloped()
65 if (OBJ_obj2nid(cms->contentType) != NID_id_smime_ct_authEnvelopedData) { in ossl_cms_get0_auth_enveloped()
69 return cms->d.authEnvelopedData; in ossl_cms_get0_auth_enveloped()
74 if (cms->d.other == NULL) { in cms_enveloped_data_init()
75 cms->d.envelopedData = M_ASN1_new_of(CMS_EnvelopedData); in cms_enveloped_data_init()
76 if (cms->d.envelopedData == NULL) { in cms_enveloped_data_init()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/
H A DTriple.h1 //===-- llvm/TargetParser/Triple.h - Target triple helper class--*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
23 /// Triple - Helper class for working with autoconf configuration names. For
28 /// ARCHITECTURE-VENDOR-OPERATING_SYSTEM
30 /// ARCHITECTURE-VENDOR-OPERATING_SYSTEM-ENVIRONMENT
39 /// Clients that need to handle the non-canonical triples that users often
56 bpfel, // eBPF or extended BPF or 64-bit BPF (little endian)
57 bpfeb, // eBPF or extended BPF or 64-bit BPF (big endian)
59 dxil, // DXIL 32-bit DirectX bytecode
[all …]
/freebsd/lib/libc/gen/
H A Dsetjmp.343 .Nd non-local jumps
49 .Fn sigsetjmp "sigjmp_buf env" "int savemask"
51 .Fn siglongjmp "sigjmp_buf env" "int val"
53 .Fn setjmp "jmp_buf env"
55 .Fn longjmp "jmp_buf env" "int val"
57 .Fn _setjmp "jmp_buf env"
59 .Fn _longjmp "jmp_buf env" "int val"
69 .Fa env .
96 .Fa env
123 pairs save and restore only the register set and the stack.
[all …]
/freebsd/contrib/bsddialog/
H A DCHANGELOG1 2025-08-15 Version 1.1
5 Thanks to https://gitlab.com/alfix/bsddialog/-/merge_requests/7
8 * add: --slider dialog.
9 Thanks to https://gitlab.com/alfix/bsddialog/-/merge_requests/7
11 2025-06-22 Version 1.0.5
14 * fix: "User-friendly documentation for alternate screen"
16 Improve bsddialog.1: --alternate-screen and --normal-screen.
19 * https://gitlab.com/alfix/bsddialog/-/merge_requests/4
21 * https://gitlab.com/alfix/bsddialog/-/merge_requests/5
25 https://gitlab.com/alfix/bsddialog/-/merge_requests/3
[all …]
/freebsd/contrib/unbound/util/
H A Dmodule.h2 * util/module.h - DNS handling module interface
49 * module as a whole, for entire-module state (such as a cache). And per-query
51 * the per-query state.
53 * Most per-query state should simply be allocated in the query region.
58 * function pointers for module-specific tasks (like sending queries).
79 * send a UDP query. The iterator uses env.send_query() to send the
103 * not really re-entry codepoints and services). During the operate call
112 * recursion. That is, it wants the full state-machine-lis
659 struct module_env* env; global() member
[all...]

12345678910>>...38