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

1234

/netbsd-current/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-current/games/monop/
H A Droll.c52 long tot; local
54 tot = 0;
56 tot += (random() % nsides) + 1;
57 return (int)tot;
H A Dhouses.c271 int tot; local
310 for (tot = i = 0; i < mp->num_in; i++)
311 tot += input[i];
312 if (tot) {
313 printf("You asked to sell %d house%s for $%d\n", tot,
314 tot == 1 ? "" : "s", tot * price);
316 cur_p->money += tot * price;
317 for (tot = i = 0; i < mp->num_in; i++)
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dsnprintf-test.c67 int tot = 0; local
72 tot += try ("%d", 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 ("%#x", int_values[i]);
77 tot += try ("%#X", int_values[i]);
78 tot += try ("%#o", int_values[i]);
79 tot += try ("%10d", int_values[i]);
80 tot
100 int tot = 0; local
138 int tot = 0; local
234 int tot = 0; local
[all...]
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 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 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-current/crypto/external/bsd/openssl.old/dist/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";
/netbsd-current/crypto/external/bsd/openssl/dist/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";
/netbsd-current/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-current/regress/sys/fs/lfs/ckckp/
H A Dcleanalot_async.c80 int i, j, tot; local
97 tot = 0;
103 return tot;
105 ++tot;
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/tsan/
H A Danalyze_libtsan.sh40 tot=$(wc -l < $file)
52 printf "%10s tot %3d; size %4d; rsp %d; push %d; pop %d; call %d; load %2d; store %2d; sh %3d; mov %3d; lea %3d; cmp %3d\n" \
53 $f $tot $size $rsp $push $pop $call $load $store $sh $mov $lea $cmp;
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/bn/asm/
H A Dco-586.pl121 local($tot,$end);
135 $tot=$num+$num-1;
149 for ($i=0; $i<$tot; $i++)
163 $v=2 if (($i+1) == $tot);
212 local($b,$tot,$end,$half);
236 $tot=$num+$num-1;
238 for ($i=0; $i<$tot; $i++)
251 $v=2 if ($i+1) == $tot;
/netbsd-current/crypto/external/bsd/openssl/dist/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;
/netbsd-current/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-current/external/gpl3/binutils/dist/zlib/examples/
H A Dgzjoin.c265 local void gzinit(unsigned long *crc, unsigned long *tot, FILE *out) argument
269 *tot = 0;
275 the output, and the gzip trailer is written. crc and tot maintains the
278 of gzcopy() to write the gzip header and to initialize crc and tot. */
279 local void gzcopy(char *name, int clr, unsigned long *crc, unsigned long *tot, argument
410 /* update crc and tot */
412 *tot += (unsigned long)len;
422 put4(*tot, out);
429 unsigned long crc, tot; /* running crc and total uncompressed length */ local
443 gzinit(&crc, &tot, stdou
[all...]
/netbsd-current/external/gpl3/gdb/dist/zlib/examples/
H A Dgzjoin.c265 local void gzinit(unsigned long *crc, unsigned long *tot, FILE *out) argument
269 *tot = 0;
275 the output, and the gzip trailer is written. crc and tot maintains the
278 of gzcopy() to write the gzip header and to initialize crc and tot. */
279 local void gzcopy(char *name, int clr, unsigned long *crc, unsigned long *tot, argument
410 /* update crc and tot */
412 *tot += (unsigned long)len;
422 put4(*tot, out);
429 unsigned long crc, tot; /* running crc and total uncompressed length */ local
443 gzinit(&crc, &tot, stdou
[all...]
/netbsd-current/external/gpl3/binutils.old/dist/zlib/examples/
H A Dgzjoin.c265 local void gzinit(unsigned long *crc, unsigned long *tot, FILE *out) argument
269 *tot = 0;
275 the output, and the gzip trailer is written. crc and tot maintains the
278 of gzcopy() to write the gzip header and to initialize crc and tot. */
279 local void gzcopy(char *name, int clr, unsigned long *crc, unsigned long *tot, argument
410 /* update crc and tot */
412 *tot += (unsigned long)len;
422 put4(*tot, out);
429 unsigned long crc, tot; /* running crc and total uncompressed length */ local
443 gzinit(&crc, &tot, stdou
[all...]
/netbsd-current/common/dist/zlib/examples/
H A Dgzjoin.c265 local void gzinit(unsigned long *crc, unsigned long *tot, FILE *out) argument
269 *tot = 0;
275 the output, and the gzip trailer is written. crc and tot maintains the
278 of gzcopy() to write the gzip header and to initialize crc and tot. */
279 local void gzcopy(char *name, int clr, unsigned long *crc, unsigned long *tot, argument
410 /* update crc and tot */
412 *tot += (unsigned long)len;
422 put4(*tot, out);
429 unsigned long crc, tot; /* running crc and total uncompressed length */ local
443 gzinit(&crc, &tot, stdou
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/zlib/examples/
H A Dgzjoin.c265 local void gzinit(unsigned long *crc, unsigned long *tot, FILE *out) argument
269 *tot = 0;
275 the output, and the gzip trailer is written. crc and tot maintains the
278 of gzcopy() to write the gzip header and to initialize crc and tot. */
279 local void gzcopy(char *name, int clr, unsigned long *crc, unsigned long *tot, argument
410 /* update crc and tot */
412 *tot += (unsigned long)len;
422 put4(*tot, out);
429 unsigned long crc, tot; /* running crc and total uncompressed length */ local
443 gzinit(&crc, &tot, stdou
[all...]
/netbsd-current/tests/net/icmp/
H A Dt_ping.c342 size_t tot, frag; local
416 for (tot = 0;
417 tot < 65538 - sizeof(*ip);
418 tot += (frag - sizeof(*ip))) {
419 frag = MIN(65538 - tot, sizeof(data));
420 ip->ip_off = tot >> 3;
421 assert((size_t)ip->ip_off << 3 == tot);
/netbsd-current/crypto/external/bsd/netpgp/dist/src/hkpd/
H A Dhkpd.c102 int tot; local
120 for (tot = 0 ; (wc = write(sock, &outbuf[tot], n - tot)) > 0 && tot < n ; tot += wc) {
/netbsd-current/external/bsd/file/dist/src/
H A Dmemtest.c79 size_t tot = len * nitems; local
80 int l = snprintf(buf, sizeof(buf), "calloc %zu %p\n", tot, p);

Completed in 368 milliseconds

1234