| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Test/Harness/t/ |
| H A D | test-harness.t | 36 total => { 52 total => { 70 total => { 86 total => { 104 total => { 120 total => { 136 total => { 152 total => { 169 total => { 187 total => { [all …]
|
| /onnv-gate/usr/src/lib/libast/common/misc/ |
| H A D | recfmt.c | 43 recfmt(const void* buf, size_t size, off_t total) in recfmt() argument 81 …hr((void*)s, k = terminators[i], size / 2)) && (n = t - s + 1) > 1 && (total <= 0 || !(total % n))) in recfmt() 117 if ((total <= 0 || !(total % i)) && q->rep[i] > q->rep[n]) in recfmt() 133 if (m <= 1 && n <= 2 && total > 1 && total < 256) in recfmt() 140 n = n ? 0 : total; in recfmt() 152 off_t total; in main() local 160 total = sfsize(sfstdin); in main() 161 sfprintf(sfstdout, "%d\n", recfmt(s, size, total)); in main()
|
| /onnv-gate/usr/src/lib/lvm/libmeta/common/ |
| H A D | meta_mem.c | 180 unsigned long total; in _Calloc() local 183 total = 0; in _Calloc() 185 total = (unsigned long)n * s; in _Calloc() 187 if (total / n != s) in _Calloc() 190 return (_Zalloc(file, line, total)); in _Calloc() 201 unsigned long total; in Calloc() local 204 total = 0; in Calloc() 206 total = (unsigned long)n * s; in Calloc() 208 if (total / n != s) in Calloc() 211 return (Zalloc(total)); in Calloc()
|
| /onnv-gate/usr/src/lib/libc/port/gen/ |
| H A D | calloc.c | 44 size_t total; in calloc() local 47 total = 0; in calloc() 49 total = num * size; in calloc() 52 if (total / num != size) { in calloc() 57 return ((mp = malloc(total)) ? memset(mp, 0, total) : mp); in calloc()
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/t/op/ |
| H A D | each.t | 80 $total = 0; 81 $total += $key while $key = each %hash; 82 ok ($total == 100, "test scalar each"); 86 $total = 0; 87 $total += $key while $key = each %hash; 88 ok ($total == 100, "test scalar keys resets iterator"); 91 $total = 0; 92 $total += $key while $key = each %hash; 93 ok ($total != 100, "test iterator of each is being maintained"); 97 $total = 0; [all …]
|
| H A D | regmesg.t | 104 my $total = (@death + @warning)/2; 110 $total = $total - @utf8_death; 113 print "1..$total\n";
|
| /onnv-gate/usr/src/common/openssl/crypto/lhash/ |
| H A D | lh_stats.c | 117 unsigned long total=0,n_used=0; in lh_node_usage_stats() local 126 total+=num; in lh_node_usage_stats() 130 fprintf(out,"%lu items\n",total); in lh_node_usage_stats() 133 (int)(total/lh->num_nodes), in lh_node_usage_stats() 134 (int)((total%lh->num_nodes)*100/lh->num_nodes), in lh_node_usage_stats() 135 (int)(total/n_used), in lh_node_usage_stats() 136 (int)((total%n_used)*100/n_used)); in lh_node_usage_stats() 226 unsigned long total=0,n_used=0; in lh_node_usage_stats_bio() local 235 total+=num; in lh_node_usage_stats_bio() 239 BIO_printf(out,"%lu items\n",total); in lh_node_usage_stats_bio() [all …]
|
| /onnv-gate/usr/src/cmd/lp/filter/postscript/dpost/ |
| H A D | pictures.c | 214 long total; /* and sizes - from *fp_pic */ in picopen() local 233 while ( fscanf(fp_pic, "%s %ld\n", name, &total) != EOF ) { in picopen() 241 piccopy(fp_pic, fp, total); in picopen() 245 fseek(fp_pic, total, 1); in picopen() 264 long total; /* and size - both from *buf */ in inlinepic() local 286 if ( sscanf(buf, "%s %ld", name, &total) != 2 ) in inlinepic() 290 fprintf(fp_pic, "%s %ld\n", name, total); in inlinepic() 293 piccopy(fp, fp_pic, total); in inlinepic() 303 piccopy(FILE *fp_in, FILE *fp_out, long total) in piccopy() argument 320 for ( i = 0; i < total; i++ ) in piccopy()
|
| /onnv-gate/usr/src/cmd/cdrw/ |
| H A D | util.c | 198 uint64_t total = (uint64_t)arg; in progress() local 205 if (total == 0) { in progress() 214 total = (((uint64_t)completed) * 100)/total; in progress() 215 if (total == last_total) in progress() 217 last_total = total; in progress() 218 if (total > 100) { in progress() 224 if (total == 100) { in progress() 228 (void) snprintf(s, BUFSIZE, "%d %%", (uint_t)total); in progress()
|
| /onnv-gate/usr/src/cmd/lvm/rpc.metamedd/ |
| H A D | med_mem.c | 96 unsigned long total; in Calloc() local 99 total = 0; in Calloc() 101 total = (unsigned long)n * s; in Calloc() 103 if (total / n != s) in Calloc() 106 return (Zalloc(total)); in Calloc()
|
| /onnv-gate/usr/src/cmd/lvm/rpc.metamhd/ |
| H A D | mhd_mem.c | 85 unsigned long total; in Calloc() local 88 total = 0; in Calloc() 90 total = (unsigned long)n * s; in Calloc() 92 if (total / n != s) in Calloc() 95 return (Zalloc(total)); in Calloc()
|
| /onnv-gate/usr/src/tools/chk4ubin/ |
| H A D | chk4ubin.c | 135 int64_t total; in chk4ubin() local 181 total = symtab_size + strtab_size; in chk4ubin() 182 off = total & pagemask; in chk4ubin() 188 total, toxic_start, toxic_end); in chk4ubin() 196 total, toxic_start, toxic_end); in chk4ubin() 205 "(0x%llx, 0x%llx)\n", total, (total & ~pagemask), in chk4ubin() 206 (total & pagemask)); in chk4ubin()
|
| /onnv-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 …]
|
| /onnv-gate/usr/src/lib/libntfs/common/libntfs/ |
| H A D | compress.c | 326 s64 br, to_read, ofs, total, total2; in ntfs_compressed_attr_pread() local 364 total = total2 = 0; in ntfs_compressed_attr_pread() 421 if (total) in ntfs_compressed_attr_pread() 422 return total; in ntfs_compressed_attr_pread() 433 total += to_read; in ntfs_compressed_attr_pread() 466 if (total) in ntfs_compressed_attr_pread() 467 return total; in ntfs_compressed_attr_pread() 471 total += br; in ntfs_compressed_attr_pread() 514 if (total) in ntfs_compressed_attr_pread() 515 return total; in ntfs_compressed_attr_pread() [all …]
|
| H A D | device.c | 193 s64 br, total; in ntfs_pread() local 217 for (total = 0; count; count -= br, total += br) { in ntfs_pread() 218 br = _pread(dev, (char*)b + total, count, pos + total); in ntfs_pread() 223 if (!br || total) in ntfs_pread() 224 return total; in ntfs_pread() 239 return total; in ntfs_pread() 280 s64 written, total; in ntfs_pwrite() local 311 for (total = 0; count; count -= written, total += written) { in ntfs_pwrite() 312 written = _pwrite(dev, (const char*)b + total, count, in ntfs_pwrite() 313 pos + total); in ntfs_pwrite() [all …]
|
| /onnv-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
| H A D | AvgValue.java | 45 private final long total; field in AvgValue 77 total = averagedTotal; in AvgValue() 96 if (average != (total / count)) { in validate() 99 "average of total " + total + " and count " + in validate() 128 return total; in getTotal()
|
| /onnv-gate/usr/src/cmd/lp/cmd/lpsched/ |
| H A D | status.c | 94 total; in load_pstatus() local 113 total = 0; in load_pstatus() 159 total += len; in load_pstatus() 162 total+1 in load_pstatus() 167 total = len; in load_pstatus() 178 total += len; in load_pstatus() 181 total+1 in load_pstatus() 186 total = len; in load_pstatus() 283 total; in load_fault_status() local 296 total = 0; in load_fault_status() [all …]
|
| /onnv-gate/usr/src/lib/libcurses/screen/ |
| H A D | wcstombs.c | 44 int total = 0; in _curs_wcstombs() local 55 if ((total += val) > n) { in _curs_wcstombs() 56 total -= val; in _curs_wcstombs() 62 return (total); in _curs_wcstombs()
|
| /onnv-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)));
|
| /onnv-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;
|
| /onnv-gate/usr/src/common/openssl/crypto/x509v3/ |
| H A D | v3_utl.c | 709 int total; member 720 v6stat.total = 0; in ipv6_from_asc() 735 if (v6stat.total != 16) in ipv6_from_asc() 741 if (v6stat.total == 16) in ipv6_from_asc() 749 if (v6stat.total > 0) in ipv6_from_asc() 756 && (v6stat.zero_pos != v6stat.total)) in ipv6_from_asc() 763 || (v6stat.zero_pos == v6stat.total)) in ipv6_from_asc() 774 if (v6stat.total != 16) in ipv6_from_asc() 775 memset(v6 + v6stat.zero_pos, 0, 16 - v6stat.total); in ipv6_from_asc() 777 if (v6stat.total != v6stat.zero_pos) in ipv6_from_asc() [all …]
|
| /onnv-gate/usr/src/lib/libnsl/yp/ |
| H A D | yp_update.c | 69 struct timeval total; in yp_update() local 129 total.tv_sec = TOTAL_TIMEOUT; in yp_update() 130 total.tv_usec = 0; in yp_update() 131 clnt_control(client, CLSET_TIMEOUT, (char *)&total); in yp_update() 134 xdr_u_int, (char *)&rslt, total); in yp_update()
|
| /onnv-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/ |
| H A D | Statistic.java | 288 double total = 0; in getSnapshotForInterval() local 305 total += s.getDoubleValue().doubleValue(); in getSnapshotForInterval() 311 return (new DoubleStatistic(new Double(total / count), first, in getSnapshotForInterval() 376 long total = 0; in getSnapshotForInterval() local 392 total += s.getLongValue().longValue(); in getSnapshotForInterval() 398 return (new LongStatistic(new Long(total / count), first, in getSnapshotForInterval() 463 BigInteger total = new BigInteger("0"); in getSnapshotForInterval() local 481 total = total.add(s.getUnsignedInt64Value()); in getSnapshotForInterval() 488 new UnsignedInt64(total.divide(new BigInteger( in getSnapshotForInterval()
|
| /onnv-gate/usr/src/lib/libkmf/libkmf/common/ |
| H A D | pem_encode.c | 145 unsigned int total = 0; in PEM_EncodeUpdate() local 165 total = j+1; in PEM_EncodeUpdate() 175 total += j+1; in PEM_EncodeUpdate() 181 *outl = total; in PEM_EncodeUpdate() 492 int total = 0; in Pem2Der() local 499 while (total < inlen) { in Pem2Der() 504 i = get_line(in + total, inlen - total, buf, sizeof (buf)); in Pem2Der() 515 total += i + 1; in Pem2Der() 542 while (total < inlen) { in Pem2Der() 544 i = get_line(in+total, inlen - total, buf, sizeof (buf)); in Pem2Der() [all …]
|
| /onnv-gate/usr/src/cmd/fs.d/smbclnt/smbutil/ |
| H A D | view.c | 165 int error, entries, total; in enum_shares() local 171 error = smb_netshareenum(ctx, &entries, &total, &share_info); in enum_shares() 177 print_shares(entries, total, share_info); in enum_shares() 182 print_shares(int entries, int total, in print_shares() argument 202 entries, total); in print_shares()
|