| /src/games/mille/ |
| roll.c | 54 int tot; local 56 tot = 0; 58 tot += random() % nsides + 1; 59 return tot;
|
| end.c | 54 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 += SC_SHUT_OUT 99 reg int x, num, tot, count; local [all...] |
| /src/games/monop/ |
| roll.c | 52 long tot; local 54 tot = 0; 56 tot += (random() % nsides) + 1; 57 return (int)tot;
|
| houses.c | 271 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++)
|
| /src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| writev.c | 44 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);
|
| readv.c | 44 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);
|
| recvmsg.c | 44 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);
|
| sendmsg.c | 46 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);
|
| snprintf-test.c | 67 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 += try ("%10x", int_values[i]) 100 int tot = 0; local 138 int tot = 0; local 234 int tot = 0; local [all...] |
| /src/sys/arch/mvme68k/stand/sboot/ |
| etherfun.c | 99 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);
|
| /src/external/bsd/file/dist/src/ |
| memtest.c | 79 size_t tot = len * nitems; local 80 int l = snprintf(buf, sizeof(buf), "calloc %zu %p\n", tot, p);
|
| /src/lib/libc/db/recno/ |
| rec_get.c | 198 size_t tot = t->bt_rdata.size + (sz = 256); local 199 void *np = realloc(t->bt_rdata.data, tot); 202 t->bt_rdata.size = tot;
|
| /src/regress/sys/fs/lfs/ckckp/ |
| cleanalot_async.c | 80 int i, j, tot; local 97 tot = 0; 103 return tot; 105 ++tot;
|
| /src/games/trek/ |
| phaser.c | 105 double tot; local 215 tot = n * (n + 1) / 2; 230 b->units = ((n - i) / tot) * extra;
|
| /src/crypto/external/apache2/openssl/dist/crypto/txt_db/ |
| txt_db.c | 189 long i, j, n, nn, l, tot = 0; local 226 tot += j; 228 ret = tot;
|
| /src/crypto/external/bsd/openssl/dist/crypto/txt_db/ |
| txt_db.c | 190 long i, j, n, nn, l, tot = 0; local 227 tot += j; 229 ret = tot;
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/txt_db/ |
| txt_db.c | 190 long i, j, n, nn, l, tot = 0; local 227 tot += j; 229 ret = tot;
|
| /src/external/gpl2/lvm2/dist/lib/uuid/ |
| uuid.c | 160 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];
|
| /src/external/gpl3/binutils/dist/gprofng/src/ |
| DbeSyncMap.h | 198 int tot = 0; local 208 tot += cnt; 220 Dprintf (1, NTXT ("\nDbeSyncMap::dump: vals=%ld max_cnt=%d tot=%d\n"), 221 (long) VecSize (items), max_cnt, tot);
|
| /src/external/gpl3/binutils.old/dist/gprofng/src/ |
| DbeSyncMap.h | 198 int tot = 0; local 208 tot += cnt; 220 Dprintf (1, NTXT ("\nDbeSyncMap::dump: vals=%ld max_cnt=%d tot=%d\n"), 221 (long) VecSize (items), max_cnt, tot);
|
| /src/common/dist/zlib/examples/ |
| gzjoin.c | 265 local void gzinit(unsigned long *crc, unsigned long *tot, FILE *out) 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, 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, stdout) [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/asn1/ |
| asn1_parse.c | 99 const unsigned char *p, *ep, *tot, *op, *opp; local 117 tot = p + length; 145 r = asn1_parse2(bp, &p, (long)(tot - p), 150 if ((r == 2) || (p >= tot)) {
|
| /src/crypto/external/bsd/openssl/dist/crypto/asn1/ |
| asn1_parse.c | 97 const unsigned char *p, *ep, *tot, *op, *opp; local 115 tot = p + length; 143 r = asn1_parse2(bp, &p, (long)(tot - p), 148 if ((r == 2) || (p >= tot)) {
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/asn1/ |
| asn1_par.c | 72 const unsigned char *p, *ep, *tot, *op, *opp; local 90 tot = p + length; 132 r = asn1_parse2(bp, &p, (long)(tot - p), 139 if ((r == 2) || (p >= tot)) {
|
| /src/external/gpl2/lvm2/dist/libdm/mm/ |
| dbg_malloc.c | 189 unsigned long tot = 0; local 213 tot += mb->length; 217 log_very_verbose("%ld bytes leaked in total", tot);
|