| /freebsd/crypto/openssl/test/recipes/10-test_bn_data/ |
| H A D | bnmod.txt | 1 # Copyright 2016-2022 The OpenSSL Project Authors. All Rights Reserved. 4 # this file except in compliance with the License. You can obtain a copy 8 # These test vectors satisfy A * B = ModMul (mod M) and 0 <= ModMul < M. 14 A = 6b18497fed9befdf22a01d988d34213f6687d8a96e86c188dea4172e7c6095a0d18d3c86c0f5a1af9c6e3aaeb6baac2… 16 M = c462c7cdd79b7604246a0cd97c017700feb25908656b4733353af8119ecfa0212e4bd24304edd566adb5c1e9daa4089… 19 A = 16c92f77c139706430f396f72ec7adb045745cd9f5899b0074d9955bd32de66f57c05c7929b575312a7f1c04f19e724… 20 B = -8734c4a2361fc530f60b28a5f1c7e93136c5ff6bfc7553965eaca54c61e6befb3c0f8cef4280e780cc5940d21a740d… 21 M = c462c7cdd79b7604246a0cd97c017700feb25908656b4733353af8119ecfa0212e4bd24304edd566adb5c1e9daa4089… 24 A = -6715098ab2ba3ea1e6341e89936e3ae913cdd450dc831c8534071f3c362841e47d88f2cd29c0d1239aa0949f3685f1… 26 M = c462c7cdd79b7604246a0cd97c017700feb25908656b4733353af8119ecfa0212e4bd24304edd566adb5c1e9daa4089… [all …]
|
| /freebsd/crypto/openssl/test/recipes/04-test_pem_reading_data/ |
| H A D | cert-onecolumn.pem | 1 -----BEGIN CERTIFICATE----- 2 M 10 A 28 A 42 A 46 A 50 A 63 A 65 M 75 m [all …]
|
| H A D | dsa-onecolumn.pem | 1 -----BEGIN DSA PRIVATE KEY----- 2 Proc-Type: 4,ENCRYPTED 3 DEK-Info: AES-256-CBC,A2A7FA3E5E454B59C8777564E7AF3CD6 13 a 36 a 48 m 55 m 66 M 88 M 96 m [all …]
|
| /freebsd/contrib/libarchive/libarchive/test/ |
| H A D | test_archive_match_time.c | 1 /*- 16 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 34 struct archive *m; in test_newer_time() local 36 if (!assert((m = archive_match_new()) != NULL)) in test_newer_time() 39 archive_match_free(m); in test_newer_time() 43 assertEqualIntA(m, 0, archive_match_include_time(m, in test_newer_time() 51 assertEqualInt(1, archive_match_time_excluded(m, ae)); in test_newer_time() 52 assertEqualInt(1, archive_match_excluded(m, ae)); in test_newer_time() 56 assertEqualInt(1, archive_match_time_excluded(m, ae)); in test_newer_time() 57 assertEqualInt(1, archive_match_excluded(m, ae)); in test_newer_time() [all …]
|
| HD | test_read_format_7zip_deflate_arm64.7z.uu | 2 M-WJ\KR<<``2V^52G)0H```````!:`````````.HY+B_LU5^(3%$<P/%SYPY+ 4 M>2.2T-J0XF&*!R-C_.Z=<^_<NSLKWK^?]MS?GM\]OW//W'ONS*&5:U<%#$,Y 6 MV1\-3^RE>M;>QXU.A7.TUWJB)`<[&KZ8T]<]&O#7!73=1:O.CH8O%NQ0C<YE 7 M@[HUVO-UCRN4/P9UW/`QVVS]?[E.#C7B8J5CE[J- [all...] |
| /freebsd/sys/vm/ |
| H A D | vm_page.c | 1 /*- 2 * SPDX-License-Identifier: (BSD-3-Clause AND MIT-CMU) 9 * The Mach Operating System project at Carnegie-Mellon University. 25 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 36 /*- 37 * Copyright (c) 1987, 1990 Carnegie-Mellon University. 57 * Pittsburgh PA 15213-3890 132 "Number of failed per-page atomic queue state updates"); 153 "verify content of freed zero-filled pages"); 157 * bogus page -- for I/O to/from partially complete buffers, [all …]
|
| H A D | vm_page.h | 1 /*- 2 * SPDX-License-Identifier: (BSD-3-Clause AND MIT-CMU) 8 * The Mach Operating System project at Carnegie-Mellon University. 24 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 35 * Copyright (c) 1987, 1990 Carnegie-Mellon University. 55 * Pittsburgh PA 15213-3890 74 * A small structure is kept for each resident 78 * A radix tree used to quickly 88 * synchronized using either one of or a combination of locks. If a 91 * The queue lock for a page depends on the value of its queue field and is [all …]
|
| /freebsd/contrib/googletest/googletest/test/ |
| H A D | googletest-output-test-golden-lin.txt | 1 The non-test part of the code is expected to have 2 failures. 3 googletest-output-test_.cc:#: Failure 9 googletest-output-test_.cc:#: Failure 15 [0;32m[==========] [mRunning 90 tests from 43 test suites. 16 [0;32m[----------] [mGlobal test environment set-up. 19 [0;32m[----------] [m1 test from ADeathTest 20 [0;32m[ RUN ] [mADeathTest.ShouldRunFirst 21 [0;32m[ OK ] [mADeathTest.ShouldRunFirst 22 [0;32m[----------] [m1 test from ATypedDeathTest/0, where TypeParam = int 23 [0;32m[ RUN ] [mATypedDeathTest/0.ShouldRunFirst [all …]
|
| /freebsd/contrib/libfido2/src/ |
| H A D | netlink.c | 3 * Use of this source code is governed by a BSD-style 5 * SPDX-License-Identifier: BSD-2-Clause 85 nlmsg_ptr(const nlmsgbuf_t *m) in nlmsg_ptr() argument 87 return (&m->u.nlmsg); in nlmsg_ptr() 91 nlmsg_len(const nlmsgbuf_t *m) in nlmsg_len() argument 93 return (m->u.nlmsg.nlmsg_len); in nlmsg_len() 97 nlmsg_type(const nlmsgbuf_t *m) in nlmsg_type() argument 99 return (m->u.nlmsg.nlmsg_type); in nlmsg_type() 105 nlmsgbuf_t *m; in nlmsg_new() local 108 if (len > SIZE_MAX - sizeof(*m) || in nlmsg_new() [all …]
|
| /freebsd/contrib/less/ |
| H A D | mark.c | 2 * Copyright (C) 1984-2025 Mark Nudelman 20 * A mark is an ifile (input file) plus a position within the file. 38 * Each mark is identified by a lowercase or uppercase letter. 41 #define NMARKS ((2*26)+2) /* a-z, A-Z, mousemark, lastmark */ 43 #define MOUSEMARK (NMARKS-2) 44 #define LASTMARK (NMARKS-1) 50 * Initialize a mark struct. 52 static void cmark(struct mark *m, IFILE ifile, POSITION pos, int ln) in cmark() argument 54 m->m_ifile = ifile; in cmark() 55 m->m_scrpos.pos = pos; in cmark() [all …]
|
| /freebsd/sys/kern/ |
| H A D | uipc_sockbuf.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 74 static void sbcompress_ktls_rx(struct sockbuf *sb, struct mbuf *m, 84 sbm_clrprotoflags(struct mbuf *m, int flags) in sbm_clrprotoflags() argument 91 while (m) { in sbm_clrprotoflags() 92 m->m_flags &= mask; in sbm_clrprotoflags() 93 m = m->m_next; in sbm_clrprotoflags() 109 struct mbuf *m, *n; in sbready_compress() local 114 if ((sb->sb_flags & SB_NOCOALESCE) != 0) in sbready_compress() [all …]
|
| H A D | kern_mbuf.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 65 "Cluster must not be larger than a jumbo page"); 75 * Mbufs are allocated from a UMA Primary Zone called the Mbuf 78 * Additionally, FreeBSD provides a Packet Zone, which it 79 * configures as a Secondary Zone to the Mbuf Primary Zone, 82 * Thus common-case allocations and locking are simplified: 86 * | .------------>[(Packet Cache)] m_get(), m_gethdr() 103 * Caches are per-CPU and are filled from the Primary Zone. [all …]
|
| H A D | uipc_mbuf.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 183 * to compiler-induced padding and alignment artifacts. 185 CTASSERT(MSIZE - offsetof(struct mbuf, m_dat) == MLEN); 186 CTASSERT(MSIZE - offsetof(struct mbuf, m_pktdat) == MHLEN); 189 * mbuf data storage should be 64-bit aligned regardless of architectural 190 * pointer size; check this is the case with and without a packet header. 196 * While the specific values here don't matter too much (i.e., +/- a few 199 * network-protocol and device-driver modules encode these layouts, and must [all …]
|
| /freebsd/contrib/bmake/unit-tests/ |
| H A D | varmod-match.mk | 1 # $NetBSD: varmod-match.mk,v 1.32 2025/06/29 09:40:13 rillig Exp $ 3 # Tests for the ':M' modifier, which keeps only those words that match the 17 # char-005c-reverse-solidus.mk 33 .if ${a c e aa cc ee e f g:L:Me} != "e e" 44 # A pattern without placeholders only matches itself. 45 .if ${a aa aaa b ba baa bab:L:Ma} != "a" 49 # A pattern that does not start with '*' is anchored at the beginning. 50 .if ${a aa aaa b ba baa bab:L:Ma*} != "a aa aaa" 54 # A pattern that does not end with '*' is anchored at the end. 55 .if ${a aa aaa b ba baa bab:L:M*a} != "a aa aaa ba baa" [all …]
|
| H A D | varmod-match-escape.exp | 2 CondParser_Eval: ${SPECIALS:M${:U}\:} != ${SPECIALS:M\:${:U}} 3 Var_Parse: ${SPECIALS:M${:U}\:} != ${SPECIALS:M\:${:U}} (eval-defined-loud) 4 Evaluating modifier ${SPECIALS:M...} on value "\: : \\ * \*" 5 Pattern for ':M' is "\:" 7 Result of ${SPECIALS:M${:U}\:} is ":" 8 Var_Parse: ${SPECIALS:M\:${:U}} (eval-defined-loud) 9 Evaluating modifier ${SPECIALS:M...} on value "\: : \\ * \*" 10 Pattern for ':M' is ":" 12 Result of ${SPECIALS:M\:${:U}} is ":" 15 CondParser_Eval: ${VALUES:M\:${:U\:}} != ${VALUES:M${:U\:}\:} [all …]
|
| /freebsd/lib/libmixer/ |
| H A D | mixer.c | 1 /*- 4 * Permission is hereby granted, free of charge, to any person obtaining a copy 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 48 if (ioctl(dev->parent_mixer->fd, MIXER_READ(dev->devno), &v) < 0) in _mixer_readvol() 49 return (-1); in _mixer_readvol() 50 dev->vol.left = MIX_VOLNORM(v & 0x00ff); in _mixer_readvol() 51 dev->vol.right = MIX_VOLNORM((v >> 8) & 0x00ff); in _mixer_readvol() 57 * Open a mixer device in `/dev/mixerN`, where N is the number of the mixer. 67 struct mixer *m = NULL; in mixer_open() local 72 if ((m = calloc(1, sizeof(struct mixer))) == NULL) in mixer_open() [all …]
|
| /freebsd/crypto/openssl/crypto/bn/ |
| H A D | bn_mod.c | 2 * Copyright 1998-2024 The OpenSSL Project Authors. All Rights Reserved. 5 * this file except in compliance with the License. You can obtain a copy 14 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) in BN_nnmod() argument 17 * like BN_mod, but returns non-negative remainder (i.e., 0 <= r < |d| in BN_nnmod() 26 if (!(BN_mod(r, m, d, ctx))) in BN_nnmod() 28 if (!r->neg) in BN_nnmod() 30 /* now -|d| < r < 0, so we have to set r := r + |d| */ in BN_nnmod() 31 return (d->neg ? BN_sub : BN_add) (r, r, d); in BN_nnmod() 34 int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, in BN_mod_add() argument 37 if (!BN_add(r, a, b)) in BN_mod_add() [all …]
|
| /freebsd/share/man/man9/ |
| H A D | altq.9 | 19 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 43 .Fn IFQ_ENQUEUE "struct ifaltq *ifq" "struct mbuf *m" "int error" 44 .Fn IFQ_HANDOFF "struct ifnet *ifp" "struct mbuf *m" "int error" 46 .Fa "struct ifnet *ifp" "struct mbuf *m" "int adjust" "int error" 50 .Fn IFQ_DEQUEUE "struct ifaltq *ifq" "struct mbuf *m" 51 .Fn IFQ_POLL_NOLOCK "struct ifaltq *ifq" "struct mbuf *m" 56 .Fn IFQ_DRV_DEQUEUE "struct ifaltq *ifq" "struct mbuf *m" 57 .Fn IFQ_DRV_PREPEND "struct ifaltq *ifq" "struct mbuf *m" 70 system is a framework to manage queuing disciplines on network 86 enqueue a packet [all …]
|
| /freebsd/sys/crypto/ |
| H A D | sha1.c | 2 /*- 3 * SPDX-License-Identifier: BSD-3-Clause 22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 34 * FIPS pub 180-1: Secure Hash Algorithm (SHA-1) 35 * based on: http://csrc.nist.gov/fips/fip180-1.txt 36 * implemented by Jun-ichiro itojun Itoh <itojun@itojun.org> 64 #define S(n, x) (((x) << (n)) | ((x) >> (32 - n))) 66 #define H(n) (ctxt->h.b32[(n)]) 67 #define COUNT (ctxt->count) 68 #define BCOUNT (ctxt->c.b64[0] / 8) [all …]
|
| /freebsd/contrib/file/tests/ |
| H A D | matilde.arm.testfile | 2 <[d��y�����'�P�[<k�0^��<j~yJ/!ݘG&�����e�4ta��+a�<�p������(����n���{i�/�8A�<� ٫7… 3 …A{1e�d!�Tkr(��n���u�RP<Rby��z��z�;+~��*�s�'�7q#�ڰ<p�l���-*�Bm�h2U�v��ښ�m�< pq��ry�+�… 4 R��0-as�Aꏾ�<�H���Ҵ�_d)Q����A����Kp���@< <J?�9a�V�9u8�9��Fp�ך�"��P< 5 �Hpc��A��Z�%�;�.s 6 �%Vйa����@<x@m1�A�"J�)��C�.t4�c��d0<zg���Y*˴fRMg�J5o��;�κ�h�<<Pg����*�0�*=�K|�K~��%… 7 (Q�)�y�E4�@<<�f�a��7_�����xR���?hl <{�Hf��+G!�x̳X���Am���<x�fT�ۃ��VtBU9�����c�en… 9 !�:���=K����[��<Ɖ�lH��!L��-��I��w�9:y��<�U'�ԫ�Lc�\vyY>�Ԫ�ϧ�4p<&@i�~#�������)J$�� 10 …�����(�\�W�!"-@��C]�4�<&F����*�2;[��v�w�>�=�����<!x@;����e�R!���F�iW�M���0<{��~a�…
|
| /freebsd/contrib/googletest/googlemock/include/gmock/ |
| H A D | gmock-function-mocker.h | 21 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 30 // Google Mock - a framework for writing C++ mock classes. 44 #include "gmock/gmock-spec-builders.h" 45 #include "gmock/internal/gmock-internal-utils.h" 46 #include "gmock/internal/gmock-pp.h" 69 constexpr bool PrefixOf(const char* a, const char* b) { in PrefixOf() argument 70 return *a == 0 || (*a == *b && internal::PrefixOf(a + 1, b + 1)); in PrefixOf() 73 template <size_t N, size_t M> 74 constexpr bool StartsWith(const char (&prefix)[N], const char (&str)[M]) { in StartsWith() argument 75 return N <= M && internal::PrefixOf(prefix, str); in StartsWith() [all …]
|
| /freebsd/tools/boot/ |
| H A D | full-test.sh | 3 # STAND_ROOT is the root of a tree: 4 # cache - Cached binaries that we have downloaded 5 # trees - binary trees that we use to make image 7 # images - bootable images that we use to test 9 # bios - cached bios images (as well as 'vars' files when we start testing 11 # scripts - generated scripts that uses images to run the tests. 16 # use qemu-system-XXXX to boot. They all boot the same thing at the moment: 23 # eg https://download.freebsd.org/releases/amd64/amd64/ISO-IMAGES/14.2/FreeBSD-14.2-RELEASE-amd64-b… 25 : ${STAND_ROOT:="${HOME}/stand-test-root"} 38 if [ -f ${t}/tools/build/make.py ]; then [all …]
|
| /freebsd/sys/sys/ |
| H A D | mbuf.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 73 * Mbufs are of a single size, MSIZE (sys/param.h), which includes overhead. 74 * An mbuf may add a single "mbuf cluster" of size MCLBYTES (also in 77 * stored. Additionally, it is possible to allocate a separate buffer 78 * externally and attach it to the mbuf in a way similar to that of mbuf 81 * NB: These calculation do not take actual compiler-induced alignment and 85 * MLEN is data length in a normal mbuf. 87 * MINCLSIZE is a smallest amount of data that should be put into cluster. [all …]
|
| H A D | mutex.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 20 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 56 #define MTX_NEW 0x00000040 /* Don't check for double-init */ 62 #define MTX_QUIET LOP_QUIET /* Don't log a mutex event */ 63 #define MTX_DUPOK LOP_DUPOK /* Don't log a duplicate acquire */ 66 * State bits kept in mutex->mtx_lock, for the DEFAULT lock type. None of this, 83 * Functions with a `_' suffix are the entrypoint for the common 86 * informations, in an option-independent way. 95 int _mtx_trylock_flags_int(struct mtx *m, int opts LOCK_FILE_LINE_ARG_DEF); [all …]
|
| /freebsd/usr.sbin/virtual_oss/virtual_oss/ |
| H A D | virtual_oss.8 | 2 .\" Copyright (c) 2017-2022 Hans Petter Selasky <hselasky@freebsd.org> 15 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 37 is an audio mixing application that multiplexes and demultiplexes a 47 To load the driver as a module at boot time, place the following line in 56 .Bl -tag -width indent 69 Set default sample-rate for the subsequent commands. 78 Set real-time priority to 83 .It Fl a Ar log2_amp 87 Valid values range from -63 to 63 inclusivly. 92 .It Fl a Ar i,log2_amp [all …]
|