Searched refs:total (Results 1 - 25 of 354) sorted by relevance

1234567891011>>

/freebsd-current/contrib/bsddialog/examples_utility/
H A Dgauge.sh13 total=`echo $characters | awk '{print split($0, a)}'`
19 echo "$(expr $(expr $i "*" 100) "/" $total)"
20 echo "[$i/$total] Char: $c"
22 if [ $i -eq $total ]
28 done | ./bsddialog --title " gauge " --gauge "[0/$total] Starting..." 10 70
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/
H A Dtst.fork.c41 int i, j, total = 0; local
45 total += i * j;
49 return (total);
H A Dtst.vfork.c41 int i, j, total = 0; local
45 total += i * j;
49 return (total);
/freebsd-current/usr.bin/cksum/
H A Dsum2.c44 off_t total; local
55 lcrc = total = 0;
57 for (total += nr, p = buf; nr--; ++p)
66 *clen = total;
H A Dsum1.c44 off_t total; local
52 lcrc = total = 0;
54 for (total += nr, p = buf; nr--; ++p) {
63 *clen = total;
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/end/
H A Derr.D_IDENT_UNDEF.timespent.d42 total = timestamp - start;
/freebsd-current/sys/powerpc/include/
H A Dstack.h39 #define GET_STACK_USAGE(total, used) do { \
41 (total) = td->td_kstack_pages * PAGE_SIZE - sizeof(struct pcb); \
42 (used) = td->td_kstack + (total) - (vm_offset_t)&td; \
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/buffering/
H A Dtst.cputime.ksh35 uint64_t total;
53 total += vtimestamp - self->on;
63 /((total * 100) / (timestamp - start)) > thresh/
66 \$\$1, ((total * 100) / (timestamp - start)));
/freebsd-current/tests/sys/kern/pipe/
H A Dpipe_reverse_test.c50 ssize_t total; local
55 total = 0;
94 if ((_size = write(desc[1], &buffer[total], s)) != s) \
96 total += _size; \
119 total += error;
125 error = read(desc[0], &buffer2[total], 2 * 4096);
126 total += error;
129 if (memcmp(buffer, buffer2, total) != 0) {
130 for (i = 0; i < (size_t)total; i++) {
142 if ((buggy == 1) || (total !
[all...]
H A Dpipe_wraparound_test.c48 ssize_t error, total; local
53 total = 0;
92 if ((_size = write(desc[1], &buffer[total], s)) != s) \
94 total += _size; \
113 total += error;
117 error = read(desc[0], &buffer2[total], 16384);
118 total += error;
121 if (memcmp(buffer, buffer2, total) != 0) {
122 for (i = 0; i < total; i++) {
/freebsd-current/crypto/openssh/regress/
H A Dmodpipe.c86 size_t total; local
106 for (total = 0;;) {
116 if (mods[i].offset < total ||
117 mods[i].offset >= total + s)
121 buf[mods[i].offset - total] ^= mods[i].m1;
124 buf[mods[i].offset - total] &= mods[i].m1;
125 buf[mods[i].offset - total] |= mods[i].m2;
139 total += s;
144 if (mods[i].offset < total)
/freebsd-current/contrib/llvm-project/lld/Common/
H A DTimer.cpp31 Timer::Timer(llvm::StringRef name) : total(0), name(std::string(name)) {}
33 : total(0), name(std::string(name)) {
40 // We want to print the grand total under all the intermediate phases, so we
41 // print all children first, then print the total under that.
43 if (child->total > 0)
53 std::chrono::nanoseconds(total))
69 if (child->total > 0)
/freebsd-current/contrib/llvm-project/lldb/source/Core/
H A DProgress.cpp22 std::optional<uint64_t> total,
26 assert(total == std::nullopt || total > 0);
27 if (total)
28 m_total = *total;
21 Progress(std::string title, std::string details, std::optional<uint64_t> total, lldb_private::Debugger *debugger) argument
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/projectquota/
H A Dprojectspace_004_pos.ksh68 total=$(df $PRJDIR | awk 'END { print $2 }')
69 [[ $total -eq 102400 ]] || log_fail "expect '102400' resource, but got '$total'"
/freebsd-current/sys/arm/include/
H A Dstack.h69 #define GET_STACK_USAGE(total, used) do { \
71 (total) = td->td_kstack_pages * PAGE_SIZE - sizeof(struct pcb); \
72 (used) = td->td_kstack + (total) - (vm_offset_t)&td; \
/freebsd-current/sys/arm64/include/
H A Dstack.h44 #define GET_STACK_USAGE(total, used) do { \
46 (total) = td->td_kstack_pages * PAGE_SIZE - sizeof(struct pcb); \
47 (used) = td->td_kstack + (total) - (vm_offset_t)&td; \
/freebsd-current/sys/riscv/include/
H A Dstack.h54 #define GET_STACK_USAGE(total, used) do { \
56 (total) = td->td_kstack_pages * PAGE_SIZE - sizeof(struct pcb); \
57 (used) = td->td_kstack + (total) - (vm_offset_t)&td; \
/freebsd-current/usr.sbin/bhyve/
H A Daudio.c227 size_t total; local
237 for (total = 0; total < count; total += len) {
238 len = write(audio_fd, buf + total, count - total);
261 size_t total; local
271 for (total = 0; total < count; total
[all...]
H A Diov.c72 size_t total = 0; local
76 total += iov[i].iov_len;
78 return (total);
102 size_t ptr, total; local
105 total = count_iov(iov, niov);
106 *buf = realloc(*buf, total);
115 return (total);
/freebsd-current/sys/compat/linuxkpi/common/include/linux/
H A Dkfifo.h41 size_t total; \
60 ((_kf)->count == (_kf)->total) ? true : false; \
74 if ((_kf)->last > (_kf)->total) \
92 if ((_kf)->first > (_kf)->total) \
108 (_kf)->total = (_s); \
119 (_kf)->total = (_kf)->count = (_kf)->first = (_kf)->last = 0; \
/freebsd-current/sys/amd64/include/
H A Dstack.h13 #define GET_STACK_USAGE(total, used) do { \
15 (total) = td->td_kstack_pages * PAGE_SIZE; \
/freebsd-current/sys/i386/include/
H A Dstack.h13 #define GET_STACK_USAGE(total, used) do { \
15 (total) = (vm_offset_t)get_pcb_td(td) - td->td_kstack; \
/freebsd-current/crypto/openssl/crypto/lhash/
H A Dlh_stats.c99 unsigned long total = 0, n_used = 0; local
106 total += num;
110 BIO_printf(out, "%lu items\n", total);
114 (int)(total / lh->num_nodes),
115 (int)((total % lh->num_nodes) * 100 / lh->num_nodes),
116 (int)(total / n_used), (int)((total % n_used) * 100 / n_used));
/freebsd-current/lib/libc/db/recno/
H A Drec_search.c66 recno_t total; local
70 for (pg = P_ROOT, total = 0;;) {
75 t->bt_cur.index = recno - total;
80 if (++idx == top || total + r->nrecs > recno)
82 total += r->nrecs;
/freebsd-current/contrib/unbound/daemon/
H A Dstats.c434 void server_stats_add(struct ub_stats_info* total, struct ub_stats_info* a) argument
436 total->svr.num_queries += a->svr.num_queries;
437 total->svr.num_queries_ip_ratelimited += a->svr.num_queries_ip_ratelimited;
438 total->svr.num_queries_cookie_valid += a->svr.num_queries_cookie_valid;
439 total->svr.num_queries_cookie_client += a->svr.num_queries_cookie_client;
440 total->svr.num_queries_cookie_invalid += a->svr.num_queries_cookie_invalid;
441 total->svr.num_queries_missed_cache += a->svr.num_queries_missed_cache;
442 total->svr.num_queries_prefetch += a->svr.num_queries_prefetch;
443 total->svr.num_queries_timed_out += a->svr.num_queries_timed_out;
444 if (total
[all...]

Completed in 373 milliseconds

1234567891011>>