Home
last modified time | relevance | path

Searched +full:- +full:d2 (Results 1 – 25 of 747) sorted by relevance

12345678910>>...30

/freebsd/contrib/libarchive/tar/test/
H A Dtest_option_T_upper.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2003-2008 Tim Kientzle
27 if (!assertMakeDir("d1/d2", 0755)) return; in DEFINE_TEST()
31 if (!assertMakeFile("d1/d2/f3", 0644, "")) return; in DEFINE_TEST()
32 if (!assertMakeFile("d1/d2/f4", 0644, "")) return; in DEFINE_TEST()
33 if (!assertMakeFile("d1/d2/f5", 0644, "")) return; in DEFINE_TEST()
34 if (!assertMakeFile("d1/d2/f6", 0644, "")) return; in DEFINE_TEST()
36 gnarlyFilesSupported = tryMakeFile("d1/d2/f\x0a"); in DEFINE_TEST()
45 fprintf(f, "d1/d2/f4\x0a"); /* NL */ in DEFINE_TEST()
[all …]
H A Dtest_strip_components.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2003-2007 Tim Kientzle
14 assertMakeDir("d1/d2", 0755); in DEFINE_TEST()
15 assertMakeDir("d1/d2/d3", 0755); in DEFINE_TEST()
16 assertMakeFile("d1/d2/f1", 0644, ""); in DEFINE_TEST()
17 assertMakeHardlink("l1", "d1/d2/f1"); in DEFINE_TEST()
18 assertMakeHardlink("d1/l2", "d1/d2/f1"); in DEFINE_TEST()
20 assertMakeSymlink("s1", "d1/d2/f1", 0); in DEFINE_TEST()
21 assertMakeSymlink("d1/s2", "d2/f1", 0); in DEFINE_TEST()
[all …]
H A Dtest_option_n.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
20 /* Test 1: -c without -n */ in DEFINE_TEST()
24 systemf("%s -cf archive.tar -C .. d1 >c.out 2>c.err", testprog)); in DEFINE_TEST()
28 systemf("%s -xf archive.tar >x.out 2>x.err", testprog)); in DEFINE_TEST()
34 /* Test 2: -c with -n */ in DEFINE_TEST()
38 systemf("%s -cnf archive.tar -C .. d1 >c.out 2>c.err", testprog)); in DEFINE_TEST()
42 systemf("%s -xf archive.tar >x.out 2>x.err", testprog)); in DEFINE_TEST()
55 * d2/file4 in DEFINE_TEST()
64 assertMakeDir("d2", 0755); in DEFINE_TEST()
[all …]
H A Dtest_option_C_upper.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
14 assertMakeDir("d2", 0755); in DEFINE_TEST()
17 assertMakeFile("d2/file1", 0644, "d2/file1"); in DEFINE_TEST()
18 assertMakeFile("d2/file2", 0644, "d2/file2"); in DEFINE_TEST()
21 * Test 1: Basic use of -C in DEFINE_TEST()
25 assertEqualInt(0, systemf("%s -cf archive.tar -C ../d1 file1 -C ../d2 file2", testprog)); in DEFINE_TEST()
27 systemf("%s -xf archive.tar >test.out 2>test.err", testprog)); in DEFINE_TEST()
29 assertFileContents("d2/file2", 8, "file2"); in DEFINE_TEST()
36 * Test 2: Multiple -C in DEFINE_TEST()
[all …]
H A Dtest_option_s.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2003-2008 Tim Kientzle
25 /* Does tar support -s option ? */ in DEFINE_TEST()
26 systemf("%s -cf - -s /foo/bar/ in/d1/foo > NUL 2> check.err", in DEFINE_TEST()
30 skipping("%s does not support -s option on this platform", in DEFINE_TEST()
39 systemf("%s -cf test1_1.tar -s /foo/bar/ in/d1/foo", testprog); in DEFINE_TEST()
40 systemf("%s -xf test1_1.tar -C test1", testprog); in DEFINE_TEST()
42 systemf("%s -cf test1_2.tar -s /d1/d2/ in/d1/foo", testprog); in DEFINE_TEST()
43 systemf("%s -xf test1_2.tar -C test1", testprog); in DEFINE_TEST()
[all …]
/freebsd/contrib/unbound/util/data/
H A Ddname.c2 * util/data/dname.h - domain name handling
100 query_dname_compare(register uint8_t* d1, register uint8_t* d2) in query_dname_compare() argument
103 log_assert(d1 && d2); in query_dname_compare()
105 lab2 = *d2++; in query_dname_compare()
111 return -1; in query_dname_compare()
116 while(lab1--) { in query_dname_compare()
118 if(*d1 != *d2 && in query_dname_compare()
119 tolower((unsigned char)*d1) != tolower((unsigned char)*d2)) { in query_dname_compare()
120 if(tolower((unsigned char)*d1) < tolower((unsigned char)*d2)) in query_dname_compare()
121 return -1; in query_dname_compare()
[all …]
H A Ddname.h2 * util/data/dname.h - domain name routines
95 * @param d2: dname to compare
96 * @return: -1, 0, or +1 depending on comparison results.
99 int query_dname_compare(uint8_t* d1, uint8_t* d2);
117 * @param d2: dname to compare
118 * @return: -1, 0, or +1 depending on comparison results.
121 int dname_pkt_compare(struct sldns_buffer* pkt, uint8_t* d1, uint8_t* d2);
181 * @param d2: second dname. pointer to uncompressed wireformat.
184 * @return: 0 for equal, -1 smaller, or +1 d1 larger than d2.
186 int dname_lab_cmp(uint8_t* d1, int labs1, uint8_t* d2, int labs2, int* mlabs);
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTStructuralEquivalence.cpp1 //===- ASTStructuralEquivalence.cpp ---------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
42 // Decl *D1, Decl *D2);
52 // Decl *D2)`. So far so good, this is almost like the BFS. However, if we
59 //===----------------------------------------------------------------------===//
101 Decl *D1, Decl *D2);
136 Context, Name1.getCXXDeductionGuideTemplate()->getDeclName(), in IsStructurallyEquivalent()
137 Name2.getCXXDeductionGuideTemplate()->getDeclName())) in IsStructurallyEquivalent()
174 return IsStructurallyEquivalent(Context, E1->getLabel(), E2->getLabel()); in IsStmtEquivalent()
[all …]
/freebsd/crypto/openssl/crypto/poly1305/asm/
H A Dpoly1305-x86.pl2 # Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
24 # IALU/gcc-3.4(*) SSE2(**) AVX2
25 # Pentium 15.7/+80% -
26 # PIII 6.21/+90% -
40 # (**) besides SSE2 there are floating-point and AVX options; FP
41 # is deemed unnecessary, because pre-SSE2 processor are too
43 # SSE2-capable ones; AVX is omitted, because it doesn't give
44 # a lot of improvement, 5-10% depending on processor;
55 for (@ARGV) { $sse2=1 if (/-DOPENSSL_IA32_SSE2/); }
63 if (`$ENV{CC} -Wa,-v -c -o /dev/null -x assembler /dev/null 2>&1`
[all …]
H A Dpoly1305-x86_64.pl2 # Copyright 2016-2023 The OpenSSL Project Authors. All Rights Reserved.
32 # Skylake-X system performance. Since we are likely to suppress
33 # AVX512F capability flag [at least on Skylake-X], conversion serves
40 # IALU/gcc-4.8(*) AVX(**) AVX2 AVX-512
41 # P4 4.46/+120% -
42 # Core 2 2.41/+90% -
43 # Westmere 1.88/+120% -
46 # Skylake[-X] 1.13/+120% 0.96 0.51 [0.35]
47 # Silvermont 2.83/+95% -
49 # Goldmont 1.70/+180% -
[all …]
H A Dpoly1305-armv4.pl2 # Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
17 # IALU(*)/gcc-4.4 NEON
19 # ARM11xx(ARMv6) 7.78/+100% -
20 # Cortex-A5 6.35/+130% 3.00
21 # Cortex-A8 6.25/+115% 2.36
22 # Cortex-A9 5.10/+95% 2.55
23 # Cortex-A15 3.85/+85% 1.25(**)
26 # (*) this is for -march=armv6, i.e. with bunch of ldrb loading data;
27 # (**) these are trade-off results, they can be improved by ~8% but at
28 # the cost of 15/12% regression on Cortex-A5/A7, it's even possible
[all …]
H A Dpoly1305-c64xplus.pl21 # Performance is [incredible for a 32-bit processor] 1.82 cycles per
22 # processed byte. Comparison to compiler-generated code is problematic,
33 ($D0,$D1,$D2,$D3)= ("A9","B9","A11","B11");
65 || MVK -1,B0
68 || MVK -4,B1
111 || [A2] STW FP,*SP--(40) ; save frame pointer and alloca(40)
116 || [A2] STDW A13:A12,*FP[-3]
117 [A2] STDW A11:A10,*FP[-4]
121 [A2] LDNW *${INPB}[-3],$D1 ; load inp[1]
124 LDNW *${INPB}[-2],$D2 ; load inp[2]
[all …]
H A Dpoly1305-sparcv9.pl2 # Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
31 # (*) Comparison to compiler-generated code is really problematic,
34 # improvement on T4 for gcc-4.6. Well, in T4 case it's a bit
37 # (**) Pre-III performance should be even worse; floating-point
38 # performance for UltraSPARC I-IV on the other hand is reported
39 # to be 4.25 for hand-coded assembly, but they are just too old
41 # (***) Multi-process benchmark saturates at ~12.5x single-process
42 # result on 8-core processor, or ~21GBps per 2.85GHz socket.
52 my ($d0,$d1,$d2,$d3) = map("%g$_",(1..4));
80 save %sp,-STACK_FRAME-16,%sp
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/gen/
H A Dt_fpclassify.c3 /*-
29 #include <atf-c.h>
60 float d0, d1, d2, f, ip; in ATF_TC_BODY() local
76 d2 = ldexpf(d0, -i); in ATF_TC_BODY()
77 ATF_REQUIRE_EQ(d2, d1); in ATF_TC_BODY()
79 d2 = modff(d1, &ip); in ATF_TC_BODY()
80 ATF_REQUIRE_EQ(d2, d1); in ATF_TC_BODY()
84 ATF_REQUIRE_EQ(e, FLT_MIN_EXP - i); in ATF_TC_BODY()
104 double d0, d1, d2, f, ip; in ATF_TC_BODY() local
120 d2 = ldexp(d0, -i); in ATF_TC_BODY()
[all …]
/freebsd/contrib/ldns/
H A Dduration.c2 * $Id: duration.c 4518 2011-02-24 15:39:09Z matthijs $
62 duration->years = 0; in ldns_duration_create()
63 duration->months = 0; in ldns_duration_create()
64 duration->weeks = 0; in ldns_duration_create()
65 duration->days = 0; in ldns_duration_create()
66 duration->hours = 0; in ldns_duration_create()
67 duration->minutes = 0; in ldns_duration_create()
68 duration->seconds = 0; in ldns_duration_create()
78 ldns_duration_compare(const ldns_duration_type* d1, const ldns_duration_type* d2) in ldns_duration_compare() argument
80 if (!d1 && !d2) { in ldns_duration_compare()
[all …]
/freebsd/tools/test/stress2/misc/
H A Dexecpath.sh4 # SPDX-License-Identifier: BSD-2-Clause
30 # Bug 248184 - readlink("/proc/curproc/file") returns arbitrary correct name for programs with more…
34 [ `id -u` -ne 0 ] && echo "Must be root!" && exit 1
40 mycc -o execpath -Wall -Wextra -O0 -g execpath.c || exit 1
41 rm -f execpath.c
44 set -e
45 mount | grep "on $mntpoint " | grep -q /dev/md && umount -f $mntpoint
46 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart
47 mdconfig -a -t swap -s 2g -u $mdstart
53 mkdir d1 d2
[all …]
H A Dmountro4.sh4 # SPDX-License-Identifier: BSD-2-Clause
39 mount | grep -q "on $mntpoint " && umount $mntpoint
40 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart
41 mdconfig -a -t swap -s 1g -u $mdstart
45 mount -u -o ro $mntpoint
47 d1=`stat -f '%a %m %c' $f1`
50 d2=`stat -f '%a %m %c' $f1`
51 if [ "$d1" != "$d2" ]; then
52 echo "ufs: Access time was updated. $d1 != $d2"
55 mount -u -o rw $mntpoint
[all …]
H A Dfsync4.sh4 # SPDX-License-Identifier: BSD-2-Clause
32 # "fsync4: msync(0x82d3cc000), file d1/d2/d3/d4/d5/../file.92660:
35 # Fixed by: 6189672e6008 - main - Handle ERELOOKUP from VOP_FSYNC() in
39 [ `id -u` -ne 0 ] && echo "Must be root!" && exit 1
48 mycc -o $prog -Wall -Wextra -O0 -g $prog.c || exit 1
49 rm -f $prog.c
52 set -eu
53 mount | grep "on $mntpoint " | grep -q /dev/md && umount -f $mntpoint
54 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart
55 mdconfig -a -t swap -s 1g -u $mdstart
[all …]
H A Dfsync3.sh4 # SPDX-License-Identifier: BSD-2-Clause
32 # Fixed by 6e1eabadcb1d - main - ffs_syncvnode(): avoid a LoR for SU
37 [ `id -u` -ne 0 ] && echo "Must be root!" && exit 1
44 mycc -o $prog -Wall -Wextra -O0 -g $prog.c -lpthread || exit 1
45 rm -f $prog.c
48 set -eu
49 mount | grep "on $mntpoint " | grep -q /dev/md && umount -f $mntpoint
50 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart
51 mdconfig -a -t swap -s 1g -u $mdstart
52 newfs -U md$mdstart > /dev/null
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/
H A Du8.h3 _mm256_or_si256(_mm256_slli_epi32(A, IMM), _mm256_srli_epi32(A, (32 - IMM)))
5 /* implements a vector quarter round by-the-book (naive!) */
67 #define VEC8_ROUND_SEQ(A1, B1, C1, D1, A2, B2, C2, D2, A3, B3, C3, D3, A4, B4, \ argument
70 VEC8_LINE1(A2, B2, C2, D2); \
74 VEC8_LINE2(A2, B2, C2, D2); \
78 VEC8_LINE3(A2, B2, C2, D2); \
82 VEC8_LINE4(A2, B2, C2, D2); \
86 #define VEC8_ROUND_HALF(A1, B1, C1, D1, A2, B2, C2, D2, A3, B3, C3, D3, A4, \ argument
89 VEC8_LINE1(A2, B2, C2, D2); \
91 VEC8_LINE2(A2, B2, C2, D2); \
[all …]
/freebsd/crypto/openssl/crypto/chacha/asm/
H A Dchacha-c64xplus.pl2 # Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
63 || [A0] STW FP,*SP--(40+64) ; save frame pointer and alloca(40+64)
69 || [A0] STDW A13:A12,*FP[-3]
70 [A0] STDW A11:A10,*FP[-4]
100 ||[!A1] STDW @Y[2]:@Y[0],*FP[-12] ; offload key material to stack
104 ||[!A1] STDW @Y[6]:@Y[4],*FP[-10]
108 ||[!A1] STDW @Y[10]:@Y[8],*FP[-8]
114 ||[!A1] STW @Y[14],*FP[-6*2]
123 my ($d0,$d1,$d2,$d3) = (12..15);
134 || XOR @X[$a2],@X[$d2],@X[$d2]
[all …]
/freebsd/sys/libkern/
H A Dqsort.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
54 } while (--i > 0); \
58 ((char *)a - (char *)0) % sizeof(TYPE) || \
115 size_t d1, d2; variable
125 pl > (char *)a && CMP(thunk, pl - es, pl) > 0;
126 pl -= es)
127 swap(pl, pl - es);
133 pn = (char *)a + (n - 1) * es;
138 pm = med3(pm - d, pm, pm + d, cmp, thunk);
[all …]
/freebsd/usr.bin/diff3/
H A Ddiff3.c4 * Copyright (C) Caldera International Inc. 2001-2002.
36 /*-
124 static int cline[3]; /* # of the last-read line in each file (0-2) */
127 * is stored in last[1-3];
131 static int oflag; /* indicates whether to mark overlaps (-E or -X) */
172 { "show-overlap", no_argument, NULL, 'E' },
173 { "overlap-only", no_argument, NULL, 'x' },
174 { "initial-tab", no_argument, NULL, 'T' },
176 { "strip-trailing-cr", no_argument, NULL, STRIPCR_OPT },
177 { "show-all", no_argument, NULL, 'A' },
[all …]
/freebsd/contrib/sendmail/libsm/
H A Dt-float.c2 * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
11 SM_IDSTR(id, "@(#)$Id: t-float.c,v 1.19 2013-11-22 20:51:43 ca Exp $")
24 double d, d2; variable
49 d2 = 0.0;
50 sm_io_sscanf(buf, "%lf", &d2);
52 if (d != d2)
55 "wanted %f, got %f\n", d, d2);
60 if (!SM_TEST(d == d2))
62 "wanted %f, got %f\n", d, d2);
/freebsd/sys/crypto/openssl/arm/
H A Darmv4-mont.S1 /* Do not modify. This file is auto-generated from armv4-mont.pl. */
19 .word OPENSSL_armcap_P-.Lbn_mul_mont
64 sub r0,r0,#4 @ "num=num-1"
65 add r4,r2,r0 @ &bp[num-1]
67 add r0,sp,r0 @ r0 to point at &tp[num-1]
91 str r12,[r4],#4 @ tp[j-1]=,tp++
101 str r12,[r0] @ tp[num-1]=
106 sub r7,r0,r7 @ "original" r0-1 value
110 ldr r5,[r1,#-4] @ ap[0]
112 ldr r6,[r3,#-4] @ np[0]
[all …]

12345678910>>...30