/freebsd/contrib/libarchive/tar/test/ |
H A D | test_option_s.c | 15 assertMakeDir("in/d1", 0755); in DEFINE_TEST() 16 assertMakeFile("in/d1/foo", 0644, "foo"); in DEFINE_TEST() 17 assertMakeFile("in/d1/bar", 0644, "bar"); in DEFINE_TEST() 19 assertMakeFile("in/d1/realfile", 0644, "realfile"); in DEFINE_TEST() 20 assertMakeSymlink("in/d1/symlink", "realfile", 0); in DEFINE_TEST() 22 assertMakeFile("in/d1/hardlink1", 0644, "hardlinkedfile"); in DEFINE_TEST() 23 assertMakeHardlink("in/d1/hardlink2", "in/d1/hardlink1"); in DEFINE_TEST() 26 systemf("%s -cf - -s /foo/bar/ in/d1/foo > NUL 2> check.err", in DEFINE_TEST() 39 systemf("%s -cf test1_1.tar -s /foo/bar/ in/d1/foo", testprog); in DEFINE_TEST() 41 assertFileContents("foo", 3, "test1/in/d1/bar"); in DEFINE_TEST() [all …]
|
H A D | test_option_U_upper.c | 14 assertMakeDir("d1", 0755); in DEFINE_TEST() 15 assertMakeFile("d1/file1", 0644, "d1/file1"); in DEFINE_TEST() 16 assertEqualInt(0, systemf("%s -cf archive.tar file1 d1/file1", testprog)); in DEFINE_TEST() 63 assertMakeSymlink("d1", "realDir", 1); in DEFINE_TEST() 64 r = systemf("%s -xf ../archive.tar d1/file1 >test.out 2>test.err", testprog); in DEFINE_TEST() 66 assertIsSymlink("d1", "realDir", 1); in DEFINE_TEST() 67 assertFileNotExists("d1/file1"); in DEFINE_TEST() 76 assertMakeSymlink("d1", "realDir", 1); in DEFINE_TEST() 79 assertIsDir("d1", -1); in DEFINE_TEST() 80 assertFileContents("d1/file1", 8, "d1/file1"); in DEFINE_TEST() [all …]
|
H A D | test_option_T_upper.c | 26 if (!assertMakeDir("d1", 0755)) return; in DEFINE_TEST() 27 if (!assertMakeDir("d1/d2", 0755)) return; in DEFINE_TEST() 29 if (!assertMakeFile("d1/f1", 0644, "")) return; in DEFINE_TEST() 30 if (!assertMakeFile("d1/f2", 0644, "")) 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() 44 fprintf(f, "d1/f1\x0d\x0a"); /* CRLF */ in DEFINE_TEST() [all …]
|
H A D | test_option_H_upper.c | 22 assertMakeDir("d1", 0755); in DEFINE_TEST() 23 assertMakeSymlink("ld1", "d1", 1); in DEFINE_TEST() 24 assertMakeFile("d1/file1", 0644, "d1/file1"); in DEFINE_TEST() 25 assertMakeFile("d1/file2", 0644, "d1/file2"); in DEFINE_TEST() 26 assertMakeSymlink("d1/link1", "file1", 0); in DEFINE_TEST() 27 assertMakeSymlink("d1/linkX", "fileX", 0); in DEFINE_TEST() 28 assertMakeSymlink("link2", "d1/file2", 0); in DEFINE_TEST() 29 assertMakeSymlink("linkY", "d1/fileY", 0); in DEFINE_TEST() 39 assertIsSymlink("ld1", "d1", 1); in DEFINE_TEST() 40 assertIsSymlink("d1/link1", "file1", 0); in DEFINE_TEST() [all …]
|
H A D | test_option_n.c | 17 assertMakeDir("d1", 0755); in DEFINE_TEST() 18 assertMakeFile("d1/file1", 0644, "d1/file1"); in DEFINE_TEST() 24 systemf("%s -cf archive.tar -C .. d1 >c.out 2>c.err", testprog)); in DEFINE_TEST() 31 assertFileContents("d1/file1", 8, "d1/file1"); in DEFINE_TEST() 38 systemf("%s -cnf archive.tar -C .. d1 >c.out 2>c.err", testprog)); in DEFINE_TEST() 45 assertIsDir("d1", umasked(0755)); in DEFINE_TEST() 46 assertFileNotExists("d1/file1"); in DEFINE_TEST() 51 * d1/ in DEFINE_TEST() 52 * d1/file1 in DEFINE_TEST() 53 * d1/file2 in DEFINE_TEST() [all …]
|
H A D | test_option_L_upper.c | 22 assertMakeDir("d1", 0755); in DEFINE_TEST() 23 assertMakeSymlink("ld1", "d1", 1); in DEFINE_TEST() 24 assertMakeFile("d1/file1", 0644, "d1/file1"); in DEFINE_TEST() 25 assertMakeFile("d1/file2", 0644, "d1/file2"); in DEFINE_TEST() 26 assertMakeSymlink("d1/link1", "file1", 0); in DEFINE_TEST() 27 assertMakeSymlink("d1/linkX", "fileX", 0); in DEFINE_TEST() 28 assertMakeSymlink("link2", "d1/file2", 0); in DEFINE_TEST() 29 assertMakeSymlink("linkY", "d1/fileY", 0); in DEFINE_TEST() 39 assertIsSymlink("ld1", "d1", 1); in DEFINE_TEST() 40 assertIsSymlink("d1/link1", "file1", 0); in DEFINE_TEST() [all …]
|
H A D | test_strip_components.c | 13 assertMakeDir("d1", 0755); in DEFINE_TEST() 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() 29 assertEqualInt(0, systemf("%s -cf test.tar d0/l1 d0/s1 d0/d1", in DEFINE_TEST() 32 assertEqualInt(0, systemf("%s -cf test.tar d0/l1 d0/d1", in DEFINE_TEST() [all …]
|
H A D | test_option_C_upper.c | 13 assertMakeDir("d1", 0755); in DEFINE_TEST() 15 assertMakeFile("d1/file1", 0644, "d1/file1"); in DEFINE_TEST() 16 assertMakeFile("d1/file2", 0644, "d1/file2"); in DEFINE_TEST() 25 assertEqualInt(0, systemf("%s -cf archive.tar -C ../d1 file1 -C ../d2 file2", testprog)); in DEFINE_TEST() 28 assertFileContents("d1/file1", 8, "file1"); in DEFINE_TEST() 40 assertEqualInt(0, systemf("%s -cf archive.tar -C .. -C d1 file1 -C .. -C d2 file2", testprog)); in DEFINE_TEST() 43 assertFileContents("d1/file1", 8, "file1"); in DEFINE_TEST() 71 systemf("%s -cf archive.tar -C %s/d1 file1", in DEFINE_TEST() 75 assertFileContents("d1/file1", 8, "file1"); in DEFINE_TEST() 86 systemf("%s -cf archive.tar -C XXX -C %s/d1 file1", in DEFINE_TEST() [all …]
|
/freebsd/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_fpclassify.c | 60 float d0, d1, d2, f, ip; in ATF_TC_BODY() local 68 d1 = d0; in ATF_TC_BODY() 72 d1 /= 2; in ATF_TC_BODY() 73 ATF_REQUIRE_EQ(fpclassify(d1), FP_SUBNORMAL); in ATF_TC_BODY() 74 ATF_REQUIRE(d1 > 0 && d1 < d0); 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() 83 f = frexpf(d1, &e); in ATF_TC_BODY() 88 d1 /= 2; in ATF_TC_BODY() [all …]
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/ |
H A D | blamka-round-avx2.h | 12 #define G1_AVX2(A0, A1, B0, B1, C0, C1, D0, D1) \ argument 30 D1 = _mm256_xor_si256(D1, A1); \ 31 D1 = rotr32(D1); \ 33 ml = _mm256_mul_epu32(C1, D1); \ 35 C1 = _mm256_add_epi64(C1, _mm256_add_epi64(D1, ml)); \ 41 #define G2_AVX2(A0, A1, B0, B1, C0, C1, D0, D1) \ argument 58 D1 = _mm256_xor_si256(D1, A1); \ 59 D1 = rotr16(D1); \ 61 ml = _mm256_mul_epu32(C1, D1); \ 63 C1 = _mm256_add_epi64(C1, _mm256_add_epi64(D1, ml)); \ [all …]
|
H A D | blamka-round-avx512f.h | 17 #define G1_AVX512F(A0, B0, C0, D0, A1, B1, C1, D1) \ argument 23 D1 = _mm512_xor_si512(D1, A1); \ 26 D1 = ror64(D1, 32); \ 29 C1 = muladd(C1, D1); \ 38 #define G2_AVX512F(A0, B0, C0, D0, A1, B1, C1, D1) \ argument 44 D1 = _mm512_xor_si512(D1, A1); \ 47 D1 = ror64(D1, 16); \ 50 C1 = muladd(C1, D1); \ 59 #define DIAGONALIZE(A0, B0, C0, D0, A1, B1, C1, D1) \ argument 68 D1 = _mm512_permutex_epi64(D1, _MM_SHUFFLE(2, 1, 0, 3)); \ [all …]
|
H A D | blamka-round-ssse3.h | 31 #define G1(A0, B0, C0, D0, A1, B1, C1, D1) \ argument 37 D1 = _mm_xor_si128(D1, A1); \ 40 D1 = _mm_roti_epi64(D1, -32); \ 43 C1 = fBlaMka(C1, D1); \ 52 #define G2(A0, B0, C0, D0, A1, B1, C1, D1) \ argument 58 D1 = _mm_xor_si128(D1, A1); \ 61 D1 = _mm_roti_epi64(D1, -16); \ 64 C1 = fBlaMka(C1, D1); \ 73 #define DIAGONALIZE(A0, B0, C0, D0, A1, B1, C1, D1) \ argument 84 t0 = _mm_alignr_epi8(D1, D0, 8); \ [all …]
|
/freebsd/crypto/openssl/ssl/ |
H A D | d1_lib.c | 69 DTLS1_STATE *d1; in dtls1_new() local 77 if ((d1 = OPENSSL_zalloc(sizeof(*d1))) == NULL) { in dtls1_new() 82 d1->buffered_messages = pqueue_new(); in dtls1_new() 83 d1->sent_messages = pqueue_new(); in dtls1_new() 86 d1->cookie_len = sizeof(s->d1->cookie); in dtls1_new() 89 d1->link_mtu = 0; in dtls1_new() 90 d1->mtu = 0; in dtls1_new() 92 if (d1->buffered_messages == NULL || d1->sent_messages == NULL) { in dtls1_new() 93 pqueue_free(d1->buffered_messages); in dtls1_new() 94 pqueue_free(d1->sent_messages); in dtls1_new() [all …]
|
/freebsd/lib/libc/arm/aeabi/ |
H A D | aeabi_vfp_double.S | 37 LOAD_DREG(d1, r2, r3) 38 vcmp.f64 d0, d1 46 LOAD_DREG(d1, r2, r3) 47 vcmpe.f64 d0, d1 55 LOAD_DREG(d1, r2, r3) 56 vcmpe.f64 d1, d0 64 LOAD_DREG(d1, r2, r3) 65 vcmp.f64 d0, d1 76 LOAD_DREG(d1, r2, r3) 77 vcmp.f64 d0, d1 [all …]
|
/freebsd/contrib/unbound/util/data/ |
H A D | dname.c | 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() 104 lab1 = *d1++; 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() 124 d1++; in query_dname_compare() 128 lab1 = *d1++; 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 D | dname.h | 94 * @param d1: dname to compare 99 int query_dname_compare(uint8_t* d1, uint8_t* d2); 116 * @param d1: dname to compare 121 int dname_pkt_compare(struct sldns_buffer* pkt, uint8_t* d1, uint8_t* d2); 179 * @param d1: first 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. 211 * @param d1: domain name, uncompressed wireformat 212 * @param labs1: number of labels in d1, including root label. [all …]
|
/freebsd/crypto/openssl/crypto/poly1305/asm/ |
H A D | poly1305-x86_64.pl | 104 my ($d1,$d2,$d3, $r0,$r1,$s1)=map("%r$_",(8..13)); 119 mov %rdx,$d1 129 adc %rdx,$d1 133 mov $d1,$h1 344 my ($H0,$H1,$H2,$H3,$H4, $T0,$T1,$T2,$T3,$T4, $D0,$D1,$D2,$D3,$D4, $MASK) = 374 mov $h0,$d1 379 shr \$26,$d1 385 and $d1#d,%eax 392 shr \$26,$d1 400 or $d1,%rax [all …]
|
/freebsd/tests/sys/vfs/ |
H A D | lookup_cap_dotdot.c | 58 asprintf(&abspath, "%s/testdir/d1/f1", cwd); in prepare_dotdot_tests() 63 ATF_REQUIRE(mkdirat(dirfd, "d1", 0777) == 0); in prepare_dotdot_tests() 64 ATF_REQUIRE(mkdirat(dirfd, "d1/d2", 0777) == 0); in prepare_dotdot_tests() 65 ATF_REQUIRE(mkdirat(dirfd, "d1/d2/d3", 0777) == 0); in prepare_dotdot_tests() 66 touchat(dirfd, "d1/f1"); in prepare_dotdot_tests() 67 touchat(dirfd, "d1/d2/f2"); in prepare_dotdot_tests() 68 touchat(dirfd, "d1/d2/d3/f3"); in prepare_dotdot_tests() 69 ATF_REQUIRE(symlinkat("d1/d2/d3", dirfd, "l3") == 0); in prepare_dotdot_tests() 70 ATF_REQUIRE(symlinkat("../testdir/d1", dirfd, "lup") == 0); in prepare_dotdot_tests() 71 ATF_REQUIRE(symlinkat("../..", dirfd, "d1/d2/d3/ld1") == 0); in prepare_dotdot_tests() [all …]
|
/freebsd/contrib/arm-optimized-routines/math/test/ |
H A D | ulp_funcs.h | 18 D1 (exp) 19 D1 (exp10) 20 D1 (exp2) 21 D1 (log) 22 D1 (log2) 24 D1 (erf) 34 F (_ZGVnN2v_sin, Z_sin, sinl, mpfr_sin, 1, 0, d1, 1) 35 F (_ZGVnN2v_cos, Z_cos, cosl, mpfr_cos, 1, 0, d1, 1) 36 F (_ZGVnN2v_exp, Z_exp, expl, mpfr_exp, 1, 0, d1, 1) 37 F (_ZGVnN2v_log, Z_log, logl, mpfr_log, 1, 0, d1, 1)
|
/freebsd/crypto/openssl/ssl/statem/ |
H A D | statem_dtls.c | 119 if (s->d1->mtu < dtls1_min_mtu(s)) in dtls1_do_write() 125 s->d1->w_msg_hdr.msg_len + DTLS1_HM_HEADER_LENGTH)) in dtls1_do_write() 180 frag_off = s->d1->w_msg_hdr.frag_off; in dtls1_do_write() 186 if (s->d1->mtu > used_len) in dtls1_do_write() 187 curr_mtu = s->d1->mtu - used_len; in dtls1_do_write() 201 if (s->d1->mtu > used_len + DTLS1_HM_HEADER_LENGTH) { in dtls1_do_write() 202 curr_mtu = s->d1->mtu - used_len; in dtls1_do_write() 268 if (type == SSL3_RT_HANDSHAKE && !s->d1->retransmitting) { in dtls1_do_write() 275 const struct hm_header_st *msg_hdr = &s->d1->w_msg_hdr; in dtls1_do_write() 335 msg_hdr = &s->d1->r_msg_hdr; in dtls_get_message() [all …]
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_write_disk_symlink.c | 156 /* Dir: d1 */ in DEFINE_TEST() 158 archive_entry_copy_pathname(ae, "d1"); in DEFINE_TEST() 166 /* Symbolic link: d1nosl -> d1 */ in DEFINE_TEST() 171 archive_entry_copy_symlink(ae, "d1"); in DEFINE_TEST() 177 /* Symbolic link: d1slash -> d1/ */ in DEFINE_TEST() 182 archive_entry_copy_symlink(ae, "d1/"); in DEFINE_TEST() 188 /* Symbolic link: d1sldot -> d1/. */ in DEFINE_TEST() 193 archive_entry_copy_symlink(ae, "d1/."); in DEFINE_TEST() 199 /* Symbolic link: d1slddot -> d1/.. */ in DEFINE_TEST() 204 archive_entry_copy_symlink(ae, "d1/ in DEFINE_TEST() [all...] |
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ASTStructuralEquivalence.cpp | 42 // Decl *D1, Decl *D2); 51 // IsStructurallyEquivalent(StructuralEquivalenceContext &Context, Decl *D1, 101 Decl *D1, Decl *D2); 1409 VarDecl *D1, VarDecl *D2) { in IsStructurallyEquivalent() argument 1410 IdentifierInfo *Name1 = D1->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() 1440 RecordDecl *D1 = Field1->getType()->castAs<RecordType>()->getDecl(); in IsStructurallyEquivalent() local [all …]
|
/freebsd/crypto/openssl/crypto/des/ |
H A D | cfb_enc.c | 34 register DES_LONG d0, d1, v0, v1; in DES_cfb_encrypt() local 63 c2ln(in, d0, d1, n); in DES_cfb_encrypt() 66 d1 ^= ti[1]; in DES_cfb_encrypt() 67 l2cn(d0, d1, out, n); in DES_cfb_encrypt() 78 v1 = d1; in DES_cfb_encrypt() 85 l2c(d1, iv); in DES_cfb_encrypt() 87 sh[0] = v0, sh[1] = v1, sh[2] = d0, sh[3] = d1; in DES_cfb_encrypt() 110 c2ln(in, d0, d1, n); in DES_cfb_encrypt() 121 v1 = d1; in DES_cfb_encrypt() 128 l2c(d1, iv); in DES_cfb_encrypt() [all …]
|
/freebsd/sys/contrib/device-tree/src/riscv/allwinner/ |
H A D | sunxi-d1s-t113.dtsi | 7 #include <dt-bindings/clock/sun20i-d1-ccu.h> 8 #include <dt-bindings/clock/sun20i-d1-r-ccu.h> 11 #include <dt-bindings/reset/sun20i-d1-ccu.h> 12 #include <dt-bindings/reset/sun20i-d1-r-ccu.h> 25 compatible = "allwinner,sun20i-d1-display-engine"; 38 compatible = "allwinner,sun20i-d1-pinctrl"; 149 compatible = "allwinner,sun20i-d1-ccu"; 160 compatible = "allwinner,sun20i-d1-gpadc"; 170 compatible = "allwinner,sun20i-d1-dmic", 185 compatible = "allwinner,sun20i-d1 [all...] |
/freebsd/contrib/ldns/ |
H A D | duration.c | 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() 83 if (!d1 || !d2) { in ldns_duration_compare() 84 return d1?-1:1; 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() [all …]
|