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

123

/haiku/src/system/libroot/posix/glibc/locale/
H A Dgen-translit.pl60 $total = 0;
71 printf("%4d", $total);
72 $total += $fromlens[$cnt] + 1;
102 $total = 0;
113 printf("%4d", $total);
114 $total += $tolens[$cnt] + 2;
/haiku/src/libs/stdc++/legacy/
H A Disgetline.cc97 char *_sb_readline (streambuf *sb, long& total, char terminator) argument
107 long old_total = total;
108 total += count;
110 total++; // Include ch in total.
111 ptr = _sb_readline(sb, total, terminator);
119 ptr = new char[total+1];
121 ptr[total] = '\0';
122 memcpy(ptr + total - count, buf, count);
/haiku/src/apps/processcontroller/
H A DTeamBarMenu.cpp75 double total = 0; local
92 total += item->fUser + item->fKernel;
138 total += item->fUser + item->fKernel;
155 total /= gCPUcount;
156 total = 1 - total;
162 if (total >= 0)
163 noiseItem->SetLost(total);
H A DMemoryBarMenu.cpp87 int total = 0; local
104 total += m;
151 total += m;
/haiku/src/tests/system/kernel/
H A Dreserved_areas_test.cpp22 size_t total = 0; local
27 printf("out of memory after having allocated %ld bytes\n", total);
30 total += size;
/haiku/headers/private/kernel/util/
H A Diovec_support.h64 size_t total = 0; local
72 if (vecs[i].iov_len > SSIZE_MAX || total > (SSIZE_MAX - vecs[i].iov_len)) {
76 total += vecs[i].iov_len;
/haiku/src/add-ons/accelerants/common/
H A Dvalidate_display_mode.cpp35 uint16& total, const timing_constraints& constraints)
61 if (total < syncStart + syncLength + constraints.min_after_sync) {
62 TRACE("%s: total(%" B_PRIu16 ")"
66 __func__, total, syncStart, syncLength, constraints.min_after_sync);
67 total = syncStart + syncLength + constraints.min_after_sync;
70 if (total > constraints.max_total) {
71 TRACE("%s: total(%" B_PRIu16 ") > max_total(%" B_PRIu16 ")\n",
72 __func__, total, constraints.max_total);
73 total = constraints.max_total;
74 syncLength = min_c(syncLength, uint16(total
34 sanitize_timing(uint16& display, uint16& syncStart, uint16& syncEnd, uint16& total, const timing_constraints& constraints) argument
[all...]
/haiku/src/bin/
H A Dlistres.cpp93 off_t total = 0; local
126 total += size;
130 printf("\n%" B_PRIdOFF " bytes total in resources.\n", total);
H A Dtop.cpp129 bigtime_t total; local
178 total = entry.total_time();
179 gtotal += total;
222 total = it->total_time();
224 idletime += total;
226 gtotal += total;
234 total / 1000.0,
237 cpu_perc(total, uinterval),
H A Dlistattr.cpp242 off_t total = 0; local
288 total += attrInfo.size;
296 printf("\n%" B_PRId64 " bytes total in attributes.\n", total);
/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_ra.h66 * total: How many Tx attempts (initial attempt + any retries) were made?
71 int mcs, unsigned int total, unsigned int fail);
H A Dieee80211_ra_vht.h72 * total: How many Tx attempts (initial attempt + any retries) were made?
77 int mcs, int nss, unsigned int total, unsigned int fail);
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Ddevice.c210 s64 br, total; local
224 for (total = 0; count; count -= br, total += br) {
225 br = dops->pread(dev, (char*)b + total, count, pos + total);
230 if (!br || total)
231 return total;
236 return total;
261 s64 written, total, ret = -1; local
280 for (total
[all...]
H A Drunlist.c952 * 'allocated_size' is valid, and we can use it to compute the total
1116 s64 bytes_read, to_read, ofs, total; local
1134 for (total = 0LL; count; rl++, ofs = 0) {
1145 total += to_read;
1158 total += bytes_read;
1171 return total;
1173 if (total)
1174 return total;
1205 s64 written, to_write, total = 0; local
1225 for (total
[all...]
H A Dattrib.c152 s64 total, r; local
215 for (i = 0, total = 0; rl[i].length; i++) {
216 if (total + (rl[i].length << vol->cluster_size_bits) >=
238 intlth = (sle64_to_cpu(a->data_size) - total
281 memcpy(b + total, intbuf, sle64_to_cpu(a->data_size) -
282 total);
284 total = sle64_to_cpu(a->data_size);
299 b + total);
315 total += r;
318 return total;
991 s64 br, to_read, ofs, total, total2, max_read, max_init; local
1851 s64 total = 0; local
2395 s64 total; local
7033 int res, total = 0; local
7077 int res, total = 0; local
7217 s64 total = 0; local
[all...]
/haiku/src/tests/add-ons/print/transports/
H A Dmain.cpp157 ssize_t total = 0; local
166 total += sz;
168 printf("%ld data bytes sent.\n", total);
/haiku/src/preferences/repositories/
H A DRepositoriesSettings.cpp62 int32 index, total = 0; local
71 total++;
75 repoCount = total;
/haiku/src/system/boot/platform/openfirmware/arch/ppc/
H A Dmmu.cpp77 find_physical_memory_ranges(size_t &total) argument
85 total = 0;
125 total += regions[i].size;
155 total += regions[i].size;
313 uint32 total = 0; local
381 total += map->length;
383 dprintf("total size kept: %" B_PRIu32 "\n", total);
404 suggested_page_table_size(size_t total) argument
410 if (total <
736 size_t total; local
[all...]
/haiku/src/system/boot/platform/u-boot/arch/ppc/
H A Darch_mmu.cpp188 find_physical_memory_ranges(phys_addr_t &total) argument
200 total = 0;
240 total += regions[i].size;
270 total += regions[i].size;
294 phys_addr_t total; local
295 if (find_physical_memory_ranges(total) != B_OK) {
299 dprintf("total physical memory = %" B_PRId64 "MB\n", total / (1024 * 1024));
303 err = arch_mmu_setup_pinned_tlb_amcc440(total, tableSize, tlbSize);
H A Darch_mmu_amcc440.cpp49 suggested_page_table_size(phys_addr_t total) argument
55 if (total <= (1UL << max))
/haiku/src/libs/compat/freebsd_iflib/
H A Dmp_ring.c99 int n, pending, total; local
109 total = 0;
121 else if (total > 0) {
129 total += n;
136 if (cidx != pidx && pending < 64 && total < budget)
141 ns.flags = state_to_flags(ns, total >= budget);
150 MPASS(total > 0);
173 int n, pending, total; local
183 total = 0;
200 else if (total >
[all...]
/haiku/src/system/boot/platform/openfirmware/arch/sparc/
H A Dmmu.cpp72 find_physical_memory_ranges(size_t &total) argument
77 total = 0;
119 total += regions[i].size;
227 uint32 total = 0; local
272 total += map->length;
274 TRACE("total size kept: %" B_PRIu32 "\n", total);
588 size_t total; local
589 if (find_physical_memory_ranges(total) != B_OK) {
593 TRACE("total physica
[all...]
/haiku/src/tests/system/boot/heap/
H A DheapTest.cpp127 size_t total = 0; local
137 printf( "%ld. allocating %ld bytes failed (%ld bytes total allocated, "
139 i, size, total, heap_available(), kHeapSize - total);
143 total += size;
148 printf("\t%ld bytes allocated\n", total);
/haiku/src/bin/debug/time_stats/
H A Dtiming_analysis.cpp173 " total in %%\n");
187 bigtime_t total = info.user_time + info.kernel_time; local
189 info.name, info.kernel_time, info.user_time, total,
190 (double)total / runTime * 100);
/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/
H A DProtocol.h76 status_t GetQuota(uint64& used, uint64& total);

Completed in 397 milliseconds

123