/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/uts/common/vm/ |
H A D | vm_rm.c | 81 * 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);
|
/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);
|
H A D | wgetstr.c | 68 int total = 0; local 114 i = total; 115 total = cpos = 0; 122 total -= (i = length[cpos]); 134 /* Update total. */ 167 /* character to total. */ 178 total += length[cpos];
|
H A D | wgetwstr.c | 53 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/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/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/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/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/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/uts/common/fs/proc/ |
H A D | prusrio.c | 51 ssize_t total = uiop->uio_resid; local 88 if (total != uiop->uio_resid || !old) 115 if (total != uiop->uio_resid)
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | transport.c | 137 unsigned int total = 0; local 150 total += part; 155 return (total);
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | compat_ohash.h | 42 unsigned int total; member in struct:ohash
|
/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/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/cmd/sendmail/db/mp/ |
H A D | mp_region.c | 61 size_t fsize, total; local 96 total = 0; 110 total += fsize = __db_shsizeof(bhp); 111 if (fsize >= len || total >= 3 * len) 116 restart = total = 0; 168 total += fsize = __db_shsizeof(bhp); 186 if (fsize >= len || total >= 3 * len)
|
/illumos-gate/usr/src/cmd/fs.d/smbclnt/smbutil/ |
H A D | view.c | 165 int error, entries, total; local 171 error = smb_netshareenum(ctx, &entries, &total, &share_info); 177 print_shares(entries, total, share_info); 182 print_shares(int entries, int total, argument 202 entries, total);
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | microfind.c | 165 long long int total = 0; local 185 total += d; 189 return (total / tc);
|