Home
last modified time | relevance | path

Searched full:d2 (Results 1 – 25 of 768) sorted by relevance

12345678910>>...31

/freebsd/contrib/libarchive/tar/test/
H A Dtest_option_T_upper.c27 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()
46 fprintf(f, "d1/d2/f6"); /* EOF */ in DEFINE_TEST()
54 fprintf(f, "d1/d2/f3"); in DEFINE_TEST()
56 fprintf(f, "d1/d2/f5"); in DEFINE_TEST()
[all …]
H A Dtest_strip_components.c14 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()
49 assertIsSymlink("target/s2", "d2/f1", 0); in DEFINE_TEST()
52 failure("d0/d1/d2 should be extracted"); in DEFINE_TEST()
53 assertIsDir("target/d2", -1); in DEFINE_TEST()
[all …]
H A Dtest_option_n.c55 * d2/file4 in DEFINE_TEST()
64 assertMakeDir("d2", 0755); in DEFINE_TEST()
65 assertMakeFile("d2/file4", 0644, "d2/file4"); in DEFINE_TEST()
68 "d2/file4 >c.out 2>c.err", testprog)); in DEFINE_TEST()
79 "d2/file4\n", in DEFINE_TEST()
84 systemf("%s -tf partial-archive.tar d1 file3 d2/file4 " in DEFINE_TEST()
91 "d2/file4\n", in DEFINE_TEST()
96 systemf("%s -tnf partial-archive.tar d1 file3 d2/file4 " in DEFINE_TEST()
101 "d2/file4\n", in DEFINE_TEST()
106 systemf("%s -tf partial-archive.tar d2 >test6.out 2>test6.err", in DEFINE_TEST()
[all …]
H A Dtest_option_C_upper.c14 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()
25 assertEqualInt(0, systemf("%s -cf archive.tar -C ../d1 file1 -C ../d2 file2", testprog)); in DEFINE_TEST()
29 assertFileContents("d2/file2", 8, "file2"); in DEFINE_TEST()
40 assertEqualInt(0, systemf("%s -cf archive.tar -C .. -C d1 file1 -C .. -C d2 file2", testprog)); in DEFINE_TEST()
44 assertFileContents("d2/file2", 8, "file2"); in DEFINE_TEST()
54 r = systemf("%s -cf archive.tar -C ../XXX file1 -C ../d2 file2 2>write.err", testprog); in DEFINE_TEST()
H A Dtest_option_s.c42 systemf("%s -cf test1_2.tar -s /d1/d2/ in/d1/foo", testprog); in DEFINE_TEST()
44 assertFileContents("foo", 3, "test1/in/d2/foo"); in DEFINE_TEST()
98 systemf("%s -cf - in/d1 | %s -xf - -s /d1/d2/ -C test6a", in DEFINE_TEST()
100 assertFileContents("realfile", 8, "test6a/in/d2/realfile"); in DEFINE_TEST()
101 assertFileContents("realfile", 8, "test6a/in/d2/symlink"); in DEFINE_TEST()
102 assertIsSymlink("test6a/in/d2/symlink", "realfile", 0); in DEFINE_TEST()
105 systemf("%s -cf - -s /d1/d2/ in/d1 | %s -xf - -C test6b", in DEFINE_TEST()
107 assertFileContents("realfile", 8, "test6b/in/d2/realfile"); in DEFINE_TEST()
108 assertFileContents("realfile", 8, "test6b/in/d2/symlink"); in DEFINE_TEST()
109 assertIsSymlink("test6b/in/d2/symlink", "realfile", 0); in DEFINE_TEST()
[all …]
/freebsd/contrib/unbound/util/data/
H A Ddname.c100 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()
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()
125 d2++; in query_dname_compare()
129 lab2 = *d2++; in query_dname_compare()
233 dname_pkt_compare(sldns_buffer* pkt, uint8_t* d1, uint8_t* d2) in dname_pkt_compare() argument
237 log_assert(pkt && d1 && d2); in dname_pkt_compare()
[all …]
H A Ddname.h95 * @param d2: dname to compare
99 int query_dname_compare(uint8_t* d1, uint8_t* d2);
117 * @param d2: dname to compare
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);
209 * See if domain name d1 is a strict subdomain of d2.
213 * @param d2: domain name, uncompressed wireformat
214 * @param labs2: number of labels in d2, including root label.
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTStructuralEquivalence.cpp42 // Decl *D1, Decl *D2);
52 // Decl *D2)`. So far so good, this is almost like the BFS. However, if we
101 Decl *D1, Decl *D2);
1409 VarDecl *D1, VarDecl *D2) { in IsStructurallyEquivalent() argument
1411 IdentifierInfo *Name2 = D2->getIdentifier(); in IsStructurallyEquivalent()
1415 if (!IsStructurallyEquivalent(Context, D1->getType(), D2->getType())) in IsStructurallyEquivalent()
1421 if (D1->isThisDeclarationADefinition() != D2->isThisDeclarationADefinition()) in IsStructurallyEquivalent()
1424 if (D1->getStorageClass() != D2->getStorageClass()) in IsStructurallyEquivalent()
1427 return IsStructurallyEquivalent(Context, D1->getInit(), D2->getInit()); in IsStructurallyEquivalent()
1441 RecordDecl *D2 = Field2->getType()->castAs<RecordType>()->getDecl(); in IsStructurallyEquivalent() local
[all …]
/freebsd/crypto/openssl/crypto/poly1305/asm/
H A Dpoly1305-x86.pl150 $d0,$d1,$d2,$d3,
272 &mov (&DWP($d2,"esp"),"edi");
300 &mov ("ecx",&DWP($d2,"esp"));
392 my ($D0,$D1,$D2,$D3,$D4,$T0,$T1,$T2)=map("xmm$_",(0..7));
408 &movdqa ($D2,$D4);
412 &psrldq ($D2,6);
414 &movdqa ($D3,$D2);
415 &psrlq ($D2,4)
417 &pand ($D2,$MASK);
426 &movdqa (&QWP(16*2,"esp"),$D2);
[all …]
H A Dpoly1305-x86_64.pl104 my ($d1,$d2,$d3, $r0,$r1,$s1)=map("%r$_",(8..13));
112 mov %rax,$d2
122 add %rax,$d2
132 add $h1,$d2
137 add $d2,$h1
344 my ($H0,$H1,$H2,$H3,$H4, $T0,$T1,$T2,$T3,$T4, $D0,$D1,$D2,$D3,$D4, $MASK) =
376 mov $r0,$d2
381 shr \$26,$d2
386 and $d2#d,%edx
394 shr \$26,$d2
[all …]
H A Dpoly1305-armv4.pl305 adds $h2,lr,r0 @ d2+=d1>>32
308 adds $h3,r2,r1 @ d3+=d2>>32
444 my ($D0,$D1,$D2,$D3,$D4, $H0,$H1,$H2,$H3,$H4) = map("q$_",(5..14));
493 @ d2 = h2*r0 + h1*r1 + h0*r2 + h4*5*r3 + h3*5*r4
499 vmull.u32 $D2,$R2,${R0}[1]
505 vmlal.u32 $D2,$R1,${R1}[1]
512 vmlal.u32 $D2,$R0,${R2}[1]
518 vmlal.u32 $D2,$R4,${S3}[1]
524 vmlal.u32 $D2,$R3,${S4}[1]
589 vadd.i64 $D2,$D2,$T1 @ h1 -> h2
[all …]
H A Dpoly1305-c64xplus.pl33 ($D0,$D1,$D2,$D3)= ("A9","B9","A11","B11");
124 LDNW *${INPB}[-2],$D2 ; load inp[2]
141 || SWAP2 $D2,$D2
143 || SWAP4 $D2,$D2
151 || ADDU $D2,B28,$D2:$H2 ; h2+=inp[2]
161 || ADDU B25,$D2:$H2,$D2:$H2 ; ADDU $D1,$D2:$H2,$D2:$H2
169 || ADDU $D2,$D3:$H3,$D3:$H3
197 || [A2] LDNW *${INPB}[-2],$D2 ; load inp[2]
210 ADD A31,A23,A23 ; final hi("d2")
215 || ADDU A20,A19:A18,A19:A18 ; final lo("d2")
[all …]
H A Dpoly1305-sparcv9.pl52 my ($d0,$d1,$d2,$d3) = map("%g$_",(1..4));
171 set 16,$d2
186 ldxa [$inp+$d2]0x88,$d2
191 sllx $d2,$shl,$d2
192 or $d2,$d1,$d1
205 umul $r2,$h0,$d2
216 add $t2,$d2,$d2
225 add $t0,$d2,$d2
234 add $t1,$d2,$d2
242 add $t1,$d2,$d2
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/gen/
H A Dt_fpclassify.c60 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()
104 double d0, d1, d2, f, ip; in ATF_TC_BODY() local
120 d2 = ldexp(d0, -i); in ATF_TC_BODY()
121 ATF_REQUIRE_EQ(d2, d1); in ATF_TC_BODY()
123 d2 = modf(d1, &ip); in ATF_TC_BODY()
124 ATF_REQUIRE_EQ(d2, d1); in ATF_TC_BODY()
[all …]
/freebsd/contrib/ldns/
H A Dduration.c78 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()
83 if (!d1 || !d2) { in ldns_duration_compare()
87 if (d1->years != d2->years) { in ldns_duration_compare()
88 return (int) (d1->years - d2->years); in ldns_duration_compare()
90 if (d1->months != d2->months) { in ldns_duration_compare()
91 return (int) (d1->months - d2->months); in ldns_duration_compare()
93 if (d1->weeks != d2->weeks) { in ldns_duration_compare()
94 return (int) (d1->weeks - d2->weeks); in ldns_duration_compare()
96 if (d1->days != d2->days) { in ldns_duration_compare()
[all …]
/freebsd/tools/test/stress2/misc/
H A Dexecpath.sh53 mkdir d1 d2
56 ln sleep d2/sleep
58 for p in $mntpoint/sleep $mntpoint/d1/sleep $mntpoint/d2/sleep; do
67 ln d1/execpath d2/execpath
71 r=`./d2/execpath`
72 echo $r | grep -q "/d2/" || { s=1; echo "fail: $r. Expected d2 @ 2"; }
75 r=`(cd d2; ./execpath)`
76 echo $r | grep -q "/d2/" || { s=1; echo "fail: $r. Expected d2 @ 4"; }
H A Dmountro4.sh50 d2=`stat -f '%a %m %c' $f1`
51 if [ "$d1" != "$d2" ]; then
52 echo "ufs: Access time was updated. $d1 != $d2"
68 d2=`stat -f '%a %m %c' $f1`
69 if [ "$d1" != "$d2" ]; then
70 echo "tmpfs: Access time was updated. $d1 != $d2"
92 d2=`stat -f '%a %m %c' $f1`
93 if [ "$d1" != "$d2" ]; then
94 echo "msdosfs: Access time was updated. $d1 != $d2"
H A Dfsync4.sh32 # "fsync4: msync(0x82d3cc000), file d1/d2/d3/d4/d5/../file.92660:
64 mkdir -p d1/d2/d3/d4/d5
109 char *path = "d1/d2/d3/d4/d5";
110 char d1[1024], d2[1024], file[1024];
113 snprintf(d2, sizeof(d2), "%s/new.%d", path, getpid());
120 if (rename(d1, d2) == -1)
121 err(1, "rename(%s, %s)", d1, d2);
139 if (rename(d2, d1) == -1)
140 err(1, "rename(%s, %s)", d2, d1);
H A Dfsync3.sh60 mkdir -p d1/d2/d3/d4/d5
99 char *path = "d1/d2/d3/d4/d5";
100 char d1[1024], d2[1024], file[1024];
104 snprintf(d2, sizeof(d2), "%s/new.%d", path, getpid());
109 if (rename(d1, d2) == -1)
110 err(1, "rename(%s, %s)", d1, d2);
116 if (rename(d2, d1) == -1)
117 err(1, "rename(%s, %s)", d2, d1);
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/
H A Du8.h67 #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); \
93 VEC8_LINE3(A2, B2, C2, D2); \
95 VEC8_LINE4(A2, B2, C2, D2); \
[all …]
/freebsd/crypto/openssl/crypto/chacha/asm/
H A Dchacha-c64xplus.pl123 my ($d0,$d1,$d2,$d3) = (12..15);
134 || XOR @X[$a2],@X[$d2],@X[$d2]
140 || SWAP2 @X[$d2],@X[$d2]
145 || ADD @X[$d2],@X[$c2],@X[$c2]
170 || XOR @Y[$a2],@Y[$d2],@Y[$d2]
176 || XOR @X[$a2],@X[$d2],@X[$d2]
180 || ROTL @X[$d2],8,@X[$d2]
182 || SWAP2 @Y[$d2],@Y[$d2]
188 || ADD @Y[$d2],@Y[$c2],@Y[$c2]
194 || ADD @X[$d2],@X[$c2],@X[$c2]
[all …]
/freebsd/contrib/sendmail/libsm/
H A Dt-float.c24 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/libkern/
H A Dqsort.c115 size_t d1, d2; variable
187 d2 = pd - pc;
188 if (d1 <= d2) {
197 if (d2 > es) {
199 /* qsort(pn - d2, d2 / es, es, cmp); */
200 a = pn - d2;
201 n = d2 / es;
206 if (d2 > es) {
208 qsort_r(pn - d2, d2 / es, es, cmp, thunk);
210 qsort(pn - d2, d2 / es, es, cmp);
/freebsd/usr.bin/diff3/
H A Ddiff3.c362 struct diff *d1, *d2, *d3; in merge() local
367 d2 = d23; in merge()
372 t2 = (d2 < d23 + m2); in merge()
377 if (!t2 || (t1 && d1->new.to < d2->new.from)) { in merge()
385 j = edit(d2, dup, j, DIFF_TYPE1); in merge()
391 if (!t1 || (t2 && d2->new.to < d1->new.from)) { in merge()
394 keep(1, &d2->new); in merge()
395 change(3, &d2->new, false); in merge()
396 change(2, &d2->old, false); in merge()
400 j = edit(d2, dup, j, DIFF_TYPE2); in merge()
[all …]
/freebsd/contrib/kyua/engine/
H A Dfilters_test.cpp230 const engine::test_filter f(fs::path("d1/d2/prog"), "t1"); in ATF_TEST_CASE_BODY()
231 ATF_REQUIRE( f.matches_test_case(fs::path("d1/d2/prog"), "t1")); in ATF_TEST_CASE_BODY()
232 ATF_REQUIRE(!f.matches_test_case(fs::path("d1/d2/prog"), "t2")); in ATF_TEST_CASE_BODY()
236 const engine::test_filter f(fs::path("d1/d2"), ""); in ATF_TEST_CASE_BODY()
237 ATF_REQUIRE( f.matches_test_case(fs::path("d1/d2/prog"), "t1")); in ATF_TEST_CASE_BODY()
238 ATF_REQUIRE( f.matches_test_case(fs::path("d1/d2/prog"), "t2")); in ATF_TEST_CASE_BODY()
239 ATF_REQUIRE( f.matches_test_case(fs::path("d1/d2/prog2"), "t2")); in ATF_TEST_CASE_BODY()
241 ATF_REQUIRE(!f.matches_test_case(fs::path("d2"), "foo")); in ATF_TEST_CASE_BODY()
250 const engine::test_filter f1(fs::path("d1/d2"), ""); in ATF_TEST_CASE_BODY()
254 const engine::test_filter f1(fs::path("d1/d2"), ""); in ATF_TEST_CASE_BODY()
[all …]

12345678910>>...31