Home
last modified time | relevance | path

Searched +full:gen +full:- +full:3 (Results 1 – 25 of 648) sorted by relevance

12345678910>>...26

/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-param-test-test.cc35 #include "test/googletest-param-test-test.h"
47 #include "src/gtest-internal-inl.h" // for UnitTestOptions
138 const ParamGenerator<int> gen = Range(0, 10); in TEST() local
139 ParamGenerator<int>::iterator it = gen.begin(); in TEST()
173 const ParamGenerator<int> gen = Range(0, 3); in TEST() local
175 VerifyGenerator(gen, expected_values); in TEST()
181 const ParamGenerator<int> gen = Range(0, 1); in TEST() local
183 VerifyGenerator(gen, expected_values); in TEST()
189 const ParamGenerator<int> gen = Range(0, 0); in TEST() local
190 VerifyGeneratorIsEmpty(gen); in TEST()
[all …]
/freebsd/sys/dev/dcons/
H A Ddcons.c1 /*-
2 * SPDX-License-Identifier: BSD-4-Clause
15 * 3. All advertising materials mentioning features or use of this software
51 u_int32_t ptr, pos, gen, next_gen; in dcons_ischar() local
54 ch = &dc->i; in dcons_ischar()
56 ptr = ntohl(*ch->ptr); in dcons_ischar()
57 gen = ptr >> DCONS_GEN_SHIFT; in dcons_ischar()
59 if (gen == ch->gen && pos == ch->pos) in dcons_ischar()
62 next_gen = DCONS_NEXT_GEN(ch->gen); in dcons_ischar()
64 if ((gen != ch->gen && gen != next_gen) in dcons_ischar()
[all …]
/freebsd/kerberos5/lib/libhdb/
H A DMakefile1 PACKAGE= kerberos-lib
4 LDFLAGS+= -Wl,--no-undefined ${LDAPLDFLAGS}
5 VERSION_MAP= ${KRB5DIR}/lib/hdb/version-script.map
12 MAN= HDB.3 hdb_entry_ex.3
14 MLINKS= HDB.3 hdb__del.3 \
15 HDB.3 hdb__get.3 \
16 HDB.3 hdb__put.3 \
17 HDB.3 hdb_auth_status.3 \
18 HDB.3 hdb_check_constrained_delegation.3 \
19 HDB.3 hdb_check_pkinit_ms_upn_match.3 \
[all …]
/freebsd/crypto/openssl/test/smime-certs/
H A Dmksmime-certs.sh2 # Copyright 2013-2025 The OpenSSL Project Authors. All Rights Reserved.
16 gen() { function
17 $OPENSSL x509 -CA smroot.pem -new -days 36524 -force_pubkey $1 -subj "$2" \
18 -extfile $CONF -extensions $3
22 CN="Test S/MIME RSA Root" $OPENSSL req -config ca.cnf -x509 -noenc \
23 -keyout smroot.pem -out smroot.pem -key ../certs/ca-key.pem -days 36524
26 cp ../certs/ee-key.pem smrsa1.pem
27 gen smrsa1.pem "/CN=Test SMIME EE RSA #1" usr_rsa_cert >>smrsa1.pem
28 cp ../certs/ee-key-3072.pem smrsa2.pem
29 gen smrsa2.pem "/CN=Test SMIME EE RSA #2" usr_rsa_cert >>smrsa2.pem
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DVOPInstructions.td1 //===-- VOPInstructions.td - Vector Instruction Definitions ---------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
85 let AddedComplexity = -1000;
97 // need a post-isel hook to insert copies in order to avoid
126 // need a post-isel hook to insert copies in order to avoid
134 let AddedComplexity = -1000;
201 class VOP3_Real_Gen <VOP_Pseudo ps, GFXGen Gen, string asm_name = ps.Mnemonic> :
202 VOP3_Real <ps, Gen.Subtarget, asm_name> {
203 let AssemblerPredicate = Gen.AssemblerPredicate;
[all …]
/freebsd/crypto/openssh/
H A Ddh.c46 #include "openbsd-compat/openssl-compat.h"
64 char *strsize, *gen, *prime; in parse_prime() local
68 dhg->p = dhg->g = NULL; in parse_prime()
110 (dhg->size = (int)strtonum(strsize, 0, 64*1024, &errstr)) == 0 || in parse_prime()
116 dhg->size++; in parse_prime()
117 gen = strsep(&cp, " "); /* gen */ in parse_prime()
118 if (cp == NULL || *gen == '\0') in parse_prime()
127 if ((dhg->g = BN_new()) == NULL || in parse_prime()
128 (dhg->p = BN_new()) == NULL) { in parse_prime()
132 if (BN_hex2bn(&dhg->g, gen) == 0) { in parse_prime()
[all …]
/freebsd/sys/dev/qat/qat_api/common/include/
H A Dsal_hw_gen.h1 /* SPDX-License-Identifier: BSD-3-Clause */
2 /* Copyright(c) 2007-2022 Intel Corporation */
25 * @description This function returns whether qat device is gen 4 or not
34 return (pService->generic_service_info.gen == GEN4); in isDcGen4x()
41 * @description This function returns whether qat device is gen 2/3 or not
50 return ((pService->generic_service_info.gen == GEN2) || in isDcGen2x()
51 (pService->generic_service_info.gen == GEN3)); in isDcGen2x()
58 * @description This function returns whether qat device is gen 4 or not
67 return (pService->generic_service_info.gen == GEN4); in isCyGen4x()
74 * @description This function returns whether qat device is gen 2/3 or not
[all …]
/freebsd/sys/security/mac_veriexec/
H A Dveriexec_metadata.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
53 * @brief per-device meta-data storage
58 /**< list of per-file meta-data information */
66 * @brief Mutex to protect the meta-data store lists
71 * @brief Executables meta-data storage
73 * This is used to store the fingerprints for potentially-executable files.
78 * @brief Plain file meta-data storage
87 * @brief Search the @p head meta-data list for the specified file identifier
90 * If meta-data exists for file system identified by @p fsid, it has a
[all …]
/freebsd/contrib/ntp/include/
H A Dgps.h3 /* TrueTime GPS-VME and VME-SG */
6 /* History: revised for 747i 3/94 */
15 #define GFRZ1 0x0020 /* freeze cmd addr gen reg. 1 */
16 #define GREG1A 0x0021 /* Gen reg. 1 Word A (units microsec to 0.001 sec) */
17 #define GREG1B 0x0040 /* Gen reg. 1 Word B (units 0.01 sec to tens sec ) */
18 #define GREG1C 0x0041 /* Gen reg 1 Word C (units mins and hours) */
19 #define GREG1D 0x0042 /* Gen reg. 1 Word D (units days and status) */
20 #define GREG1E 0x0043 /* Gen reg. 1 Word E (units Years ) */
21 #define GUFRZ1 0x0022 /* unfreeze cmd addr gen reg 1 */
27 W(0x0057), +(0x002B), - (0x002D) */
[all …]
/freebsd/sys/tools/syscalls/scripts/
H A Dsyscalls.lua2 --
3 -- SPDX-License-Identifier: BSD-2-Clause
4 --
5 -- Copyright (c) 2024 Tyler Baxter <agge@FreeBSD.org>
6 -- Copyright (c) 2023 Warner Losh <imp@bsdimp.com>
7 -- Copyright (c) 2019 Kyle Evans <kevans@FreeBSD.org>
8 --
10 -- Setup to be a module, or ran as its own script.
12 local script = not pcall(debug.getlocal, 4, 1) -- TRUE if script.
14 -- Add library root to the package path.
[all …]
H A Dinit_sysent.lua2 --
3 -- SPDX-License-Identifier: BSD-2-Clause
4 --
5 -- Copyright (c) 2024 Tyler Baxter <agge@FreeBSD.org>
6 -- Copyright (c) 2023 Warner Losh <imp@bsdimp.com>
7 -- Copyright (c) 2019 Kyle Evans <kevans@FreeBSD.org>
8 --
10 -- Setup to be a module, or ran as its own script.
12 local script = not pcall(debug.getlocal, 4, 1) -- TRUE if script.
14 -- Add library root to the package path.
[all …]
H A Dsysproto_h.lua2 --
3 -- SPDX-License-Identifier: BSD-2-Clause
4 --
5 -- Copyright (c) 2024 Tyler Baxter <agge@FreeBSD.org>
6 -- Copyright (c) 2019 Kyle Evans <kevans@FreeBSD.org>
7 --
9 -- Setup to be a module, or ran as its own script.
11 local script = not pcall(debug.getlocal, 4, 1) -- TRUE if script.
13 -- Add library root to the package path.
18 local FreeBSDSyscall = require("core.freebsd-syscall")
[all …]
H A Dsyscall_h.lua2 --
3 -- SPDX-License-Identifier: BSD-2-Clause
4 --
5 -- Copyright (c) 2024 Tyler Baxter <agge@FreeBSD.org>
6 -- Copyright (c) 2023 Warner Losh <imp@bsdimp.com>
7 -- Copyright (c) 2019 Kyle Evans <kevans@FreeBSD.org>
8 --
10 -- Setup to be a module, or ran as its own script.
12 local script = not pcall(debug.getlocal, 4, 1) -- TRUE if script.
14 -- Add library root to the package path.
[all …]
/freebsd/usr.sbin/dconschat/
H A Ddconschat.c1 /*-
2 * SPDX-License-Identifier: BSD-4-Clause
15 * 3. All advertising materials mentioning features or use of this software
74 #define RETRY 3
85 static u_char abreak[3] = {13 /* CR */, 126 /* ~ */, 2 /* ^B */};
87 #define IS_CONSOLE(p) ((p)->port == DCONS_CON)
88 #define IS_GDB(p) ((p)->port == DCONS_GDB)
98 #define F_ALT_BREAK (1 << 3)
134 switch (dc->type) { in dread()
136 return (pread(dc->fd, buf, n, offset)); in dread()
[all …]
/freebsd/contrib/arm-optimized-routines/math/test/
H A Dulp.c4 * Copyright (c) 2019-2024, Arm Limited.
5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
17 # error "SVE not supported - please disable WANT_SVE_TESTS"
65 if (r - m <= -n) in randn()
70 struct gen struct
123 next1 (struct gen *g) in next1()
128 uint64_t r = g->start + g->off; in next1()
129 g->off += g->step + randn (g->step / 2); in next1()
130 if (g->off > g->len) in next1()
131 g->off -= g->len; /* hack. */ in next1()
[all …]
H A Dmathbench.c4 * Copyright (c) 2018-2024, Arm Limited.
5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
17 # error "SVE not supported - please disable WANT_SVE_TESTS"
107 // clang-format off
132 // clang-format on
139 A[i] = (lo * (N - i) + hi * i) / N; in gen_linear()
146 Af[i] = (float)(lo * (N - i) + hi * i) / N; in genf_linear()
166 return lo + (hi - lo) * (asdouble (seed >> 12 | 0x3ffULL << 52) - 1.0); in frand()
319 dt = -1; \
327 if (t1 - t0 < dt) \
[all …]
/freebsd/crypto/openssl/crypto/x509/
H A Dv3_san.c2 * Copyright 1999-2024 The OpenSSL Project Authors. All Rights Reserved.
26 static int do_othername(GENERAL_NAME *gen, const char *value, X509V3_CTX *ctx);
27 static int do_dirname(GENERAL_NAME *gen, const char *value, X509V3_CTX *ctx);
29 const X509V3_EXT_METHOD ossl_v3_alt[3] = {
56 GENERAL_NAME *gen; in STACK_OF() local
60 gen = sk_GENERAL_NAME_value(gens, i); in STACK_OF()
63 * wrong we need to free the stack - but only if it was empty when we in STACK_OF()
66 tmpret = i2v_GENERAL_NAME(method, gen, ret); in STACK_OF()
80 GENERAL_NAME *gen, in STACK_OF()
86 switch (gen->type) { in STACK_OF()
[all …]
/freebsd/contrib/ntp/ntpd/
H A Dntp_filegen.c9 * Friedrich-Alexander Universitaet Erlangen-Nuernberg, Germany
66 fgp->fp = NULL; in filegen_init()
67 fgp->dir = estrdup(dir); in filegen_init()
68 fgp->fname = estrdup(fname); in filegen_init()
69 fgp->id_lo = 0; in filegen_init()
70 fgp->id_hi = 0; in filegen_init()
71 fgp->type = FILEGEN_DAY; in filegen_init()
72 fgp->flag = FGEN_FLAG_LINK; /* not yet enabled !!*/ in filegen_init()
77 * filegen_uninit - free memory allocated by filegen_init
85 free(fgp->dir); in filegen_uninit()
[all …]
/freebsd/sys/dev/cxgb/
H A Dcxgb_sge.c2 SPDX-License-Identifier: BSD-2-Clause
4 Copyright (c) 2007-2009, Chelsio Inc.
88 "size of per-queue mbuf ring");
96 #define COALESCE_START_MAX (TX_ETH_Q_SIZE-(TX_ETH_Q_SIZE>>3))
118 * XXX don't re-enable this until TOE stops assuming
169 #define RX_SW_DESC_INUSE (1 << 3)
192 unsigned int gen; member
207 * desc = 1 + (flits - 2) / (WR_FLITS - 1).
216 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
221 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
[all …]
/freebsd/kerberos5/lib/libhx509/
H A DMakefile2 LDFLAGS+= -Wl,--no-undefined
3 VERSION_MAP= ${KRB5DIR}/lib/hx509/version-script.map
6 MAN= hx509.3 \
7 hx509_ca.3 \
8 hx509_cert.3 \
9 hx509_cms.3 \
10 hx509_crypto.3 \
11 hx509_env.3 \
12 hx509_error.3 \
13 hx509_keyset.3 \
[all …]
/freebsd/lib/libc/gen/
H A DMakefile.inc1 # machine-independent gen sources
2 .PATH: ${LIBC_SRCTOP}/${LIBC_ARCH}/gen ${LIBC_SRCTOP}/gen ${SRCTOP}/etc
20 arc4random-compat.c \
37 devname-compat11.c \
63 fts-compat.c \
64 fts-compat11.c \
66 ftw-compat11.c \
79 getmntinfo-compat11.c \
90 glob-compat11.c \
106 nftw-compat11.c \
[all …]
/freebsd/contrib/ncurses/
H A DMANIFEST10 ./Ada95/gen/Makefile.in
11 ./Ada95/gen/adacurses-config.in
12 ./Ada95/gen/gen.c
13 ./Ada95/gen/html.m4
14 ./Ada95/gen/normal.m4
15 ./Ada95/gen/table.m4
16 ./Ada95/gen/terminal_interface-curses-aux.ads.m4
17 ./Ada95/gen/terminal_interface-curses-forms-field_types.ads.m4
18 ./Ada95/gen/terminal_interface-curses-forms-field_user_data.ads.m4
19 ./Ada95/gen/terminal_interface-curses-forms-form_user_data.ads.m4
[all …]
/freebsd/sys/contrib/alpine-hal/eth/
H A Dal_hal_eth_main.c1 /*-
10 found at http://www.gnu.org/licenses/gpl-2.0.html
72 #define AL_ETH_TX_SRC_VLAN_CNT_MASK 3
98 /* tx Meta Descriptor defines - MacSec */
102 #define AL_ETH_TX_MACSEC_AN_MSB_SHIFT 3
105 #define AL_ETH_TX_MACSEC_SECURED_PYLD_LEN_LSB_SHIFT 10 /* Secure Payload Length (0x3FFF for non-S…
110 #define AL_ETH_RX_SRC_VLAN_CNT_MASK 3
148 #define AL_ETH_TX_GCP_CRC32_BYTE_SWAP_SHIFT 3
185 #define AL_ETH_RX_GPD_OUTER_L3_PROTO_SHIFT (3 + 0)
187 #define AL_ETH_RX_GPD_OUTER_L4_PROTO_SHIFT (3 + 8)
[all …]
/freebsd/sys/contrib/dev/rtw89/
H A Dpci_be.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
24 struct rtw89_pci *rtwpci = (struct rtw89_pci *)rtwdev->priv; in rtw89_pci_aspm_set_be()
25 struct pci_dev *pdev = rtwpci->pdev; in rtw89_pci_aspm_set_be()
80 const struct rtw89_pci_info *info = rtwdev->pci_info; in rtw89_pci_set_io_rcy_be()
84 if (info->io_rcy_en == MAC_AX_PCIE_ENABLE) { in rtw89_pci_set_io_rcy_be()
85 val32 = info->io_rcy_tmr == MAC_AX_IO_RCY_ANA_TMR_DEF ? in rtw89_pci_set_io_rcy_be()
86 PL0_TMR_ANA_172US : info->io_rcy_tmr; in rtw89_pci_set_io_rcy_be()
98 val32 = info->io_rcy_tmr == MAC_AX_IO_RCY_ANA_TMR_DEF ? in rtw89_pci_set_io_rcy_be()
99 PL0_TMR_MAC_1MS : info->io_rcy_tmr; in rtw89_pci_set_io_rcy_be()
104 val32 = info->io_rcy_tmr == MAC_AX_IO_RCY_ANA_TMR_DEF ? in rtw89_pci_set_io_rcy_be()
[all …]
/freebsd/contrib/unbound/dnstap/
H A Ddnstap.m43 # dt_DNSTAP(default_dnstap_socket_path, [action-if-true], [action-if-false])
4 # --------------------------------------------------------------------------
9 AS_HELP_STRING([--enable-dnstap],
10 [Enable dnstap support (requires protobuf-c)]),
14 AC_ARG_WITH([dnstap-socket-path],
15 AS_HELP_STRING([--with-dnstap-socket-path=pathname],
22 # 'protoc-c' is deprecated. We use 'protoc' instead. If it can not be
23 # found, try 'protoc-c'.
24 if test -z "$PROTOC"; then
25 AC_PATH_PROG([PROTOC_C], [protoc-c])
[all …]

12345678910>>...26