Searched refs:tot (Results 1 - 25 of 43) sorted by relevance

12

/freebsd-current/crypto/heimdal/lib/roken/
H A Dsnprintf-test.c62 int tot = 0; local
67 tot += try ("%d", int_values[i]);
68 tot += try ("%x", int_values[i]);
69 tot += try ("%X", int_values[i]);
70 tot += try ("%o", int_values[i]);
71 tot += try ("%#x", int_values[i]);
72 tot += try ("%#X", int_values[i]);
73 tot += try ("%#o", int_values[i]);
74 tot += try ("%10d", int_values[i]);
75 tot
95 int tot = 0; local
133 int tot = 0; local
228 int tot = 0; local
[all...]
H A Drecvmsg.c42 size_t tot = 0; local
48 tot += iov[i].iov_len;
49 buf = malloc(tot);
50 if (tot != 0 && buf == NULL) {
54 nb = ret = recvfrom (s, buf, tot, flags, msg->msg_name, &msg->msg_namelen);
H A Dreadv.c42 size_t tot = 0; local
47 tot += iov[i].iov_len;
48 buf = malloc(tot);
49 if (tot != 0 && buf == NULL) {
53 nb = ret = read (d, buf, tot);
H A Dwritev.c42 size_t tot = 0; local
47 tot += iov[i].iov_len;
48 buf = malloc(tot);
49 if (tot != 0 && buf == NULL) {
58 ret = write (d, buf, tot);
H A Dsendmsg.c44 size_t tot = 0; local
50 tot += iov[i].iov_len;
51 buf = malloc(tot);
52 if (tot != 0 && buf == NULL) {
61 ret = sendto (s, buf, tot, flags, msg->msg_name, msg->msg_namelen);
/freebsd-current/crypto/openssl/ms/
H A Dcmp.pl16 $tot=0;
31 $tot+=$n1;
49 $nm=$tot+$n1;
50 $tot+=$i+1;
51 printf STDERR "diff at char $tot of $nm\n";
/freebsd-current/sys/vm/
H A Dvm_dumpset.h83 int i, tot; local
86 tot = howmany(dump_avail[i + 1], PAGE_SIZE) -
88 if (bit < tot)
91 bit -= tot;
/freebsd-current/lib/libkvm/
H A Dkvm_getswapinfo.c118 struct kvm_swap tot; local
129 bzero(&tot, sizeof(tot));
143 tot.ksw_total += ttl;
144 tot.ksw_used += swinfo.sw_used;
151 swap_ary[i] = tot;
170 struct kvm_swap tot; local
181 bzero(&tot, sizeof(tot));
212 tot
[all...]
/freebsd-current/tools/test/stress2/tools/
H A Dvmstat.sh66 tot=$((((size * used) + 1023) / 1024))
67 [ $tot -ne 0 ] &&
68 echo "vmstat -z $name,$tot"
/freebsd-current/crypto/openssl/crypto/bn/asm/
H A Dco-586.pl120 local($tot,$end);
134 $tot=$num+$num-1;
148 for ($i=0; $i<$tot; $i++)
162 $v=2 if (($i+1) == $tot);
211 local($b,$tot,$end,$half);
235 $tot=$num+$num-1;
237 for ($i=0; $i<$tot; $i++)
250 $v=2 if ($i+1) == $tot;
/freebsd-current/sys/crypto/aesni/
H A Daesni_wrap.c57 __m128i tot, ivreg; local
63 tot = aesni_enc(rounds - 1, key_schedule,
65 ivreg = tot;
66 _mm_storeu_si128((__m128i *)to, tot);
110 __m128i tot; local
137 tot = aesni_enc(rounds - 1, key_schedule,
139 _mm_storeu_si128((__m128i *)to, tot);
149 __m128i tot; local
176 tot = aesni_dec(rounds - 1, key_schedule,
178 _mm_storeu_si128((__m128i *)to, tot);
206 __m128i tot; local
[all...]
/freebsd-current/contrib/netbsd-tests/net/icmp/
H A Dt_ping.c330 size_t tot, frag; local
403 for (tot = 0;
404 tot < 65538 - sizeof(*ip);
405 tot += (frag - sizeof(*ip))) {
406 frag = MIN(65538 - tot, sizeof(data));
407 ip->ip_off = tot >> 3;
408 assert((size_t)ip->ip_off << 3 == tot);
/freebsd-current/tools/tools/netmap/
H A Dbridge.c43 u_int i, tot = 0; local
46 tot += nm_ring_space(NETMAP_RXRING(d->nifp, i));
49 return tot;
55 u_int i, tot = 0; local
58 tot += nm_ring_space(NETMAP_TXRING(d->nifp, i));
61 return tot;
/freebsd-current/contrib/file/src/
H A Dmemtest.c73 size_t tot = len * nitems; local
74 int l = snprintf(buf, sizeof(buf), "calloc %zu %p\n", tot, p);
/freebsd-current/crypto/openssl/ssl/record/
H A Drec_layer_s3.c352 size_t tot; local
362 tot = s->rlayer.wnum;
368 * possible to end up with (len-tot) as a large number that will then
417 i = ssl3_write_pending(s, type, &buf[tot], s->rlayer.wpend_tot,
421 s->rlayer.wnum = tot;
424 tot += tmpwrit; /* this might be last fragment */
451 if (tot == 0 || wb->buf == NULL) { /* allocate jumbo buffer */
467 } else if (tot == len) { /* done? */
470 *written = tot;
474 n = (len - tot);
[all...]
/freebsd-current/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dhash.c265 int tot = min; local
283 tot += count;
288 printf(" Items : %d\n", tot);
290 printf(" Average: %5.2f\n", (float)tot / (float)hash->h_nbuckets);
/freebsd-current/usr.bin/systat/
H A Diolat.c142 uint64_t tot, samp; local
146 for (tot = 0, i = 0; i < nlat; i++)
147 tot += lats[i];
148 if (tot == 0)
150 if (tot < (uint64_t)2000 / (1000 - permill))
152 samp = tot * permill / 1000;
155 for (tot = 0, i = 0; samp >= tot && i < nlat; i++)
156 tot += lats[i];
161 return b1 + (b2 - b1) * (float)(lats[i] - (tot
[all...]
/freebsd-current/tools/test/stress2/misc/
H A Dtvnlru.sh142 uint64_t mx, tot, usec;
171 tot = 0;
180 tot += usec;
189 tvnodes, maxvnodes, (double)tot / 1000000 / n, (double)mx /
/freebsd-current/crypto/openssl/crypto/comp/
H A Dc_zlib.c416 int tot = outl - zin->avail_out; local
419 return (tot > 0) ? tot : ret;
420 return tot;
467 int tot = inl - zout->avail_in; local
470 return (tot > 0) ? tot : ret;
471 return tot;
/freebsd-current/lib/libutil/
H A Dlogin_cap.c638 rlim_t tot; local
665 tot = 0;
704 tot += rmultiply(tim, mult);
709 return tot;
824 rlim_t tot; local
838 tot = 0;
874 tot += rmultiply(siz, mult);
879 return tot;
/freebsd-current/crypto/openssl/crypto/asn1/
H A Dasn1_parse.c97 const unsigned char *p, *ep, *tot, *op, *opp; local
115 tot = p + length;
143 r = asn1_parse2(bp, &p, (long)(tot - p),
148 if ((r == 2) || (p >= tot)) {
/freebsd-current/sys/crypto/armv8/
H A Darmv8_crypto_wrap.c104 uint8x16_t tot, ivreg, tmp; local
120 tot = armv8_aes_enc(key->aes_rounds - 1,
122 ivreg = tot;
123 vst1q_u8(block, tot);
130 tot = armv8_aes_enc(key->aes_rounds - 1,
133 ivreg = tot;
134 vst1q_u8(to, tot);
/freebsd-current/sys/i386/i386/
H A Dbios.c448 size_t i, off, len, tot; local
466 tot = sig->totlen;
478 if (idx + tot > maxlen - 1) {
480 "idx %d + tot %d = %d > maxlen-1 %d\n",
481 str, idx, tot, idx+tot, maxlen-1);
498 for (i=0; i<tot; i++) {
/freebsd-current/crypto/openssl/crypto/txt_db/
H A Dtxt_db.c190 long i, j, n, nn, l, tot = 0; local
227 tot += j;
229 ret = tot;
/freebsd-current/usr.bin/col/
H A Dcol.c423 int i, j, nchars, last_col, save, this_col, tot; local
456 for (tot = 0, i = 0; i <= l->l_max_col; i++) {
458 count[i] = tot;
459 tot += save;

Completed in 162 milliseconds

12