| /onnv/onnv-gate/usr/src/lib/libc/port/gen/ |
| 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);
|
| /onnv/onnv-gate/usr/src/lib/libcurses/screen/ |
| wcstombs.c | 44 int total = 0; local 55 if ((total += val) > n) { 56 total -= val; 62 return (total);
|
| 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];
|
| /onnv/onnv-gate/usr/src/uts/common/vm/ |
| 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);
|
| /onnv/onnv-gate/usr/src/cmd/dtrace/test/tst/common/pid/ |
| tst.fork.c | 40 int i, j, total = 0; local 44 total += i * j; 48 return (total);
|
| tst.vfork.c | 40 int i, j, total = 0; local 44 total += i * j; 48 return (total);
|
| /onnv/onnv-gate/usr/src/lib/libparted/common/lib/ |
| full-write.c | 62 size_t total = 0; local 75 total += n_rw; 80 return total;
|
| /onnv/onnv-gate/usr/src/cmd/lvm/rpc.metamedd/ |
| 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));
|
| /onnv/onnv-gate/usr/src/cmd/lvm/rpc.metamhd/ |
| 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));
|
| /onnv/onnv-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/ |
| 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;
|
| /onnv/onnv-gate/usr/src/lib/libbc/libc/sys/4.2/ |
| readv.c | 53 int i, size, total = 0; local 78 total += ret; 83 return (total);
|
| writev.c | 54 int nsize, total = 0; local 84 total += ret; 86 return (total);
|
| /onnv/onnv-gate/usr/src/lib/libbc/libc/sys/sys5/ |
| readv.c | 52 int i, size, total = 0; local 75 total += ret; 79 return (total);
|
| writev.c | 51 int nsize, total = 0; local 79 total += ret; 81 return (total);
|
| /onnv/onnv-gate/usr/src/uts/common/fs/proc/ |
| prusrio.c | 51 ssize_t total = uiop->uio_resid; local 88 if (total != uiop->uio_resid || !old) 115 if (total != uiop->uio_resid)
|
| /onnv/onnv-gate/usr/src/lib/libidmap/common/ |
| 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);
|
| /onnv/onnv-gate/usr/src/cmd/fm/fmd/common/ |
| fmd_buf.c | 69 size_t total = 0; local 76 total += bp->buf_size; 83 return (total);
|
| /onnv/onnv-gate/usr/src/common/openssl/crypto/lhash/ |
| lh_stats.c | 117 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...] |
| /onnv/onnv-gate/usr/src/lib/libnsl/yp/ |
| 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);
|
| /onnv/onnv-gate/usr/src/lib/lvm/libmeta/common/ |
| 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...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/ctfs/ |
| ctfs_all.c | 82 int i, total; local 86 for (i = 0, total = 0; i < ct_ntypes; i++) 87 total += contract_type_count(ct_types[i]); 89 vap->va_size = 2 + total;
|
| /onnv/onnv-gate/usr/src/cmd/fs.d/smbclnt/smbutil/ |
| view.c | 167 int error, entries, total; local 173 error = smb_netshareenum(ctx, &entries, &total, &share_info); 178 print_shares(entries, total, share_info); 183 print_shares(int entries, int total, 203 entries, total);
|
| /onnv/onnv-gate/usr/src/cmd/sendmail/db/mp/ |
| 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)
|
| /onnv/onnv-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
| 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 of the aggregated value [all...] |
| /onnv/onnv-gate/usr/src/lib/libast/common/misc/ |
| recfmt.c | 26 * total is the total file size, <=0 if not available 43 recfmt(const void* buf, size_t size, off_t total) 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...] |