Home
last modified time | relevance | path

Searched refs:tot (Results 1 – 25 of 32) sorted by relevance

12

/dragonfly/games/mille/
H A Dend.c46 int temp, tot, num; in finalscore() local
54 for (tot = 5; tot <= 9; tot++) in finalscore()
58 tot = SC_TRIP; in finalscore()
65 tot += SC_DELAY; in finalscore()
75 pp->total += tot; in finalscore()
95 for (tot = 5; tot <= 9; tot++) in extrapolate()
99 for (count = 0, tot = 0; tot < NUM_SAFE; tot++) in extrapolate()
103 tot += count; in extrapolate()
109 for (count = 0, tot = 0; tot < NUM_SAFE; tot++) in extrapolate()
113 tot += count; in extrapolate()
[all …]
H A Droll.c45 int tot; in roll() local
47 tot = 0; in roll()
49 tot += random() % nsides + 1; in roll()
50 return tot; in roll()
/dragonfly/games/monop/
H A Droll.c45 long tot; in roll() local
47 tot = 0; in roll()
49 tot += (random() % nsides) + 1; in roll()
50 return (int)tot; in roll()
H A Dhouses.c264 int tot; in sell_h() local
303 for (tot = i = 0; i < mp->num_in; i++) in sell_h()
304 tot += input[i]; in sell_h()
305 if (tot) { in sell_h()
306 printf("You asked to sell %d house%s for $%d\n", tot, in sell_h()
307 tot == 1 ? "" : "s", tot * price); in sell_h()
309 cur_p->money += tot * price; in sell_h()
310 for (tot = i = 0; i < mp->num_in; i++) in sell_h()
/dragonfly/contrib/lvm2/dist/lib/uuid/
H A Duuid.c160 int i, tot; in id_write_format() local
172 for (i = 0, tot = 0; i < 7; i++) { in id_write_format()
173 memcpy(buffer, id->uuid + tot, group_size[i]); in id_write_format()
175 tot += group_size[i]; in id_write_format()
/dragonfly/crypto/libressl/crypto/asn1/
H A Dasn1_par.c121 const unsigned char *p, *ep, *tot, *op, *opp; in asn1_parse2() local
134 tot = p + length; in asn1_parse2()
140 while ((p < tot) && (op < p)) { in asn1_parse2()
180 r = asn1_parse2(bp, &p, (long)(tot - p), in asn1_parse2()
187 if ((r == 2) || (p >= tot)) { in asn1_parse2()
236 if (len == 1 && p < tot) { in asn1_parse2()
/dragonfly/lib/libutil/
H A Dlogin_cap.c538 rlim_t tot; in login_getcaptime() local
567 tot = 0; in login_getcaptime()
606 tot += rmultiply(tim, mult); in login_getcaptime()
611 return tot; in login_getcaptime()
681 rlim_t tot; in login_getcapsize() local
697 tot = 0; in login_getcapsize()
733 tot += rmultiply(siz, mult); in login_getcapsize()
738 return tot; in login_getcapsize()
/dragonfly/test/stress/
H A Dtuxload.c203 long tot; in randomfill() local
207 tot = opt_mbfile * 1024L; in randomfill()
210 for (i = 0; i < tot; i += 32) /* 8MB by default */ in randomfill()
/dragonfly/contrib/gmp/mpn/generic/
H A Dmu_divappr_q.c238 static int errarr[5]; static int err_rec; static int tot); in mpn_preinv_mu_divappr_q()
261 tot++; in mpn_preinv_mu_divappr_q()
265 if (tot % 0x10000 == 0) in mpn_preinv_mu_divappr_q()
268 printf (" %d(%.1f%%)", errarr[i], 100.0*errarr[i]/tot); in mpn_preinv_mu_divappr_q()
H A Dmu_div_qr.c310 static int errarr[5]; static int err_rec; static int tot); in mpn_preinv_mu_div_qr()
333 tot++; in mpn_preinv_mu_div_qr()
337 if (tot % 0x10000 == 0) in mpn_preinv_mu_div_qr()
340 printf (" %d(%.1f%%)", errarr[i], 100.0*errarr[i]/tot); in mpn_preinv_mu_div_qr()
/dragonfly/contrib/lvm2/dist/libdm/mm/
H A Ddbg_malloc.c189 unsigned long tot = 0; in dm_dump_memory_debug() local
213 tot += mb->length; in dm_dump_memory_debug()
217 log_very_verbose("%ld bytes leaked in total", tot); in dm_dump_memory_debug()
/dragonfly/usr.bin/dsynth/
H A Dbuild.c1742 size_t tot = 0; in childInstallPkgDeps_recurse() local
1856 tot += st.st_size; in childInstallPkgDeps_recurse()
1858 tot += st.st_size * 3; in childInstallPkgDeps_recurse()
1860 tot += st.st_size * 5; in childInstallPkgDeps_recurse()
1862 tot += st.st_size * 5; in childInstallPkgDeps_recurse()
1873 return tot; in childInstallPkgDeps_recurse()
2908 size_t tot; in buildskipreason() local
2915 tot = 0; in buildskipreason()
2946 tot += strlen(reason + tot); in buildskipreason()
2947 reason[tot++] = ' '; in buildskipreason()
[all …]
/dragonfly/crypto/libressl/ssl/
H A Dssl_pkt.c477 unsigned int tot, n, nw; in ssl3_write_bytes() local
486 tot = s->s3->wnum; in ssl3_write_bytes()
499 if (len < tot) in ssl3_write_bytes()
500 len = tot; in ssl3_write_bytes()
501 n = (len - tot); in ssl3_write_bytes()
508 i = do_ssl3_write(s, type, &(buf[tot]), nw); in ssl3_write_bytes()
510 s->s3->wnum = tot; in ssl3_write_bytes()
523 return tot + i; in ssl3_write_bytes()
527 tot += i; in ssl3_write_bytes()
/dragonfly/usr.bin/col/
H A Dcol.c403 int i, j, nchars, last_col, save, this_col, tot; in flush_line() local
436 for (tot = 0, i = 0; i <= l->l_max_col; i++) { in flush_line()
438 count[i] = tot; in flush_line()
439 tot += save; in flush_line()
/dragonfly/games/trek/
H A Dphaser.c97 double tot; in phaser() local
207 tot = n * (n + 1) / 2; in phaser()
222 b->units = ((n - i) / tot) * extra; in phaser()
/dragonfly/sys/kern/
H A Dkern_subr.c101 size_t tot; in uiomove() local
115 tot = 0; in uiomove()
127 tot += cnt; in uiomove()
131 if (tot > 1024*1024) in uiomove()
/dragonfly/usr.sbin/ngctl/
H A Dmain.c428 int tot, len, done; in HelpCmd() local
434 tot = snprintf(buf, in HelpCmd()
437 done = len == tot; in HelpCmd()
/dragonfly/crypto/libressl/crypto/txt_db/
H A Dtxt_db.c248 long i, j,n, nn, l, tot = 0; in TXT_DB_write() local
285 tot += j; in TXT_DB_write()
287 ret = tot; in TXT_DB_write()
/dragonfly/stand/boot/common/
H A Dmodule.c189 int fd, got, tot; in command_crc() local
220 tot = 0; in command_crc()
235 tot += got; in command_crc()
237 printf("%7d %08x %s\n", tot, crc, name); in command_crc()
/dragonfly/contrib/gcc-4.7/gcc/
H A Dggc-zone.c1917 int n, tot; in ggc_collect_1()
1920 tot = 0; in ggc_collect_1()
1925 tot += chunk->size; in ggc_collect_1()
1929 i, n, tot); in ggc_collect_1()
/dragonfly/usr.bin/vi/catalog/
H A Ddutch.UTF-8.base56 062 "Informatie met betrekking tot gebruiker nummer %u niet gevonden"
217 226 "Het scherm kan slechts verkleind worden tot %d regels"
/dragonfly/contrib/nvi2/catalog/
H A Ddutch.base56 062 "Informatie met betrekking tot gebruiker nummer %u niet gevonden"
217 226 "Het scherm kan slechts verkleind worden tot %d regels"
/dragonfly/sys/platform/pc64/x86_64/
H A Dtrap.c167 uint64_t tot[SYS_MAXSYSCALL]; member
1292 scwc->tot[code] += tscval - scwc->timings[code][idx]; in syscall2()
/dragonfly/tools/tools/net80211/wesside/wesside/
H A Dwesside.c2321 int tot = bpfh->bh_hdrlen + bpfh->bh_caplen; in get_80211() local
2322 int offset = BPF_WORDALIGN(tot); in get_80211()
2325 *totlen -= offset - tot; /* take into account align bytes */ in get_80211()
/dragonfly/sys/dev/netif/ig_hal/
H A De1000_hw.h594 u64 tot; member

12