| /freebsd/crypto/openssl/test/recipes/10-test_bn_data/ |
| H A D | bnshift.txt | 4 # this file except in compliance with the License. You can obtain a copy 8 # These test vectors satisfy A * 2 = LShift1 13 A = 0 16 A = 988b0905e52efb2709f98a12a 18 LShift1 = -13116120bca5df64e13f314254 19 A = -988b0905e52efb2709f98a12a 22 A = 13116120bca5df64e13f314254 24 LShift1 = -2622c241794bbec9c27e6284a8 25 A = -13116120bca5df64e13f314254 28 A = 2622c241794bbec9c27e6284a8 [all …]
|
| H A D | bngcd.txt | 1 # Copyright 2019-2024 The OpenSSL Project Authors. All Rights Reserved. 4 # this file except in compliance with the License. You can obtain a copy 10 # These test vectors satisfy gcd(A, B) = GCD. 13 A = 0 18 A = 1 23 A = 1 27 # gcd(0,a) = a 28 A = 0 32 # gcd(-a,0) = |a| 33 A = -231f16458c487346cf50a17beec83632f25d19abeea1097c746533cd3e35207b7efd75dc3e9c663a64b6861e88579d… [all …]
|
| H A D | bnmul.txt | 4 # this file except in compliance with the License. You can obtain a copy 8 # These test vectors satisfy A^2 = Square. 12 # Regression test for a BN_sqr overflow bug. 14 A = 80000000000000008000000000000001fffffffffffffffe0000000000000000 16 # Regression test for a BN_sqr overflow bug. 18 A = 80000000000000000000000080000001fffffffe000000000000000000000000 21 A = -df6a253c3f 24 A = 21f253ddb5a6d 27 A = -95fbaee5a09c86d 30 A = -3e71292dd4ad3ed3b4 [all …]
|
| H A D | bnsum.txt | 4 # this file except in compliance with the License. You can obtain a copy 10 # These test vectors satisfy A + B = Sum. 13 A = 0 17 A = c590e57ee64fced3ca84d4bb013bba7d633e68b2ff4e27bf1db43f386dbfcce501f112b7fff6fb9436a576ccfccce12… 20 Sum = -c590e57ee64fced3ca84d4bb013bba7d633e68b2ff4e27bf1db43f386dbfcce501f112b7fff6fb9436a576ccfccc… 21 A = -c590e57ee64fced3ca84d4bb013bba7d633e68b2ff4e27bf1db43f386dbfcce501f112b7fff6fb9436a576ccfccce1… 25 A = c590e57ee64fced3ca84d4bb013bba7d633e68b2ff4e27bf1db43f386dbfcce501f112b7fff6fb9436a576ccfccce12… 26 B = -c590e57ee64fced3ca84d4bb013bba7d633e68b2ff4e27bf1db43f386dbfcce501f112b7fff6fb9436a576ccfccce1… 29 A = c590e57ee64fced18aff6e2f0c6ac05625b1e94f394f42470cae14d12cadea4f5ab6b9d77225fe3b4903825966c7875… 33 A = c590e57ee64fced18aff6e2f0c6ac05625b1e94f394f42470cae14d12cadea4f5ab6b9d77225fe3b4903825966c7875… [all …]
|
| 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… 19 A = 16c92f77c139706430f396f72ec7adb045745cd9f5899b0074d9955bd32de66f57c05c7929b575312a7f1c04f19e724… 20 B = -8734c4a2361fc530f60b28a5f1c7e93136c5ff6bfc7553965eaca54c61e6befb3c0f8cef4280e780cc5940d21a740d… 24 A = -6715098ab2ba3ea1e6341e89936e3ae913cdd450dc831c8534071f3c362841e47d88f2cd29c0d1239aa0949f3685f1… 29 A = -11fec955948e007b59fc50e729941ee9d43d552b9411510b73f6b4faafc0465f261f8381d96f647267f72175883172… 30 B = -2b3792f39499767e0a8b7a6a406e470a78f97ebb36765beab5fe52e95abf7582736db72a2ebfdb2405e3954c968b35… 34 A = 7713413d87f1e50840255927ff27bad79e5de5898725a876e4647913158cda9f5fa031dd7fc11d2e8130a0ba99e8706… [all …]
|
| /freebsd/contrib/bc/tests/bc/errors/ |
| H A D | 01.txt | 1 a(s691027461l[ ba]) 3 a 4 a 9 a 13 a 18 a 22 a 25 a 26 a 32 a(s691027461l[ ba]) [all …]
|
| /freebsd/lib/libc/regex/grot/ |
| H A D | tests | 9 # expected to fail. If there is a fourth field, it is the substring that 10 # the RE is expected to match. If there is a fifth field, it is a comma- 11 # separated list of what the subexpressions should match, with - indicating 12 # no match for that one. In both the fourth and fifth fields, a (sub)field 14 # a null string followed by the stuff after the @; this provides a way to 19 # - placeholder, does nothing 20 # b RE is a BRE, not an ERE 21 # & try it as both an ERE and a BRE 36 a & a a 38 abc|de - abc abc [all …]
|
| /freebsd/bin/sh/tests/parameters/ |
| H A D | positional2.0 | 21 testcase 'set -- a b; set -- p$@q' '2|pa|bq' 22 testcase 'set -- a b; set -- $@q' '2|a|bq' 23 testcase 'set -- a b; set -- p$@' '2|pa|b' 24 testcase 'set -- a b; set -- p$@q' '2|pa|bq' 25 testcase 'set -- a b; set -- $@q' '2|a|bq' 26 testcase 'set -- a b; set -- p$@' '2|pa|b' 27 testcase 'set -- a b; set -- p$*q' '2|pa|bq' 28 testcase 'set -- a b; set -- $*q' '2|a|bq' 29 testcase 'set -- a b; set -- p$*' '2|pa|b' 30 testcase 'set -- a b; set -- p$*q' '2|pa|bq' [all …]
|
| /freebsd/contrib/elftoolchain/common/ |
| H A D | utarray.h | 2 Copyright (c) 2008-2013, Troy D. Hanson http://uthash.sourceforge.net 13 TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 24 /* $Id: utarray.h 2694 2012-11-24 17:11:58Z kaiwang27 $ */ 26 /* a dynamic array implementation using macros 45 #define oom() exit(-1) 61 char *d; /* n slots of size icd->sz*/ 64 #define utarray_init(a,_icd) do { \ argument 65 memset(a,0,sizeof(UT_array)); \ 66 (a)->icd=*_icd; \ 69 #define utarray_done(a) do { \ argument [all …]
|
| /freebsd/contrib/libarchive/libarchive/test/ |
| H A D | test_write_filter_zstd.c | 1 /*- 17 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 32 struct archive *a; in DEFINE_TEST() local 53 * Write a 100 files and read them all back. in DEFINE_TEST() 55 assert((a = archive_write_new()) != NULL); in DEFINE_TEST() 56 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_ustar(a)); in DEFINE_TEST() 57 r = archive_write_add_filter_zstd(a); in DEFINE_TEST() 60 assertEqualInt(ARCHIVE_OK, archive_write_free(a)); in DEFINE_TEST() 65 assertEqualIntA(a, ARCHIVE_OK, in DEFINE_TEST() 66 archive_write_set_bytes_per_block(a, 10)); in DEFINE_TEST() [all …]
|
| H A D | test_read_format_rar.c | 1 /*- 2 * Copyright (c) 2003-2007 Tim Kientzle 4 * Copyright (c) 2011-2012 Michihiro NAKAJIMA 18 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 33 struct archive *a; in DEFINE_TEST() local 38 assert((a = archive_read_new()) != NULL); in DEFINE_TEST() 39 assertA(0 == archive_read_support_filter_all(a)); in DEFINE_TEST() 40 assertA(0 == archive_read_set_format(a, ARCHIVE_FORMAT_RAR)); in DEFINE_TEST() 41 assertA(0 == archive_read_open_filename(a, reffile, 10240)); in DEFINE_TEST() 42 assertA(0 == archive_read_next_header(a, &ae)); in DEFINE_TEST() [all …]
|
| /freebsd/contrib/lua/doc/ |
| H A D | contents.html | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 4 <TITLE>Lua 5.4 Reference Manual - contents</TITLE> 7 <META HTTP-EQUIV="content-type" CONTENT="text/html; charset=iso-8859-1"> 13 <A HREF="https://www.lua.org/"><IMG SRC="logo.gif" ALT="Lua"></A> 20 For a complete introduction to Lua programming, see the book 21 <A HREF="https://www.lua.org/pil/">Programming in Lua</A>. 24 <A HREF="manual.html">start</A> 26 <A HREF="#contents">contents</A> 28 <A HREF="#index">index</A> 30 <A HREF="https://www.lua.org/manual/">other versions</A> [all …]
|
| /freebsd/usr.bin/diff/tests/ |
| H A D | diff_test.sh | 30 atf_check -o file:$(atf_get_srcdir)/simple.out -s eq:1 \ 33 atf_check -o file:$(atf_get_srcdir)/simple_e.out -s eq:1 \ 34 diff -e "$(atf_get_srcdir)/input1.in" "$(atf_get_srcdir)/input2.in" 36 atf_check -o file:$(atf_get_srcdir)/simple_u.out -s eq:1 \ 37 diff -u -L input1 -L input2 "$(atf_get_srcdir)/input1.in" "$(atf_get_srcdir)/input2.in" 39 atf_check -o file:$(atf_get_srcdir)/simple_n.out -s eq:1 \ 40 diff -n "$(atf_get_srcdir)/input1.in" "$(atf_get_srcdir)/input2.in" 42 …atf_check -o inline:"Files $(atf_get_srcdir)/input1.in and $(atf_get_srcdir)/input2.in differ\n" -… 43 diff -q "$(atf_get_srcdir)/input1.in" "$(atf_get_srcdir)/input2.in" 46 diff -q "$(atf_get_srcdir)/input1.in" "$(atf_get_srcdir)/input1.in" [all …]
|
| /freebsd/contrib/arm-optimized-routines/math/ |
| H A D | pow_log_data.c | 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 13 .ln2hi = 0x1.62e42fefa3800p-1, 14 .ln2lo = 0x1.ef35793c76730p-45, 17 // relative error: 0x1.11922ap-70 18 // in -0x1.6bp-8 0x1.6bp-8 20 -0x1p-1, 21 0x1.555555555556p-2 * -2, 22 -0x1.0000000000006p-2 * -2, 23 0x1.999999959554ep-3 * 4, 24 -0x1.555555529a47ap-3 * 4, [all …]
|
| /freebsd/crypto/openssl/doc/designs/quic-design/server/ |
| H A D | quic-server-api.md | 5 ------------ 9 - Support server mode. 10 - Support multiple clients on one UDP socket/BIO. 11 - Accept incoming clients and get a `SSL *` object which works just like a 16 - Binding multiple BIOs (UDP sockets) to one listener? 20 - Support connection migration and preferred addressing in the future. 21 - Maximise reuse of existing APIs. 24 -------- 29 Sketch A: `SSL_LISTENER` 30 ------------------------ [all …]
|
| /freebsd/contrib/libarchive/libarchive/ |
| H A D | archive_write_disk_posix.c | 1 /*- 2 * Copyright (c) 2003-2010 Tim Kientzle 18 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 116 * If the number is less than zero, t must be a signed type, so it fits in 117 * int64_t. Otherwise, it's a nonnegative value so we can cast it to uint64_t 118 * without loss. But it could be a large unsigned value, so we have to clip it 136 /* TODO: Support Mac OS 'quarantine' feature. This is really just a 139 * archive being read was tainted. Windows has a similar feature; we 157 /* Ignore non-int O_NOFOLLOW constant. */ 168 #define AT_FDCWD -100 [all …]
|
| H A D | archive_write.c | 1 /*- 2 * Copyright (c) 2003-2010 Tim Kientzle 16 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 33 * needlessly bloating statically-linked clients. 98 struct archive_write *a; in archive_write_new() local 101 a = calloc(1, sizeof(*a)); in archive_write_new() 102 if (a == NULL) in archive_write_new() 104 a->archive.magic = ARCHIVE_WRITE_MAGIC; in archive_write_new() 105 a->archive.state = ARCHIVE_STATE_NEW; in archive_write_new() 106 a->archive.vtable = &archive_write_vtable; in archive_write_new() [all …]
|
| H A D | archive_read.c | 1 /*- 2 * Copyright (c) 2003-2011 Tim Kientzle 16 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 31 * needlessly bloating statically-linked clients. 55 #define minimum(a, b) (a < b ? a : b) argument 88 * Allocate, initialize and return a struct archive object. 93 struct archive_read *a; in archive_read_new() local 95 a = calloc(1, sizeof(*a)); in archive_read_new() 96 if (a == NULL) in archive_read_new() 98 a->archive.magic = ARCHIVE_READ_MAGIC; in archive_read_new() [all …]
|
| /freebsd/crypto/openssl/crypto/bn/ |
| H A D | bn_lib.c | 2 * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved. 5 * this file except in compliance with the License. You can obtain a copy 20 /*- 21 * For a 32 bit machine 22 * 2 - 4 == 128 23 * 3 - 8 == 256 24 * 4 - 16 == 512 25 * 5 - 32 == 1024 26 * 6 - 64 == 2048 27 * 7 - 128 == 4096 [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/ |
| H A D | tst.lib_table.lua | 1 --SPDX-License-Identifier: MIT 2 --[[ 3 --***************************************************************************** 4 --* Copyright (C) 1994-2016 Lua.org, PUC-Rio. 5 --* 6 --* Permission is hereby granted, free of charge, to any person obtaining 7 --* a copy of this software and associated documentation files (the 8 --* "Software"), to deal in the Software without restriction, including 9 --* without limitation the rights to use, copy, modify, merge, publish, 10 --* distribute, sublicense, and/or sell copies of the Software, and to [all …]
|
| /freebsd/contrib/lua/src/ |
| H A D | lopcodes.h | 14 We assume that instructions are unsigned 32-bit integers. 20 iABC C(8) | B(8) |k| A(8) | Op(7) | 21 iABx Bx(17) | A(8) | Op(7) | 22 iAsBx sBx (signed)(17) | A(8) | Op(7) | 26 A signed argument is represented in excess K: the represented value is 68 #define L_INTHASBITS(b) ((UINT_MAX >> ((b) - 1)) >= 1) 72 #define MAXARG_Bx ((1<<SIZE_Bx)-1) 81 #define MAXARG_Ax ((1<<SIZE_Ax)-1) 87 #define MAXARG_sJ ((1 << SIZE_sJ) - 1) 95 #define MAXARG_A ((1<<SIZE_A)-1) [all …]
|
| /freebsd/sys/contrib/openzfs/module/lua/ |
| H A D | lopcodes.h | 1 // SPDX-License-Identifier: MIT 18 `A' : 8 bits 21 'Ax' : 26 bits ('A', 'B', and 'C' together) 25 A signed argument is represented in excess K; that is, the number 27 for that argument (so that -max is represented by 0, and +max is 58 ** so they must fit in LUAI_BITSINT-1 bits (-1 for sign) 60 #if SIZE_Bx < LUAI_BITSINT-1 61 #define MAXARG_Bx ((1<<SIZE_Bx)-1) 68 #if SIZE_Ax < LUAI_BITSINT-1 69 #define MAXARG_Ax ((1<<SIZE_Ax)-1) [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/i2c/ |
| H A D | renesas,i2c.txt | 1 I2C for R-Car platforms 4 - compatible: 5 "renesas,i2c-r8a7742" if the device is a part of a R8A7742 SoC. 6 "renesas,i2c-r8a7743" if the device is a part of a R8A7743 SoC. 7 "renesas,i2c-r8a7744" if the device is a part of a R8A7744 SoC. 8 "renesas,i2c-r8a7745" if the device is a part of a R8A7745 SoC. 9 "renesas,i2c-r8a77470" if the device is a part of a R8A77470 SoC. 10 "renesas,i2c-r8a774a1" if the device is a part of a R8A774A1 SoC. 11 "renesas,i2c-r8a774b1" if the device is a part of a R8A774B1 SoC. 12 "renesas,i2c-r8a774c0" if the device is a part of a R8A774C0 SoC. [all …]
|
| /freebsd/crypto/openssl/crypto/ts/ |
| H A D | ts_rsp_utils.c | 2 * Copyright 2006-2020 The OpenSSL Project Authors. All Rights Reserved. 5 * this file except in compliance with the License. You can obtain a copy 17 int TS_RESP_set_status_info(TS_RESP *a, TS_STATUS_INFO *status_info) in TS_RESP_set_status_info() argument 21 if (a->status_info == status_info) in TS_RESP_set_status_info() 28 TS_STATUS_INFO_free(a->status_info); in TS_RESP_set_status_info() 29 a->status_info = new_status_info; in TS_RESP_set_status_info() 34 TS_STATUS_INFO *TS_RESP_get_status_info(TS_RESP *a) in TS_RESP_get_status_info() argument 36 return a->status_info; in TS_RESP_get_status_info() 40 void TS_RESP_set_tst_info(TS_RESP *a, PKCS7 *p7, TS_TST_INFO *tst_info) in TS_RESP_set_tst_info() argument 42 PKCS7_free(a->token); in TS_RESP_set_tst_info() [all …]
|
| /freebsd/usr.bin/cmp/tests/ |
| H A D | cmp_test2.sh | 1 # SPDX-License-Identifier: BSD-2-Clause 16 # TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 29 atf_set "descr" "Test cmp(1)'s handling of non-regular files" 32 echo 0123456789abcdef > a 34 atf_check -s exit:0 -o empty -e empty cmp a - <a 35 atf_check -s exit:0 -o empty -e empty cmp - a <a 36 atf_check -s exit:1 -o not-empty -e empty cmp a - <b 37 atf_check -s exit:1 -o not-empty -e empty cmp - a <b 39 atf_check -s exit:0 -o empty -e empty cmp a a <&- 47 echo 0123456789abcdef > a [all …]
|