/freebsd/sys/tools/syscalls/scripts/ |
H A D | systrace_args.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 | 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 | libsys_h.lua | 2 -- 3 -- SPDX-License-Identifier: BSD-2-Clause 4 -- 5 -- Copyright (c) 2024 SRI International 6 -- Copyright (c) 2024 Tyler Baxter <agge@FreeBSD.org> 7 -- Copyright (c) 2023 Warner Losh <imp@bsdimp.com> 8 -- Copyright (c) 2019 Kyle Evans <kevans@FreeBSD.org> 9 -- 11 -- Setup to be a module, or ran as its own script. 13 local script = not pcall(debug.getlocal, 4, 1) -- TRUE if script. [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_mk.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 | syscalls_map.lua | 2 -- 3 -- SPDX-License-Identifier: BSD-2-Clause 4 -- 5 -- Copyright (c) 2024 SRI International 6 -- Copyright (c) 2024 Tyler Baxter <agge@FreeBSD.org> 7 -- Copyright (c) 2023 Warner Losh <imp@bsdimp.com> 8 -- Copyright (c) 2019 Kyle Evans <kevans@FreeBSD.org> 9 -- 11 -- Setup to be a module, or ran as its own script. 13 local script = not pcall(debug.getlocal, 4, 1) -- TRUE if script. [all …]
|
/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | rpcgen_wrapper.sh | 4 # regress.gen.c and regress.gen.h already exist in $srcdir. This 5 # is needed for "make distcheck" to pass the read-only $srcdir build, 6 # as with read-only sources fresh from tarball, regress.gen.[ch] will 8 # Makefile.am to create stub regress.gen.c and regress.gen.h in the 11 # Note that regress.gen.[ch] are not in fresh git clones, making 15 # echo "Updated ${srcdir}/regress.gen.c and ${srcdir}/regress.gen.h" 20 echo "event_rpcgen.py failed, ${srcdir}/regress.gen.\[ch\] will be reused." >&2 25 echo "Could not generate regress.gen.\[ch\] using event_rpcgen.sh" >&2 29 srcdir=${srcdir:-.} 31 ${srcdir}/../event_rpcgen.py --quiet ${srcdir}/regress.rpc \ [all …]
|
H A D | include.am | 2 # Copyright 2000-2007 Niels Provos 3 # Copyright 2007-2012 Niels Provos and Nick Mathewson 7 regress_CPPFLAGS = -DTINYTEST_LOCAL 10 test/check-dumpevents.py \ 11 test/regress.gen.c \ 12 test/regress.gen.h \ 15 test/print-winsock-errors.c \ 23 test/test-changelist \ 24 test/test-dumpevents \ 25 test/test-eof \ [all …]
|
/freebsd/contrib/libevent/test/ |
H A D | rpcgen_wrapper.sh | 4 # regress.gen.c and regress.gen.h already exist in $srcdir. This 5 # is needed for "make distcheck" to pass the read-only $srcdir build, 6 # as with read-only sources fresh from tarball, regress.gen.[ch] will 8 # Makefile.am to create stub regress.gen.c and regress.gen.h in the 11 # Note that regress.gen.[ch] are not in fresh git clones, making 15 # echo "Updated ${srcdir}/regress.gen.c and ${srcdir}/regress.gen.h" 20 echo "event_rpcgen.py failed, ${srcdir}/regress.gen.\[ch\] will be reused." >&2 25 echo "Could not generate regress.gen.\[ch\] using event_rpcgen.sh" >&2 29 srcdir=${srcdir:-.} 31 ${srcdir}/../event_rpcgen.py --quiet ${srcdir}/regress.rpc \ [all …]
|
H A D | include.am | 2 # Copyright 2000-2007 Niels Provos 3 # Copyright 2007-2012 Niels Provos and Nick Mathewson 7 regress_CPPFLAGS = -DTINYTEST_LOCAL 10 test/check-dumpevents.py \ 11 test/regress.gen.c \ 12 test/regress.gen.h \ 15 test/print-winsock-errors.c \ 23 test/test-changelist \ 24 test/test-dumpevents \ 25 test/test-eof \ [all …]
|
/freebsd/crypto/openssl/test/recipes/ |
H A D | 20-test_dhparam.t | 2 # Copyright 2020-2022 The OpenSSL Project Authors. All Rights Reserved. 24 my $fipsconf = srctop_file("test", "fips-and-base.cnf"); 29 my $gen = shift; #2, 5 or something else (0 is "something else")? 37 if (-T $file) { 42 if ($firstline eq "-----BEGIN DH PARAMETERS-----") { 44 } elsif ($firstline eq "-----BEGIN X9.42 DH PARAMETERS-----") { 60 my @textdata = run(app(['openssl', 'dhparam', '-in', $file, '-noout', 61 '-text', '-inform', $format]), capture => 1); 77 if ($gen == 2 || $gen == 5) { 78 #For generators 2 and 5 the value appears on the same line [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 132 /* result = y + tail*2^ulpexp. */ 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() [all …]
|
/freebsd/kerberos5/lib/libasn1/ |
H A D | Makefile | 1 PACKAGE= kerberos-lib 4 LDFLAGS= -Wl,--no-undefined 5 INCS= asn1_err.h asn1-common.h heim_asn1.h der.h der-protos.h der-private.h 22 ${GEN:S/.x$/.c/:S/.hx$/.h/} 24 CFLAGS+=-I${KRB5DIR}/lib/asn1 -I${KRB5DIR}/lib/roken \ 25 -I${SRCTOP}/contrib/com_err -I. 27 GEN_RFC2459= asn1_rfc2459_asn1.x rfc2459_asn1.hx rfc2459_asn1-priv.hx 28 GEN_CMS= asn1_cms_asn1.x cms_asn1.hx cms_asn1-priv.hx 29 GEN_K5= asn1_krb5_asn1.x krb5_asn1.hx krb5_asn1-priv.hx 30 GEN_PKINIT= asn1_pkinit_asn1.x pkinit_asn1.hx pkinit_asn1-priv.hx [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 //===----------------------------------------------------------------------===// 42 string VOPDName = "v_dual_" # !substr(vOPDName, 2); 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> { [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/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 174 const int expected_values[] = {0, 1, 2}; in TEST() 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 [all …]
|
/freebsd/sys/dev/dcons/ |
H A D | dcons.c | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 12 * 2. Redistributions in binary form must reproduce the above copyright 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/contrib/ntp/include/ |
H A D | gps.h | 3 /* TrueTime GPS-VME and VME-SG */ 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) */ 39 #define CFREG2 0x00A0 /* config. register 2 */ [all …]
|
/freebsd/crypto/openssh/ |
H A D | dh.c | 10 * 2. Redistributions in binary form must reproduce the above copyright 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() [all …]
|
/freebsd/bin/dd/ |
H A D | Makefile | 14 CLEANFILES= gen 16 test: ${PROG} gen 21 @./gen | \ 22 LC_ALL=en_US.US-ASCII ./dd conv=${conv} 2>/dev/null | \ 23 LC_ALL=en_US.US-ASCII hexdump -C | \ 24 diff -I FreeBSD - ${.CURDIR}/ref.${conv} 27 @./gen 189284 | ./dd ibs=16 obs=8 conv=sparse of=obs_zeroes 2> /dev/null 28 @hexdump -C obs_zeroes | diff -I FreeBSD - ${.CURDIR}/ref.obs_zeroes 31 @./dd if=/dev/zero of=1M_zeroes bs=1048576 count=1 2> /dev/null 32 @./dd if=1M_zeroes of=1M_zeroes.1 bs=1048576 conv=sparse 2> /dev/null [all …]
|
/freebsd/sys/security/mac_veriexec/ |
H A D | veriexec_metadata.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 15 * 2. Redistributions in binary form must reproduce the above copyright 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 [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/kerberos5/lib/libgssapi_spnego/ |
H A D | Makefile | 1 PACKAGE= kerberos-lib 4 LDFLAGS= -Wl,-Bsymbolic -Wl,--no-undefined 15 ${GEN:S/.x$/.c/:S/.hx$/.h/} \ 18 GEN= asn1_ContextFlags.x \ macro 28 spnego_asn1-priv.hx 30 CFLAGS+=-I${KRB5DIR}/lib/gssapi 31 CFLAGS+=-I${KRB5DIR}/lib/gssapi/gssapi 32 CFLAGS+=-I${KRB5DIR}/lib/gssapi/spnego 33 CFLAGS+=-I${KRB5DIR}/lib/asn1 34 CFLAGS+=-I${SRCTOP}/lib/libgssapi [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/mediatek/ |
H A D | mt8173-elm-hana.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "mt8173-elm.dtsi" 9 clock-frequency = <200000>; 16 interrupts-extended = <&pio 88 IRQ_TYPE_LEVEL_LOW>; 20 * Lenovo 100e Chromebook 2nd Gen (MTK) and Lenovo 300e Chromebook 2n [all...] |