Searched refs:total (Results 1 - 25 of 250) sorted by relevance

12345678910

/opensolaris-onvv-gate/usr/src/lib/libc/port/gen/
H A Dcalloc.c44 size_t total; local
47 total = 0;
49 total = num * size;
52 if (total / num != size) {
57 return ((mp = malloc(total)) ? memset(mp, 0, total) : mp);
/opensolaris-onvv-gate/usr/src/lib/libcurses/screen/
H A Dwcstombs.c44 int total = 0; local
55 if ((total += val) > n) {
56 total -= val;
62 return (total);
/opensolaris-onvv-gate/usr/src/cmd/dtrace/test/tst/common/pid/
H A Dtst.fork.c40 int i, j, total = 0; local
44 total += i * j;
48 return (total);
H A Dtst.vfork.c40 int i, j, total = 0; local
44 total += i * j;
48 return (total);
/opensolaris-onvv-gate/usr/src/cmd/dtrace/test/tst/common/end/
H A Derr.D_IDENT_UNDEF.timespent.d42 total = timestamp - start;
/opensolaris-onvv-gate/usr/src/cmd/lvm/rpc.metamedd/
H A Dmed_mem.c96 unsigned long total; local
99 total = 0;
101 total = (unsigned long)n * s;
103 if (total / n != s)
106 return (Zalloc(total));
/opensolaris-onvv-gate/usr/src/cmd/lvm/rpc.metamhd/
H A Dmhd_mem.c85 unsigned long total; local
88 total = 0;
90 total = (unsigned long)n * s;
92 if (total / n != s)
95 return (Zalloc(total));
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Test/Harness/t/
H A Dtest-harness.t36 total => {
52 total => {
70 total => {
86 total => {
104 total => {
120 total => {
136 total => {
152 total => {
169 total => {
187 total
[all...]
/opensolaris-onvv-gate/usr/src/lib/libparted/common/lib/
H A Dfull-write.c62 size_t total = 0; local
75 total += n_rw;
80 return total;
/opensolaris-onvv-gate/usr/src/cmd/dtrace/test/tst/common/buffering/
H A Dtst.cputime.ksh35 uint64_t total;
53 total += vtimestamp - self->on;
63 /((total * 100) / (timestamp - start)) > thresh/
66 \$\$1, ((total * 100) / (timestamp - start)));
/opensolaris-onvv-gate/usr/src/lib/libast/common/misc/
H A Drecfmt.c26 * total is the total file size, <=0 if not available
43 recfmt(const void* buf, size_t size, off_t total) argument
81 if ((t = (unsigned char*)memchr((void*)s, k = terminators[i], size / 2)) && (n = t - s + 1) > 1 && (total <= 0 || !(total % n)))
117 if ((total <= 0 || !(total % i)) && q->rep[i] > q->rep[n])
133 if (m <= 1 && n <= 2 && total > 1 && total < 256)
140 n = n ? 0 : total;
152 off_t total; local
[all...]
/opensolaris-onvv-gate/usr/src/lib/libast/common/tm/
H A Dtmxleap.c47 for (lp = &tm_data.leap[0]; sec < (lp->time - lp->total); lp++);
48 t = tmxsns(sec + lp->total, tmxnsec(t));
/opensolaris-onvv-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mem.c180 unsigned long total; local
183 total = 0;
185 total = (unsigned long)n * s;
187 if (total / n != s)
190 return (_Zalloc(file, line, total));
201 unsigned long total; local
204 total = 0;
206 total = (unsigned long)n * s;
208 if (total / n != s)
211 return (Zalloc(total));
[all...]
/opensolaris-onvv-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DAvgValue.java45 private final long total; field in class:AvgValue
54 new String[] {"value", "total", "count"});
67 * @param averagedTotal sum total of all values averaged
71 * total and count
77 total = averagedTotal;
96 if (average != (total / count)) {
99 "average of total " + total + " and count " +
121 * Gets the sum total of the aggregated values.
123 * @return the sum total o
[all...]
/opensolaris-onvv-gate/usr/src/lib/libbc/libc/sys/sys5/
H A Dreadv.c52 int i, size, total = 0; local
75 total += ret;
79 return (total);
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dregmesg.t104 my $total = (@death + @warning)/2;
110 $total = $total - @utf8_death;
113 print "1..$total\n";
H A Deach.t80 $total = 0;
81 $total += $key while $key = each %hash;
82 ok ($total == 100, "test scalar each");
86 $total = 0;
87 $total += $key while $key = each %hash;
88 ok ($total == 100, "test scalar keys resets iterator");
91 $total = 0;
92 $total += $key while $key = each %hash;
93 ok ($total != 100, "test iterator of each is being maintained");
97 $total
[all...]
/opensolaris-onvv-gate/usr/src/lib/libidmap/common/
H A Dsized_array.c58 size_t total; local
60 total = sizeof (struct sized_array) + n*sz;
62 sa = malloc(total);
67 (void) memset(sa, 0, total);
/opensolaris-onvv-gate/usr/src/cmd/lp/filter/postscript/dpost/
H A Dpictures.c214 long total; /* and sizes - from *fp_pic */ local
233 while ( fscanf(fp_pic, "%s %ld\n", name, &total) != EOF ) {
241 piccopy(fp_pic, fp, total);
245 fseek(fp_pic, total, 1);
264 long total; /* and size - both from *buf */ local
286 if ( sscanf(buf, "%s %ld", name, &total) != 2 )
290 fprintf(fp_pic, "%s %ld\n", name, total);
293 piccopy(fp, fp_pic, total);
303 piccopy(FILE *fp_in, FILE *fp_out, long total) argument
306 /* total
[all...]
/opensolaris-onvv-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_search.c77 recno_t total; local
81 for (pg = P_ROOT, total = 0;;) {
86 t->bt_cur.index = recno - total;
91 if (++idx == top || total + r->nrecs > recno)
93 total += r->nrecs;
/opensolaris-onvv-gate/usr/src/lib/libnsl/yp/
H A Dyp_update.c69 struct timeval total; local
129 total.tv_sec = TOTAL_TIMEOUT;
130 total.tv_usec = 0;
131 clnt_control(client, CLSET_TIMEOUT, (char *)&total);
134 xdr_u_int, (char *)&rslt, total);
/opensolaris-onvv-gate/usr/src/cmd/cdrw/
H A Dutil.c198 uint64_t total = (uint64_t)arg; local
205 if (total == 0) {
214 total = (((uint64_t)completed) * 100)/total;
215 if (total == last_total)
217 last_total = total;
218 if (total > 100) {
224 if (total == 100) {
228 (void) snprintf(s, BUFSIZE, "%d %%", (uint_t)total);
/opensolaris-onvv-gate/usr/src/common/openssl/crypto/lhash/
H A Dlh_stats.c117 unsigned long total=0,n_used=0; local
126 total+=num;
130 fprintf(out,"%lu items\n",total);
133 (int)(total/lh->num_nodes),
134 (int)((total%lh->num_nodes)*100/lh->num_nodes),
135 (int)(total/n_used),
136 (int)((total%n_used)*100/n_used));
226 unsigned long total=0,n_used=0; local
235 total+=num;
239 BIO_printf(out,"%lu items\n",total);
[all...]
/opensolaris-onvv-gate/usr/src/tools/chk4ubin/
H A Dchk4ubin.c135 int64_t total; local
181 total = symtab_size + strtab_size;
182 off = total & pagemask;
188 total, toxic_start, toxic_end);
196 total, toxic_start, toxic_end);
204 (void) printf("total: 0x%llx "
205 "(0x%llx, 0x%llx)\n", total, (total & ~pagemask),
206 (total & pagemask));
/opensolaris-onvv-gate/usr/src/tools/cscope-fast/
H A Dmouse.h58 extern void drawscrollbar(int top, int bot, int total);

Completed in 134 milliseconds

12345678910