Searched refs:total (Results 26 - 50 of 55) sorted by relevance

123

/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/
H A DFolderConfigWindow.cpp346 uint64 used, total; local
347 if (fProtocol.GetQuota(used, total) == B_OK) {
352 string_for_size(total, totalBuffer, 128));
/haiku/src/add-ons/kernel/bus_managers/virtio/
H A DVirtioQueue.cpp377 size_t total = readVectorCount + writtenVectorCount; local
378 for (size_t i = 0; i < total; i++, index = desc[index].next) {
382 if (i < total - 1)
/haiku/src/apps/packageinstaller/
H A DPackageInstall.cpp113 get_item_progress_string(uint32 index, uint32 total) argument
115 BString label(B_TRANSLATE("%index% of %total%"));
119 totalString << total; local
121 label.ReplaceAll("%total%", totalString);
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dcompress.c443 /* Free the compression context and return the total number of bytes
711 s64 br, to_read, ofs, total, total2; local
761 total = total2 = 0;
816 if (total)
817 return total;
828 total += to_read;
871 if (total)
872 return total;
876 total += br;
931 if (total)
[all...]
H A Dsecurity.c448 unsigned long total; local
452 total = 0;
460 total += STUFFSZ;
466 } while (!res && (total < ALIGN_SDS_BLOCK));
/haiku/src/bin/bfs_tools/lib/
H A DBPlusTree.cpp817 int32 total = bytesBefore + bytesAfter; local
827 total = inKeyLengths[in++];
845 inKeyLengths[in] -= total;
858 //printf("-> out = %ld, keylen = %ld, %ld bytes total\n",out,bytesBefore,round_up(sizeof(bplustree_node) + bytesBefore + bytesAfter + bytes) +
864 //printf("bytes = (%ld, %ld, %ld), in = %ld, total = %ld\n",bytesBefore,bytes,bytesAfter,in,total);
867 bytesAfter = inKeyLengths[in] - bytesBefore - total;
869 bytesBefore = node->all_key_length - total;
871 //printf("bytes = (%ld, %ld, %ld), in = %ld, total = %ld\n",bytesBefore,bytes,bytesAfter,in,total);
[all...]
/haiku/src/kits/interface/
H A DRegionSupport.cpp518 register int total; local
523 total = reg1->fCount + reg2->fCount;
526 tempReg->fDataSize = total;
532 total -= tempReg->fCount;
533 while (total--)
540 total -= tempReg->fCount;
541 while (total--)
/haiku/src/system/boot/loader/
H A Dkernel_args.cpp254 uint64 total = 0; local
256 total += ranges[i].size;
257 return total;
/haiku/src/preferences/screen/
H A DScreenMode.cpp370 uint32 total = displayMode.timing.h_total * displayMode.timing.v_total;
371 min = minClock * 1000.0 / total;
372 max = maxClock * 1000.0 / total;
/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/
H A DProtocol.cpp230 Protocol::GetQuota(uint64& used, uint64& total) argument
241 total = quotaCommand.TotalStorage();
/haiku/src/add-ons/kernel/file_systems/ntfs/
H A Dlowntfs.c482 s64 total = 0; local
528 s64 ret = ntfs_attr_pread(na, offset, size, buf + total);
539 total += ret;
542 res = total;
558 int res, total = 0; local
584 s64 ret = ntfs_attr_pwrite(na, offset, size, buf + total);
591 total += ret;
593 res = total;
/haiku/src/libs/compat/freebsd_network/
H A Dfbsd_uipc_mbuf.c652 /* Check correct total mbuf length */
1508 ssize_t total; local
1513 * the total data supplied by the uio.
1516 total = min(uio->uio_resid, len);
1518 total = uio->uio_resid;
1531 m = m_getm2(NULL, max(total + align, 1), how, MT_DATA, flags);
1538 length = min(M_TRAILINGSPACE(mb), total - progress);
1551 KASSERT(progress == total, ("%s: progress != total", __func__));
1562 int error, length, total; local
[all...]
/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_ra.c580 int mcs, uint32_t total, uint32_t fail)
594 if (total == 0)
600 g->nprobe_pkts += total;
578 ieee80211_ra_add_stats_ht(struct ieee80211_ra_node *rn, struct ieee80211com *ic, struct ieee80211_node *ni, int mcs, uint32_t total, uint32_t fail) argument
H A Dieee80211_ra_vht.c580 int mcs, int nss, uint32_t total, uint32_t fail)
597 if (total == 0)
605 g->nprobe_pkts += total;
578 ieee80211_ra_vht_add_stats(struct ieee80211_ra_vht_node *rn, struct ieee80211com *ic, struct ieee80211_node *ni, int mcs, int nss, uint32_t total, uint32_t fail) argument
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dmkntfs.c510 long long bytes_written, total; local
515 total = 0LL;
528 total += bytes_written;
534 return total;
597 s64 bytes_written, total, length, delta; local
604 total = 0LL;
610 total += length;
621 if (total + length > val_len) {
623 length = val_len - total;
635 total, lengt
[all...]
/haiku/src/add-ons/media/media-add-ons/radeon/
H A DVideoIn.cpp43 } total; member in struct:__anon2577
/haiku/src/tests/system/network/tcp_shell/
H A Dtcp_shell.cpp1529 for (ssize_t total = 0; total < size; ) {
1533 total, strerror(bytesWritten));
1537 total += bufferSize;
/haiku/src/tools/fs_shell/
H A Dcommand_cp.cpp908 fssh_off_t total = 0; local
912 if (progress && (total % chunkSize) == 0) {
926 total += bytesWritten;
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi2100/dev/ipw/
H A Dif_ipw.c2582 uint32_t total;
2590 total = count * size;
2592 if (total > *len) {
2593 *len = total;
2597 *len = total;
2598 ipw_read_mem_1(sc, addr, buf, total);
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DBPlusTree.cpp1522 int32 total = bytesBefore + bytesAfter; local
1559 total = BFS_ENDIAN_TO_HOST_INT16(inKeyLengths[in++]);
1581 BFS_ENDIAN_TO_HOST_INT16(inKeyLengths[in]) - total);
1598 bytesBefore = node->AllKeyLength() - total;
1627 memmove(inKeys, inKeys + total, bytesBefore);
1629 memmove(inKeys + bytesBefore + bytes, inKeys + total + bytesBefore,
/haiku/src/apps/deskbar/
H A DSwitcher.cpp2018 int32 total = 0; local
2021 while (total < (nslots * fManager->SlotSize())) {
2024 total += stepSize;
2269 int32 total = 0; local
2272 while (total < (nslots * (int32)fItemHeight)) {
2275 total += stepSize;
/haiku/src/apps/cortex/TransportView/
H A DTransportView.cpp1218 int total = menu->CountItems(); local
1219 for(int n = 0; n < total; ++n) {
/haiku/src/system/kernel/vm/
H A DVMAnonymousCache.cpp243 swap_addr_t total = file->last_slot - file->first_slot; local
244 kprintf(" vnode: %p, pages: total: %" B_PRIu32 ", free: %" B_PRIu32
245 "\n", file->vnode, total, file->bmp->free_slots);
247 totalSwapPages += total;
253 kprintf("total: %9" B_PRIu32 "\n", totalSwapPages);
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/
H A Dif_wpireg.h556 uint32_t total; member in struct:wpi_beacon_missed
/haiku/src/add-ons/translators/raw/
H A DRAW.cpp2084 int32 percent, val, total, i;
2095 for (val = 0x2000, total = 0; --val > 32;) {
2096 if ((total += fHistogram[val][c]) > percent)

Completed in 329 milliseconds

123