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

123456789

/illumos-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);
/illumos-gate/usr/src/lib/libmapmalloc/common/
H A Dcalloc.c39 size_t total; local
42 total = 0;
44 total = num * size;
47 if ((total / num) != size) {
53 mp = malloc(total);
56 (void) memset(mp, 0, total);
/illumos-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);
H A Dwgetwstr.c53 int total = 0; local
96 i = total;
97 total = cpos = 0;
103 total -= (i = length[cpos]);
115 /* Update total. */
128 /* character to total. */
138 total += length[cpos];
/illumos-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);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/end/
H A Derr.D_IDENT_UNDEF.timespent.d42 total = timestamp - start;
/illumos-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)));
/illumos-gate/usr/src/test/zfs-tests/tests/functional/projectquota/
H A Dprojectspace_004_pos.ksh68 total=$(df -b $PRJDIR | tail -n 1 | awk '{ print $2 }')
69 [[ $total -ge 9590000 && $total -le 9598900 ]] || \
70 log_fail "expect '9590000-9598900' resource, but got '$total'"
/illumos-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...]
/illumos-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));
/illumos-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...]
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/
H A Dreadv.c52 int i, size, total = 0; local
75 total += ret;
79 return (total);
H A Dwritev.c51 int nsize, total = 0; local
79 total += ret;
81 return (total);
/illumos-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);
/illumos-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...]
/illumos-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);
/illumos-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;
/illumos-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);
/illumos-gate/usr/src/tools/chk4ubin/
H A Dchk4ubin.c136 int64_t total; local
182 total = symtab_size + strtab_size;
183 off = total & pagemask;
189 total, toxic_start, toxic_end);
197 total, toxic_start, toxic_end);
205 (void) printf("total: 0x%llx "
206 "(0x%llx, 0x%llx)\n", total, (total & ~pagemask),
207 (total & pagemask));
/illumos-gate/usr/src/tools/cscope-fast/
H A Dmouse.h58 extern void drawscrollbar(int top, int bot, int total);
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/
H A Dreadv.c53 int i, size, total = 0; local
78 total += ret;
83 return (total);
H A Dwritev.c54 int nsize, total = 0; local
84 total += ret;
86 return (total);
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_rsearch.c79 db_recno_t i, recno, total; local
146 total = RE_NREC(h);
149 *recnop = recno = total + 1;
152 if (recno <= total)
156 if (!LF_ISSET(S_PAST_EOF) || recno > total + 1) {
170 for (total = 0;;) {
173 recno -= total;
206 if (++indx == top || total + bi->nrecs >= recno)
208 total += bi->nrecs;
213 recno -= total;
[all...]
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_rm.c81 * Return a 16-bit binary fraction representing the percent of total memory
83 * Defined as the ratio of a_rss for the process to total physical memory.
93 ulong_t total = total_pages; local
104 total >>= shift;
106 return (num / total);

Completed in 134 milliseconds

123456789