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

12345

/osnet-11/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);
/osnet-11/usr/src/lib/libmapmalloc/common/
H A Dcalloc.c38 size_t total = num * size; local
40 if (num != 0 && (total / num) != size) {
44 mp = malloc(total);
47 (void) memset(mp, 0, total);
/osnet-11/usr/src/lib/libcurses/screen/
H A Dwcstombs.c44 int total = 0; local
55 if ((total += val) > n) {
56 total -= val;
62 return (total);
/osnet-11/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...]
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Bin/
H A Danonpgpid.d68 @total[pid, execname, args[3] & B_READ ? "R" : "W"] = sum(arg1);
74 printa("%6d %-16s %1s %@d\n", @total);
H A Djs_objcpu.d50 @total = sum(this->oncpu);
57 normalize(@total, 1000000);
58 printa("Total object creation on-CPU time (ms): %@d\n\n", @total);
H A Drb_objcpu.d50 @total = sum(this->oncpu);
57 normalize(@total, 1000000);
58 printa("Total object creation on-CPU time (ms): %@d\n\n", @total);
H A Dshortlived.d14 * processes, and a table of process name by total times for each.
109 this->total = timestamp - start;
112 printf("total sample duration: %6d.%03d secs\n",
113 this->total/1000000000, (this->total%1000000000)/1000000);
H A Dhotkernel26 # PCNT Percentage of total samples
91 my $total;
101 $total += $count;
111 100 * $Count{$name} / ($total ? $total : 1);
H A Dhotuser29 # PCNT Percentage of total samples
103 my $total;
114 $total += $count;
124 100 * $Count{$name} / ($total ? $total : 1);
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Mem/
H A Danonpgpid.d68 @total[pid, execname, args[3] & B_READ ? "R" : "W"] = sum(arg1);
74 printa("%6d %-16s %1s %@d\n", @total);
/osnet-11/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...]
/osnet-11/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));
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/JavaScript/
H A Djs_objcpu.d50 @total = sum(this->oncpu);
57 normalize(@total, 1000000);
58 printa("Total object creation on-CPU time (ms): %@d\n\n", @total);
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Ruby/
H A Drb_objcpu.d50 @total = sum(this->oncpu);
57 normalize(@total, 1000000);
58 printa("Total object creation on-CPU time (ms): %@d\n\n", @total);
/osnet-11/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...]
/osnet-11/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...]
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Proc/
H A Dshortlived.d14 * processes, and a table of process name by total times for each.
109 this->total = timestamp - start;
112 printf("total sample duration: %6d.%03d secs\n",
113 this->total/1000000000, (this->total%1000000000)/1000000);
/osnet-11/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...]
/osnet-11/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);
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/
H A Dhotkernel26 # PCNT Percentage of total samples
91 my $total;
101 $total += $count;
111 100 * $Count{$name} / ($total ? $total : 1);
H A Dhotuser29 # PCNT Percentage of total samples
103 my $total;
114 $total += $count;
124 100 * $Count{$name} / ($total ? $total : 1);
/osnet-11/usr/src/lib/libnsl/yp/
H A Dyp_update.c65 struct timeval total; local
125 total.tv_sec = TOTAL_TIMEOUT;
126 total.tv_usec = 0;
127 clnt_control(client, CLSET_TIMEOUT, (char *)&total);
130 xdr_u_int, (char *)&rslt, total);
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_search.c75 recno_t total; local
79 for (pg = P_ROOT, total = 0;;) {
84 t->bt_cur.index = recno - total;
89 if (++idx == top || total + r->nrecs > recno)
91 total += r->nrecs;

Completed in 84 milliseconds

12345