Searched defs:total (Results 1 - 25 of 58) sorted by relevance

123

/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/
H A Djob.h19 * divded by @total should give something which approximately
26 * See @c completed. A zero value means "total size unknown"
28 * account before calculating @c completed/total.
30 unsigned long total; member in struct:job_progress
H A Dtest.h21 unsigned int total; member in struct:self_test
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Stdio/
H A Dfread.c61 size_t total; local
81 total = resid;
92 return ((total - resid) / size);
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/tst/common/pid/
H A Dtst.fork.c40 int i, j, total = 0; local
44 total += i * j;
48 return (total);
H A Dtst.vfork.c40 int i, j, total = 0; local
44 total += i * j;
48 return (total);
/vbox/src/VBox/Main/src-server/os2/
H A DPerformanceOs2.cpp29 virtual int getHostMemoryUsage(ULONG *total, ULONG *used, ULONG *available);
50 int CollectorOS2::getHostMemoryUsage(ULONG *total, ULONG *used, ULONG *available) argument
/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Dmonojob.c66 unsigned long total; local
92 total = ( progress.total / 128 );
93 if ( total ) {
94 percentage = ( ( 100 * completed ) / total );
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dfsync.c68 PRIntervalTime time, total = 0, shortest = 0x7fffffff, longest = 0; local
123 total += time;
133 total = total / iterations;
138 PR_IntervalToMicroseconds(total),
/vbox/src/VBox/Devices/PC/ipxe/src/tests/
H A Dtest.c54 current_tests->total++;
90 tests->name, tests->failures, tests->total );
98 tests->name, tests->total );
111 unsigned int total = 0; local
120 total += tests->total;
126 failures, total );
133 printf ( "OK: all %d tests passed\n", total );
/vbox/src/libs/xpcom18a4/xpcom/ds/
H A DnsObserverList.cpp154 PRUint32 total; local
155 mValueArray->Count(&total);
156 mIndex = PRInt32(total);
/vbox/src/VBox/Main/src-server/freebsd/
H A DPerformanceFreeBSD.cpp29 virtual int getHostMemoryUsage(ULONG *total, ULONG *used, ULONG *available);
59 int CollectorFreeBSD::getHostMemoryUsage(ULONG *total, ULONG *used, ULONG *available) argument
92 *total = cbMemPhys / _1K;
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/
H A Ddt_strtab.c277 ssize_t res, total = 0; local
281 for (i = 0; i < sp->str_nbufs; i++, total += res) {
287 if ((res = func(sp->str_bufs[i], n, total, private)) <= 0)
291 if (total == 0 && sp->str_size != 0)
294 return (total);
/vbox/src/VBox/Main/src-server/darwin/
H A DPerformanceDarwin.cpp38 uint64_t pti_total_user; /* total time */
64 virtual int getHostMemoryUsage(ULONG *total, ULONG *used, ULONG *available);
65 virtual int getRawProcessCpuLoad(RTPROCESS process, uint64_t *user, uint64_t *kernel, uint64_t *total);
116 int CollectorDarwin::getHostMemoryUsage(ULONG *total, ULONG *used, ULONG *available) argument
123 *total = totalRAM;
125 *used = *total - *available;
148 int CollectorDarwin::getRawProcessCpuLoad(RTPROCESS process, uint64_t *user, uint64_t *kernel, uint64_t *total) argument
161 *total = mach_absolute_time();
/vbox/src/VBox/Main/testcase/
H A DtstCollector.cpp211 ULONG total, used, available; local
213 int rc = collector->getHostFilesystemUsage(FSNAME, &total, &used, &available);
223 RTPrintf("tstCollector: host root fs total = %lu mB\n", total);
305 RTPrintf("tstCollector: host disk util = %llu msec (%u.%u %%), total = %llu msec\n\n",
532 ULONG total, used, available, processUsed; local
534 rc = collector->getHostMemoryUsage(&total, &used, &available);
546 RTPrintf("tstCollector: host mem total = %lu kB\n", total);
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/cmd/jdtrace/
H A DJDTrace.java299 double total = 0;
333 total += Math.abs((double)v);
354 printDistributionLine(v, total, positives, negatives);
359 printDistributionLine(long val, double total, boolean positives, argument
366 assert (!(total == 0 && (positives || negatives)));
369 assert (!(val != 0 && total == 0));
373 f = (Math.abs((double)val) * (double)len) / total;
385 f = (Math.abs((double)val) * (double)len) / total;
404 f = (Math.abs((double)val) * (double)len) / total;
/vbox/src/VBox/RDP/client-1.8.3/
H A Dtcp.c134 int sent, total = 0; local
142 while (total < length)
146 sent = SSL_write(g_ssl, s->data + total, length - total);
170 sent = send(g_sock, s->data + total, length - total, 0);
190 total += sent;
/vbox/src/libs/xpcom18a4/xpcom/tests/StringFactoringTests/
H A Dprofile_main.cpp110 int total = 0; local
114 total += foo( someCString );
121 int total = 0; local
125 total += foo( nsCString() );
132 int total = 0; local
136 total += foo( nsCString("This is a reasonable length string with some text in it and it is good.") );
265 PRUint32 total = 0; local
269 total += s1.CountChar('e');
/vbox/src/libs/xpcom18a4/xpcom/tests/
H A DTestPipes.cpp140 PRUint32 total = 0;
156 total += writeCount;
165 printf("wrote %d bytes, time = %dms\n", total,
167 NS_ASSERTION(receiver->GetBytesRead() == total, "didn't read everything");
185 PRUint32 total = 0; local
201 total += count;
203 printf("read %d bytes\n", total);
253 PRUint32 total = 0;
263 total += writeCount;
278 printf("wrote %d bytes\n", total);
[all...]
/vbox/src/libs/zlib-1.2.6/examples/
H A Dgun.c114 output file, a running CRC-32 check on the output and the total number of
120 int check; /* true if checking crc and total */
122 unsigned long total; member in struct:outd
125 /* Write output buffer and update the CRC-32 and total bytes written. write()
137 me->total += len;
469 outd.total = 0;
493 if (NEXT() != (int)(outd.total & 0xff) ||
494 NEXT() != (int)((outd.total >> 8) & 0xff) ||
495 NEXT() != (int)((outd.total >> 16) & 0xff) ||
496 NEXT() != (int)((outd.total >> 2
[all...]
/vbox/src/libs/zlib-1.2.6/test/
H A Dinfcover.c27 and high water mark of total bytes requested, optionally set a limit on the
28 total memory that can be allocated, and when done check for memory leaks.
36 mem_limit(&strm, limit) sets a limit on the total bytes requested -- a
41 mem_used(&strm, "msg") prints to stderr "msg" and the total bytes used
65 size_t total, highwater; /* total allocations, and largest total */ member in struct:mem_zone
79 if (zone == NULL || (zone->limit && zone->total + len > zone->limit))
103 zone->total += item->size;
104 if (zone->total > zon
[all...]
/vbox/src/VBox/Main/src-server/win/
H A DPerformanceWin.cpp60 virtual int getHostMemoryUsage(ULONG *total, ULONG *used, ULONG *available);
65 virtual int getRawProcessCpuLoad(RTPROCESS process, uint64_t *user, uint64_t *kernel, uint64_t *total);
130 uint64_t user, kernel, idle, total; local
134 total = user + kernel + idle;
170 vmStats.cpuTotal = total;
298 int CollectorWin::getHostMemoryUsage(ULONG *total, ULONG *used, ULONG *available) argument
305 *total = totalRAM;
307 *used = *total - *available;
317 int CollectorWin::getRawProcessCpuLoad(RTPROCESS process, uint64_t *user, uint64_t *kernel, uint64_t *total) argument
328 *total
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ath/ath5k/
H A Dath5k_eeprom.c1722 u32 total, offset; local
1730 for (offset = 0x1f, octet = 0, total = 0; offset >= 0x1d; offset--) {
1735 total += data;
1741 if (!total || total == 3 * 0xffff)
/vbox/src/libs/zlib-1.2.6/
H A Dinflate.h89 unsigned long total; /* protected copy of output count */ member in struct:inflate_state
/vbox/src/VBox/Devices/Network/slirp/
H A Dsocket.c241 int n, nn, lss, total; local
291 total = iov[0].iov_len + iov[1].iov_len;
292 if (total > mss)
294 lss = total % mss;
1167 /* Fix ip->ip_len to contain the total packet length including the header
/vbox/src/VBox/Main/src-server/linux/
H A DPerformanceLinux.cpp51 virtual int getHostMemoryUsage(ULONG *total, ULONG *used, ULONG *available);
52 virtual int getHostFilesystemUsage(const char *name, ULONG *total, ULONG *used, ULONG *available);
59 virtual int getRawProcessCpuLoad(RTPROCESS process, uint64_t *user, uint64_t *kernel, uint64_t *total);
197 int CollectorLinux::getRawProcessCpuLoad(RTPROCESS process, uint64_t *user, uint64_t *kernel, uint64_t *total) argument
208 *total = mUser + mKernel + mIdle;
212 int CollectorLinux::getHostMemoryUsage(ULONG *total, ULONG *used, ULONG *available) argument
219 *total = totalRAM;
221 *used = *total - *available;
226 int CollectorLinux::getHostFilesystemUsage(const char *path, ULONG *total, ULONG *used, ULONG *available) argument
236 *total
[all...]

Completed in 116 milliseconds

123