/osnet-11/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);
|
/osnet-11/usr/src/lib/libmapmalloc/common/ |
H A D | calloc.c | 38 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 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];
|
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/ |
H A D | rec_search.c | 75 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;
|
/osnet-11/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);
|
/osnet-11/usr/src/lib/libnsl/yp/ |
H A D | yp_update.c | 65 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/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...] |
H A D | StddevValue.java | 46 private final long total; field in class:StddevValue 57 new String[] {"value", "total", "count", "totalSquares"}) 141 total = stddevTotal; 157 * @param stddevTotal sum total of all values included in the standard 162 * the 128-bit sum total of the squares of all values included in 166 * the given total, total of squares, and count 167 * @throws NumberFormatException if the given total squares is not a 175 total = stddevTotal; 195 if (stddev != standardDeviation(count, total, totalSquare [all...] |
H A D | Drop.java | 53 new String[] {"CPU", "kind", "count", "total", 129 private final long total; field in class:Drop 141 * @param totalDrops total number of drops since the source {@link 157 total = totalDrops; 168 if (total < 0) { 169 throw new IllegalArgumentException("total is negative"); 212 * Gets the total number of drops since the source {@link Consumer} 215 * @return non-negative drop total since tracing started 220 return total; 270 buf.append(", total [all...] |
/osnet-11/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)
|
H A D | mp_sync.c | 126 * Keep a count of the total number of buffers we need to write in 229 * MPOOL->lsn_cnt (the total sync count) 450 u_long total; local 474 loop: total = mp->stat.st_page_clean + mp->stat.st_page_dirty; 475 if (total == 0 || mp->stat.st_page_dirty == 0 || 476 (mp->stat.st_page_clean * 100) / total >= (u_long)pct) {
|
/osnet-11/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...] |
/osnet-11/usr/src/cmd/sendmail/src/ |
H A D | stab.c | 445 int i, t, total, types[MAXSTTYPES]; local 449 total = 0; 457 ++total; 465 sm_syslog(LOG_INFO, NOQID, "stab: total=%d (%d)", total, total - prev); 466 prev = total;
|
/osnet-11/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...] |
/osnet-11/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...] |
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | dt_strtab.c | 275 ssize_t res, total = 0; local 279 for (i = 0; i < sp->str_nbufs; i++, total += res) { 285 if ((res = func(sp->str_bufs[i], n, total, private)) <= 0) 289 if (total == 0 && sp->str_size != 0) 292 return (total);
|
/osnet-11/usr/src/lib/libadr/common/ |
H A D | adr_typeset.c | 162 int total = 1; local 164 total += 166 return (total); 169 int total = 1; local 170 total += adr_typeset_count(type->t_aux.t_union.type); /* + 1 */ 173 total += adr_typeset_count(ua->ua_type); 175 return (total);
|
/osnet-11/usr/src/grub/grub2/grub-core/bus/usb/ |
H A D | usbhub.c | 185 int total, i; 203 for (total = i = 0; (i < 250) && (total < 2000); i++, total++) 211 grub_dprintf ("usb", "total=%d\n", total); 212 if (total >= 2000) 321 int j, total; 408 for (total = j = 0; (j < 250) && (total < 200 184 int total, i; local 320 int j, total; local [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/kern/ieee1275/ |
H A D | init.c | 149 unsigned long total = 0; local 173 if (total + len > HEAP_MAX_SIZE) 174 len = HEAP_MAX_SIZE - total; 179 (total + (HEAP_MAX_ADDR - addr) > HEAP_MIN_SIZE)) /* only limit ourselves when we can afford to */ 203 total += len; 204 if (total >= HEAP_MAX_SIZE)
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | malloc_ctl.h | 7 IV topbucket, topbucket_ev, topbucket_odd, totfree, total, total_chain; member in struct:perl_mstats
|
/osnet-11/usr/src/lib/libast/amd64/include/ast/ |
H A D | cmdarg.h | 60 size_t args; /* total args */ 61 size_t commands; /* total commands */ 62 } total; member in struct:__anon1108
|
/osnet-11/usr/src/lib/libast/common/include/ |
H A D | cmdarg.h | 51 size_t args; /* total args */ 52 size_t commands; /* total commands */ 53 } total; member in struct:__anon1142
|
/osnet-11/usr/src/lib/libast/i386/include/ast/ |
H A D | cmdarg.h | 60 size_t args; /* total args */ 61 size_t commands; /* total commands */ 62 } total; member in struct:__anon1202
|