| /illumos-gate/usr/src/lib/libc/port/gen/ |
| H A D | calloc.c | 44 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 D | calloc.c | 39 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 D | wcstombs.c | 44 int total = 0; local 55 if ((total += val) > n) { 56 total -= val; 62 return (total);
|
| /illumos-gate/usr/src/cmd/dtrace/test/tst/common/pid/ |
| H A D | tst.fork.c | 40 int i, j, total = 0; local 44 total += i * j; 48 return (total);
|
| H A D | tst.vfork.c | 40 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 D | err.D_IDENT_UNDEF.timespent.d | 42 total = timestamp - start;
|
| /illumos-gate/usr/src/cmd/lvm/rpc.metamedd/ |
| H A D | med_mem.c | 96 unsigned long total; local 99 total = 0; 101 total = (unsigned long)n * s; 103 if (total / n != s) 106 return (Zalloc(total));
|
| /illumos-gate/usr/src/cmd/lvm/rpc.metamhd/ |
| H A D | mhd_mem.c | 85 unsigned long total; local 88 total = 0; 90 total = (unsigned long)n * s; 92 if (total / n != s) 95 return (Zalloc(total));
|
| /illumos-gate/usr/src/cmd/dtrace/test/tst/common/buffering/ |
| H A D | tst.cputime.ksh | 35 uint64_t total; 53 total += vtimestamp - self->on; 63 /((total * 100) / (timestamp - start)) > thresh/ 66 \$\$1, ((total * 100) / (timestamp - start)));
|
| /illumos-gate/usr/src/lib/libast/common/misc/ |
| H A D | recfmt.c | 26 * 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 D | tmxleap.c | 47 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/lvm/libmeta/common/ |
| H A D | meta_mem.c | 180 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...] |
| /illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
| H A D | AvgValue.java | 45 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 D | readv.c | 52 int i, size, total = 0; local 75 total += ret; 79 return (total);
|
| H A D | writev.c | 51 int nsize, total = 0; local 79 total += ret; 81 return (total);
|
| /illumos-gate/usr/src/lib/libidmap/common/ |
| H A D | sized_array.c | 58 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 D | pictures.c | 214 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 D | yp_update.c | 69 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 D | rec_search.c | 77 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 D | util.c | 198 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 D | chk4ubin.c | 135 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));
|
| /illumos-gate/usr/src/tools/cscope-fast/ |
| H A D | mouse.h | 58 extern void drawscrollbar(int top, int bot, int total);
|
| /illumos-gate/usr/src/lib/libbc/libc/sys/4.2/ |
| H A D | readv.c | 53 int i, size, total = 0; local 78 total += ret; 83 return (total);
|
| H A D | writev.c | 54 int nsize, total = 0; local 84 total += ret; 86 return (total);
|
| /illumos-gate/usr/src/cmd/sendmail/db/btree/ |
| H A D | bt_rsearch.c | 79 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...] |