Searched refs:total (Results 51 - 75 of 479) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/usr.bin/systat/
H A Dpigs.c96 float total; local
104 total = 0.0;
107 total += pt[i].pt_pctcpu;
110 if (total < 1.0)
111 total = 1.0;
112 factor = 50.0/total;
/netbsd-6-1-5-RELEASE/tests/net/bpf/
H A Dt_bpf.c111 const size_t total = extra_bytes + UINT_MAX + 1; local
125 sz = round_page((total + (iov_max - 1)) / iov_max);
132 while(sz + iov[0].iov_len <= total)
140 if(sz < total)
142 iov[iovlen].iov_len = total - sz;
149 ATF_REQUIRE_EQ(iov[iovlen-1].iov_len, total % iov[0].iov_len);
/netbsd-6-1-5-RELEASE/common/dist/zlib/contrib/dotzlib/DotZLib/
H A DDeflater.cs60 int total = count;
64 while (err >= 0 && inputIndex < total)
66 copyInput(data, inputIndex, Math.Min(total - inputIndex, kBufferSize));
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/zlib/contrib/dotzlib/DotZLib/
H A DDeflater.cs60 int total = count;
64 while (err >= 0 && inputIndex < total)
66 copyInput(data, inputIndex, Math.Min(total - inputIndex, kBufferSize));
/netbsd-6-1-5-RELEASE/games/rogue/
H A Dhit.c180 int i = 0, j, n, d, total = 0; local
201 total += get_rand(1, d);
203 total += d;
207 return(total);
239 int total = 0; local
242 total = (10 * total) + (s[i] - '0');
245 return(total);
252 long total = 0; local
255 total
[all...]
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/src/
H A Dgssapi-client.c153 size_t total; local
162 total = 2;
163 while ((got = recv (sock, buf + total, sizeof buf - total, 0)))
168 total += got;
169 if (strrchr (buf + total - got, '\n'))
172 buf[total] = '\0';
173 if (buf[total - 1] == '\n')
174 buf[total - 1] = '\0';
/netbsd-6-1-5-RELEASE/sys/arch/ews4800mips/ews4800mips/
H A Dsbd.c78 size_t size, total = 0; local
121 total += size;
124 printf(" total %dMB\n", total);
126 mem_clusters[0].size = total << 20;
/netbsd-6-1-5-RELEASE/usr.bin/fincore/
H A Dfincore.c157 const uintmax_t total = howmany(st.st_size, page_size); local
158 const double pct = (total != 0) ? ((double)n / total * 100) : 0;
164 printf(" %ju / %ju in-core pages (%0.2f%%)", n, total, pct);
/netbsd-6-1-5-RELEASE/usr.bin/m4/lib/
H A Dohash.h41 unsigned int total; member in struct:ohash
/netbsd-6-1-5-RELEASE/sys/arch/hp700/stand/mkboot/
H A Dmkboot.c233 int n, total; local
291 total = 0;
304 total += n;
310 load.count = htobe32(4 + total);
314 warnx("wrote %d bytes of file \'%s\'", total, from_file);
316 total += sizeof(load);
318 lseek(to, -total, SEEK_CUR);
321 lseek(to, total - sizeof(load), SEEK_CUR);
325 n = sizeof(int) - total % sizeof(int);
326 if (total
[all...]
/netbsd-6-1-5-RELEASE/distrib/utils/embedded/
H A Dmkimage116 total=0
118 total=$(expr ${total} + $(sizeone ${setsdir}/${s}.tgz))
125 total=$(expr \( \( ${total} + ${custsize} \) / 1000000 \) + ${overhead})
128 size=${total}
131 if [ ${total} -gt ${size} ]; then
132 echo "File system size given as ${size} MB, but it needs ${total} MB" >&2
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/dns/rdata/generic/
H A Dopt_41.c103 unsigned int total; local
113 total = 0;
124 total += 4;
128 total += length;
133 if (tregion.length < total)
135 memcpy(tregion.base, sregion.base, total);
136 isc_buffer_forward(source, total);
137 isc_buffer_add(target, total);
/netbsd-6-1-5-RELEASE/external/bsd/top/dist/
H A Ddisplay.h53 void i_procstates(int total, int *brkdn, int threads);
54 void u_procstates(int total, int *brkdn, int threads);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libgomp/config/linux/
H A Dbar.c39 bar->awaited = bar->total;
91 bar->awaited = bar->total;
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libgomp/config/posix/
H A Dbar.h43 unsigned total; member in struct:__anon6923
66 ret += ++bar->arrived == bar->total;
/netbsd-6-1-5-RELEASE/sys/compat/sys/
H A Drnd.h63 uint32_t total; /* entropy from this source */ member in struct:__anon7058
75 uint32_t total; /* entropy from this source */ member in struct:__anon7059
/netbsd-6-1-5-RELEASE/external/bsd/libarchive/dist/libarchive/
H A Darchive_read_support_compression_uu.c44 int64_t total; member in struct:uudecode
412 ssize_t total; local
426 total = 0;
467 if (total == 0) {
476 if (total + len * 2 > OUT_BUFF_SIZE)
526 *out++ = n >> 16; total++;
533 *out++ = (n >> 8) & 0xFF; total++;
540 *out++ = n & 0xFF; total++;
576 *out++ = n >> 16; total++;
585 *out++ = (n >> 8) & 0xFF; total
[all...]
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/util/
H A Dnetstring.c287 ssize_t total; local
293 * Figure out the total result size.
296 for (total = 0; (data = va_arg(ap, char *)) != 0; total += data_len)
309 myname, (long) total, (int) (data_len < 30 ? data_len : 30), data);
316 vstream_fprintf(stream, "%ld:", (long) total);
/netbsd-6-1-5-RELEASE/tests/util/df/
H A Dgetmntinfo.c69 int64_t total, used; local
77 total = (int64_t)(u_long)sf->f_blocks * sf->f_bsize;
78 used = total * consumed[j] / 100;
79 sf->f_bfree = (total - used) / sf->f_bsize;
80 sf->f_bavail = (total * (100 - minfree[i]) / 100 -
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/x509v3/
H A Dv3_utl.c681 int total; member in struct:__anon668
692 v6stat.total = 0;
707 if (v6stat.total != 16)
713 if (v6stat.total == 16)
721 if (v6stat.total > 0)
728 && (v6stat.zero_pos != v6stat.total))
735 || (v6stat.zero_pos == v6stat.total))
747 memset(v6 + v6stat.zero_pos, 0, 16 - v6stat.total);
749 if (v6stat.total != v6stat.zero_pos)
750 memcpy(v6 + v6stat.zero_pos + 16 - v6stat.total,
[all...]
/netbsd-6-1-5-RELEASE/external/lgpl3/mpfr/dist/
H A Dvasprintf.c1568 return the total number of characters to be written.
1576 long total; local
1763 total = np->sign ? 1 : 0;
1764 total += np->prefix_size;
1765 total += np->ip_size;
1766 if (MPFR_UNLIKELY (total < 0 || total > INT_MAX))
1768 total += np->ip_trailing_zeros;
1769 if (MPFR_UNLIKELY (total < 0 || total > INT_MA
[all...]
/netbsd-6-1-5-RELEASE/games/canfield/canfield/
H A Dcanfield.c187 static struct betinfo this, game, total; variable in typeref:struct:
671 total.wins += valuepercardup;
736 total.hand += costofhand;
893 total.runs += costofrunthroughhand;
933 total.information += costofinformation;
979 total.information += costofinformation;
991 total.information += costofinformation;
1031 total.information += costofinformation;
1123 total.thinktime += dollars;
1129 totalcosts = total
[all...]
/netbsd-6-1-5-RELEASE/sbin/fsck_v7fs/
H A Dfreeblock.c137 int i, total, n; local
144 total = 0;
145 for (i = sb->nfreeblock - 1; (i > 0) && (n >= 0); i--, n--, total++) {
173 sb->nfreeblock, total);
174 sb->nfreeblock = total; /*shotage freeblock list. */
179 total++;
184 i--, n--, total++) {
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/config/vax/
H A Dvax.c723 vax_rtx_costs (rtx x, int code, int outer_code, int *total,
740 *total = 0;
745 *total = ((unsigned HOST_WIDE_INT) ~INTVAL (x) <= 077) ? 1 : 2;
754 *total = 1;
762 *total = 3;
767 *total = vax_float_literal (x) ? 5 : 8;
769 *total = ((CONST_DOUBLE_HIGH (x) == 0
778 *total = 2;
782 *total = 3;
789 *total
719 vax_rtx_costs(rtx x, int code, int outer_code, int *total, bool speed ATTRIBUTE_UNUSED) argument
[all...]
/netbsd-6-1-5-RELEASE/dist/smbfs/smbutil/
H A Dview.c70 int error, opt, bufsize, i, entries, total; local
109 error = smb_rap_NetShareEnum(ctx, 1, rpbuf, bufsize, &entries, &total);
123 printf("\n%d shares listed from %d available\n", entries, total);

Completed in 435 milliseconds

1234567891011>>