Home
last modified time | relevance | path

Searched +full:0 +full:a (Results 1 – 25 of 3288) sorted by relevance

12345678910>>...132

/freebsd/lib/libc/tests/gen/
H A Dfnmatch_testcases.h16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
35 { "", "", 0, 0 },
36 { "a", "a", 0, 0 },
37 { "a", "b", 0, FNM_NOMATCH },
38 { "a", "A", 0, FNM_NOMATCH },
39 { "*", "a", 0, 0 },
40 { "*", "aa", 0, 0 },
41 { "*a", "a", 0, 0 },
42 { "*a", "b", 0, FNM_NOMATCH },
43 { "*a*", "b", 0, FNM_NOMATCH },
[all …]
/freebsd/contrib/libfido2/regress/
H A Dassert.c3 * Use of this source code is governed by a BSD-style
23 0x34, 0xeb, 0x99, 0x77, 0x02, 0x9c, 0x36, 0x38,
24 0xb
136 fido_assert_t *a; alloc_assert() local
145 free_assert(fido_assert_t * a) free_assert() argument
224 empty_assert(fido_dev_t * d,fido_assert_t * a,size_t idx) empty_assert() argument
286 fido_assert_t *a; empty_assert_tests() local
318 fido_assert_t *a; valid_assert() local
348 fido_assert_t *a; no_cdh() local
370 fido_assert_t *a; no_rp() local
392 fido_assert_t *a; no_authdata() local
413 fido_assert_t *a; no_sig() local
435 fido_assert_t *a; junk_cdh() local
464 fido_assert_t *a; junk_rp() local
487 fido_assert_t *a; junk_authdata() local
506 fido_assert_t *a; junk_sig() local
535 fido_assert_t *a; wrong_options() local
566 fido_assert_t *a; bad_cbor_serialize() local
[all...]
/freebsd/contrib/arm-optimized-routines/math/
H A Dpow_log_data.c13 .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,
25 0x1.2495b9b4845e9p-3 * -8,
[all …]
/freebsd/crypto/openssl/crypto/sha/asm/
H A Dkeccak1600-c64x.pl5 # this file except in compliance with the License. You can obtain a copy
21 # with bit interleaving. 64-bit values are simply split between A- and
22 # B-files, with A-file holding least significant halves. This works
25 # [incredible for a 32-bit processor] 10.9 cycles per processed byte
30 my @A = map([ $_, ($_+1), ($_+2), ($_+3), ($_+4) ], (5,10,16,21,26));
31 $A[1][4] = 31; # B14 is reserved, A14 is used as iota[]
32 ($A[3][0],$A[4][1]) = ($A[4][1],$A[3][0]);
33 my @C = (0..4,$A[3][0],$A[4][0]);
36 my @rhotates = ([ 0, 1, 62, 28, 27 ],
47 $p ROTL B$src,$rot/2+1,A$dst
[all …]
H A Dkeccak1600-armv8.pl5 # this file except in compliance with the License. You can obtain a copy
62 # $output is the last argument if it looks like a file (it has an extension)
63 # $flavour is the first argument if it doesn't look like a file
64 $output = $#ARGV >= 0 && $ARGV[$#ARGV] =~ m|\.\w+$| ? pop : undef;
65 $flavour = $#ARGV >= 0 && $ARGV[0] !~ m|\.| ? shift : undef;
67 $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
76 my @rhotates = ([ 0, 1, 62, 28, 27 ],
89 .quad 0,0,0,0,0,0,0,0
92 .quad 0x0000000000000001
93 .quad 0x0000000000008082
[all …]
H A Dkeccak1600-ppc64.pl5 # this file except in compliance with the License. You can obtain a copy
40 # $output is the last argument if it looks like a file (it has an extension)
41 # $flavour is the first argument if it doesn't look like a file
42 $output = $#ARGV >= 0 && $ARGV[$#ARGV] =~ m|\.\w+$| ? pop : undef;
43 $flavour = $#ARGV >= 0 && $ARGV[0] !~ m|\.| ? shift : undef;
54 $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
68 my @A = map([ "r$_", "r".($_+1), "r".($_+2), "r".($_+3), "r".($_+4) ],
70 $A[1][1] = "r6"; # r13 is reserved
72 my @C = map("r$_", (0,3,4,5));
74 my @rhotates = ([ 0, 1, 62, 28, 27 ],
[all …]
/freebsd/crypto/openssl/crypto/sha/
H A Dkeccak1600.c5 * this file except in compliance with the License. You can obtain a copy
14 size_t SHA3_absorb(uint64_t A[5][5], const unsigned char *inp, size_t len,
16 void SHA3_squeeze(uint64_t A[5][5], unsigned char *out, size_t len, size_t r);
47 # define BIT_INTERLEAVE (0)
52 #define ROL32(a, offset) (((a) << (offset)) | ((a) >> ((32 - (offset)) & 31))) argument
56 if (offset == 0) { in ROL64()
80 { 0, 1, 62, 28, 27 },
88 BIT_INTERLEAVE ? 0x0000000000000001ULL : 0x0000000000000001ULL,
89 BIT_INTERLEAVE ? 0x0000008900000000ULL : 0x0000000000008082ULL,
90 BIT_INTERLEAVE ? 0x8000008b00000000ULL : 0x800000000000808aULL,
[all …]
/freebsd/contrib/bearssl/src/ec/
H A Dec_p256_m15.c5 * a copy of this software and associated documentation files (the
17 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
28 * If BR_NO_ARITH_SHIFT is undefined, or defined to 0, then we _assume_
29 * that right-shifting a signed negative integer copies the sign bit
45 * Convert an integer from unsigned big-endian encoding to a sequence of
55 acc = 0; in be8_to_le13()
56 acc_len = 0; in be8_to_le13()
57 while (len -- > 0) { in be8_to_le13()
61 *dst ++ = acc & 0x1FFF; in be8_to_le13()
80 acc = 0; in le13_to_be8()
[all …]
H A Dec_c25519_m31.c5 * a copy of this software and associated documentation files (the
17 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
37 for (u = 0; u < 9; u ++) {
38 if (x[u] > 0x3FFFFFFF) {
40 for (u = 0; u < 9; u ++) {
47 memset(tmp, 0, sizeof tmp);
48 for (u = 0; u < 9; u ++) {
55 if (k != 0) {
60 for (j = 0; j < 8; j ++) {
73 * If BR_NO_ARITH_SHIFT is undefined, or defined to 0, then we _assume_
[all …]
H A Dec_c25519_m15.c5 * a copy of this software and associated documentation files (the
17 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
37 for (u = 0; u < 20; u ++) {
38 if (x[u] > 0x1FFF) {
40 for (u = 0; u < 20; u ++) {
47 memset(tmp, 0, sizeof tmp);
48 for (u = 0; u < 20; u ++) {
55 if (k != 0) {
73 * If BR_NO_ARITH_SHIFT is undefined, or defined to 0, then we _assume_
74 * that right-shifting a signed negative integer copies the sign bit
[all …]
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_read_format_rar.c18 * 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 in DEFINE_TEST()
54 struct archive *a; DEFINE_TEST() local
137 struct archive *a; DEFINE_TEST() local
172 struct archive *a; DEFINE_TEST() local
206 struct archive *a; DEFINE_TEST() local
337 struct archive *a; DEFINE_TEST() local
451 struct archive *a; DEFINE_TEST() local
554 struct archive *a; DEFINE_TEST() local
600 struct archive *a; DEFINE_TEST() local
703 struct archive *a; DEFINE_TEST() local
755 struct archive *a; DEFINE_TEST() local
807 struct archive *a; DEFINE_TEST() local
906 struct archive *a; DEFINE_TEST() local
1033 struct archive *a; DEFINE_TEST() local
1135 struct archive *a; DEFINE_TEST() local
1226 struct archive *a; DEFINE_TEST() local
1266 struct archive *a; DEFINE_TEST() local
1314 struct archive *a; DEFINE_TEST() local
1454 struct archive *a; DEFINE_TEST() local
1574 test_read_format_rar_multivolume_uncompressed_files_helper(struct archive * a) test_read_format_rar_multivolume_uncompressed_files_helper() argument
1645 struct archive *a; DEFINE_TEST() local
3766 struct archive *a; DEFINE_TEST() local
3792 struct archive *a; DEFINE_TEST() local
[all...]
H A Dtest_write_format_iso9660_zisofs.c16 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
28 * Check that a "zisofs" ISO 9660 image is correctly created.
32 0x01, 0x43, 0x44, 0x30, 0x30, 0x31, 0x01, 0x00
35 0x23, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x23
38 0x36, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x36
41 0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x28
44 0x00, 0x43, 0x00, 0x44, 0x00, 0x52, 0x00, 0x4f,
45 0x00, 0x4d, 0x00, 0x20, 0x00, 0x20, 0x00, 0x20,
46 0x00, 0x20, 0x00, 0x20, 0x00, 0x20, 0x00, 0x20,
47 0x00, 0x20, 0x00, 0x20, 0x00, 0x20, 0x00, 0x20
[all …]
H A Dtest_write_format_zip_empty_zip64.c16 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
34 struct archive *a; in DEFINE_TEST()
39 /* Zip format: Create a new archive in memory. */ in DEFINE_TEST()
40 assert((a = archive_write_new()) != NULL); in DEFINE_TEST()
41 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_zip(a)); in DEFINE_TEST()
42 assertEqualIntA(a, ARCHIVE_OK, archive_write_add_filter_none(a)); in DEFINE_TEST()
43 assertEqualIntA(a, ARCHIVE_OK, archive_write_set_bytes_per_block(a, in DEFINE_TEST()
35 struct archive *a; DEFINE_TEST() local
[all...]
H A Dtest_read_format_rar5.c16 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
35 struct archive *a; \
37 (void) a; /* Make the compiler happy if we won't use this variables */ \
41 assert((a = archive_read_new()) != NULL); \
42 assertA(0 == archive_read_support_filter_all(a)); \
43 assertA(0 == archive_read_support_format_all(a)); \
44 assertA(0 == archive_read_open_filename(a, reffile, 10240))
48 struct archive *a; \
50 (void) a; \
54 assert((a = archive_read_new()) != NULL); \
[all …]
H A Dtest_read_format_cpio_afio.c17 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
32 # How to make a sample data.
35 # make afio use a large ASCII header
38 od -c sample | sed -E -e "s/^0[0-9]+//;s/^ //;s/( +)([^ ]{1,2})/'\2',/g;s/'\\0'/0/g;/^[*]/d" > tes…
44 '0','7','0','7','0','7','0','0','0','1','4','3','1','2','5','3',
45 '2','1','1','0','0','6','4','4','0','0','1','7','5','1','0','0',
46 '1','7','5','1','0','0','0','0','0','1','0','0','0','0','0','0',
47 '1','1','3','3','2','2','4','5','0','2','0','0','0','0','0','0',
48 '6','0','0','0','0','0','0','0','0','0','2','1','f','i','l','e',
49 '1',0,'0','1','2','3','4','5','6','7','8','9','a','b','c','d',
[all …]
H A Dtest_archive_pathmatch.c16 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
36 * [...] - matches any of a set of chars, '-' specifies a range,
39 * The specification in SUSv2 is a bit incomplete, I assume the following:
42 * TODO: Figure out if there's a good way to extend this to handle
43 * Windows paths that use '\' as a path separator. <sigh>
48 assertEqualInt(1, archive_pathmatch("a/b/c", "a/b/c", 0)); in DEFINE_TEST()
49 assertEqualInt(0, archive_pathmatc in DEFINE_TEST()
[all...]
/freebsd/crypto/openssl/crypto/bn/asm/
H A Dx86_64-gcc.c5 * this file except in compliance with the License. You can obtain a copy
25 * A. Well, that's because this code is basically a quick-n-dirty
31 * A. x86_64 features own ABI which I'm not familiar with. This is
37 * A. 'apps/openssl speed rsa dsa' output with no-asm:
70 * "m"(a), "+m"(r) is the way to favor DirectPath µ-code;
71 * "g"(0) let the compiler to decide where does it
74 # define mul_add(r,a,word,carry) do { \ argument
77 : "=a"(low),"=d"(high) \
78 : "a"(word),"m"(a) \
80 asm ("addq %2,%0; adcq %3,%1" \
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/regex/data/att/
H A Dnullsubexpr.dat3 E (a*)* a (0,1)(0,1)
4 E SAME x (0,0)(0,0)
5 E SAME aaaaaa (0,6)(0,6)
6 E SAME aaaaaax (0,6)(0,6)
7 E (a*)+ a (0,1)(0,1)
8 E SAME x (0,0)(0,0)
9 E SAME aaaaaa (0,6)(0,6)
10 E SAME aaaaaax (0,6)(0,6)
11 E (a+)* a (0,1)(0,1)
12 E SAME x (0,0)
[all …]
H A Dbasic.dat4 BE a...b abababbb (2,7)
7 BE a] a]a (0,2)
8 B } } (0,1)
9 E \} } (0,1)
10 BE \] ] (0,1)
11 B ] ] (0,1)
12 E ] ] (0,1)
13 B { { (0,1)
14 B } } (0,1)
15 BE ^a ax (0,1)
[all …]
/freebsd/crypto/openssl/test/
H A Dconstant_time_test.c5 * this file except in compliance with the License. You can obtain a copy
18 static const unsigned int CONSTTIME_TRUE = (unsigned)(~0);
19 static const unsigned int CONSTTIME_FALSE = 0;
20 static const unsigned char CONSTTIME_TRUE_8 = 0xff;
21 static const unsigned char CONSTTIME_FALSE_8 = 0;
22 static const size_t CONSTTIME_TRUE_S = ~((size_t)0);
23 static const size_t CONSTTIME_FALSE_S = 0;
24 static uint32_t CONSTTIME_TRUE_32 = (uint32_t)(~(uint32_t)0);
25 static uint32_t CONSTTIME_FALSE_32 = 0;
26 static uint64_t CONSTTIME_TRUE_64 = (uint64_t)(~(uint64_t)0);
[all …]
/freebsd/crypto/openssh/openbsd-compat/
H A Dmd5.c14 * To compute the message digest of a chunk of bytes, declare an
17 * will fill a supplied 16-byte array with the digest.
36 (cp)[0] = (value); } while (0)
42 (cp)[0] = (value); } while (0)
45 0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
46 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
47 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
51 * Start MD5 accumulation. Set bit count to 0 and buffer to mysterious
57 ctx->count = 0; in MD5Init()
58 ctx->state[0] = 0x67452301; in MD5Init()
[all …]
/freebsd/lib/libpmc/pmu-events/arch/x86/cascadelakex/
H A Duncore-other.json4 "Counter": "0,1,2,3",
11 "Counter": "0,1,2,3",
12 "EventCode": "0x35",
14 "Filter": "config1=0x40e33",
16 "UMask": "0x21",
21 "Counter": "0,1,2,3",
22 "EventCode": "0x35",
24 "Filter": "config1=0x40e33",
26 "UMask": "0x21",
31 "Counter": "0,1,2,3",
[all …]
/freebsd/crypto/openssl/crypto/bn/
H A Dbn_asm.c5 * this file except in compliance with the License. You can obtain a copy
20 BN_ULONG c1 = 0; in bn_mul_add_words()
22 assert(num >= 0); in bn_mul_add_words()
23 if (num <= 0) in bn_mul_add_words()
28 mul_add(rp[0], ap[0], w, c1); in bn_mul_add_words()
38 mul_add(rp[0], ap[0], w, c1); in bn_mul_add_words()
49 BN_ULONG c1 = 0; in bn_mul_words()
51 assert(num >= 0); in bn_mul_words()
52 if (num <= 0) in bn_mul_words()
57 mul(rp[0], ap[0], w, c1); in bn_mul_words()
[all …]
/freebsd/lib/libpmc/pmu-events/arch/powerpc/power8/
H A Dmarked.json3 "EventCode": "0x3515e",
5 …"BriefDescription": "Marked branch instruction completed with a target address less than current i…
9 "EventCode": "0x2013a",
15 "EventCode": "0x1016e",
21 "EventCode": "0x301e4",
27 "EventCode": "0x101e2",
33 "EventCode": "0x4d148",
35 …ified (M) data from another chip's L2 or L3 on a different Node or Group (Distant), as this chip d…
39 "EventCode": "0x2d128",
41 …ified (M) data from another chip's L2 or L3 on a different Node or Group (Distant), as this chip d…
[all …]
/freebsd/lib/libpmc/pmu-events/arch/x86/skylakex/
H A Duncore-other.json4 "Counter": "0,1,2,3",
11 "Counter": "0,1,2,3",
12 "EventCode": "0x35",
14 "Filter": "config1=0x40e33",
16 "UMask": "0x21",
21 "Counter": "0,1,2,3",
22 "EventCode": "0x35",
24 "Filter": "config1=0x40e33",
26 "UMask": "0x21",
31 "Counter": "0,1,2,3",
[all …]

12345678910>>...132