/freebsd/contrib/googletest/googletest/test/ |
H A D | googletest-param-test-test.cc | 35 #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 D | dcons.c | 1 /*- 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 D | Makefile | 1 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/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | VOPInstructions.td | 1 //===-- 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 D | dh.c | 46 #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 D | sal_hw_gen.h | 1 /* 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/contrib/ntp/include/ |
H A D | gps.h | 3 /* 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/security/mac_veriexec/ |
H A D | veriexec_metadata.c | 1 /*- 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/sys/tools/syscalls/scripts/ |
H A D | init_sysent.lua | 2 -- 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 D | sysproto_h.lua | 2 -- 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 D | syscalls.lua | 2 -- 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 D | syscall_h.lua | 2 -- 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 D | dconschat.c | 1 /*- 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 D | ulp.c | 4 * Copyright (c) 2019-2023, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 94 if (r - m <= -n) in randn() 99 struct gen struct 152 next1 (struct gen *g) in next1() 157 uint64_t r = g->start + g->off; in next1() 158 g->off += g->step + randn (g->step / 2); in next1() 159 if (g->off > g->len) in next1() 160 g->off -= g->len; /* hack. */ in next1() 165 next2 (uint64_t *x2, struct gen *g) in next2() [all …]
|
H A D | mathbench.c | 4 * Copyright (c) 2018-2023, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 57 return (v_float){p[0], p[1], p[2], p[3]}; in v_float_load() 212 A[i] = (lo * (N - i) + hi * i) / N; in gen_linear() 219 Af[i] = (float)(lo * (N - i) + hi * i) / N; in genf_linear() 239 return lo + (hi - lo) * (asdouble (seed >> 12 | 0x3ffULL << 52) - 1.0); in frand() 386 dt = -1; \ 394 if (t1 - t0 < dt) \ 395 dt = t1 - t0; \ 407 if (f->vec == 'n') in bench1() [all …]
|
/freebsd/crypto/openssl/crypto/x509/ |
H A D | v3_san.c | 2 * Copyright 1999-2021 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 D | ntp_filegen.c | 9 * 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/kerberos5/lib/libhx509/ |
H A D | Makefile | 1 PACKAGE= kerberos-lib 4 LDFLAGS= -Wl,--no-undefined 5 VERSION_MAP= ${KRB5DIR}/lib/hx509/version-script.map 8 MAN= hx509.3 \ 9 hx509_ca.3 \ 10 hx509_cert.3 \ 11 hx509_cms.3 \ 12 hx509_crypto.3 \ 13 hx509_env.3 \ 14 hx509_error.3 \ [all …]
|
/freebsd/lib/libc/gen/ |
H A D | Makefile.inc | 1 # machine-independent gen sources 2 .PATH: ${LIBC_SRCTOP}/${LIBC_ARCH}/gen ${LIBC_SRCTOP}/gen ${SRCTOP}/etc 20 arc4random-compat.c \ 37 devname-compat11.c \ 62 fts-compat.c \ 63 fts-compat11.c \ 65 ftw-compat11.c \ 78 getmntinfo-compat11.c \ 89 glob-compat11.c \ 104 nftw-compat11.c \ [all …]
|
/freebsd/sys/dev/cxgb/ |
H A D | cxgb_sge.c | 2 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/contrib/ncurses/ |
H A D | MANIFEST | 10 ./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 D | al_hal_eth_main.c | 1 /*- 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/device-tree/Bindings/phy/ |
H A D | nvidia,tegra194-xusb-padctl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra194-xusb-padctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 21 Some of the lanes are high-speed lanes, which can be used for PCIe, SATA or 22 super-speed USB. Other lanes are for various types of low-speed, full-speed 23 or high-speed USB (such as UTMI, ULPI and HSIC). The XUSB pad controller 24 contains a software-configurable mux that sits between the I/O controller [all …]
|
/freebsd/usr.sbin/makefs/msdos/ |
H A D | msdosfs_conv.c | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 17 * 3. All advertising materials mentioning features or use of this software 34 /*- 69 0, 0, 0, 0, 0, 0, 0, 0, /* 00-07 */ 70 0, 0, 0, 0, 0, 0, 0, 0, /* 08-0f */ 71 0, 0, 0, 0, 0, 0, 0, 0, /* 10-17 */ 72 0, 0, 0, 0, 0, 0, 0, 0, /* 18-1f */ 73 0, '!', 0, '#', '$', '%', '&', '\'', /* 20-27 */ 74 '(', ')', 0, '+', 0, '-', 0, 0, /* 28-2f */ [all …]
|
/freebsd/lib/libifconfig/ |
H A D | Makefile | 23 GEN= libifconfig_sfp_tables.h \ macro 27 SRCS+= ${GEN} 35 CLEANFILES+= ${GEN} 41 #MAN= libifconfig.3 43 CFLAGS+= -I${.CURDIR} -I${.OBJDIR}
|