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

123

/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/pch/
H A Dstatic-3.c4 int i, tot; local
5 for (i = tot = 0; i < 100; i++)
6 tot += a[i];
7 return tot;
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.dg/pch/
H A Dstatic-3.c4 int i, tot; local
5 for (i = tot = 0; i < 100; i++)
6 tot += a[i];
7 return tot;
/netbsd-6-1-5-RELEASE/games/mille/
H A Droll.c54 int tot; local
56 tot = 0;
58 tot += random() % nsides + 1;
59 return tot;
H A Dend.c54 int temp, tot, num; local
62 for (tot = 5; tot <= 9; tot++)
63 mvaddstr(tot, temp, " 0");
66 tot = SC_TRIP;
69 tot = SC_TRIP + SC_SAFE;
73 tot += SC_DELAY;
77 tot += SC_EXTENSION;
81 tot
99 reg int x, num, tot, count; local
[all...]
/netbsd-6-1-5-RELEASE/games/monop/
H A Droll.c53 long tot; local
55 tot = 0;
57 tot += (random() % nsides) + 1;
58 return (int)tot;
H A Dhouses.c273 int tot; local
312 for (tot = i = 0; i < mp->num_in; i++)
313 tot += input[i];
314 if (tot) {
315 printf("You asked to sell %d house%s for $%d\n", tot,
316 tot == 1 ? "" : "s", tot * price);
318 cur_p->money += tot * price;
319 for (tot = i = 0; i < mp->num_in; i++)
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dsnprintf-test.c64 int tot = 0; local
69 tot += try ("%d", int_values[i]);
70 tot += try ("%x", int_values[i]);
71 tot += try ("%X", int_values[i]);
72 tot += try ("%o", int_values[i]);
73 tot += try ("%#x", int_values[i]);
74 tot += try ("%#X", int_values[i]);
75 tot += try ("%#o", int_values[i]);
76 tot += try ("%10d", int_values[i]);
77 tot
97 int tot = 0; local
135 int tot = 0; local
230 int tot = 0; local
[all...]
H A Dreadv.c44 size_t tot = 0; local
49 tot += iov[i].iov_len;
50 buf = malloc(tot);
51 if (tot != 0 && buf == NULL) {
55 nb = ret = read (d, buf, tot);
H A Drecvmsg.c44 size_t tot = 0; local
50 tot += iov[i].iov_len;
51 buf = malloc(tot);
52 if (tot != 0 && buf == NULL) {
56 nb = ret = recvfrom (s, buf, tot, flags, msg->msg_name, &msg->msg_namelen);
H A Dwritev.c44 size_t tot = 0; local
49 tot += iov[i].iov_len;
50 buf = malloc(tot);
51 if (tot != 0 && buf == NULL) {
60 ret = write (d, buf, tot);
H A Dsendmsg.c46 size_t tot = 0; local
52 tot += iov[i].iov_len;
53 buf = malloc(tot);
54 if (tot != 0 && buf == NULL) {
63 ret = sendto (s, buf, tot, flags, msg->msg_name, msg->msg_namelen);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/25_algorithms/for_each/
H A D1.cc32 Function() : tot(0) { }
33 Function(Function&& f) : tot(f.tot) { f.tot = 0; }
38 { tot += num; }
40 int get() { return tot; }
43 int tot; member in struct:Function
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/ms/
H A Dcmp.pl10 $tot=0;
25 $tot+=$n1;
43 $nm=$tot+$n1;
44 $tot+=$i+1;
45 printf STDERR "diff at char $tot of $nm\n";
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/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...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/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;
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/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);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/tls/
H A Dopt-12.c21 int tot = 0; local
23 tot += f2 (a1, a2, i, j);
24 *(&thra[0].b[0] + i) = tot;
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.dg/tls/
H A Dopt-12.c20 int tot = 0; local
22 tot += f2 (a1, a2, i, j);
23 *(&thra[0].b[0] + i) = tot;
/netbsd-6-1-5-RELEASE/sys/arch/mvme68k/stand/sboot/
H A Detherfun.c99 u_char *tot; local
102 tot = tftp_r + (sizeof(MSG) - 1);
108 tot = (u_char *)tftp_a + 4;
125 iph->ip_len = tot - (u_char *)iph;
145 udph->uh_ulen = tot - (u_char *)udph;
147 le_put(buf, tot - buf);
/netbsd-6-1-5-RELEASE/regress/sys/fs/lfs/ckckp/
H A Dcleanalot_async.c80 int i, j, tot; local
97 tot = 0;
103 return tot;
105 ++tot;
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/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;
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/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;
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/uuid/
H A Duuid.c160 int i, tot; local
172 for (i = 0, tot = 0; i < 7; i++) {
173 memcpy(buffer, id->uuid + tot, group_size[i]);
175 tot += group_size[i];
/netbsd-6-1-5-RELEASE/tests/lib/libc/sys/
H A Dt_msync.c56 ssize_t tot; local
78 tot = 0;
80 while (tot < page) {
89 tot += rv;
/netbsd-6-1-5-RELEASE/common/dist/zlib/examples/
H A Dgzjoin.c266 local void gzinit(unsigned long *crc, unsigned long *tot, FILE *out) argument
270 *tot = 0;
276 the output, and the gzip trailer is written. crc and tot maintains the
279 of gzcopy() to write the gzip header and to initialize crc and tot. */
280 local void gzcopy(char *name, int clr, unsigned long *crc, unsigned long *tot, argument
411 /* update crc and tot */
413 *tot += (unsigned long)len;
423 put4(*tot, out);
430 unsigned long crc, tot; /* running crc and total uncompressed length */ local
444 gzinit(&crc, &tot, stdou
[all...]

Completed in 345 milliseconds

123