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

12

/freebsd-10-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-10-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-10-stable/crypto/openssl/ssl/
H A Ds23_pkt.c68 int i, num, tot; local
72 tot = s->init_off;
76 i = BIO_write(s->wbio, &(buf[tot]), num);
78 s->init_off = tot;
84 return (tot + i);
87 tot += i;
H A Ds2_pkt.c401 unsigned int n, tot; local
425 tot = s->s2->wnum;
428 n = (len - tot);
430 i = n_do_ssl_write(s, &(buf[tot]), n);
432 s->s2->wnum = tot;
436 return (tot + i);
440 tot += i;
H A Ds3_pkt.c625 int i, tot; local
629 tot = s->s3->wnum;
647 * possible to end up with (len-tot) as a large number that will then
651 if (len < tot) {
656 n = (len - tot);
663 i = do_ssl3_write(s, type, &(buf[tot]), nw, 0);
665 s->s3->wnum = tot;
678 return tot + i;
682 tot += i;
/freebsd-10-stable/crypto/openssl/apps/
H A Dapp_rand.c169 long tot = 0; local
185 tot += egd;
187 tot += RAND_load_file(n, -1);
191 if (tot > 512)
193 return (tot);
/freebsd-10-stable/lib/libkvm/
H A Dkvm_getswapinfo.c119 struct kvm_swap tot; local
124 bzero(&tot, sizeof(tot));
138 tot.ksw_total += ttl;
139 tot.ksw_used += swinfo.sw_used;
146 swap_ary[i] = tot;
166 struct kvm_swap tot; local
177 bzero(&tot, sizeof(tot));
208 tot
[all...]
/freebsd-10-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-10-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-10-stable/sys/crypto/aesni/
H A Daesni_wrap.c52 __m128i tot, ivreg; local
58 tot = aesni_enc(rounds - 1, key_schedule,
60 ivreg = tot;
61 _mm_storeu_si128((__m128i *)to, tot);
105 __m128i tot; local
132 tot = aesni_enc(rounds - 1, key_schedule,
134 _mm_storeu_si128((__m128i *)to, tot);
144 __m128i tot; local
171 tot = aesni_dec(rounds - 1, key_schedule,
173 _mm_storeu_si128((__m128i *)to, tot);
[all...]
/freebsd-10-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-10-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-10-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-10-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-10-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-10-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-10-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-10-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-10-stable/crypto/openssl/crypto/txt_db/
H A Dtxt_db.c259 long i, j, n, nn, l, tot = 0; local
296 tot += j;
298 ret = tot;
/freebsd-10-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-10-stable/usr.sbin/ngctl/
H A Dmain.c585 int tot, len, done; local
591 tot = snprintf(buf,
594 done = len == tot;

Completed in 262 milliseconds

12