Searched refs:d1 (Results 1 - 25 of 174) sorted by relevance

1234567

/freebsd-current/contrib/netbsd-tests/lib/libc/gen/
H A Dt_fpclassify.c60 float d0, d1, d2, f, ip; local
68 d1 = d0;
72 d1 /= 2;
73 ATF_REQUIRE_EQ(fpclassify(d1), FP_SUBNORMAL);
74 ATF_REQUIRE(d1 > 0 && d1 < d0);
77 ATF_REQUIRE_EQ(d2, d1);
79 d2 = modff(d1, &ip);
80 ATF_REQUIRE_EQ(d2, d1);
83 f = frexpf(d1,
104 double d0, d1, d2, f, ip; local
155 long double d0, d1, d2, f, ip; local
[all...]
/freebsd-current/tools/test/stress2/misc/
H A Dcompare.sh34 d1=$diskimage
36 have=`df -k $(dirname $d1) | tail -1 | awk '{print int($4 / 1024)}'`
38 { echo "Not enough disk space on `dirname $d1`"; exit 1; }
40 dd if=/dev/random of=$d1 bs=1m count=512 status=none || exit 1
41 cp $d1 $d2
42 cmp $d1 $d2 && s=0 || { echo FAIL; s=1; }
43 rm -f $d1 $d2
H A Dmaxmemdom.sh39 d1=$diskimage.1
41 rm -f $d1 $d2
45 dd if=/dev/zero of=$d1 bs=1m count=$size status=none
46 cp $d1 $d2
51 rm -f $d1 $d2
H A Dvmio.sh47 d1=$diskimage.1
49 rm -f $d1 $d2 || exit 1
53 trap "rm -f $d1 $d2" EXIT INT
54 dd if=/dev/zero of=$d1 bs=1m count=$size status=none
55 cp $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];
112 snprintf(d1, sizeof(d1), "%s/dir.%d", path, getpid());
118 if (mkdir(d1, 0740) == -1)
119 err(1, "mkdir(%s)", d1);
120 if (rename(d1, d2) == -1)
121 err(1, "rename(%s, %s)", d1, d
[all...]
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];
103 snprintf(d1, sizeof(d1), "%s/dir.%d", path, getpid());
107 if (mkdir(d1, 0740) == -1)
108 err(1, "mkdir(%s)", d1);
109 if (rename(d1, d2) == -1)
110 err(1, "rename(%s, %s)", d1, d2);
116 if (rename(d2, d1)
[all...]
H A Doovm2.sh42 d1=$diskimage.1
46 rm -f $d1 $d2 $d3 $d4
49 dd if=/dev/zero of=$d1 bs=1m count=$((size / 4)) status=none
50 cp $d1 $d2 || exit
51 cp $d1 $d3 || exit
52 cp $d1 $d4 || exit
53 trap "rm -f $d1 $d2 $d3 $d4" EXIT INT
63 (cd /tmp; /tmp/oovm2 $d1) &
H A Dmountro4.sh47 d1=`stat -f '%a %m %c' $f1`
51 if [ "$d1" != "$d2" ]; then
52 echo "ufs: Access time was updated. $d1 != $d2"
65 d1=`stat -f '%a %m %c' $f1`
69 if [ "$d1" != "$d2" ]; then
70 echo "tmpfs: Access time was updated. $d1 != $d2"
89 d1=`stat -f '%a %m %c' $f1`
93 if [ "$d1" != "$d2" ]; then
94 echo "msdosfs: Access time was updated. $d1 != $d2"
H A Dexecpath.sh53 mkdir d1 d2
55 ln sleep d1/sleep
58 for p in $mntpoint/sleep $mntpoint/d1/sleep $mntpoint/d2/sleep; do
66 mv /tmp/execpath d1
67 ln d1/execpath d2/execpath
69 r=`./d1/execpath`
70 echo $r | grep -q "/d1/" || { s=1; echo "fail: $r. Expected d1 @ 1"; }
73 r=`(cd d1; ./execpath)`
74 echo $r | grep -q "/d1/" || {
[all...]
H A Doovm.sh46 d1=$diskimage.1
48 rm -f $d1 $d2
51 dd if=/dev/zero of=$d1 bs=1m count=$size status=none
52 cp $d1 $d2 || exit
53 trap "rm -f $d1 $d2" EXIT INT
63 (cd /tmp; /tmp/oovm $d1) &
/freebsd-current/crypto/openssl/ssl/
H A Dd1_lib.c69 DTLS1_STATE *d1; local
77 if ((d1 = OPENSSL_zalloc(sizeof(*d1))) == NULL) {
82 d1->buffered_messages = pqueue_new();
83 d1->sent_messages = pqueue_new();
86 d1->cookie_len = sizeof(s->d1->cookie);
89 d1->link_mtu = 0;
90 d1->mtu = 0;
92 if (d1
[all...]
/freebsd-current/lib/libc/arm/aeabi/
H A Daeabi_vfp_double.S37 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-current/contrib/unbound/util/data/
H A Ddname.h94 * @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, includin
[all...]
H A Ddname.c100 query_dname_compare(register uint8_t* d1, register uint8_t* d2) argument
103 log_assert(d1 && d2);
104 lab1 = *d1++;
118 if(*d1 != *d2 &&
119 tolower((unsigned char)*d1) != tolower((unsigned char)*d2)) {
120 if(tolower((unsigned char)*d1) < tolower((unsigned char)*d2))
124 d1++;
128 lab1 = *d1++;
233 dname_pkt_compare(sldns_buffer* pkt, uint8_t* d1, uint8_t* d2) argument
237 log_assert(pkt && d1
486 dname_lab_cmp(uint8_t* d1, int labs1, uint8_t* d2, int labs2, int* mlabs) argument
679 dname_strict_subdomain(uint8_t* d1, int labs1, uint8_t* d2, int labs2) argument
693 dname_strict_subdomain_c(uint8_t* d1, uint8_t* d2) argument
700 dname_subdomain_c(uint8_t* d1, uint8_t* d2) argument
802 dname_canon_lab_cmp(uint8_t* d1, int labs1, uint8_t* d2, int labs2, int* mlabs) argument
864 dname_canonical_compare(uint8_t* d1, uint8_t* d2) argument
872 dname_get_shared_topdomain(uint8_t* d1, uint8_t* d2) argument
[all...]
/freebsd-current/tools/test/stress2/tools/
H A Dfreeze.sh37 d1=`date -j -f '%s' '+%T' $t1`
40 echo "Freeze from $d1 to $d2, $e elapsed."
H A Dfreeze2.sh38 d1=`date -j -f '%s' '+%T' $t1`
41 echo "Freeze from $d1 to $d2, $e elapsed."
/freebsd-current/crypto/openssl/crypto/des/
H A Dcfb_enc.c34 register DES_LONG d0, d1, v0, v1; local
63 c2ln(in, d0, d1, n);
66 d1 ^= ti[1];
67 l2cn(d0, d1, out, n);
78 v1 = d1;
85 l2c(d1, iv);
87 sh[0] = v0, sh[1] = v1, sh[2] = d0, sh[3] = d1;
110 c2ln(in, d0, d1, n);
121 v1 = d1;
128 l2c(d1, i
[all...]
H A Dofb_enc.c28 register DES_LONG d0, d1, vv0, vv1, v0, v1, n = (numbits + 7) / 8; local
62 c2ln(in, d0, d1, n);
65 d1 = (d1 ^ vv1) & mask1;
66 l2cn(d0, d1, out, n);
87 v0 = v1 = d0 = d1 = ti[0] = ti[1] = vv0 = vv1 = 0;
/freebsd-current/contrib/ncurses/form/
H A Dfty_ipv4.c56 unsigned int d1, d2, d3, d4; local
60 num = sscanf(bp, "%u.%u.%u.%u%n", &d1, &d2, &d3, &d4, &len);
68 return ((num != 4 || *bp || d1 > 255 || d2 > 255
/freebsd-current/contrib/ldns/
H A Dduration.c78 ldns_duration_compare(const ldns_duration_type* d1, const ldns_duration_type* d2) argument
80 if (!d1 && !d2) {
83 if (!d1 || !d2) {
84 return d1?-1:1;
87 if (d1->years != d2->years) {
88 return (int) (d1->years - d2->years);
90 if (d1->months != d2->months) {
91 return (int) (d1->months - d2->months);
93 if (d1->weeks != d2->weeks) {
94 return (int) (d1
[all...]
/freebsd-current/sys/kern/
H A Dsubr_clockcalib.c49 double d1, d2; local
127 d1 = clk1 - mu_clk;
128 mu_clk += d1 * inv_n;
129 d2 = d1 * (clk1 - mu_clk);
133 d1 = t1 - mu_t;
134 mu_t += d1 * inv_n;
135 d2 = d1 * (t1 - mu_t);
139 d2 = d1 * (clk1 - mu_clk);
/freebsd-current/contrib/arm-optimized-routines/pl/math/test/
H A Dulp_funcs.h52 F (_ZGVnN2v_sincos_sin, v_sincos_sin, sinl, mpfr_sin, 1, 0, d1, 0)
53 F (_ZGVnN2v_sincos_cos, v_sincos_cos, cosl, mpfr_cos, 1, 0, d1, 0)
54 F (_ZGVnN2v_cexpi_sin, v_cexpi_sin, sinl, mpfr_sin, 1, 0, d1, 0)
55 F (_ZGVnN2v_cexpi_cos, v_cexpi_cos, cosl, mpfr_cos, 1, 0, d1, 0)
66 F (_ZGVsMxv_sincos_sin, sv_sincos_sin, sinl, mpfr_sin, 1, 0, d1, 0)
67 F (_ZGVsMxv_sincos_cos, sv_sincos_cos, cosl, mpfr_cos, 1, 0, d1, 0)
68 F (_ZGVsMxv_cexpi_sin, sv_cexpi_sin, sinl, mpfr_sin, 1, 0, d1, 0)
69 F (_ZGVsMxv_cexpi_cos, sv_cexpi_cos, cosl, mpfr_cos, 1, 0, d1, 0)
/freebsd-current/crypto/openssl/ssl/statem/
H A Dstatem_dtls.c119 if (s->d1->mtu < dtls1_min_mtu(s))
125 s->d1->w_msg_hdr.msg_len + DTLS1_HM_HEADER_LENGTH))
180 frag_off = s->d1->w_msg_hdr.frag_off;
186 if (s->d1->mtu > used_len)
187 curr_mtu = s->d1->mtu - used_len;
201 if (s->d1->mtu > used_len + DTLS1_HM_HEADER_LENGTH) {
202 curr_mtu = s->d1->mtu - used_len;
268 if (type == SSL3_RT_HANDSHAKE && !s->d1->retransmitting) {
275 const struct hm_header_st *msg_hdr = &s->d1->w_msg_hdr;
335 msg_hdr = &s->d1
[all...]
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/
H A Dzfs_ids_to_path_001_pos.ksh75 typeset TESTDIR1=d1
76 typeset TESTFILE2=d1/f2
77 typeset TESTDIR2=d1/d2
78 typeset TESTFILE3=d1/d2/f3
79 typeset TESTFILE4=d1/d2/f4
/freebsd-current/sys/libkern/
H A Dqsort.c115 size_t d1, d2; local
181 d1 = MIN(pa - (char *)a, pb - pa);
182 vecswap(a, pb - d1, d1);
183 d1 = MIN(pd - pc, pn - pd - es);
184 vecswap(pb, pn - d1, d1);
186 d1 = pb - pa;
188 if (d1 <= d2) {
190 if (d1 > e
[all...]

Completed in 237 milliseconds

1234567