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

12

/freebsd-11-stable/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 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 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 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-11-stable/crypto/openssl/crypto/bf/asm/
H A Dbf-686.pl14 $tot="esi";
55 &BF_ENCRYPT($i+1,$R,$L,$P,$tot,$tmp1,$tmp2,$tmp3);
59 &BF_ENCRYPT($i+2,$L,$R,$P,$tot,$tmp1,$tmp2,$tmp3);
75 &BF_ENCRYPT($i,$R,$L,$P,$tot,$tmp1,$tmp2,$tmp3);
78 &BF_ENCRYPT($i-1,$L,$R,$P,$tot,$tmp1,$tmp2,$tmp3);
93 local($i,$L,$R,$P,$tot,$tmp1,$tmp2,$tmp3)=@_;
96 &mov( $tot, &DWP(&n2a($i*4),$P,"",0));
102 &xor( $L, $tot);
104 &mov( $tot, &DWP(&n2a($BF_OFF+0x0000),$P,$tmp1,4));
110 &add( $tot,
[all...]
/freebsd-11-stable/crypto/openssl/ssl/
H A Ds23_pkt.c71 int i, num, tot; local
75 tot = s->init_off;
79 i = BIO_write(s->wbio, &(buf[tot]), num);
81 s->init_off = tot;
87 return (tot + i);
90 tot += i;
H A Ds3_pkt.c641 int tot; local
651 tot = s->s3->wnum;
669 * possible to end up with (len-tot) as a large number that will then
673 if ((len < tot) || ((wb->left != 0) && (len < (tot + s->s3->wpend_tot)))) {
683 i = ssl3_write_pending(s, type, &buf[tot], s->s3->wpend_tot);
686 s->s3->wnum = tot;
689 tot += i; /* this might be last fragment */
713 if (tot == 0 || wb->buf == NULL) { /* allocate jumbo buffer */
731 } else if (tot
[all...]
H A Ds2_pkt.c404 unsigned int n, tot; local
428 tot = s->s2->wnum;
431 n = (len - tot);
433 i = n_do_ssl_write(s, &(buf[tot]), n);
435 s->s2->wnum = tot;
439 return (tot + i);
443 tot += i;
/freebsd-11-stable/crypto/openssl/apps/
H A Dapp_rand.c166 long tot = 0; local
182 tot += egd;
184 tot += RAND_load_file(n, -1);
188 if (tot > 512)
190 return (tot);
/freebsd-11-stable/lib/libkvm/
H A Dkvm_getswapinfo.c119 struct kvm_swap tot; local
130 bzero(&tot, sizeof(tot));
144 tot.ksw_total += ttl;
145 tot.ksw_used += swinfo.sw_used;
152 swap_ary[i] = tot;
172 struct kvm_swap tot; local
183 bzero(&tot, sizeof(tot));
214 tot
[all...]
/freebsd-11-stable/crypto/openssl/crypto/bn/asm/
H A Dco-586.pl110 local($tot,$end);
124 $tot=$num+$num-1;
138 for ($i=0; $i<$tot; $i++)
152 $v=2 if (($i+1) == $tot);
201 local($b,$tot,$end,$half);
225 $tot=$num+$num-1;
227 for ($i=0; $i<$tot; $i++)
240 $v=2 if ($i+1) == $tot;
/freebsd-11-stable/crypto/openssl/crypto/bn/asm/x86/
H A Dcomba.pl98 local($tot,$end);
112 $tot=$num+$num-1;
126 for ($i=0; $i<$tot; $i++)
140 $v=2 if (($i+1) == $tot);
189 local($b,$tot,$end,$half);
213 $tot=$num+$num-1;
215 for ($i=0; $i<$tot; $i++)
228 $v=2 if ($i+1) == $tot;
/freebsd-11-stable/sys/crypto/aesni/
H A Daesni_wrap.c60 __m128i tot, ivreg; local
66 tot = aesni_enc(rounds - 1, key_schedule,
68 ivreg = tot;
69 _mm_storeu_si128((__m128i *)to, tot);
113 __m128i tot; local
140 tot = aesni_enc(rounds - 1, key_schedule,
142 _mm_storeu_si128((__m128i *)to, tot);
152 __m128i tot; local
179 tot = aesni_dec(rounds - 1, key_schedule,
181 _mm_storeu_si128((__m128i *)to, tot);
209 __m128i tot; local
[all...]
/freebsd-11-stable/crypto/openssl/crypto/des/
H A Ddes.c695 int i, j, tot; local
715 tot = 0;
718 tot = valid;
737 if ((i + tot + 8) > num) {
739 j = (num / 8 * 8) - tot - 8;
740 memcpy(&(out[tot]), bb, (unsigned int)j);
741 tot += j;
746 memcpy(&(out[tot]), bb, (unsigned int)i);
747 tot += i;
749 return (tot);
762 int j, i, n, tot = 0; local
[all...]
/freebsd-11-stable/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-11-stable/lib/libutil/
H A Dlogin_cap.c539 rlim_t tot; local
568 tot = 0;
607 tot += rmultiply(tim, mult);
612 return tot;
682 rlim_t tot; local
698 tot = 0;
734 tot += rmultiply(siz, mult);
739 return tot;
/freebsd-11-stable/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-11-stable/crypto/openssl/crypto/asn1/
H A Dasn1_par.c121 const unsigned char *p, *ep, *tot, *op, *opp; local
142 tot = p + length;
144 while ((p < tot) && (op < p)) {
189 r = asn1_parse2(bp, &p, (long)(tot - p),
196 if ((r == 2) || (p >= tot)) {
/freebsd-11-stable/crypto/openssl/crypto/comp/
H A Dc_zlib.c564 int tot = outl - zin->avail_out; local
567 return (tot > 0) ? tot : ret;
568 return tot;
609 int tot = inl - zout->avail_in; local
612 return (tot > 0) ? tot : ret;
613 return tot;
/freebsd-11-stable/tools/tools/netmap/
H A Dbridge.c37 u_int i, tot = 0; local
41 tot += nm_ring_space(NETMAP_TXRING(d->nifp, i));
45 tot += nm_ring_space(NETMAP_RXRING(d->nifp, i));
48 return tot;
/freebsd-11-stable/sys/i386/i386/
H A Dbios.c489 size_t i, off, len, tot; local
507 tot = sig->totlen;
519 if (idx + tot > maxlen - 1) {
521 "idx %d + tot %d = %d > maxlen-1 %d\n",
522 str, idx, tot, idx+tot, maxlen-1);
539 for (i=0; i<tot; i++) {
/freebsd-11-stable/crypto/openssl/crypto/txt_db/
H A Dtxt_db.c266 long i, j, n, nn, l, tot = 0; local
303 tot += j;
305 ret = tot;
/freebsd-11-stable/usr.bin/col/
H A Dcol.c430 int i, j, nchars, last_col, save, this_col, tot; local
463 for (tot = 0, i = 0; i <= l->l_max_col; i++) {
465 count[i] = tot;
466 tot += save;
/freebsd-11-stable/sys/geom/sched/
H A Dgs_rr.c257 int i, tot = 0; local
266 gs_rr_dump_q(qp, tot);
267 tot++;

Completed in 295 milliseconds

12