Searched refs:string_for_size (Results 1 - 25 of 31) sorted by relevance

12

/haiku/headers/private/shared/
H A DStringForSize.h14 const char* string_for_size(double size, char* string, size_t stringSize);
21 using BPrivate::string_for_size;
/haiku/src/apps/drivesetup/
H A DSupport.cpp37 printf("\tSize(): %s\n", string_for_size(partition->Size(), size,
39 printf("\tContentSize(): %s\n", string_for_size(partition->ContentSize(),
130 string_for_size(fStartOffset, buffer, sizeof(buffer)));
132 string_for_size(fEndOffset, buffer, sizeof(buffer)));
155 return string_for_size(Size(), fStatusLabel, sizeof(fStatusLabel));
H A DPartitionList.cpp329 SetField(new BStringField(string_for_size(partition->Size(), size,
336 SetField(new BStringField(string_for_size(volume.FreeBytes(), size,
394 SetField(new BStringField(string_for_size(size, sizeString,
/haiku/src/kits/shared/
H A DStringForSize.cpp29 string_for_size(double size, char* string, size_t stringSize) function in namespace:BPrivate
/haiku/src/apps/processcontroller/
H A DKernelMemoryBarMenuItem.cpp142 string_for_size(fCachedMemory * 1024.0, infos, sizeof(infos));
146 string_for_size(fCommittedMemory * 1024.0, infos, sizeof(infos));
H A DMemoryBarMenuItem.cpp179 string_for_size(fWriteMemory * 1024.0, infos, sizeof(infos));
185 string_for_size(fAllMemory * 1024.0, infos, sizeof(infos));
H A DMemoryBarMenu.cpp44 string_for_size(99999999.9, buffer, sizeof(buffer));
/haiku/src/preferences/virtualmemory/
H A DSettingsWindow.cpp70 return string_for_size(Value() * kMegaByte, fText, sizeof(fText));
457 minLabel << string_for_size(minSize, sizeStr, sizeof(sizeStr));
458 maxLabel << string_for_size(safeSpace, sizeStr, sizeof(sizeStr));
498 BString swapSizeStr = string_for_size(currentSwapSize, sizeStr,
500 BString swapUsedStr = string_for_size(currentSwapUsed, sizeStr,
/haiku/src/bin/pkgman/
H A DPackageManager.cpp233 string_for_size(bytes, byteBuffer, sizeof(byteBuffer)),
234 string_for_size(totalBytes, totalBuffer, sizeof(totalBuffer)),
280 string_for_size(fLastBytes, byteBuffer, sizeof(byteBuffer)));
/haiku/src/bin/bfs_tools/
H A Dbfsinfo.cpp299 string_for_size(disk.NumBlocks() * disk.BlockSize(), buffer,
304 string_for_size(disk.BlockBitmap()->UsedBlocks() * disk.BlockSize(),
309 string_for_size(disk.BlockBitmap()->FreeBlocks() * disk.BlockSize(),
316 string_for_size(disk.BlockSize() * size, buffer, sizeof(buffer));
/haiku/src/apps/installer/
H A DPackageViews.cpp121 string_for_size(fSize, string, stringSize);
281 string_for_size(size, string, stringSize);
/haiku/src/apps/diskusage/
H A DStatusView.cpp151 string_for_size(info->size, label, sizeof(label));
H A DInfoWindow.cpp92 string_for_size(f->size, tmp, sizeof(tmp));
/haiku/src/apps/webpositive/
H A DDownloadProgressView.cpp753 BString currentSize = string_for_size((double)fCurrentSize, sizeBuffer,
755 BString expectedSize = string_for_size((double)fExpectedSize, sizeBuffer,
768 buffer.ReplaceFirst("%rate%", string_for_size(fBytesPerSecond,
776 buffer = string_for_size(fBytesPerSecond, sizeBuffer,
/haiku/src/bin/
H A Dfstrim.cpp268 string_for_size(trimData.trimmed_size, trimmedSize, 128);
/haiku/src/apps/bootmanager/
H A DPartitionsPage.cpp187 *text = string_for_size(size, buffer, sizeof(buffer));
H A DDrivesPage.cpp89 fSize = string_for_size(device.Size(), buffer, sizeof(buffer));
/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/
H A DFolderConfigWindow.cpp351 string_for_size(used, usedBuffer, 128),
352 string_for_size(total, totalBuffer, 128));
/haiku/src/preferences/network/
H A DInterfaceView.cpp219 string_for_size(stats.send.bytes, buffer, sizeof(buffer));
222 string_for_size(stats.receive.bytes, buffer, sizeof(buffer));
/haiku/src/kits/tracker/
H A DStatusWindow.cpp760 string_for_size((double)fSizeProcessed, sizeBuffer,
763 string_for_size((double)fTotalSize, sizeBuffer,
766 string_for_size(fBytesPerSecond, sizeBuffer, sizeof(sizeBuffer)));
781 string_for_size(fBytesPerSecond, sizeBuffer, sizeof(sizeBuffer)));
/haiku/src/add-ons/disk_systems/bfs/
H A DBFSAddOn.cpp63 string_for_size(size, buffer, 256);
/haiku/src/kits/tracker/infowindow/
H A DGeneralInfoView.cpp742 string_for_size(capacity, sizeStr, sizeof(sizeStr));
744 string_for_size(capacity - fFreeBytes, sizeStr, sizeof(sizeStr));
746 string_for_size(fFreeBytes, sizeStr, sizeof(sizeStr));
H A DInfoWindow.cpp486 result << string_for_size((double)size, sizeBuffer, sizeof(sizeBuffer));
492 // "bytes" translation could come from string_for_size
/haiku/src/apps/mail/
H A DEnclosures.cpp477 string_for_size(bytes, size, sizeof(size));
/haiku/src/kits/debugger/controllers/
H A DDebugReportGenerator.cpp305 BPrivate::string_for_size((int64)info.max_pages * B_PAGE_SIZE,
307 BPrivate::string_for_size((int64)info.used_pages * B_PAGE_SIZE,

Completed in 384 milliseconds

12