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

12

/freebsd-10.0-release/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.0-release/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.0-release/crypto/openssl/ssl/
H A Ds23_pkt.c68 int i,num,tot; local
72 tot=s->init_off;
77 i=BIO_write(s->wbio,&(buf[tot]),num);
80 s->init_off=tot;
85 if (i == num) return(tot+i);
88 tot+=i;
H A Ds2_pkt.c424 unsigned int n,tot; local
449 tot=s->s2->wnum;
452 n=(len-tot);
455 i=n_do_ssl_write(s,&(buf[tot]),n);
458 s->s2->wnum=tot;
464 return(tot+i);
468 tot+=i;
H A Ds3_pkt.c604 int i,tot; local
608 tot=s->s3->wnum;
626 * it must never be possible to end up with (len-tot) as a large
631 if (len < tot)
638 n=(len-tot);
646 i=do_ssl3_write(s, type, &(buf[tot]), nw, 0);
649 s->s3->wnum=tot;
661 return tot+i;
665 tot+=i;
/freebsd-10.0-release/crypto/openssl/apps/
H A Dapp_rand.c169 long tot=0; local
184 tot+=egd;
186 tot+=RAND_load_file(n,-1);
189 if (tot > 512)
191 return(tot);
/freebsd-10.0-release/lib/libkvm/
H A Dkvm_getswapinfo.c118 struct kvm_swap tot; local
123 bzero(&tot, sizeof(tot));
137 tot.ksw_total += ttl;
138 tot.ksw_used += swinfo.sw_used;
145 swap_ary[i] = tot;
164 struct kvm_swap tot; local
175 bzero(&tot, sizeof(tot));
206 tot
[all...]
/freebsd-10.0-release/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.0-release/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.0-release/crypto/openssl/crypto/des/
H A Ddes.c757 int i,j,tot; local
778 tot=0;
782 tot=valid;
802 if ((i+tot+8) > num)
805 j=(num/8*8)-tot-8;
806 memcpy(&(out[tot]),bb,(unsigned int)j);
807 tot+=j;
812 memcpy(&(out[tot]),bb,(unsigned int)i);
813 tot+=i;
815 return(tot);
829 int j,i,n,tot=0; local
[all...]
/freebsd-10.0-release/tools/tools/netmap/
H A Dbridge.c130 u_int i, tot = 0; local
136 tot += ring->avail;
138 if (0 && verbose && tot && !tx)
143 tot, NETMAP_TXRING(me->nifp, me->begin)->cur);
144 return tot;
H A Dnm_util.c235 u_int i, tot = 0; local
241 tot += ring->avail;
243 if (0 && verbose && tot && !tx)
248 tot, NETMAP_TXRING(me->nifp, me->begin)->cur);
249 return tot;
/freebsd-10.0-release/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.0-release/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.0-release/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.0-release/crypto/openssl/crypto/asn1/
H A Dasn1_par.c115 const unsigned char *p,*ep,*tot,*op,*opp; local
130 tot=p+length;
132 while ((p < tot) && (op < p))
181 r=asn1_parse2(bp,&p,(long)(tot-p),
185 if ((r == 2) || (p >= tot)) break;
/freebsd-10.0-release/crypto/openssl/crypto/comp/
H A Dc_zlib.c587 int tot = outl - zin->avail_out; local
589 if(ret < 0) return (tot > 0) ? tot : ret;
590 return tot;
633 int tot = inl - zout->avail_in; local
635 if(ret < 0) return (tot > 0) ? tot : ret;
636 return tot;
/freebsd-10.0-release/usr.bin/col/
H A Dcol.c396 int i, j, nchars, last_col, save, this_col, tot; local
429 for (tot = 0, i = 0; i <= l->l_max_col; i++) {
431 count[i] = tot;
432 tot += save;
/freebsd-10.0-release/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.0-release/crypto/openssl/crypto/txt_db/
H A Dtxt_db.c257 long i,j,n,nn,l,tot=0; local
295 tot+=j;
297 ret=tot;
/freebsd-10.0-release/sys/geom/sched/
H A Dgs_rr.c257 int i, tot = 0; local
266 gs_rr_dump_q(qp, tot);
267 tot++;

Completed in 160 milliseconds

12