Searched refs:kMegaByte (Results 1 – 3 of 3) sorted by relevance
40 static const uint32 kMegaByte = 0x100000; variable90 off_t size = strtoll(fSizeTextControl->Text(), NULL, 10) * kMegaByte; in MessageReceived()147 offset, size, kMegaByte); in _CreateCreateControls()170 sizeString << fSizeSlider->Size() / kMegaByte; in _UpdateSizeTextControl()
52 static const off_t kMegaByte = 1024 * 1024; variable70 return string_for_size(Value() * kMegaByte, fText, sizeof(fText)); in UpdateText()421 fSettings.SetSwapSize((off_t)fSizeSlider->Value() * kMegaByte); in _RecordChoices()454 off_t minSize = B_PAGE_SIZE + kMegaByte; in _Update()461 fSizeSlider->SetLimits(minSize / kMegaByte, safeSpace / kMegaByte); in _Update()462 fSizeSlider->SetValue(fSettings.SwapSize() / kMegaByte); in _Update()505 fSwapUsageBar->SetMaxValue(currentSwapSize / kMegaByte); in _UpdateSwapInfo()506 fSwapUsageBar->Update(currentSwapUsed / kMegaByte, in _UpdateSwapInfo()
32 static const off_t kMegaByte = 1024 * 1024; variable33 static const off_t kGigaByte = kMegaByte * 1024;